flash

Disable mousewheel scroll on swf files?

I am using the scroll in a swf file.. is there anyway to disable the scroll mousewheel on all browsers.. I get it working for IE and FF but Webkit is not working: $(document).ready(function() { $("#ebook").hover( function () { document.onmousewheel = function(){ return false }; console.log('On'); }, function ()...

Custom broadcast events in AS3?

In Actionscript 3, most events use the capture/target/bubble model, which is pretty popular nowadays: When an event occurs, it moves through the three phases of the event flow: the capture phase, which flows from the top of the display list hierarchy to the node just before the target node; the target phase, which comprises the targe...

Embed Javascript Module within Flex application

I have a large module written in JS which uses Canvas to draw and animate trees. This module was written for a product which is now being migrated to flex. Is there a way in flex to embed this JS module as is? Or would I have to rewrite the whole module in AS3 (shudder)? Further, if embedding is possible, would user interactions (mouse ...

Test Automation Flash base Video Player

I would like to test automate a flash video player (similar to YouTube player). Can you recommended tools/ methodology for it. ...

how to import frame based external swf file to scrollpane for as3/flash ?

hi, i'm using pdf2swf but i can't import external swf frame per frame in scrollpane like to scribd (http://www.scribd.com/doc/27241116/BLOOD-GRISTLE) Best Regards. ...

Is it possible to send custom animation as a video stream in flash?

I'm using NetStream class to create p2p video conferension. Is it possible to add overlay pictures or animation into video captured from webcam and then send reencoded stream to other user? ...

Flash computeSpectrum() unsynchronized with audio

I am using Flash's (CS4, AS3) SoundMixer.computeSpectrum to visualize a DFT of what supposed to be, according to the docs, whatever is currently being played. However, there is a considerable delay between the audio and the visualization (audio comes later). It seems that computeSpectrum captures whatever is on it's way to the buffer, an...

Connecting Flash AS2 (or AS3) to BlazeDS

All, I'm looking for some information on connecting a Flash (not Flex) application to Blaze DS. (A Google search is surprisingly unhelpful...) Adobe's mini-site about BlazeDS (http://opensource.adobe.com/wiki/display/blazeds/Overview) mentions: Blockquote Welcome to BlazeDS! BlazeDS is the server-based Java remoting and web messag...

Flash: Am i totally misunderstanding Event Listening?

I don't know why but i am having trouble getting my head round event dispatching. Take this for example. someClass():Void{ this.addEventListener("onChange",someObj); } Am i right in assuming this means that someClass is listening for an onChange event and when it gets it, it is then going to fire the onChange method on someObj?...

AS2 Play Movie Clip OnMouseUp not working

My plan is to initiate part of a movie clip on mouseDown and complete it only when mouseUp has been initiated. This is for a drag and drop onto a UI element that appears only when mouse down is initiated. I have managed to do this with the following AS2 on the first frame on the timeline: stop(); slide_mc.stop(); button_btn.onPress =...

Rails: Easy way to add more than one flash[:notice] at a time.

I thought every time you do a flash[:notice]="Message" it would add it to the array which would then get displayed during the view but the following just keeps the last flash: flash[:notice] = "Message 1" flash[:notice] = "Message 2" Now I realize it's just a simple hash with a key (I think :)) but is there a better way to do multiple...

Passing parameters to a flash movie inserted in a VB program

Hi! I need to insert a Flash movie in a Visual Basic 2008 express form and send parameters to the movie, but am a newbie to VB. The flash movie will plot points sent by VB in a graph. I tried to insert the Shockwave Flash control in the form but cannot find it anywhere. So I inserted the webbrowser control, which I understand can be use...

Open source alternatives to Flex Builder?

Are there any open source (read free) alternatives to Flex Builder? I do not qualify for their student waiver (sad) ...

swf listens to XML, AS3

My swf listens to XML from a socket and document. How do I get 'my variables' to grab XML from the socket instead of the XML document? ANSWER I'm confused with setting up the variables, and there values. There's nothing wrong with the document, "I'm just stuck." I plan to do a lot of reading after all this research. PURPOSE My purpose...

How can I embed a flash movie in a zend view programmatically?

I have tried to embed a flash movie in a zend view using the htmlFlash helper. In theory you only have to pass the movie path to the htmlFlash helper in a phtml view: echo $this->htmlFlash('/path/to/myMovie.swf'); And the framework will generate the html code in the html page: <object data="/path/to/flash.swf" type=...

How to recive an array from flash vars?

How to recive an array from flash vars? So I have HTML page. with flash app on it. I vant to send an array to flash. How to do such thing using flashVars (I have something like uid=12&sid=12&sid=32&sid=12&sid=32) so i need to get dinamic\random\beeg\unnown number of Sid's not losind UID how to du such thing? btw I want to pass in an ...

Export SWC from Flash and Access Child from Flex

I'm creating an actionscript project in Flex Builder. I succeed to export from Flash a SWC file, and to use it succesfully in Flex. I have a good programming background and Flex looks very simple for me, but I have difficult times in flash. I'm trying to achieve something that might be very simple(not for me of course): I create a simp...

Does Flex/Actionsctipt/Flash implements a mechanism for reusing Sprites?

I'm creating a game and I create sprites(enemies). I keep creating and destroying sprites. Flash/Flex has a garbage collector which handles the destruction of unused resources. Should I create an object pool to reuse them, or should I leave flash/flex to handle the creation/destruction of objects? Which option is better from the perform...

Does Flash CS4 have an alternative to ASDoc?

Does anybody know of a tool that will allow me to create ASDoc style documentation with a Flash CS4/AS3 application? From what I hear ASDoc only works with Flex. Thanks ...

Flash AS3 boids mask

How to use these class for a mask on bitmap : http://blog.soulwire.co.uk/laboratory/flash/as3-flocking-steering-behaviors I want use the shape to mask a bitmap. ...