flash

display variable value, flash actionscript

Hi, I'm building a very simple questionnaire in flash cs5. My timeline consists of an intro frame, three question frames and a results frame. Each of the question frames allows the users to select 1 of 5 answers choices (buttons) and then proceeds to the next question. I want to capture their button selection, store it in a variable and ...

Naming Instances of MovieClips loaded dynamically

I'm trying to name the instances of MovieClips that I dynamically load. I tried doing this: comp = new Comp(); // and also tried doing this--> var comp:MovieClip = new Comp(); comp.name = "comp"; // comp is the name I want the instance to be BUT in the OUTPUT Window: ReferenceError: Error #1056: Cannot create prop...

Using flash.ui.Mouse inside a class named Mouse, possible?

Hey all, I have a class called Mouse (tracking button states in a game). I want that class to be able to show and hide the mouse cursor. Whenever I try to use flash.ui.Mouse.show() or flash.ui.Mouse.hide() I get the error: "Access of undefined property flash.". I can't import flash.ui.Mouse for obvious reasons. Is there a way to mak...

How to get local symbol coordinates from actionscript?

I have a symbol originally created at [-100,-100] coordinate (left top corner). Now I put an instance of this symbol on a stage at [0,0] stage coordinates (by dragging it with a mouse in IDE). Having this instance can I still determine original [-100,-100] position from actionscript somehow? (myInstance.x returns stage coordinate). What...

Flex - sorting a datagrid column by the row's label

I'm creating a table that displays information from a MySQL database, I'm using foreignkeys all over the place to cross-reference data. Basically I have a datagrid with a column named 'system.' The system is an int that represents the id of an object in another table. I've used lableFunction to cross-reference the two and rename the co...

Using a Widgetbox widget in Facebook

I'm trying to take a javascript widget hosted on widgetbox and use it in a standard FBML page. Is there a way this can be done using flash? I've tried to use fb:swf and replace the widget ID in flashvars but it's not pulling in the widget once i do it. <fb:swf imgsrc='http://img36.imageshack.us/img36/2045/playbuttonm.jpg' swfsrc='...

IE flash background problems (swfobject)

Hello, I've slowly been adapting this site to work on browsers and I just need some help getting it working in ie. I have a full page flash background that apparently does not show in IE - polivision.tv/test.html Using swfobject, the html for the code is <object id="background_vid" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000...

In which forums do Flash/Flex/Silverlight developers hang out?

We consider using one of these technologies for a new project and are currently in the planning/learning stage. What are the most popular online forums to meet Flash/Flex/Silverlight developers? Of course, I mean in addition to Stackoverflow ;) ...

Can A Flex Application Detect It's Own URL?

Let's say I had a flex application (Web, not Air), that was meant for Mass Distribution, to be included like a plug-in of sorts, at various websites. Is there any way for a particular instance of the SWF to detect it's own URL while it's running? If so, can you point me in the right direction of which ActionScript command I might googl...

Differences in actionscript 3 authoring tools

What are the various feature differences between different as3 authoring tools like: FlashDevelop,FDT,Flash builder? ref link ...

how to change flash player global setting by some program or by changing some .cfg file

Hi guys, my project is just try to access some locally stored swf file but it falls under sandboxType localWithFile and localWithNetwork. then i google for this and answer is for using both our sandBoxType must falls in localTrust. to do so we have to set our flash player global setting and trusted local path of our swf file. by doing so...

Is an Isometric engine used for social games like farmville, happy island, etc.

1) Is an isometric engine used to render the world in social games. If yes, can you guide me somewhere where I can learn how to use it. 2) Also, how are the houses, buildings, farms and other objects placed via drag and drop. Is there any tutorial for that? Thank you. ...

Flex crossdomain.xml not working correctly in Chrome/Firefox ??

Hi, I've spent quite a bit of time on this so here's where I'm stuck. I'm using the debug player 10.1 to get an XMLA request from: http://localhost/dir/blah.swf to: http://localhost/olapbin/msblah.dll This worked fine in the filesystem, but now its on an IIS7 web server. After a lot of fiddling with the crossdomain.xml file I se...

flash builder run as administrator different preferences

I have to run Flash Builder as administrator to install an xml formatter that I want to use. I found that it has removed all my preferences like hot keys that I setup and my perspectives etc. If I switch back to just running not as administrator I get them back but now I don't have the xml formatter anymore. Any idea how I can have bot...

Can a local Flash application change channels and get video out of a TV Tunner card?

I need to show live television on a frame of my desktop application made with Flex. ...

Get data from flash object, is it possible?

I use curl for grabing data from sites, but now i need to grab content from flash objects. i haven't any experience in flash, so could you tell me is it possible in general? if yes, what i need to learn for it? Thanks ...

AS3 NetStatusEvent events not triggered

NetStatusEvent has only one type of event: NetStatusEvent.NET_STATUS; but it comes with many codes for various cases. Here they are, listed: http://bit.ly/ce3TvC However, a lot of them are not triggered for me. I know some are FMS specific but I'm talking about "NetStream.Play.Stop", "NetStream.Pause.Notify" or "NetStream.Unpause.Notif...

change font color of a part of text in TextArea

I am using actionsript 3 and flex 3.5. Is there any way to change the font color of a part of text in TextArea control without using "htmlText" property? For example I have a string "dog, cat, fish". I want to change the color of "cat" word to red. Is it possible to do? ...

Flex4 addElement problem or something wrong with creationComplete event!?

Hi. I am using the new Flex4 Spark stuff but I'm stuck at an awful problem. Let me explain a bit of the situation first. I have a container (mx:Canvas) in which I do addElement() of one type instances (DocumentWindow). The document window class is supposed to be the holder for a view according to the type of the document. The DocumentWin...

Flash: cross-platform method for handling keyboard events?

Is there any cross-platform-safe method for dealing with keyboard shortcuts in Flash? For example, on my Mac, pressing ctrl+f results in a KeyboardEvent where the keyCode is 6, but on Windows, the keyCode is 70. ...