flash

Flash player loads on initial pageview, but incomplete load when cached

I have a strange flash player problem which seems to be most apparent in FireFox (3.0 and 3.5, on PC). Visit the page: http://prnewswire.com/container/tgifridays/tgifridayssocialmedianewsrelease-woody-jackdaniels/ On the initial page load, you should see a flash video player, with a paused video,and when you mouse-over the video you...

How to give dynamically created buttons actions for each one

Hi, first time posting here. I'm using a loop to create 3 buttons, but my problem is assigning the button actions to each button. My button listener/action code only works on the last button created :( I tried to target buttons by the name that I gave them ($navButton.name = "button" + i) but that threw up an undefined error for button1...

Is licensing information retained in some way in an swf file, compiled by Adobobe CS4 Professional?

I mean, is it theoretically possible to determine (based only on the content of the swf file) that the software which compiled the given swf was licensed trial or something else? I guess Adobe would implement something like this to discourage using pirated software. ...

Which language/framework should I use for creating a Facebook Application (Video Game) ?

I'm planning to write a simple 2D game that I want to deploy as a facebook application. Which language would you advise me to use for developing the game ? Is flash my best and more reliable bet or is there any other viable alternative ? ...

Publish to Flash Media Server (FMS) from Red5

I'm almost there! I'm successfully pulling my MPEG-4 ES content from my SNC-RZ25N webcams and transcoding it to H.264 within VLC using a VLM configuration file. Unfortunately, my available outputs don't include RTMP, so I still require one more step to publish to FMS. I am thinking of writing some code using the Red5 libraries which coul...

How to create "Copy" button?

Ok say you have this: <input id="test" value="" /> Value of that input is dynamicly generated. Now a user can double click on that input to select value, ctrl+c to copy. I also found that with javascript you can select value of input with "click". But when it comes to creating a button that when clicked will copy value of that inpu...

Simulating engine noise in Flash 10

I'm working on a "retro" motorbike game in flash, similar to the Road rash series on the mega drive and after having a long play with the sound sampling capabilities of flash I can't manage to find the "right" way to generate the noise. I've been trying to basically change the frequency on a sine wave in line with the revs, so as the re...

AS3 code feedback

I have just started coding in AS3 and it would be really great to get some feedback from the experts; on my coding style, things I'm doing wrong, thing I can improve on, best practises, and so on... Also if you have some extra tips or tricks, that would be great. Here's my first bit of AS3 code, took me 5 hours, puh: package { import...

Best IDE for ActionScript 3 coding.

What do you think which is best IDE for coding ActionScript-3 with most of the support.. I know following IDEs..If anyone knows any other better... Flash CS3 - horrible - but have to use to debug! FlashDevelop - My favorite Seppy - No much AS3 support FlexBuilder - Heavy on system ...

Comparsion between Pixel Bender(in Flash) and Pixel Shaders(in Silverlight)

Can someone explain the different between Pixel Bender in Flash and Pixel Shader(HLSL) in Silverlight in terms of programming flexibility and run-time performance? ...

How to implement 'domain protection' in ActionScript 3.0

I want to limit my SWF file so that it cannot be stolen and hosted on another server. So if the domain serving the SWF file isn't on a list of approved domains, the SWF will not load normally but will instead display a message that links to one of the approved locations. What I'm unsure about is how to access the domain that is hosting t...

Can a SWF (using URLLoader) access HTTPS webservice?

Hi, I have a fla (using ActionScript 3.0) I am compiling in Flash. I am using URLRequest and URLLoader to access a http webservice. var loader:URLLoader = new URLLoader(); var request:URLRequest = new URLRequest("http:test.webservice.com"); try { loader.load(request); } catch (error:Error) { trace("Unable to load requested...

How to build a server to broadcast real time video?

I need to build a system to broadcast videos, just like Youtube. But the video is real-time video, which means the video are captured, converted and broadcast immediately. Is there any open source software can do this? I really need some practical guides including the requirements (hardware and software). Thanks in advance~ ...

space bar validation in flash

Hi I got a form for the first name and last name in my flash website For the two fields I defined them as not null but when you just click the spacebar and click on submit its taking it Can some one please help me how do I write the validation for not taking space bar as an Input and and the field should not be empty (Note: I am us...

how to Move state dynamically using image click within Datagrid itemRenderer ?

i used play button image within datagrid iteam renderer, if i click image then move to another state (by using currentState ='play') . so i tried like <mx:DataGridColumn textAlign="center" headerText="" dataField="col2"> <mx:itemRenderer> <mx:Component> <mx:HBox textAlign="center" paddingLeft="17"> <mx:Image source...

flash vertical menu - adding code for scrollpane

I got a flash vertical menu which has auto scroll but it scrolls too fast and the only way to slow it down is to increase the height of the button. I would like to replace the code with a scrollpane so i can control the menu : CODE:: ** CODE CHUNK I NEED TO REMOVE - THEN ADD THE ADDITIONAL SCROLLPANE CODE- i hope** menu_mc_Europe.onEn...

I have some Actionscript code; what will it do?

var mic:Microphone = null; function toggleVoice(isOn:Boolean) { //setup the mic if (mic == null) { //call Microphone.get() to access the microphone and prompt user with Allow/Decline dialog mic = Microphone.get(); //Microphone.get() will return null if user declined access ...

flash as3 - one video object, multiple video files

I have one video object and 3 thumbnails which, when clicked, will play different video files. What is the best practice for this situation? Currently I have one net connection, one net stream, and one video object. When a thumbnail is clicked, I just say ns.pause(), then ns.play(video2.flv). This sort of works, except if I play video1....

Securing access to a folder (IIS)

Hi, I have inherited a site which uses a flash ui with a .net 2.0 backend. The implemented login is very simple in that it just compares the username and password given with those in the db and returns true if ok. No session variables are kept. Once in the app, the user now has access to some pdf links. This works great, however, the c...

Flex Dynamically Created Components Added to Custom Components

Hi I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox.... var open:Image = new Image(...