flash

How to put a fullscreen image as a background using Flash

Hey guys! I wonder how you can put a fullsize background image to a website using Flash, similar to how www.zugspitze.de does. I can copy the HTML code but what does the flash document looks like? Thanks for your help. :-) ...

Progressive MP4 video issues in Flash- Video stops rendering

I'm currently working on a flash project that has an intro video that plays before heading into the main app. This video is an H.264 .mp4, 1550x540, and around 10MB. The problem thats currently driving me insane is that when I test it, occasionally the video will begin playing, and then suddenly stop rendering the video frames, leaving...

Passing getter function, or tricky pointer in AS3

So I know as3 doesn't have pointers, but I thought there might be a way to use object variables as pointers. Right now I'm relying on passing a function that gets the get function, it's not a very elegant solution something like this: myvar = function():int{return objectName.getVarValue}; The other option would be to change all the g...

Type conversion failed when adding a object to an array.

I recieve the following error.. Type Coercion failed: cannot convert Stinger@d8d43a1 to Array. In a summary. This is what I am trying to do... var laser = new StingerLaser(); laser.laserDir = dir1; laser.wielder.push(this); laser.x = x + 20; laser.y = y + 40; eApi.addGameChild(laser); where laser.wielder is an...

saving dynamic drawing, then re-loading

ok, i've spent a good bit trying to figure out the best way to approach this ... and i'm kind of at a loss. google has NOT been much help. the short version of what i need to do - via AS3 and PHP - is a user can come to this project and draw something. drawing's no problem, that's done. my issue is figuring out how to take that drawing ...

Importing an SWF file in Actionscript 3

I have an external SWF file that I need to load at runtime. However, contained inside the SWF is a single MovieClip - in fact, it is a custom class that extends MovieClip. This custom class has its own instance variables and methods. So, there is an AS class that this MovieClip is linked to. However, when I load the SWF file in the norm...

How to record Audio and Video at the same time into flv in Adobe air 2.0 ?

How to record Audio and Video at the same time into flv in Adobe air 2.0 ? So that Video and Audio will be sinchronised? Open Source libs and Blog aricales are wellcomed!) ...

is out there any Open Source phpmyadmin flash user intrface?

is out there any Open Source phpmyadmin flash user intrface? ...

event question in Flex / FlashBuilder 4 beta2

I see that others are reporting bugs relating to a spurious "Stack depth is unbalanced" error, so I don't know whether the error I'm getting is my programming error or a bug in FB4 b2. It it legal to instantiate a class that raises an event in an eventHandler? I'm getting such an error at the place located below. All of these classes ex...

extract sound from a fla

There is an .fla file that has a sound wave in it's library. However I do not have this sound wave saved on my computer so I can not edit or open this sound in another application. I was wanting to know if its possible to extract this *.wav file from out of the fla library? I did some research and they said to goto export movie and expor...

as3 dropping objects at random

Hey, I have a code here that drops a first row then drops a second row down right after. First row drops right away and second row is on a timer. // Bring in first row var blueY:Tween = new Tween(blue, "y", Bounce.easeOut, -295, -49, 2, true); var pinkertonY:Tween = new Tween(pinkerton, "y", Bounce.easeOut, -295, -49, 2, true); var odd...

How to delete array in action script?

I have a function where I create an array... How to delete it? ...

Dynamically spacing numbers around a circle

I'm trying to figure out how to dynamically place numbers around a circle (similar to a clock face) but dynamically so if the number of numbers around the circle is 5 or 27.. they would space out correctly. I found some code (below) that looked like it might help but I'm having trouble implementing it. I don't know how I actually tie ...

Why does Apple allow .NET on the iPhone but not Flash?

From what I understand, Apple has banned the Flash runtime on the iPhone because Apple doesn't want an alternative runtime environment to that which Apple provides via their own tools. Allowing a Flash runtime, according to Apple, would allow developers to circumvent application update policies and other controls which Apple has put in ...

Maintaining an Adobe Air Desktop Application with an XML Document

i am going to be utilizing a flash/jquery powered gallery on a webpage that is maintained and updated with an xml document. the xml data is used to add and sort images into a grid of small thumbnail images. i will customize this component so that when the user rolls over a thumbnail it will trigger jquery to replace a div using hide/show...

using boxes for hit collision

I am trying to use boxes for hit collision. I want to be precise with the collision so I was thinking about making multiple small boxes and checking for collision that way. This maybe a stupid idea or a smart one. Who knows, thats why i am asking you guys. If I do this way will that affect the performance of the game even though the boxe...

Check to see if a class has a method

Is it possible to check a class to see whether it has a method or not ? Or even a particular property ...

How do I get formatted text in flash?

It is simple to format text with setTextFormat. But is there any affective method for retrieving all the styling that has been made on the text? getTextFormat is known but it doesn't work on text that varies in formatting. Any ideas? ...

inserting a .swf or flash files in visual basic asp.net

inserting a .swf or flash files in visual basic asp.net give me coding sample or procedure or a link to inserting a flash files in my web form in vb asp.net ...

How to optimize the import of swfs in the preloader

I work on a big Flash project as the web backend guy that delivers all the files and assets to the main application SWF. Our last, really big packet of data are all the assets and sounds contained in swf files that are imported during the preloader. Are there any ways to optimize this process in any way? I'm really looking for ideas i...