flash

AS3 DoubleClick question

Hey Guys, Has anyone got movieclip with nested clips to have a doubleclick = true; property working. The only way I could get it to work was by setting mouseChildren to false which I need to be true!! Any leads/ideas would be welcomed! J ...

ActionScript 2.0 listener's onComplete fires immediately

Please forgive any short-comings in this question; flash is not my area of expertise, but I've inherited a task that deals with AS2 that I need some help with. Basically, I have a flash document (a loader?) with the following AS 2.0 code: stop(); import mx.video.*; var listenerObject:Object = new Object(); listenerObject.complete = f...

Stop flash content from loading - AS2

I have a flash file that I want to embed on a webpage, however, I want it to load when the user clicks on it (which will run the preloader) - (like clicking play on a youtube video) It's one flash file that loads in XML data and is graphically heavy. I'm not sure if the only way to do it is to load the flash file through another swf, i...

Can I embed a YouTube player (with controls) in my Flash website?

I am looking to embed a YouTube video with the YouTube controls into my Flash website. Is this possible? http://sandbox.ten90demos.com/silver/#/vision UPDATED w/ SOLUTION: var loader:Loader = new Loader(); loader.load(new URLRequest("http://www.youtube.com/v/zIcx_rxTstc")); addChild(loader); ...

User Initiated Pop-up Window within Flash ad.

I am currently working on a flash ad for a local bank. One of the frames of the animation requires that the disclaimer text be displayed. I am attempting to create a tab within the ad that if clicked will allow a small window to slide up (roughly half the height of the medium rectangle), display the disclaimer and then close. This would ...

swf in Desktop Java programs

How to use & show swf files in Desktop Java programs? ...

Can JavaScript catch a 404 error triggered by a page’s object?

The specific problem I’m facing is with a buggy Flash application that I don’t control. When it fails, I’d like to display alternate content. The page which contains the Flash content has loaded and it’s clearly the Flash app making the request that results in this message in the debug console: Failed to load resource: the server respo...

RTMP stream not found in AS3

Working on creating a video player, and for some reason the rtmp stream is not found. I must be missing something obvious, but can't seem to find where. The stream i am testing with is rtmp://cp67126.edgefcs.net/ondemand/mediapm/osmf/content/test/akamai_10_year_f8_512K which is definitely there. package { import com.bfwpub.data.*; ...

Flash TextField -- make it act like a label?

How can i disable the text selection abilities and such of flash TextFields (so they act like labels)? ...

Need help with Flash, ActionScript, and JavaScript

Hi, I'm trying to have JavaScript call a function from my ActionScript. ActionScript: import flash.external.ExternalInterface; ExternalInterface.addCallback( "playSong", playSong ); function playSong():void { var _sound:Sound = new Sound(); var _request = new URLRequest("music.mp3"); _sound.load(_request); _sound.pl...

Passing Variables from Flash to PHP

Creating a flash project where users can visit the site, and turn off/on objects in a house (ie. lights, tv, computer, etc.) The next user who will visit the house in the website, will see what lights or house appliances were left on. Flash variables are passed to PHP, and those variables are saved in an XML file. (For testing to see wha...

Facebook Sharer from Embed Flash Application

Hi guys, I have a small problem with a the Facebook sharer.php! I'm developing a small flash application (kind of slideshow) that will be embed into different website. In the application there is a button that send a request to Facebook to share a link. So based on the Sharer.php doc, I send a request like this : http://www.facebook...

Flash html field supports span but not div ?

I see listed here all html tags supported http://www.devarticles.com/c/a/Flash/Working-with-Text-and-HTML-in-Flash/5/ I can see span but not div ? Is this a mistake ? ...

Cannot access a property or method of a null object reference.

I try to do preloder in Flex for my project written in Flash. I make this with the help of this site link text My Flash project have next source in main class called Game stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown); stage.addEventListener(KeyboardEvent.KEY_UP, keyUp); private function keyDown(event:KeyboardEvent) { if ...

Recreate Simple Flash Animation using Javascript

I came a across a really sharp intro effect I'd like to try and create in jQuery, mootools or prototype: http://www.johndigweed.com/ (Just the spin in effect) So in a sense, I want to spin in the main content div of the page. Any suggestions to get started or are there base plug-ins that have help achieve this intro effect outside of fl...

Replacing Flash movie with QuickTime movie in a website

Here is what I have: <script type="text/javascript" src="http://www.polycysticliverdisease.com/html/swfobject.js"&gt;&lt;/script&gt; <div id="flashcontentab3445" align="center"> You probably do not have the Flash Player (<a href="http://get.adobe.com/flashplayer/"&gt;Get Adobe Flash Player Here</a>) installed for your browser or the vi...

open source flash pain \ sketchpad

hi all, I have seen this question asked here a few times, but most question didn't recieve an answer. I'm trying my luck, has anybody heard of any such tool? Thank you ...

Javascript/Flash focus issue on different browsers

I have been looking into how you could use Javascript to direct focus to a Flash movie. I've seen it discussed on Stack Overflow and other sites and it seems you cannot do this reliably except in Internet Explorer. I am just calling the .focus() method on a Flash object via Javascript. It does in fact work in Internet Explorer, but I ...

Can you rely on the browser for flv/swf datastore?

Is there any way to download/preload 500mb-1gb of flvs/swfs for a flash application running on a website? I have 15 flvs and 15 swfs and I want to preload all of them together(before my app begins) so that they load instantly(as if it were local) when I call each, after I have preloaded. Since we're in the browser, isn't the only thing...

How To Hear Back From PHP Component Of File.Upload in Flex

http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_7.html When calling File.upload - how can the server communicate arbitrary information back about the upload? The Event.COMPLETE event that fires after upload only seems to contain a reference to the uploaded file, not any information that the serv...