flash

How does this flash movie advance the slides in the flash slidedeck?

Take a video on infoq.com (like this one: http://www.infoq.com/presentations/nutter-jruby-duby-juby). If you play the movie linked above, you'll see the slide deck advance as the appropriate part in the movie is hit. If you advance it forward and back with the slider, you'll see that it triggers to the appropriate location in the slide d...

3D rotation sphere in flash

Hello How I can receive the 3D rotation spheres like balls in this sample http://www.miniclip.com/games/8-ball-quick-fire-pool/en/ I think its not something like papervision 3D? best Vladimir ...

Flash movie not respecting negative margin in container HTML

I have to place a flash movie into an existing layout. It is replacing placeholder image of the same size. The DIV holding the image has a negative top margin. When the flash movie is placed in the same spot there is a gap at the top of the DIV equal to the amount of negative margin. I cannot seem to get the movie to move to the top of t...

Where can I find help with flash based augmented reality detecting hand position / gestures?

Hi, I'm researching a potential project involving flash based augmented reality, and I've already looked at FlarToolkit and FlarManager which seem pretty straight forward to execute marker detection. What I cannot find are any sites or assistance with how to detect hand position, etc. To allow the subject to 'press' buttons. An example ...

How can I include JavaScript dynamically from Flash using ActionScript?

I have a flash movie that requires some JavaScript from an include file but I'd like to be able to embed it anywhere without requiring a script tag. Is there a way to include an external JavaScript file using the ExternalInterface library so I can call the methods in the JavaScript include file later? Thanks! ...

Finding correct scope of an Object for a callback

I'm working on writing a tweening class in as2 that has a callback variable and I can't seem to find a good way to get the scope without specifically passing in a scope variable as well. This tweening class needs to work in classes as well as on the timeline. Here's what my codes looks like right now. params.scope[ params.onComplete ]( ...

Installing flash through an iframe...getting redirected back to the outer frame?

I'm using adobe's example.swf to provide inline flash upgrades for users. However, if the example.swf is embedded in an iframe, and the user gets redirected, adobe will redirect them back to the inner iframe page, causing breakage. Is there any way for this redirect to bring the user back to the outer frame? ...

Flash On IE8 Problem

Please help! I'm designing an HTML website and added an animated Flash image using the object tag. I was handcoding on Dreamweaver and before I saved it I got this message asking me if the code should be modified for compatibility with IE8. So I just clicked on 'Yes' and a 'script' folder was generated. The Flash image appears on Firef...

Why does AS3 not use weak references by default? (in event listeners)

The default value for weakReference in the call to addEventListener() is false. Many memory issues can be resolved by using weakReferences; in fact, some industry experts "strongly recommend always using weak references with listeners". If this is the case, can someone provide me with a good reason why weakReference defaults to true? ...

Flash AS3 by Dinesh

how to create custom class? ...

How to pass cookie to AxShockwaveFlash from C# ?

I'm developing a video player using WPF and AxShockwaveFlash. It has following steps: find video from a web service. it acquires information of each video. pass video information to AxShockwaveFlash and embedded flash video player. embedded flash video player starts streaming download from web service. I have a problem on step 4. St...

facebook fb:swf stops working when you load an as2.0 object in as3.0

Hi, I'm using the gskinner.com bridge to load and talk between a as2.0 object in as3.0 . The library works smoothly. If I upload the html it works smoothly. But when I embed it as using fb:swf on facebook, the as2.0 object stops loading, any clues? ...

Move image data from AS3 to DOM

Can I load something using AS3/SWF and then create a DOM element using javascript to display the loaded data, without having the browser to load the same data twice? ...

Workarounds for Flash bug when drawing large shapes?

When you use Graphics object to draw very large shape(that does not fit in 10000x10000 pixels) stroke width may become much wider than value specified in lineStyle function. What are the workarounds to overcome this? For now I have only two options: 1. When drawing line you can split it into several lines. However this trick does work ...

How to duplicate Posterous' flash player

When you email an MP3 to Posterous, it gets automatically converted into this nice player for display on your blog: Assuming I have a place to host the MP3, what's the best way to duplicate this on my personal site? E.g., are there any slick free flash MP3 players? How hard would it be to build my own? ...

Advice for a new JavaScript developer moving from Flash / ActionScript 3?

I have been moving over to JavaScript (esp. canvas) from Flash / Flex / ActionScript 3 (JavaScript is a more open platform), and I was wondering if anyone has any advice on differences between the two platforms, important things to note, pitfalls, optimizations, etc. ...

TextField Caret Does Not Display in Actionscript 3

Hello all, I am trying to display a text field that has text inside it, and display the flashing Caret at the end of the text. I have tried the following: Code: // ti_title is my textField stage.focus = ti_title; ti_title.setSelection( ti_title.length, ti_title.length ); I have also tried: // ti_title is my textField ti_title.st...

gotoAndPlay frames based on the percentage of an AS3 preloader's progress

Hi, i followed this excellent as3 preloader tutorial, and below is the code i have so far. var l:Loader = new Loader(); l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop); l.contentLoaderInfo.addEventListener(Event.COMPLETE, done); l.load(new URLRequest("content.swf")); function loop(e:ProgressEvent):void { var perc:Num...

Viewing Flash Applications on a Mac: stage.stageWidth/stage.stageHeight Return 0 in Firefox/IE

I am using SWFOBJECT to embed my flash content. I have been worried about stage.stageWidth and stage.stageHeight returning 0 in Firefox/Internet Explorer; this problem is referred to in question #21 on the SWFOBJECT FAQ (http://code.google.com/p/swfobject/wiki/faq). I have been told that this problem is particularly prevelant on Mac...

assign variable name to event.currentTarget

Hi I want to use mutliple images in my flash script and instead of writing tons of code I want to get the 'currentTarget' and assign a variable name to it so I can tweenlite it . Instead of me naming all the instances i thought the following would work but it doesn't. Can anybody give me some pointers , thanks wedding.addEventListener...