flash

Remove disconnected user in Red5

I'm making a Flash chat application with Red5 oflaDemo. Whenever my application is opened a random user id is generated. I need to be able to remove users who have closed the window. Can anyone help please. Is there anything that I can modify the oflaDemo server app to make it work? Or has anyone made Red5 server app like oflaDemo tha...

How to target debug flash player in Flash Builder 4 on Mac OS X

I'm pulling my hair out with this one. How do I set which Flash Player to use when running a project? ...

Flash projector fails to load local XML on XP

A very simple case: There's a Flash EXE projector There's a XML file in the folder relative to the projector, data/menu.xml Application is launched on a Windows XP box On one of the XP machines XML fails to load over some awkward reason. In most environments it works fine. The same app runs well on all Macs tested. Any ideas? ...

create flash ebook

Hi there, what i'm asking about is that is it possible to create a flas ebook where u can flip pages as if u r reading a printed book, and populate the content of that ebook from a database? in other words , can i have a web page that have ,let's say, a flash ebook viewer tha loads its pages content from a database? regards ...

ActionScript - Dynamically Adding Property to Sprite

i'm pretty confused over the following issue and would be grateful for some clarity. generally, how i work involves designing all of my graphics in Flash Authoring, converting them to Sprite symbols by changing the base class to flash.display.Sprite, give my instances names and finally export them to ActionScript. the approach actually...

Funky SWF loading problem in Flash CS5 with AS3

I've looked for the solution to my problem on SO, Google and Bing, but to no avail. NB This is regarding AS3/CS5 on Windows 7 Pro x64. I have a SWF that loads another SWF in AS3. Yesterday morning it was working fine. Then I made a bunch of changes to another SWF, completely separate, and to some XML content files and the next time...

How can I add a zoom feature to my existing Flash application?

I have a Flash application with one scene, three frames and a bunch of ActionScript code to provide a number of ExternalInterface hooks. The three frames contain a single Input Text box which, as the <embed> tag is resized using JavaScript, grows and shrinks (not scales) to fit. I now want to add the ability to zoom in/out of this appli...

Taking a picture from user's webcam a la Facebook

i didn't find a recent question so somethign might have changed: there is any widget, ready to use, to integrate with my website in order for my users to take a picture of themselves ala Facebook when they register to my site? i guess is Flash/flex based thanks ...

Streaming video. How to support a lot of small webinars at one time?

Hi! I’ve got a question about streaming video. I have to embed ability to organize "webinars" for 10-15 users. We can have several hundred webinars in one time in the beginning and several thousands of it in the future. Chosen solution must have abitity to stream video from any webinar member to all other webinar members. Only one member...

loadmovie into _level0, all others _levels will reset?? (as2)

I have a simple swf file, it load three movie movie(swf) in to 3 different _level : loadMovieNum("test1.swf", 0); loadMovieNum("test2.swf", 1); loadMovieNum("test3.swf", 2); test2.swf just have a button with script : on (release) { loadMovieNum("test2.swf",0); } test3.swf have a button with script : on (release) { loadMovieNum("...

What's the best way of learning Flash, Actionscript 3 and Adobe AIR?

I'm a Java/C++ programmer by trade and I'm looking to expand my horizons in terms of computer languages in order to make myself more employable. Flash, Actionscript 3 and Adobe AIR seem like they are useful things to learn and I was wondering what would be the easiest way of getting an introduction to them? Do I need to get hold of a s...

Red5 9 and Flash 10 pause issue

I am using red5 9 with FP 10. in my player, after i pause a video and resume, the video buffer empties after about 40 seconds and never fills up again. i see that on the server, the stream is still reporting to send data. ...

Trouble with AVM1Movie inside AIR app

I'm writing an AIR app which should display other swf's. These clips aren't as3-enabled and loading as AVM1Movies. I need not to communicate with them, only to place on stage inside of some Sprite-based hierarchy. There is no problem with static clips, and no problem with some interactive ones (with functionality like "click to expand - ...

How to create an .swf file that will simply load a webpage in an iFrame once opened?

Hello, I am very new to flash and actionscript. I simply would like to know is it possible and then what is the code needed to create a simple .swf file that once double-clicked on opens and all it has inside it's window is an iframed website (scrolling and resizing are optional), basically a simple flash mini-browser if you will, with n...

Which codec does Flash use to stream video from web cameras to RTMP, RTMFP servers?

Which codec does Flash use to stream video from web cameras to RTMP, RTMFP servers? What I ment to say: we connect to some server like Red 5, we start streaming video onto it from our flash RIA. In what codec video is traveling from RIA to Red 5? ...

Is it possible that zipping an swf file results in a bigger file?

When I GZIP an swf file, the size goes from 1,21 mb to 1,86 mb... So, my question is a bit answered by myself. The real question is how this is possible? I guess, as a colleague of mine said, that the swf is already binary and can't be compressed anymore. Conclusions is also that zipping swf files shouldn't be done. ...

ActionScript 3 Loader - swf disappears as soon as loader.width is set

Hi, I'm using a Loader object to load an external swf: var swfLoader:Loader = new Loader(); stage.addChild(swfLoader); var bgURL:URLRequest = new URLRequest("sometestfile.swf"); swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadProdComplete); swfLoader.x = 240; swfLoader.y = 210; // Resize here? swfLoader.load(bgURL);...

SSL connection in Flash socket?

Is it possible to establish an SSL connection from a Socket in Flash? ...

Scraping Flash: accessing background files, perhaps in Mechanize?

Hi there I'm scraping a website in Flash, writing in Python. I can see in Firebug that the page loads its Flash file and then some background data in an .asmx file. The background data is what I'm interested in - so how can I get hold of the .asmx file? I already know what it's called. I can't get at the .asmx file directly, but can ...

Button with dynamic text in Flash CS5

I'm new to Flash Pro programming, and am trying to create a button-type symbol where I can set the label. The problems I'm running into are as follows. If I make the symbol type=Button, I can't add ActionScripts in the frames and/or access any subcomponents? Why is this so? If I make the symbol type=MovieClip, I can add ActionScript...