flash

Does Flash Player transmit session cookies automatically?

There's no access to the HTTP cookies from within a Flash movie, but I now have repeatedly read that Flash Player is supposed to take care of session cookies automatically. I could, however, not find any documentation about this, and it sure didn't work with my Flex client running against a Struts backend using the default JSESSIONID coo...

How to encode (serialize) and decode (deserialize) AMF packets?

Hi, At the moment it seems I've tried every trick in the book trying to get this to work. I need some way of encoding AMF requests and then decoding the responses. At this point I don't care what language it's in, as long as it's doable and free (as in to me), however I would prefer PHP. I don't know what other information is needed, b...

Flash is not displayed in IE8 (in ASP.NET MVC application )

Here is my code in Site.master <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="980" height="337" id="flashheader" align="middle"> <param name="allowScriptAccess" value="sameDo...

What is the correct way to add components to the library of a Swf?

I've been having a problem that's plagued me many times in the course of developing a Flash project. It looks something like this: TypeError: Error #1009: Cannot access a property or method of a null object reference. at fl.containers::BaseScrollPane/fl.containers:BaseScrollPane::drawBackground() at fl.controls::TileList/fl.controls:Til...

does the display index effect the scope of an object ??

Just curious to know if the index effect the scope of an object because I am creating a game and for some reason, I get an error like below TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.objects::Torret/updateObject() at com.objects::EngineApi/loop() depending on where I put my o...

Have loaded a php variable into flash but cant apply it in a function...

hi I have created an actionscript function which stops an animation on a specific frame which works fine. I have then loaded in a php file with a variable which will contain the number for the frame i want the animation to stop on. This has loaded in fine and i have loaded it in a function. what i cant seem to do is to get the variable i...

How to pass flashVars in to Flash and then back out as a query string

I am asking this question as a complete Flash novice, so please do point out if I'm doing anything wrong here (I suspect I am). I have a Flash MPU size animation with a link in it which has been created by using a full sized transparent layer as a button (is that the correct way) with the following ActionScript: on(release){ getURL("...

Captivate - LMS - SCORM communication problems

I'm developing a SCORM compliant LMS, and having some problems with Captivate generated contents. Basically, the behavior is: If you see a SCO (captivate generated content) with for example 15 slides and 1 question in each slide quickly, my lms is not tracking all the 15 question, only the first 3 or 4. If you wait a long time at the en...

Can a flash client handle multipart http response

I have a server process that takes 15-80 seconds to complete that is currently being requested via XMLHttpRequest in the background with a progress bar displayed to the end user while the request waits for the response. I have modified the response to send back chunks of data as they are available so that the client can display the avai...

Caching images in Flash and Vary: cookie

Background I am working on a web application built on Django. I use the auth context_processor, which causes a Vary: Cookie header on each response (See http://code.djangoproject.com/ticket/6552) I return images through a Django view to check user permissions, etc. These images should be cached on the browser for an hour. The images...

Syntax Guide for ActionScript 3.0

Is there a practical "crash" guide for writing ActionScript 3. There's migration books from as2 to as3, but I'm not migrating. People that have programmed in C seem to understand the math concepts and arguments. Books, links, a better debugging panel would all be helpful. Here's my ideas, any suggestions. SIMPLE EXAMPLES "." is the ...

Should I have multiple swf files on different webpages?

I'm writing a small game app in Flash, and I'm wondering what the benefits of having one giant SWF loading everything vs multiple webpages and multiple SWF's. ...

How to get HTML text from Adobe Flex Builder RichTextEditor?

How to get HTML text from inputed and edited text into Adobe Flex Builder RichTextEditor control? I mean with valid HTML coming from the Flex RichTextEditor component Not Badly formated HTML, with no spaces, with tags not closed! So we have some text edited with RTE a-la We want to get its content as HTML. how to do such thing? ...

Counter in AS3 "without dynamic text field"

What is the best way to program an LED number tick. I need to have a number display that goes up to 1,000,000.00. Dynamic text fields are not an option because of symbol instances. How would I make a counter? ANIMATION The numbers move in increments like an LED display. This NUMBERS The numbers multiple by ten each space over decima...

How to add images into Adobe Flex Builder RichTextEditor?

How to add images into Adobe Flex Builder RichTextEditor control? I mean using a button =) So we have some text edior with RTE a-la We want to get into its content images using some button. How to do such thing? BTW: I found this http://anotherflava.com/2009/01/12/flex-xhtml-rich-text-editor-w-images/ but I realy do not understand h...

Open Source Flex mxml actionscript Table creator and editor?

I'm searching for at least simple Open Source Flex mxml actionscript Table creator and editor? I need it to be able to create simple tables and generate some text (xml or HTML ) representation of thair contents ...

How to rotate BitmapData when using draw method. Width height bounds clipping / cropping problem.

I wrote a collision detection class that works off using BitmapData.hitTest. Basically, every update, the .draw method is called and then two BitmapData's are hitTest'ed against each other to see if there is a collision. It works pretty well, however if I start rotating the source MovieClip I use for the BitmapData, the transformations ...

Recommend Server Side Flash Encoding Components with .NET SDK

I'm looking for some testimonials for components that take video with a wide range of formats (.avi, .mov, .mpeg) and encode them into .flv. We'll want the following: Be able to encode from a large list of common video/audio formats. Create thumbs for the media that it encodes. Have a good SDK (.NET preferred) that we can use to even...

AS3 ERROR : Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.

Hi I am new to as3 and have a problem with a site im developing. It all runs fine on my local file but after I upload to a server and run I get the error Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed. Can anybode give me an idea of what I am doing wrong please ? I know that the problem is with 6 images tha...

FLV Playback stops unexpectedly and never recovers

I'm working on a project where there are short clips of fly throughs rendered from maya of a 3D environment. I worked up a swf that loads the clips as FLV and plays them accordingly. My current script seems to bomb during the FLV playback sometimes and never recovers. The swf size is 1280x720 and around 1500 bitrate but the clips are ...