flash

How to use hitTestPoint when a movie is scaled

Google says that: displayObject.hitTest(stage.mouseX, stage.mouseY, true) is the way to test for the mouse being over a DisplayObject. This works if my movie is displayed at 100% scale. But if maximise my browser window so the Flash movie changes scale, it all goes to pieces. Does anyone have a way to fix this, please? Many thanks....

How to get rid of "click to activate and use this control" prompt for Flash in IE?

Our client is getting "click to activate and use this control" over our Flash component in IE. What's a good fix? Thanks EDIT: Is this something that SWFObject fixes? We're using the standard Flash embed code... ...

How do I detect rollover on elements while dragging a MovieClip above them?

I have a draggable item, a MovieClip that calls startDrag() on itself when it is clicked, and another MovieClip on the stage. I need the MovieClip to receive ROLL_OVER and ROLL_OUT events while the draggable MovieClip is being dragged over it, but the lower clip doesn't receive these messages while a clip is being dragged over it. Esse...

Flash AS3 Timer extremely off

Hi, I'm using Flash CS4 with AS3. I want a timer to call a function at 50 ms intervals for 100 times. however the timer takes much longer than it should, which adds up to 1677 ms (1.677 seconds!) too much after 100 repeats. Am I missing something here or is the timer THAT inaccurate? Code function test(event:TimerEvent):void{ tra...

how to make flash in iframe appear under my popup window.

if i would place flash in a usual way, i could use wmode transparent. but I place flash on page with iframe (because it loads external files, with relative URLs, from another server) Also on a page I have JS popup window. But when opened, it's under flash in iframe. I need above. ...

Disabling setfocus for a stage in AS2

Hi, How to Disable setfocus for a stage in AS2 ...

What is the diffrence in MouseEvent.CLICK & MouseEvent.MOUSE_DOWN on ActionScript 3.0

Hi, I'd like to know what is the difference between MouseEvent.CLICK & MouseEvent.MOUSE_DOWN. Because when i use MouseEvent.MOUSE_DOWN for a button to set full-screen view its doesn't work, instead of this MouseEvent.CLICK works. So what was the reason. ...

qtbrowserplugin vs flash/silverlight ?

Our team is looking for alternative to ActiveX for our browser based client. So far flash, silverlight, HTML5 are being considered. Since I have some prior experience of Qt I am thinking of suggesting Qt. From documentation it seems QtBrowserPlugin is req for our purposes. There are three criteria that any alternative must satisfy Mu...

SWFObject not working from Google Libraries API?

The following embed code works fine when I load swfobject.js locally. However, when I try to load the swfobject.js from Google Library APIs, the Flash movie fails to load. I know I'm using a valid key, and the swfobject.js file is definetely being loaded, but I get an "Uncaught ReferenceError: SWFObject is not defined (anonymous functi...

dynamic text box is not parsing text correctly in flash player 10

The code is nested inside a movieclip in a navigation button. Here is the block of code with the offending piece of code commented out. This all worked fine in Flash Player 9 butonce it started beig viewed in FLash PLayer 10 the offending code caused the navigation bar to default all dynamic html to "true" With the code commented out t...

Is there any library to Convert flash to a represent png file?

I want to generate thumbnail image from a flash file, Is there any library to do this? Many thanks ...

Dynamic Text - Auto Resize of Font

I have dynamic text field that must be a fixed width and height. The actual text that will populate the dynamic text field is variable. What I would like to do is to reduce the font size if the text does not completely display within the text field's dimensions. Any ideas on how I can accurately perform this? Also, I am using AS...

Javascript exit full screen swf

Trying to exit fullscreen of a swf using javascript. Managed to do so by hiding the showing the player. With jQuery, like this... $('.player').hide(); $('.player').show(); Was wondering if there was a better way to do this? Thanks Edit: also I'm using swfobject if that helps in anyway. ...

question pool based flash quiz

I want to build a flash based quiz app that will present users with questions and based on responses will pick next question from the pool. Any ideas on where to start? ...

How to connect properly to an Optivote device through a local socket connection?

Optivote IR8 is basically a voting system with a bunch of remote controllers, which can send IR signals to a receiver, which is connected to a computer through a USB port. And I'm trying to write my own little software for that with Flash. Optivote receiver communicates with software through a virtual serial port. When I connect to that...

What are the proper parameters for posting flash content using the Facebook Javascript SDK?

I am able to successfully post Flash content using FB.ui({method: 'stream_publish',....}). However, since my app must also be able to post to Fan Pages, I cannot use FB.ui, and must use the Graph API via FB.api instead. No biggie, I'd rather have a custom form for posting anyway. But it seems posting to a feed using FB.api('/FEED_ID/fe...

How are these two ways of typecasting in ActionScript 3 different?

In the Lynda.com title "ActionScript 3.0 in Flash CS3 Professional - Beyond the Basics" Todd Perkins shows how one way of typecasting var xml: XML; xml = event.target.data as XML doesn't work, while var xml: XML; xml = XML(event.target.data) does. Shouldn't both forms act the same way? How are they different? TIA Steven ed...

generating and displaying dynamic tables in adobe flex / flash / AIR

All, I have a adobe AIR application. In the app, I need to be able to create dynamic tables where I can display images and text. Dynamic in the sense that data in the table can be added, removed, modified, and table that is displayed changes to reflect the modifications. For example, the table contains 3 rows and columns, where there is...

Combining dynamic symbols/movieclips on 1 pre-existing skeleton/bone structure

So this question is (somewhat distantly) related to this previous question: http://stackoverflow.com/questions/2435039/best-way-to-be-able-to-pick-multiple-colors-designs-of-symbols-dynamically-from-f/2435101#2435101 I have a "person" so to speak, in flash, with a few different parts; head, pants, shirt and hat. There can be, for examp...

flash iframe overlay problem in windows

I've got a div over an iframe, in the iframe there's a website that contains a youtube movie. On mac firefox and safari everytyhing works fine, on windows both IE and FF put flash on top of my div. The situation I have is really similar to google image interface, I noticed that google images manages to correctly overly an immage over a ...