flash

Flash CS3: Textfields distort/disappear in fullscreen mode

I am using Flash CS3 to build a website that uses Flash video. When I have Textfields over the video, they display fine when played "normally" in the browser window. However, when I put the video in fullscreen play, the Textfields either vanish completely or get highly distorted (they get very skinny and tall). Worse, when I hit escape...

Bouncing a ball off the 4 walls of a stage

Just curious. When I bounce a ball off the walls of the stage using the following technique. if(y > sRef.stageHeight || y < 0) { yDir = yDir * -1; } else if ( x > sRef.stageWidth || x < 0) { xDir = xDir * -1; } x += xspeed * xDir; y += yspeed * yDir; The above seems fine and works well. But If I choose to use angles inst...

Flash Range Slider Component

Is there something similar to this jquery component in flash or are there any ready examples on how to do that? Thanks. ...

Flash Lite 3.1 + javascript

I know almost nothing about actionscript. Is it possible for Flash Lite 3.1 to use the flash.external.ExternalInterface to allow javascript interaction? If it is possible, can someone explain why jPlayer (open source) doesn't work on the Wii? I have been looking for a flash mp3 player that will work on the Nintendo Wii and which suppo...

Flash Dynamic TextFiled Font Issue on BOLD

Hi, am using AS3 and i have one dynamic text filed. The properties Fontname "verdana" size "14" style "Bold" it is shown the correct font in BOLD if there is no value if i assign values like priceText.text=" Hello Wold" It will not show the correct font properties am not getting the bold style :( What need to change? ...

External Interface not available

Im testing a program in FlashDevelop, which uses Flash player 10. Need externalInterface to work, but on running this simple test program, it displays "ExternalInterface is not available". What might be the problem here? How do I get ExternalInterface working? http://blog.flexexamples.com/2008/03/10/checking-to-see-if-the-externalinter...

Embedding a SWF in PowerPoint with VSTO

I was wondering if there is someway to embed a Flash Shockwave Object or .SWF file in PowerPoint (Presentation) 2007 and higher version, i.e. inside the ".pptx" format. By embed I mean when I save the presentation,close it . i wont be needing the the .swf file again. That way I can share the presentations with others. If I use this lin...

Turn off anti-aliasing for fonts in Flash?

Flash can use 2 types of fonts such that they can be changed at runtime by actionscript. system fonts - NOT anti-aliased so renders fast embedded fonts - anti-aliased so renders slow The problem with "system fonts" is that you can't rotate the text. Can I use embedded fonts AND turn off the anti-aliasing so it renders fast? ...

Dispatching events: Does listener inherit the caller's properties?

I notice in actionscript 3 that when a handler gets called, its able to access the senders properties. If I dispatch an event from my custom class. can all the listeners inherit all my public properties and methods? ...

Location/country clickable maps

anybdy knw any jquery plugin or any such thing in javascript,similar to this http://bit.ly/6ary44 ? which can b usd 2 select location/countries in maps...? I would not prefer flash, but still, if there is any for free with some customizable options/effects, it would do. ...

Flash Custom Font with Dynamic Text Field

I am creating a textfield using this code: window_title = p.createTextField("border"+diepixWindow.NextBorderDepth, p.getNextHighestDepth(), wx1+TITLE_OFFSETX, wy1+TITLE_OFFSETY, ww, 64); var fformat:TextFormat = new TextFormat(); fformat.font = "TF2 Build"; fformat.size = 36; window_title.setTextFormat(fformat); window_titl...

comparing date objects in as2

I must be missing something. date1 = new Date(2010, 01, 10, 12, 10, 30, 000); date2 = new Date(2010, 01, 10, 12, 10, 30, 000); trace(date1 == date2); // returns false However, date1 = new Date(2010, 01, 10, 12, 10, 30, 000); date2 = new Date(2010, 01, 10, 12, 10, 30, 000); trace(date1.toString() == date2.toString()); // returns tru...

Flash navbar with wordpress?

Does anybody know if it is possible to create a wordpress template with a flash navbar? Perhaps you could point me to some examples? Thanks. ...

Why are animations sometimes done using steps based on the amount of time that's passed?

I've noticed that some programmers animate objects based on the difference in time. I am not sure why or even if this is logical. Does anyone know the significance? Below is a snippet of code that explains what I mean: var timePassed:int = getTimer()-lastTime; lastTime += timePassed; var newBallX = ball.x + ballDX*timePassed; var newB...

Capture Flash Player Event in Javascript

I need to capture the event raised when a flash video ends. If possible, I'd like to distinguish this from a user clicking the stop button. One thing to be made perfectly clear: I DON'T HAVE CONTROL OVER THE PRESENTATIONS OR THE SWF FILES. What I'm looking for is simple (I thought) js automation of the client player object, not more ...

getting an area of a object

I am trying to get the four corners of my object. To test out whether its accurate enough. use a method to trace a message when my mouse passes the objects bottom, left, right, or top. when the object is positioned at coord 0,0. it works perfect. but when I reposition it. It becomes off and I have no idea why. here is my code. in my cla...

Display objects not aligning correctly

I am aligning my display objects in the middle. stage.stageWidth/2. for some reason, they are aligning further off to the right of the screen. I haven't altered anything but the stage width in flash. Has anyone heard of this problem? Again, I haven't done anything except widen the screen and adjust the height. Here is the code I trie...

overriding subclasses in actionscript

Trying to find a straight answer for this. I am going to be creating some sub classes in actionscript 3. I was wanting to know if it is possible to override the parent class. If so, do I need to put a override assigner on the parent class method or what. Thanks guys ...

Game Development: Flex or Flash IDE?

Which would be more comprehensive for game development? ...

Finding out coordinates of drawn objects in Flash AS3

I'm in the process of making a board game in Flash; as part of process of getting fully to grips with Flash AS3. I have a JPEG of the original board. This contains ~ 1000 circles that players may move pieces between. Pretty standard board-game stuff. The circles are not in any way regularly spaced. So far, I've drawn the circles in Fla...