flash

Can Flash action script read and write local file system?

I think it can only access the network but not local file system, but from internet some people said it can in the newest version, can anybody confirm? It can reach arbitrarily file or just a specific location? Thanks. Bin ...

How to create multiple processes in Adobe Air program?

How to create multiple processes in Adobe Air program? Docs? Tuts? Algorithms? (for ex I have some design logic and some services client logic i want to run them in separate processes) (Air 2.0 is ok for me) ...

Javascript on embedded videos

Hi, Is it possible to use javascript to seek position of videos embedded on a page (Videos from Youtube, DailyMotion, Revver, etc)? Thanking you in advance. Regards Mansoor ...

tinting a MC with tweener

Hi I would like to tint a movieclip with the tweener class. This is how I tint the mc without the tween: var c:Color=new Color(); c.setTint(0xff0000, 0.8); clouds.transform.colorTransform=c; it works but I would like to give it a smooth transition that's why I would use tweener. Anyone have an idea? ...

HaXe simple flash preloader

Is there a simple way to have a preloader that just traces the percentage and then goes on to the main game? Just as simple as possible, so that I can add in the progress bar/logo animation after. I tried the thing at mindless-labs, but its really complicated, it seems kind of hackerish, I don't really understand what it's doing and it u...

Live Audio Streaming alternatives *without* Flash, Silverlight...

What , if any, alternatives are there to Flash, Silverlight, and Java applets for streaming live media? ...

How best to embed multiple Flash Player instances using swfobject via a usercontrol?

I have a ListView on a Page within a MasterPage and some very ugly ugly autogenerated IDs. Such as..."ctl00_workbenchPlaceHolder_ListView1_ctrl1_LibItem2One" Using swfobject.embedSWF(...) requires me to hand over the id of a div on my page that can be replaced with object/embed markup depending on the browser context. My aim is to sho...

Surefire way to get html ontop of flash content?

Hello all, I've been struggling to get some absolutely positioned overlays to show above an flv movie(using flowplayer) in the firefox browser(works in safari) I have the overlays div placed underneath the video html "wrapper" and have tried using a high z-index on the overlays but to no avail. Is there anything i may be doing wrong? ...

Getting/generating an image from embedded flash video

So what I am curious about is if it is possible and how, to have an embedded video and capture the thumbnail. There are other sites that share video and I'd like to get the thumbnails from the embedded videos, but they use flash video players to show the video and likely use flashvars to pull up the right video. I appreciate any help h...

AS3 accessing other domains

I have a AS3 swf that scrapes google images for a search query and displays some of the results. It works locally, but when the swf is on a server it can't access google. I've tried Security.allowDomain, but it doesn't work. Any suggestions? ...

Flash/Actionscript a substitute for css and javascript?

I have reasonable experience with PHP, CSS, and javascript/jquery/ajax. I'm taking my first steps learning Flex/Flash/Actionscript and it's already striking me that using flash/SWF could solve many of my problems. For example: I won't have to worry much about javascript availability e.g. handling the form submit twice like I do now, on...

How to dynamically load a progressive jpeg/jpg in actionscrip-3 using Flash and know it's width/height before it is fully loaded.

Hi, I am trying to dynamically load a progressive jpeg using actionscript 3. To do so, I have created a class called Progressiveloader that creates a URLStream and uses it to streamload the progressive jpeg bytes into a byteArray. Everytime the byteArray grows, I use a Loader to loadBytes the byteArray. This works, to some extent, becau...

Flash, LocalConnection and DOM

I have a Flash object on my site, which has this code: this.ld = new LocalConnection(); this.ld.allowDomain("*"); ExternalInterface.call("alert", this.ld.domain); It alerts my domain successfully. However, what I want is to access the HTML DOM through this using LocalConnection and not ExternalInterface directly. Any ideas? ...

Requesting pages and reading results with Flash

I have a Flash object hosted on foo.com. When I run it, I want it to send a HTTP request to foo.com, and retrieve the results along with HTTP headers. How would one achieve this with Flash? (AS 3) ...

How to escape single quotes in Flash?

I have a user supplied text and I need to prepend all backslashes and single quotes with a backslash. How to do that? ...

When a SWF is loaded into another. Can the main SWF read the loaded one to retrieve its contents and modify them?

Give this scenario: I have a cool graphic in Illustrator or Flash. The graphic represents a figure, with various elements inside, shapes, lines, gradients, etc. I export it to a swf file and I can view my nice graphic if I open it. I have a (pure) as3 application, which loads swfs. Then... Can I manipulate the contents of the loade...

How does Jaycut (online video editing tool) work?

Jaycut is a flash-based online video editing tool. It's surprisingly capable, what I'm wondering is how they achieve this in Flash/Flex. They allow mixing of video, audio and applying transitions and that seems a lot to do in AS3. I wondered if perhaps the mixing is done on the server when you click "preview video", but even then it stil...

Smoothing flash animation

I've got a MovieClip containing several child clips (images and text). I'm trying to scale this parent clip very slowly - from 102% down to 98% - this works, however the child movie clips are all scaling a bit jerkily - like they're trying to stick to pixels or something. What's the cure for this? The scaling is done by using a motion ...

List of Actionscript 3 events

Is there a way to get a list of events available in Actionscript 3? Like MouseEvent.CLICK and Event.ENTER_FRAME but the full list to look at. I tried searching the manual on Adobe's site, but just couldn't find it. I'm using the flex plugin inside Eclipse if that makes any difference. ...

AS3: What's newer/better than AMFPHP

I'm aware that AMFPHP has long been used to connect php with flex. I remember I read somewhere that there's something better now, but I didn't take a note of it, and of course now I forgot. Does anyone know what that could be? ...