flash

Flash - how to start playing an SWF film being loaded before it is complete?

Hi, I have a large SWF flash file being loaded by a parent SWF and I would like to start playing the film being loaded, let's say, when it is 50% completed. According to my expected user's bandwidth and the size of my film I will calculate the best moment to do that (the film could be 20%, 30% or 50% loaded). I want to leave users waitin...

Inhereted properties of an image in the loader.

Hey, I'm kinda new to AS3, but I've been trying to learn and read the LiveDocumentation as much as possible, and yet I can't get past this problem: There's a Loader that I'm filling with different images depending on the button clicked. Now to keep it tidy I'm using the exact same loader. The problem is that no matter what I do to the i...

How do I get an element to cover a Flash video (tried wmode=transparent)?

I have a Youtube video on my homepage, and now I need a modal to display on certain events. For some reason, even when adding <param name="wmode" value="transparent"> to the Flash object, it still covers the HTML elements (with higher z-index too). I've got it on JSfiddle. I figured maybe an iframe could solve this, but that would req...

Is this flash effect possible with jquery?

I see a flash website with some eyecathing buttons with flash effect which I want to have with jQuery if possible here is the link of website -> http://www.goodthinking.com.ph/ .. any tips or sample if can this possible done using jquery code.. . thanks in advance.. . ...

Using Shockwave Flash as OCX control in Win32 app.

I program in Delphi. On my development machine I have imported the Flash10h.ocx control and have developed a Win32 application which will render a swf file. This all works fine on my development machine. However, I am trying to get the same application to work on another box. I have installed Flash for Internet Explorer; I can go to ...

Flash CS5 Dynamic Text Incorrect Values

I did not have any problems on CS4 but I encountered this error below when I used CS5. Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts. I managed to solve the line of error after help from Rup, Fox and Stephen....

How to check the performance & memory usage of the flash application at run time?

Hi, I have a flash application which consist of Grid Components, Button, Label, and Combo-box Components. All these components are used more than 70 times(simultaneously) with in the application. So Its takes too much of memory. So How can I test the memory usage of each component at the time of running. Is there any plug-in available f...

Test Driven Development in Flash

I've recently been working on some bigger projects in Flash and would really like to be able to use Test Driven Development but haven't found a great way to do so. I'd imagine its a bit harder to do in flash as most of its projects require heavy user interactivity (drag and drop with mouse, keyboard input to move etc...). Does anybody k...

Communicating between 2 flash swf's using ExternalInterface

I been suffering with a problem where I can't get one flash swf to work in unison using one javascript. For example 1.swf does ExternalInterface call to js function test var test = function (var) { $("#2ndFlash").get(0).passTest(var); } As you see what I'm trying to do is when 1.swf calls test with some variable pass it to anoth...

Limit to number of items in Flash context menu?

Is there a limit to number of items that can be added to Flash ContextMenu, I am trying to add 16 items but only 15 are displayed. Please let me know if there is an alternative? Thanks. ...

External Interface not returning a variable which is a url generated from XML data...

Hi all, Here's the problem: Basically I have some XML generated data which I'm pulling into flash. I'm using an ExternalInterface.call to export out some data to JavaScript in an Array. For some reason everything EXCEPT the url is getting returned - I've tried to trace the url - works fine. I've set a variable with a standard url in the...

validation errors when validating a page that has a flash object

I use the following doctype in a page that has a flash object, html code <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="379" height="180"> <param name="movie" value="Flash/header.swf" /> <param name="quality" value="hi...

Static class keeps throwing "Error #1063: Argument count mismatch"

I've created a static class in Flash which works as the inventory delegate for this game. Flash though keeps giving me this error: ArgumentError: Error #1063: Argument count mismatch on Inventory(). Expected 1, got 0. at flash.display::Sprite/constructChildren() at flash.display::Sprite() at flash.display::MovieClip(...

flash doesn't load when hosted on windows 2008 server, I have to righ click -> play to run it

I have a website on IIS7, when hosted in windows 7 the flash was loading ok, but when I put him on win 2008 server they don't load fully, I just shows a gray square (without the loading), and to make it work I have to right click and click play anybody knows how to fix this ? ...

AS3 Inheritance : load or init event ?

Let's assume we have the following class : public class ImageButton extends MovieClip { private var bmpNormal:BitmapData; // ------- Properties ------- public function get BmpNormal():BitmapData { return bmpNormal; } public function set BmpNormal(value:BitmapData):void { bmpNormal = value; } public function I...

Flex vs ActionScript

Hi all, I'm trying to build/implement a Flash video player to play videos. I have looked at Flex and built a basic application with just a VideoElement. It gets compiled to 41k without statically linking the libs and 300k with linking the libs. I generated the report but am still not sure why I would need all those components just to bui...

ActionScript and Timeline

Hi all, I am facing a problem that I have a hard time understanding. I am currently working on a project that involves dropping objects (scrabble letters) onto different cells in a table. My project also involved multiple levels. My layout is rather basic. I have a a bunch of tiles (25 letters) above a 2-columns table (left side for d...

I can't type symbols such as @ and $ into my flash textbox

I have an input text field for email address that is not allowing me to type anything but letters, numbers, spaces, and * I need to be able to type @ as this is an email address input field... Is there a setting I can change to allow for this? ...

Is it possible to export all movie clips as images from actionscript?

You can manually save some particular movie clip on a stage as an image by running "Export > Export Image". Is it possible to write an actionscript that would export all movie clips on a stage to images automatically? Or at least is there a way to automate this in any way? ...

Transfer PHP session to flash

Hello, we developed an internet application for company purposes a while back (company and friends, to be precise :]) and now we're trying transfer PHP session to loaded Flash, so flash can identify itself as being loaded with user profile (stored in MySQL, accessed only by PHP so far) when communicating with server (either FMS or Wowza...