flash

System Information in Browser

Hi, we have a license key system which requires the MAC address of the network card of the PC. To make it easier for the user, I am looking into getting the MAC address (or some other similar system identification info) with a web page. Do Flash (or Flex), JavaScript or Java Applets provide any APIs to query system information ? Than...

How can I get values from Flash Authoring in JSFL via XMLUI ?

I want to set a variable from a flash file so that I can access if from JSFL in a Command. I am using a element in JSFL's XMLUI: Here's the JSFL: fl.getDocumentDOM().xmlPanel(fl.configURI + 'Commands/ATest.xml'); fl.trace(fl.xmlui.get('secretword'));//this traces undefined The XMLUI: <dialog buttons="accept,cancel"> <textbox id="...

Is there a format specification for XML files from FLA import in CS5?

CS5 allows you to save FLA project as a bunch of XML files that encode vector graphics in some format, like: <Edge cubics="!8809 4331(;8821,4327 8849,4316 8865,4311q8809 4331 8865 4311);" /> Is there a format specification somewhere explaining what those entries mean? ...

Why is my object reference null when trying to reference an mx:Canvas from ActionScript?

Hi everyone, this is a follow up question from this one, I don't want to keep going in the comments and preventing people from getting hard-earned reputation... :) In my Cairngorm command class, to get it to compile I needed to tell it what myCanvas was, so I used this line: var myCanvas : MyCanvas = new MyCanvas; I'm guessing that's...

How to read or extract cuepoints created live, with Nestream.send() in Flash Media Server?

Im doing live streaming directly from webcam like Ustream.TV. Im using Flash Media Server 3.5, and I record cuepoints of broadcaster with the method ns = new NetStream(); ns.send('functionName' , 'value'); I publish the content and record it in a .flv file. However when I download this FLV file and extract the metadata with tools like ...

Flash IDE Version Control - TFS 2008 Integration?

Hi, Does anybody who work with Flash IDE use any kind of document versioning tool? Is it possible to integrate with Team Foundation Server 2008? Team Explorer plugin? Regards, Bruno ...

How can I add a pre-loader to an existing complex flash project.

I have a pretty complex flash project that I need to add a pre-loader to. Currently all the items we have are in the Library inside the .fla file. I've been reading a few of the pre-loader blog entries and tutorials and getting nowhere. I've tried to create another .fla file that loads the compiled .swf file of the complex project and ...

Moving objects with Timer

I have this class named MovingObject which extends the MovieClip class. This class will be instantianted for several times. Inside this class is a Timer that handles the speed of the objects moving. There is another class called TheStage and this is where I will instantiate MovingObject (s). public class MovingObject extends MovieClip{...

Browser inside of a browser

I am not trying to track clicks or anything like other people - I just want to put a browser within a browser that can go back, forward, refresh, accept user-entered URLs, and store bookmarks. Can flash/silverlight/ajax/whatever do this? If so, how? ...

Objects with Timer in AS3

I have this class named MovingObject which extends the MovieClip class. This class will be instantianted for several times. Inside this class is a Timer that handles the speed of the objects moving. There is another class called TheStage and this is where I will instantiate MovingObject (s). public class MovingObject extends MovieClip{...

Adobe AIR Updater Problem

Hi everyone, i just wanted to update an AIR Application for a client. But when the update framework (i'm using the ApplicationUpdaterUI) has downloaded the AIR file and wants to install it, it says that the AIR file is damaged. When i'm installing the downloaded file (copied it from the #ApplicationUpdate dir) by hand everything works f...

Performance testing using FlexUnit

FlexUnit is quite an impressive framework for testing and with the new integration in Flash Builder 4 it's a no brainer to use it. However, I'm not sure why it's necessarily exclusive to just unit testing. In my opinion, I think the tools are great candidates for performance testing as well. It should also be mentioned that by performan...

How do I fix this potential bug with the Button Component in Flash ?

I need to use the Button component from the UI Components Panel in the Flash IDE, with the toggle property set to true. If I use it with a timeline script it works great. If I use within a class(a Document Class), the selected property is reversed (I get true when it's not toggled and vice versa). Also if I set toggle to false in the...

JSON vs. XML parsing speed in Flash AS2

All, I'm working on a Flash AS2 project in which I have a choice of receiving a dataset in either XML or JSON. The dataset is probably about 100-1,000 rows of data; each row has roughly 50 fields; most values are numeric. If I use XML, I'll be able to define the XML myself, to make sure it's as compact as possible. So, I could use so...

How to call stage objects from a non document class?

Hi, The problem I'm facing is that I'm trying to manipulate (in this particular case add eventListeners) objects (in this case some MovieClips) on the stage from a class that isn't the document class. 1120: Access of undefined property trans. Now I know that it's probably a scope thing and I probably can't access stage objects direct...

Actionscript3 SSL sockets

Hey, In the application we are working on we have to send secured messages from a flash movie running in the browser to an app engine application. One good candidate would be SSL which app engine seems to somewhat support (not exactly sure). But is there any implementation for SSL sockets for actionscript 3 (since afaik as3 doesn't have...

How to add flash video(swf) in Asp.Net

Hi I want to insert flash object in my Asp.net page.I just googled it but found results to create specific object in the page script.Is there any additional UI component available with Simple Drag and drop interface for flash file. ...

ZendAMF returning invalid XML and causing BadVersion error when called method from Flash

I am trying to use ZendAMF to do remote method calls to a MySQL database from Flash and I keep recieving the NetConnection.Call.BadVersion error. My Server is working correctly. Apache 2.2.14 My PHP is working correctly. PHP 5.2.11 My Database is working. MySQL 5.0 UPDATE: My first problem was a security error in Flash. If you try to...

Flex/Flash project analyzing tool wanted.

Hello everyone. I am looling for tool that can eat my Adobe Flex source code (written in Adobe Flex Builder 3.0.2, Eclipse plugin) or built SWF and produce call graph, class inheritance diagram and so on. Purpose - I've got a project with actually no time to dig in complicated calculations performed there (it's an interactive Flash game ...

How to get transformations from transformation matrix in Flash?

I have transformation matrix properties (a,b,c,d). How to calculate scaleX, scaleY, scewX, scewY and rotation angle from those values? When only one type of transformation is applied, I can figure out that: scaleX = a scaleY = d scewX = c scewY = b rotation = arccos(a) or -arcsin(c) But when multiple transformations are applied at on...