Search:
Type: Posts; User: dcnguyen
Search:
Search took 0.22 seconds.
-
Just doing this: trace( stage.fullScreenWidth, stage.fullScreenHeight );
Gets me 0,0, instead of the actual resolution of my (laptop, no external screen) monitor...what am I doing wrong here?
-
Ok, so let's say I have a sprite called MaskSprite, and another sprite called PhotoSprite, with this relationship:
PhotoSprite.mask = MaskSprite;
Now MaskSprite contains a bunch of sprites as...
-
Thankee...and I figured out how to do dynamic attribute names:
var strAtt = "@name";
trace(item[strAtt]);
-
Let's say my xml is like this:
<root>
<PERSONS>
<PERSON name="Hillary Clinton" picture="hillary_clinton.jpg" description="New York Senator">
</PERSON>
<PERSON name="Barack Obama"...
-
Essential Actionscript 3.0 has a pretty good primer on OOP
-
So I've imported a transparent PNG into a Sprite dynamically...but hit detection (mouse rollover, clicks,etc) seems to occur in the rectangular bounds of the PNG, rather than just the non-transparent...
-
Thanks, that did the trick? Is there a streamlined way to just store the outline produced by applying the filter into another Sprite, other than duplicating the sprite, applying the filter, and then...
-
So I've a bunch of pngs I'm loading into sprites that are the shapes of countries...these pngs are solid colors...I'd like to, inside my program, just highlight the outlines of these shapes...Is...
-
thanks, should've posted in the Newbie forum.
-
Is there a function that takes in a string to test if a variable is of that type...for example:
if( someVariable.isThis("String")){
...
}
-
I only vaugely remember how to do this in Flash 8...but I'm trying to embed a Flash swf from another server onto another site's homepage...what variables and parameters do I need to make this all...
-
Let's say I have a movie clip some distance away from the center, rotated 90 degrees...I just want to find where its x,y coordinates on the Stage (so I can draw a line to where it is now on the...
-
Thank you thank you thank you...I knew it had to be something simple...
-
Thanks, but html is not a property of TextField in ActionScript 3...
-
About as simple as can be...
var t = new TextField();
addChild(t);
t.htmlText = "Hello<br> World";
This does not display the line break...p tags also don't work. However, <b> tags do...do I...
-
Similar to this effect:
http://www.fla-shop.com/
So the point at the center of the clip should not move at all.
-
I'd like the clip to remain in place...I thought this would be the solution, but it ain't:
public function changeScaleMatrix(val){
//this function is called upon a tween's change in motion...
-
Thank you, yes the addChild thing was what I needed.
-
Is there some easy method to scale a movieclip on the stage...i.e. enlarging it, without it translating it positively in the x and y axes?
I thought this would work, but it didn't:
public...
-
So on my stage and library, I have a movieclip for each state...named as STATE_AK, STATE_IA, STATE_NY, and so forth, inside the library...the clips are then placed on the stage
I've created a...
-
OK, so I have an animated gif that I would like as a movieclip in my FLA file...so what I did was put that animated gif into its own FLA and compiled it into a swf...and it worked fine. But when I...
-
Dang, I wish I had an example to refer to the effect I want...but basically I'd like to start with a movieclip, and then as time passes, have that movieclip kind of melt away into whiteness...I was...
-
doh! That's what I was worried about.
-
I've got a movieclip that I've put on the stage that I would like to, at run time, become the child of another movieclip, the latter which is created only at runtime. In the same way that a clip...
-
OK I have a question along the same lines. Let's say I create an empty movieclip, and then fill it up with a grid of small clips, so:
maskClip = _root.createEmptyMovieClip("maskClip", 10);
(for...
|
Click Here to Expand Forum to Full Width
|