flash

1180 error:Call to a possibly undefined method addFrameScript in as3

package { import flash.display.Sprite; import flash.utils.*; public class SetTimeoutExample extends Sprite { private var delay:Number = 1000; // delay before calling myDelayedFunction public function SetTimeoutExample() { var intervalId:uint = setTimeout(myDelayedFunction, delay,stopTime); } public function myD...

Countdown and Points, AS3

Hello, This all works perfectly, but one thing. How do I count in ones now? Thanks OUTPUT OF LIFE LOSS 580 560 540 520 500 480 460 ect... OUTPUT NEEDS TO BE 600 599 598 597 596 595 ect...'and ending with time left counter if there is no win' SCREENSHOT OF COUNTDOWN ActionScript //Starts with 600 life points, counts from 30-0 //gam...

How to Convert ActionScriptObject to ByteArray?

Hi Guys, The coding language is Java. I have a ByteArray embedded in ActionScriptObject.(Smartfox Server) I want to convert it into ByteArray. The idea is to save it as an image. This a sequel to the post --> Convert Byte Array from Action Script to Image in Java and save it Have tried this method It failed with the java.io.NotSeri...

Access EMBED/Object tag using javascript.

Can i use javascript to check whether the video is running or stopped? I have to loop the video but putting loop='true' in the embed doesnt work out well. Is there a javascript method to check if the video is running or stopped? ...

Video is corrupting when compiled with mxmlc but not Flash IDE

Hi, I have movieclips containing FLV video sequences. When this FLV plays in a SWF compiled from mxmlc, the video is completely corrupted - all different coloured blocks. If I compile from the IDE the video plays fine. It's a bit more involved than this: if I play multiple copies of the same FLV at the same time, they're fine, wher...

ActionScript 2 - OnHover show this symbol???

I am having a heck of time??? I have about 25 buttons and when a user hover overs the button, I want a symbol (box with info) that I created to pop up. I have been trying this with the button options, but I am running into layering problems, I always want the info box to be on top layer??? Thanks in advance. This should be super easy,....

Chat Program in Flash - Need help with Server (Java?)

I have a Flash browser application that is used as the front end for a game I'm working on. I would like the application to be able to communicate with other instances of the application. Currently it works using URLRequests, reading from a remote PHP page that echos the data in XML. For this to work it must send a request on a specific ...

Away3D vs Sandy 3D and other Flash 3D Engines for Mobile

What are the pros and cons of various Flash 3D engines with regards to performance on mobile devices? Which do you prefer -- which have you tried (examples of apps developed) implementing on mobile devices? ...

Ease rotation and position of MovieClip to mouse, math help

Essentially what I'm trying to do is nearly the same as this: http://www.senocular.com/flash/source/?id=0.16 However I'd like to ease/tween the movieclip position and rotation to the mouse position. The main issue I see is trying to get the current movieclip rotation and the target rotation, then tween it cockwise or counterclockwise f...

Access the NetConnection for custom NetStream in Adobe LCCS

Hi I'm building LCCS application. Is it possible to use the NetConnection that the rtc:ConnectSessionContainer uses to connect to LCCS? I want to use a custom NetStream that is not provided by LCCS pods and containers. Is it possible to connect with a new NetConnection without using LCCS ConnectSessionContainer? Is it possible to see ...

highlight item in spark list

I have two spark lists and want to drag items from one list to the other. When im dragging an item and over the other list item, i want the target item to change the background coloer. Basically instead of showing the black line indicating that I will drop between elements, I want to see the target item highlight. Thanks in advance. ...

Is there a good web automator/tester for flash?

Hi- I've been looking around for a good web automator (something that can simulate a real web user's experience) for Flash, but none seem to exist. Does anyone know of a good web automator or tester for Flash? ...

How to resize a .swf file depending on screen size?

I have a website with a large .swf file. However when people with smaller screens view the website, I would like the .swf (which takes up the entire screen) to resize to fit on exactly. Just like how on most flash sites when viewed they fit the screen perfectly, however also then when viewed on computers with smaller screens they resize ...

Flash - page flip which allows site users to create their own book

Hi, as the title suggests, I'm looking for a Flash page flipper which I can integrate with an existing database of users and allow them to create their own flash books - I don't need anything complex as this isn't a CSS, just something which allows users to insert images and some text in each page. I've had a look at quite a few now and ...

how to code a loading action in flash ?

i am trying to design a website in flash , and would like to know how to design a loading flash movie , something like a circle rotating till the website loads . I might not be able to explain properly , but its like when you install a software , the installation bar that you get , how to get that on a website using flash or java script?...

Flash, ActionScript 3: get all movieclips that are containing in a movieclip

Lest just say i have a movieClip A which contains movieClips B1,B2,B3,B4,B5 I write code in A to receive all movieclips that a contains and like print there name. i tried this with no succes: for each (a:MovieClip in this) trace(a.name); does anyone know how to get this working. ** note the trace name is actually an example i ...

Flash Site Stops working on PC / Sill works with Macs?

I have a FLASH site that has stopped working on PC's? It seems to hang on loading? Everything still works fine on Macs. Has anyone run into this before? I've attached a link to the site below: http://ow.ly/23Gfs ...

Long polling with URLStream in ActionScript - how to know when to do something with the data?

I'm trying to open a connection to a URL that will periodically send over a JSON object. I know that I need to use URLStream and some event callbacks, but I'm in the dark when it comes to knowing how streams of data "work," or the general flow of operations. Assume I know how to open the connection and send the correct request headers. F...

Playing flash file on my DVD player

I want to make my flash file to play on my dvd player. It has some scripted buttons on it, so it is important that this works, is it even possible to make a swf into a DVD format and then play it with scripted buttons? ...

how to create a custom cell renderer for a tile list in flash

Hi!, I need to implement a custom cell renderer in a project of mine, i have done some search on google but couldn't find what i need, i need each cell in the tilelist to display 2 icons with couple of labels, i need a good example to start it. If possible i need a way to design the template as a movie clip and pass it to the tilelist...