Hi, I can't figure out how I can move a masked MC according to the position
of the scroll bar.
I tried this code with a scrollbar a mask and MC (the content)
yp = scrollbar._y;
scrollRatio = MC._height/mask._height;
scrollbar._height = mask._height/scrollRatio; //gets the height of the
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of O. Fouad
Sent: Monday, June 25, 2007 1:15 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Scroll Bar formula problem
Hi, I can't figure out how I can move a masked MC according to the
position
of the scroll bar.
I tried this code
u can load the external swf into a movieclip (as usual) and get the _height
_width of the movieClip, of course after it loads entirely
On 6/20/07, natalia Vikhtinskaya [EMAIL PROTECTED] wrote:
Hi
Is it possible to know dimensions of loading swf file? How I can get width
and height?
Thank you
Jesse i got a problem with the static methods u wrote... a second box
overrides the first...
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Oh... fixed it..never mind my last post :D
Thanks all!
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Ok, this is just frustrating me... somebody help me please :(
i've got this class DrawBox that as it says, draws a box on the stage..
class DrawBox extends MovieClip {
var myMC:MovieClip;
public function DrawBox(boxName:String) {
this.myMC =
this is just an example..
u know i wanted to apply some custom effect to a movieClip and using
mc.applyFX(bla bla) instead of applyFX(mc, bla bla);
Just like mc_tween's mc.alphaTo() for example...
--
O.Fouad - Digital Emotions
___
thanks :D but why should i use static methods I am trying to create some
color effect shortcuti wont need to create new instances. If i have a
movieClip on my stage i wouldlike to have it
myMC.someEffect(par);
___
continued...
just the same way when in actionsript 1 i write:
MovieClip.prototype.myEffect = function () {
//some code here
}
myMC.myEffect();
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of O. Fouad
Sent: Friday, June 08, 2007 7:09 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Having MovieClip behaviours in a class..
thanks :D but why should i use static methods I am trying to create
Spiderman 3 Is just great. I kinda cried at the end :P. I also read that it
had a great success all over the world.
Than again u can't tell ppl not to watch the movie... :)
On 5/7/07, Parvaiz Patel [EMAIL PROTECTED] wrote:
Nice story action line up together. I like Spiderman:3
are u executing the class post view?
On 5/1/07, Andy Herrman [EMAIL PROTECTED] wrote:
Or have the function return it, which is what it seems like would be
the right thing for that method.
-Andy
On 5/1/07, Ron Wheeler [EMAIL PROTECTED] wrote:
I am not sure if you are showing all the code
Uli is right maybe u can use some server side... but i think u said Desktop
application
On 4/22/07, Lists [EMAIL PROTECTED] wrote:
You can save BitmapData using ByteArray in AS3. Tinic Uro has written JPEG
and PNG encoders, as have some others. Check out www.kaourantin.net for
more
info.
I know that you can extract the bitmap Data from a movieClip and attach it
to an empty movieClip by using the BitmapData class. You cannot save,
though, the movieClip BitmapData on your computer by using actionscript.
You'll need a Flash expander tool as Zinc for example... It can save bitmaps
14 matches
Mail list logo