flash

Using (Flex)Sprite objects in an MXML-based application

Canvas.addChild() insists any DisplayObject added implements IUIComponent. But I don't want my core graphics engine dependent on Flex. Is there an obvious/common way around this, to have simple graphical objects like Sprites & Shapes in a Flex application? The individual DisplayObject children I want to add as children represent objects ...

Video Conversion (a la youtube)

So we were going to make a website allowing users to upload video. The website is going to be in PHP/MySQL. Are there any converters out there available for PHP to convert a video from a given format to flash to display on the web page to play? Basically we would have a file on the server in say .avi format, or quicktime format. How do ...

Intermittent Black Lines in Flash Video

We've been having intermittent black lines in some of Flash videos on our development site. Our Flash developer has ruled out any obvious problems in the code, which I have to take his word for. My question is how would I go about figuring out what the cause of this is or at least the potential causes. As I mentioned, it is intermittent...

Is anyone doing professional flash / flex / actionscript development on a linux platform? Please share setups if you are.

I've used axdt ( http://new.axdt.org/ ) with Eclipse. I've read about fdt on on linux ( http://www.brighthub.com/hubfolio/matthew-casperson/articles/73648.aspx ). FDT is a commercial package that I wouldn't mind paying for if it officially supported linux. Right now I'm using vim with the command line tools, and I'm not really satisfied ...

AAC+ Streaming from shoutcast in Flash

I'm trying to stream a AAC+ shoutcast URL like this one http://live7.avf.ch:8000/ipmusicaacplus32 with flash AS3 but it won't work. If I put a .m4a file instead of the streaming URL it works. Any idea why the shoutcast URL doesn't work? var connect_nc:NetConnection = new NetConnection(); connect_nc.connect(null); var stream_ns:NetStream...

Loading and playing more than one .mp3 file

Hi, I'm trying to set up a .flv file that will have buttons for two different pieces of sound. I've been able to get the first piece to load and to play and stop, but when I try to load the second piece, I trip up. I'm still a novice, but do think I understand the basic problem -- Actionscript can't distinguish between one sound request...

Which swfobject.js file?

Hey guys.... this may be a stupid question, but I downloaded SWFObject & it came with several files.... it has one swfobject.js file in the root dir & another in the "src" directory.... their file size differs so I'm wondering which one I have to include in my header? Thanks! ...

How do I set icons for Air for Android Settings within Flash CS5?

Hey there- I'm trying to set my own icons for Air for Android using Flash CS5. I see the icon tab within the Air Android Settings panel, but it won't let me navigate to my icons. Also, I would add the path to my manifest.xml file, but it gets overwritten while publishing. Thanks, any advice is appreciated! ...

AS2 Center loadMovie MovieClip

Hello, I'm dynamically creating an empty movieclip inside another movieclip to load an image into it. How could i make sure that this image is always centred in the movieclip? Also, if i have a attached movieclip named E.G. 1M how do i find out the x and y position to make it appear next to each other? ...

Error #2044: Unhandled StatusEvent:. level=error, code= -- No flash on page

I'm receiving this error, however there is NO flash on the page. I've used FireBug also to confirm, but only receive this error in IE (IE 8 that I've tested). Is there something else that could cause this outside of flash? ...

Flash Player goes black when resizing in Chrome (Mac)

Hello, I've noticed what appears to be a bug with Google Chrome and Flash when resizing on a Mac. I have an SWF file embedded on my page and it will resize when the browser window resizes. Crazy things happen in Google Chrome when I resize the window: the Flash screen goes completely black and will flicker like a bad TV reception. You c...

Speech Recognition can be done through web Browser...?

How to implement Online Speech Recognition through a Web Browser Interface. Is it possible to implement this without using any Streaming Server (completely browser-based application)? Without building any own plug-ins, is it possible to implement Speech Recognition using Flash ... ...

How to change controls position and add a mouse out fade out effect in flash playback component

Hello i'm importing a video in flash cs5, using actionscript 3.0. I have copy the SkinOverPlay.fla and i'm changing it to fit my needs. I am looking for just a play/pause button (no other controls) in the center of the screen that disapear when the mouse it out of the video. I am looking also on how to play the video in loop. thanks! ...

How to twain video from wdm/vfw camera in flash?

Is it possible to use twain to capture and record video files from a vfw/wdm camera attached via USB inside a flash movie? I use a wrapping tool for flash creation that will allow me to use COM/ActiveX objects to bridge the gap if there are any. ...

Is there a way to check if DisplayObject A is a descendant of DisplayObject B?

I would like to be able to quickly check if a given DisplayObject is a descendant (not in the inheritance sense - ie. child, grandchild, great-grandchild, great-great-grandchild, etc.) of another DisplayObject. There doesn't seem to be a native way to do this and I can only think of two ways to achieve it: Create the mother of all nes...

AS3 Date problem

Any idea why the day is coming out wrong when the date is accurate? I'm debugging and I can see the date variables which are correct but the day is wrong. date Date (@9f14161) date 26 [0x1a] dateUTC 26 [0x1a] day 5 dayUTC 5 fullYear 2010 [0x7da] fullYearUTC 2010 [0x7da] hours 17 [0x11] hou...

What is loaded in first frame?

Hi! I'm building a flash game wish contains sounds/images/videos and such. Now I want to build a preloader for this game. The problem is that currently it is around 2 mb of data in the first frame. How can I see wish objects that are being loaded in the first frame? Thanks, ...

Change of content notification

Php updates the xml files in certain period of time. Is there any possible way to send a change of content notification from php to flash application. Thanks in advance ...

How to achieve this effect with AS3

Hi Guys, A client has asked for a spinning wheel as part of their navigation. The user is faced with the edge of the wheel with the various navigation items on there, and they spin it with a click/drag of their mouse. Whatever it stops on is what page they are presented with. The only example of this I could find to help illustrate what...

PHP upload file with resume functionality

Hi I have a question, I want to do an upload script that can take rather big files 500MB, 1GB and upload it with resume functionality. Is this possible with just PHP or is there other solution like Java Applet, Flash and which one would be best for this case? ...