flash

Publishing SWF using Adobe Flash

Hello everyone, I have a SWF file which contains of an image (1keyframe) and also, it contains an AS3 file with the following codes: var loader:Loader=new Loader(); var ur:URLRequest=new URLRequest("1.swf"); loader.load(ur); addChild(loader); so basically, i am trying to play the swf file (1.swf - an audio) while the image is being d...

Flash video slooow in AIR 2 HTMLLoader component

I am working on a full screen kiosk application in Flex 4/Air 2 using Flash Builder 4. We have a company training website which staff can access via the kiosk, and the main content is interactive flash training videos. Our target machines are by no means 'beefy', they are Atom n270s @ 1.6Ghz with 1Gb RAM. As it stands the videos are a...

Flash :: Replace Projector (exe) Flash Icon With Own?

Hi there, is there any way to change the flash player icon which displayed on desktop taskbar with my icon? ...

[AS3] Calling Php Script with UTF-8 POST variables

AS3 documentation says that Strings in AS3 are in UTF-16 format. There is a textbox on a Flash Clip where user can type some data. When a button is clicked, I want this data to be sent to a php script. I have everything set up, but it seems that the PHP script gets the data in UTF-16 format. The data in the database (which is utf-8) s...

safari 5 resize flash application

Just notice that after updating to Safari 5 (mac) all the flash applications that respond to resize events got sluggish. try: http://www.tutorio.com/media/flash/liquid-demo.html this works great with firefox 3.6.3, Chrome can deal with it fine, although not so fast as Firefox, but new Safari gives a awful experience, distorting all con...

How to search for a file on users file system? ( Adobe Air application)

So we want to seacrch for file like exampl*.ex*mple. We want to search in all users files and folders. I know it will take long, but steel using ONLY AS3\MXML, no native commands, no external programms - only AS3\MXML libs and classes, we can skeep all folders with sise <= 200kb So How to search for a file on users file system? (in A...

Any ideas on how to prepare for the future of Flash/Flex/HTML5 Development?

I've chosen Flex 4 as the most appropriate technology to develop a graphically-rich web application (its not a simple content-driven site), but worried about how the recent negative press (i.e. security issues) may effect end-user's trust and ultimately whether the user-base may drop promptly in response. (I don't care if my app works on...

Flash player 10 Filereference.save and file extensions

I'm using Filereference.save() to save a XML file. It's working fine with default filename.But is there a way to force a file extension on the saved file? I'm using "untitled.xml" as the default filename, but if the user changes it to say "myfile", it gets saved as "myfile", rather than "myfile.xml". ...

Pre-processing data before showing it in AdvancedDataGrid

Hi guys, I want to extend AdvancedDataGrid to show a Waterfall Chart in one of its columns. To do that I already created custom cell render that shows bars as I need. Now I have a little challenge: I have to pre-process data to show my Waterfall Chart properly. I have to do it before my grid is show. So, I assume that I have to extend...

how to use wmode=transparent in firefox ?

Hello guys, I made a webapp where I need html content to popup on top of the swf objects I have. I ended up using the swfobject setting wmode: "transparent" which works fine in all browsers (Chrome, safari, IE) except firefox. In firefox I can't click the flash buttons, i tried to remove wmode=transparent and, of course, I can click any ...

Is there any google Image search API for ActionScript\MXML developers?

Is there any google Image search API for ActionScript\MXML developers? ...

pass ...rest to a NetConnection call

I want to pass a rest in a netconnection call, something like this: public function requestData(service : String, ...params) : void { nc.call(service, params); } this doesn't work since the call is expecting each parameter to be separated by commas, like: nc.call(service, params[0], params[1], params[2]); I've read some posts abou...

Flex - Search in ArrayCollection by part of the word

For example i have an ArrayCollection, and i want to find persons with telephone begines with "944" how can i do this? <mx:ArrayCollection id="arrColl" > <mx:source> <mx:Array> <mx:Object telephone="944768" subscriber="Smith P.T."/> <mx:Object telephone="944999" subscriber="Peterson Q.T."/> <...

Safari sometimes finishes the HTPPService Post request

Hey all, I've been following this tutorial to make a snapshot app using Flash Builder 4: http://active.tutsplus.com/tutorials/actionscript/create-a-snappy-snapshot-app-with-flash-builder-4/ My code works on all browsers, except for Safari (4 and 5). I think that it, depending on the picture I take, doesn't finish the request. I've tr...

Is there any Flickr Image search API for ActionScript\MXML developers?

Is there any Flickr Image search API for ActionScript\MXML developers? (if special keys are not needed for using it will be big +) ...

Dynamically Casting In ActionScript

Is there a way to cast dynamically in Actionscript? What I want to accomplish is illustrated by the following code: var Val:*; var S:String=SomeTextEdit.text; switch (DesiredTypeTextEdit.text) { case 'int':Val=int(S);break; case 'uint':Val=uint(S);break; case 'String':Val=String(S...

Programmatically Detecting Valid Style Properties In Flex

If I want to know if an object has a particular property I can code this: if (SomeObject.hasOwnProperty('xyz')) { // some code } But some styles masquerade as properties at design time such as Button.color... How can I know what style properties are valid at runtime? ie: What is the equivalent of hasOwnProperty for getStyle/setSty...

Dynamically Creating Flex Components In ActionScript

Isn't there some way to re-write the following code, such that I don't need a gigantic switch statement with every conceivable type? Also, if I can replace the switch statement with some way to dynamically create new controls, then I can make the code smaller, more direct, and don't have to anticipate the possibility of custom control t...

How to extract random screenshots from a swf file? In Linux

Hi, I need to automatically extract some random screenshots from Flash content (swf) in linux. I will appreciate any advice on this. Thanks in advance. ...

Hidding a Flash SWF upon loading

Hello, I have a question that is probably very simple, but I cannot find an answer here or on Google. I am loading a SWF in an HTML page the following way (using JavaScript): AC_FL_RunContent( "src", "${swf}", .... "type", "application/x-shockwave-flash", "pluginspage", "http://www.adobe.com/go/getflashplayer" ); I ...