I have a .fla file created by our designer and he has created a set of SimpleButtons that I have wired to a video player. Now I need to set the status of a button to "over" if the video that it is associated with is playing.
The button is somewhat sophisticated graphically so its not something that I want to recreate with AS.
Is there ...
The scribd fullscreen mode is pretty neat (example: http://www.scribd.com/doc/13161906/Java-Lab-Manual-With-Java-Installation-Guide?classic%5Fui=1). The advantage (for RIAs specifically) is that it doesn't (almost) completely disable the keyboard the way the 'default' fullscreen mode in Flash Player does. Seems to also work when embedded...
I have overcome a problem, but my solution seems really inefficient and clunky. Please consider this problem:
I have an array collection with articles in.
This array collection is filtered to a currently selected article category.
There is a cursor bound to a view that shows the current article.
When a category is deleted I need to ...
Can anyone help me? I us Flash CS3 a lot to draw, and usually, as it should be, the line tool draws a clean vector line. But sometimes when I use this tool the line appears jagged, as if it were a bitmap. What's happening? Did I accidentally hit a keystroke that changes one state to the other?
...
I'm using an array to populate a DataProvider, which I'm using to populate a list component. Like this:
var myDataProvider = new DataProvider(this.myArray);
this['list'].dataProvider = myDataProvider;
When changes are made to the array, I want to tell the DataProvider to update so that those changes will be reflected in the list compo...
I am developing a web-based game (similar to the ESP game), I am done with the server side SOAP web service (built on ASP.NET), and now I am wondering if I should use Flash (swf) or AJAX for the client side layer of the game. Basically, the client side is a web service client making requests to the web server and receiving back instructi...
I want to use javascript flash method GetVariable() to get variable from flash.
I can get variable "foo" from default timeline by GetVariable("/:foo").
But I don't know how to get class static variable "bar" from this actionscript
package abc
{
class def
{
public static var bar:Number;
}
}
If you could provide re...
I've got a small sprite that is the "smoke trail" behind a missile in a flash animation. I made a self-contained class to handle the creation and removal of itself:
public class Spark extends Sprite {
private var lifetime:Number = 15;
private var gfxRef:MovieClip = new fx_particleTrail();
private var canvas:Sprite;
public function ...
I made a movieclip symbol called "SwordHolder" then went through ALL my animations and put the sword holder in the right spot on another movieclip (took me HOURS). I figured I could change the image in the SwordHolder movieclip symbol so I did all that.
Well come to find out I'm having a really hard time figuring out how to change/add/...
Update 6:
Fenomenas suggested me to re-create everything as simple as possible. I had my doubts that this would make any difference as the algorithm remains the same, and performance did not seem to be the issue. Anyway, it was the only suggestion I got so here it is:
30 FPS: http://www.feedpostal.com/test/simple/30/SimpleMovement.htm...
Using ActionScript 2.0, how do I show or hide a button onclick? I am making a simple mp3 player, and would like my pause button to change to a play button when clicked, and vice versa.
...
Hi
I am a newbie to as3, i have an external .swf file that is loaded from the flex app with swfLoader.
The external swf contains a modifiable URI input field with a clickable button to access that URI value.
What i am trying to acheive is moving that URI input field to my flex app, and have the input value from the flex app sent to...
I want to check the RGB color of the object using actionscript in flash. The name of the object is object1. I checked like this but it didnt worked. help me
if (object1.color=rgb(255,0,255))
{
trace("Selected Pink");
}
Give me correct syntax to check the rgb color of the object
...
Here's the scenario:
i've created an external.swf that contains an embedded video (FLV) in the timeline.
i've created another swf file (player.swf) that loads the external.swf using this:
var request:URLRequest = new URLRequest("external.swf");
var loader:Loader = new Loader();
loader.load(request);
videoContainer_mc.addChild(loader);...
I have some nested movieclips in my banner and can't realize how to prevent error it gives me while running. There is a movieclip that runs 3 times and there is a nested movieclip that runs 3 times too, so the nested movieclip runs 9 times totally. When the nested movieclip runs 4th time, it gives me error, but everything works as it's n...
I've got a page with multiple embeds of Flash objects, including dynamically created graphs.
I'm including them all with SWF Object JS declared in the header. It works fine in the fact that all are loaded. But, for some reason when you move down on the page (so they're out of view) and back, or click on another object it no longer has f...
Hello all,
I want to add a flash that is a swf file in my application. Is there any simple way to do it programatically.
...
I want to create my own systems for flash (like a scoreboard and made a feedback system) but I honestly have no clue where to even begin when it comes to implementing such things using AS3.
I know how to create say a scoreboard using PHP but then I have no clue at ALL how I would get that into my game using AS3.
Any help/tutorials woul...
I'm trying to hide some embedded flash objects without disabling them. Right now I'm placing them in a div, and using the jQuery UI hide method. The problem is, when I show the flash later using the show method, the flash reloads. Is there any way to prevent this?
Is it possible to have the flash hidden but still working in the backgrou...
My audio streaming code code calls getStreamLength on the NetConnection but I have found the stream length to not reflect the duration of the song. Is there a way to get accurate song duration?
client.onMetaData is not being returned as well so I can only rely on getStreamLength for the results.
...