flash

Can you get the size of the Flash object in Actionscript?

I'm working with a Flash movie and I'm trying to get the size of the player itself (i.e. the height and width Flash has to work with from the object/embed tag). As far as I can tell, Flash doesn't make this available to ActionScript. I'm able to use this.root.loaderInfo.width and this.root.loaderInfo.height to get the "intended" size of...

AS3 and the loader class

Hi, I write here, because after looking for a solution, I could not resolve my error... var test:MovieClip; var sign:Loader = new Loader(); sign.contentLoaderInfo.addEventListener(Event.COMPLETE, completSIGN); sign.load(new URLRequest("http://files.zebest-3000.com/278374/3011/3011.swf")); function completSIGN(e:Event):void { ...

How do I post a .wav file from CS5 Flash, AS3 to a Java servlet?

Hi, I am trying to send a byteArray from my .fla to my running tomcat server integrated in Eclipse. From flash I am using the following code: var loader:URLLoader = new URLLoader(); var header:URLRequestHeader = new URLRequestHeader("audio/wav", "application/octet-stream"); var request:URLRequest = new URLRequest("http://localhost:808...

Flex List ItemRenderer with image looses BitmapData when scrolling

Hi i have a mx:List with a DataProvider. This data Provider is a ArrayCollection if FotoItems public class FotoItem extends EventDispatcher { [Bindable] public var data:Bitmap; [Bindable] public var id:int; [Bindable] public var duration:Number; public function FotoItem(data:Bitmap, id:int, duration:Number, ...

IE7 crashes with flash.ocx version6

Can some one help with the situation im facing....... we have a flash image in our home page and flash 6 is installed in my system and whenever i try to navigate few links on the website the entire browser window gets crashed and this happens only in IE7i.e.,(IE7 with flash.ocx version6).I've tried to replicate the same in different brow...

Making a Web Gui to design a Garden Layout

I would like to design a web page Gui where users can design a simple interactive garden. The user would pick a template design and receive price estimates based on the design template and the dimensions entered. I'd like the user to be able to move items such as plants, stones and be able to adjust the dimensions of the grass, paving....

How to apply that resize method?

I noticed this full flash site and wonderring http://www.houseoforange.nl/site/#/Photographers/Philip%20Riches/editorial%20women/ How can I apply the resize method like the way they did? Any examples might help me a lot. I have one main.swf and page.swf which loads within main.swf. My page.swf contains thumbnail images, and it's alrea...

Pseudorandom crashes in Flash Debugger - My bad, or Abode's?

I'm working on a large-size dual AS3/Flex project (some parts are pure AS3, other parts are Flex), and I'm experiencing a lot of Flash Debugger crashes. These crashes aren't completely random - it seems like I can get them to occur with greater consistency when I perform certain actions in my app. However, at the same time, they aren't...

Programming language for web

I haven't programmed in a while, and have kind of lost interest, but I want to get back, and I've enjoyed C# the most, a lot more than objective-c and visual basic. So I want to make some games that me and my friends will be able to play next school year. So basically something you can play on the web. What programming languages deploy ...

adobe flash buider (flex4): Error #2025 or Error: addChild() is not available in this class. Instead, use addElement()

Hi, I'm a complete newbie to Flex, so apologies for my dumbness. I've searched for an answer but haven't found anything that seems to be doing the trick. What I'm trying to do: port this example http://www.adobe.com/devnet/air/flex/articles/flex_air_codebase_print.html to Flash Builder 4. All seems to be fine but for one thing. When I ...

Flash, parameters, security

Hi, I have a question: In Flash, I have the ability to save certain info onto the server. Now the problem is the user needs to be authenticated as admin in order to do so. I can't use sessions, since if you work longer than 20 minutes in the Flash application, the session is gone. The way I see it, I have 2 possibilities: 1. passing a...

Have any free flash media services for testing my project?

hi I am using FMS. But I use this only in locally. Are there any free flash media server services to test my project? Thanks. ...

Interactive map solution suggestions

Dear All, I'm looking to browser based map solution like google interactive chart map. I googled and i looked to smilar solution, but i didn't find good solution for it. It should be possible to created on flash, silverlight, ajax etc. And should be change parameters easyly via javascript or sth. But i didn't like google chart beacu...

Load and add code to external swf with bytearray?

Hi everybody, I would like to know if it is possible to load an external movie and add code with ByteArray inside, in order to add anymore properties, functions or why not Sprites? Regards, Stephane ...

JWPlayer black screen on initial playback

I have JWPlayer on a clients' site. The client complains that sometimes on initial load, the jwplayer will autostart playback as intended but with a black screen. Sound is alright, and the progress indicator in the transport is moving. No matter what I do, I can't recreate the error on my machine. I'm using version 5 of JWPlayer. Her...

Flash object location

Hello i need to know there my flash application is running. in object src my domain. but flash running on others domains. and i want to know where. and send it with request on my server. Thanks. sorry for y bad grammar. ...

js popup window to play .flv flash video using jwplayer.swf

I have to have many small thumbnails on a page and each one needs to open up to a full size (640x480) video with controls when clicked. ...

trace() not working. Flash

Hello, I chose new actionscript file(3.0) and wrote as simple as trace("Hello World");, but it is not working. I have flash player 10 and i also made sure i have not checked omit trace statements in publish settings. Where am i going wrong? Please help. ...

Need help converting a script from Java to AS3. Any help appreciated.

I'm currently working on a Flash typing game, where you have to re-type some text from one text box to another, then the game detects all the various types of errors you made (inverted characters, inverted words, added, missing or wrong characters and lower/uppercase errors) and displays the text back to you with the errors highlighted w...

How to insert complex strings into Actionscript?

How to insert complex strings into Actionscript? So I have a string -vvv -I rc w:// v dv s="60x40" --ut="#scode{vcode=FV1,acode=p3,ab=128,ch=2,rate=4400}:dup{dt=st{ac=http{mime=v/x-flv},mux=mpeg{v},dt=:80/sm.fv}}" How to insert it into code like public var SuperPuperComplexString:String = new String(); SuperPuperComplexString = ...