I've got some reasonable emacs-fu, and I know how to use the Flash Builder IDE to work in Flex/Actionscript, but I'd like to move to using Emacs to do most of my coding instead of the flash builder. This poses some problems, though, namely that I'm not sure how to go about compiling my flex project from the fcsh-mode command line.
Here...
Hello,
I got a Problem with a Movie Clip I add to the Stage in Flash CS4/AS3.
The Flash File consist of two MovieClips, "Inside" and "Outside". The "Inside" Clip is contained by the Outside and has the Instance Name "insideClip". The Clips are attached to Actionscript Class-Files of the same names (Outside and Inside) which are "empty...
How do I remake my swf for xml commands? "Remake" sounds silly, but I just want to have integer values updated by an XML file. This may be beyond my understanding. I'd like an
example, a mash-up, or method I can work from.
myThoughts
- It needs to read XML "parse it etc"
- variables receive e:data instead "my struggle with passing value...
I created an AS3 preloader, and placed the code for that on frame one.
I then made a symbol, and placed it in the library. It was set to NOT export on frame 1, and the fla's settings had all classes exported on frame two. There were no references to the object until frame two.
Then, flash crashed whenever I compiled without the "Expor...
Hi there,
Very simple question. Take a look at the code below. It's a very simple loader with a progress bar. The progress bar is a symbol on the stage called "bar".
All I want is to fade out the bar when it finishes loading, and fade in the image that loads. I've tried a number of approaches without much luck.
var loader: Loader ...
I just cant figure out how to do this. Im not very familiar with as3 and it just keeps trowing errors at my face. One thing that bugs me most is not having a clue on what or when I need to import stuff.
Im using flash builder and Im simply trying to make it grab grab an image from a xml file and place it on screen with the possibility t...
How to use the horizontal align property of TileList or List in flex?
I want to make an align left of my TileList with only 1 column.
I know I can use a simple List for that, but this is a requirement.
Regards
Zeeshan
...
How do I fix this string error? This numberic counter works without the ADDITION STRING ARGUMENT. It's function is to add zero placeholders to the counter. It's close, but I need a second opinion.
COUNTER "all zeros, no count"
var timer:Timer = new Timer(10);
var count:int = 0; //start at -1 if you want the first decimal to be 0
va...
I'm converting an old AS2 file into AS3 (and trying to learn AS3 at the same time).
A movie clip contains a number of different animated sequences and buttons within the application trigger these different sequences.
The buttons are functional only when an animation has completed playing.
In AS2, I achieved this with a var called _root....
I'd like to load and onload mc's on the stage when certain buttons are pressed.
The catch is that whilst one of the mc's is playing I dont want any of the buttons to work -- in other words the user has to wait for the short anim to stop playing before they press another button to see another anim (or even the same anim again).
I'm OK w...
Hey im running into some trouble with as3, Im still learning the ropes but I need to get this done with so lets see what can be made about that.
What Im trying to accomplish is to parse a xml file and with the info from it put an image on teh stage that can be clicked to reveal a text under it.
Im using flash builder and this is what ...
Hello,
How to remove validation programmatically from flex component
This is my method
public static function validateRequired(txt:TextInput, errorMessage:String="This field is required"):Boolean
{
var v:Validator = new Validator();
v.listener = txt;
var result:ValidationResultEve...
Hi friends,
Is there some way to have a tab navigator in flex where each tab width can be controlled explicitly ?
Thanks in advance.
...
How can I serialize XML(meaning convert < to < and > to > etc...) using AS3. is there any build-in functionality or I have to use some regular expression to make global changes?
Any Suggestions?
...
Hi all,
I'm using an advanced datagrid in a system I'm building.
the design PSD from the designer includes a special background on rollover.
So, I need the background of the cells in a row to get the background from an image, only when the mouse rolls over a specific row.
is this even possible?
can a row get the background from an im...
How do I use the counter to trigger sprites? Need an example or idea to work from.
I want the number values to load sprites. The value of the counter goes to a text field. I want each number value to have an "if" condition to play a sprite of a corresponding number.
Dumb example
//counter plays pictures rather than plays numbers in t...
In Flex I've got a component, which is based on a Canvas.
It looks like this (I removed the <mx:Script> for better reading):
<mx:Canvas verticalScrollPolicy="off" showEffect="showFX" hideEffect="hideFX" horizontalScrollPolicy="off" creationComplete="doComplete()" xmlns:mx="http://www.adobe.com/2006/mxml" width="63" height="63">
<mx:F...
This is the Class I'm using to bypass the popup blocker.
This is the function to call to the class function
function linkHandler(e:MouseEvent):void{
popup.ChangePage(linksURLArray[e.currentTarget.name], "_self");
}
this is the class.
package com.dbd.external {
import flash.external.ExternalInterface;
import flash.net.*...
How would I make a counter using Greensocks TweenMax or TweenLite? Does anyone understand the overwrite manager?
My code will be in AS3. I want it to be timer based, and be capable
or resetting it's self and looping. Advice or starter-code would be cool. Also, is it bad to use tweening engines? Let me know.
IDEAS
moving number column "...
Hi I used some code that I found, I think even from you guys the scale an external swf being loaded onto a background movie clip. Works great with the exception that it clips some text and creates some funny diagonal lines and some poor picture quality.
I have a feeling that this is down to a slight difference in sizing some where along...