flash

flash.display.Loader blocks on load in release build

I'm loading a swf-file from my program written in as3 using the flash.display.Loader class. When I'm using the debug build configuration in FlashDevelop everything works fine. But when I'm using the release build configuration the program freezes for around two seconds efter the loader sends the progress events and before sending the com...

How to define absolute path of xml, images folder and main swf path in this swf object code?

<script type="text/javascript"> var flashvars = {}; var params = {}; var attributes = {}; swfobject.embedSWF("loader.swf", "flash-banner", "920", "320", "9.0.0", "expressInstall.swf", flashvars, params, attributes); </script> After loading loader.swf I'm getting this error Error #...

[Flex 4] Removing sort arrows from AdvancedDataGridColumn Header.

Hello, I am doing this simple project using Flex 4 SDK and I got stuck with this simple problem: I have turned sortable property for AdvancedDataGridColumn to false, but the column header is still rendered as: As You can see, my label for this header is "06", but the column header is divided and it keeps the place for sort arrow. How...

Easy bidirectional communication via P2P NetStream

I've been looking into the P2P support in Flash 10, using Adobe Stratus service. I have successfully been able to send data from one user to another, put my problem is that I haven't figured out how to send data back in some easy way (or as some kind of response to the first call). What I'm currently doing; First set up a connection w...

Security of Flex for payment website

So, it's been about 3 years since I wrote and went live with my company's main internet facing website. Originally written in php, I've since just been making minor changes here and there to progress the site as we've needed to. I've wanted to rewrite it from the ground up in the last year or so and now, we want to add some major featur...

Dragging on Different Levels

Hi, I have a flash project with three non overlapping panels (visual spaces) each of which contains different movie-clips. Each movie-clip in a particular panel is the child of that panel. Now, I want to drag one of the movie-clips from one panel to another (remove it as a child from the first panel and add it to the other) without a ...

Getting jQuery function to fire when video is clicked

I've set up a function to pause the sound in an mp3 player whenever certain things are clicked on the page, using ExternalInterface, but I'm having a problem in IE. The setup is this: I have a video page that calls up a list of YouTube videos using RSS. The most recent video is displayed on the page in a div called "display". Then al...

How Do I Convert text to a WAV file With Inaudible Waveform?

I am trying to create an audio watermarking system. I figure the best solution is to create an audio file (WAV) based on a unique string of text and then combine this with the original wav. The part that makes this tricky (for me anyway) is: How do I convert the text string to a wav? How do I ensure that the resulting WAV form is inau...

How do I slow down a flash game?

Basically the objective is to click on certain targets, which upon doing so would destroy the target and garner you points. I've written a macro to help me until the point where its impossible to even see the target more than a mere flicker, (maybe even less than that, i cant see it with my eyes). But its possible because i believe other...

What is the display list in Flash 10? Array? Linked list?

I'm working on a game that has many elements on stage, so I'm looking to optimize my loops. I know that Vector is faster than looping an array, but I'm also in some cases using: while (i < numChildren) getChildAt(i) ...to update sprites. My question is when I use getChildAt, is that accessing an Array or Vector or linked list or...

Away3D: how can I Implement the OnReleaseOutside Event in an Object3D or Container3D

as the question says, how can I implement an OnReleaseOutside Event in Away3D or, on the other hand, how can I transform or get an Object3D as a Sprite. ...

SWFUpload and long filenames.

Everything is working fine with SWFuploader, however when uploading files that have longer filenames the SWF applet expands to become wider then my content pane. Does anyone have a method or hack to trim the filename and alt text fields of SWFUpload? ...

How can I play a video in flex in slow motion?

Is there any way I can play a video using flex in slow motion? ...

possible to recreate xml out of ActionScript?

Hi, I got stuck with an SWF which has ActionScript in it and should use some xml. The problem is, I cannot edit the SWF by decompiling it and compile it again, it simply doesn't work... Adobe Flash CS4 rebuilds the thing, but after I press CTRL+ENTER I get a lot of runtime errors (probably something to do with AS <-> AS2 <-> AS3 and don...

Embed Youtube video in Flash CS4?

Is there any way to play Youtube content in a Flash movie without using a third party plugin? I'm using Flash CS4 and Actionscript 3.0. ...

Whats a valid strategy for a secure image upload from a flash client?

Hi all - I'm creating a flash application that will post images to a url for saving to disk/display later. I was wondering what are some suggested strategies for making this secure enough so that the upload is verified as coming from the application and not just some random form post. Is it reliable enough to check referring location r...

looking to scan documents directly to be uploaded to a webpage

I was hoping to do this from a flash plugin, kind of how flash accesses the microphone or webcam but it doesn't seem possible. Is this going to be possible using Java, or ActiveX, or some other strategy that I haven't looked at yet? The idea is to do it without a client install, or at least something lightweight and browser and platform...

Detecting when a Flash file has finished playing in Javascript

I'm using Javascript to embed a flash file into a website which I then need to remove once it's completed playing. Is there a way to do this in plain Javascript? Or will it require a callback type function to be added into the Flash file itself? How do I code this? ._. Javascript: jQuery('body').append('<embed id="flashIntro" width="...

How to include flash within the html on hover

Hi, I was wondering if I could include some flash animation within the html on hover, thanks ...

How does one get access to the Flash object's vars in IE?

Is there a way in IE Browsers to access the Flash object? In this case it is made with mootools swiff. It´s working fine in all other browsers, because they can wrap this object correctly. But it does not work in IE. Here is the script: var swfObj = $('mbImage').getElement('object'); swfObj.get('data'); <--- Thats not working in IE ...