Here's a very good article about how mouse events propagate.
http://www.adobe.com/devnet/actionscript/articles/event_handling_as3.html
You should be able to have more than one MC capture a single event, although
I haven't tried it.
A
On Fri, Aug 29, 2008 at 8:03 PM, Matthias Dittgen [EMAIL
Hi,
it's very simple process. you can view this tutorial
http://www.permadi.com/tutorial/flashVars/index.html
You can view this too
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16417sliceId=1
hope it will help.
Rajiv Seth
On Tue, Sep 2, 2008 at 7:39 AM, Gustavo Duenas
[EMAIL
Hi,
Can anyone recommend any good mailing lists for Web developers that
focus on the Adobe tools too - Dreamweaver Contribute?
Thanks
Glen
--
Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk
___
Flashcoders mailing
Could you elaborate? Maybe I'm missing something but if you have two mouse
enabled objects
(where A completely overlaps B), I don't see any way to know if a mouse is
over object B, I've tried
different ways, but haven't been able to do it..
On Fri, Aug 29, 2008 at 3:31 PM, eric e. dolecki [EMAIL
I'm actually talking here where A and B have no relation whatsoever, so
perhaps my question doesn't belong in this
thread, when I read the follow line, I actually guess it's impossible for B
to receive any MouseEvent when A is enabled
and overlapping it:
'This means that even if no event handlers
Hi All -
I am synchronizing a loaded SWF with an FLV using the FLVPlayback component
(AS3). I've got it quite close, but there is still some slight delay.
I have this on a timer:
var frame:Number = Math.round( content.totalFrames * ( (
FLVPlayer.playheadPercentage - .25 ) / 100 ) );
Hi,
I think you could make one item the parent of another so you could
listen to rollover events on both objects.
If A is the parent, you might to make A or B a custom object so that
events from the child will get passed up to the grandparent C via
event bubbling.
If you have a B
We have a huge movieclip of 5000 by 5000 pixels with different (transparant)
layers.
We can make an instance of the movieclip and work with it, we can move
layers, scale them, ...
But as soon as we add the MovieClip to the stage the ram memory-usage jumps
to 200 MB!
My guess is that flash
- Original Message -
From: Beach Boy [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, September 02, 2008 1:16 PM
Subject: [Flashcoders] Memory usage and bitmapdata issue in flash game
design
We have a huge movieclip of 5000 by 5000 pixels with different
I'd really like to see where this thread goes because efficiency in Flash is
a touch subject I guess.
First suggestion I have is stop using MovieClips. They're kinda useless.
Move as far down the chain as possible... to bitmapData and shapes. The
simpler you go and the more low level stuff you
Just a guess, but you could change the listener to MOUSE_OVER instead of
ROLL_OVER. The difference between the two is very subtle and explained at
the reference documentation of InteractiveObject. I am not sure if it is
applicable to the problem posed.
Greetz Erik
In the example they expect you to implement IExternalizable. This is only
needed if you want to preserve properties that do not have both a getter and
a setter. In most cases a public var is enough, then you wont have to
implement the IExternalizable.
I wanted to know, can I then just send the
There is one usecase that most Flash developers will come across. Lets say
we have a loader.swf in which the main (or base) class is Loader.as.
Loader.as loads main.swf, main.swf has as main (or base) class Main.as.
Loader.as needs to give a signal to the loaded main.swf and tries to type
the
Hi there,
I have a newbie question for you. I posted this to the newbie list and
recieved no response. I am wondering if it might be too advanced for
that list. For those of you who are on both lists, please excuse the
double post.
I have a pop-up box that I am loading as an external swf,
Hi Susan,
Check out the documention for the Loader() Class - you'll find that the
loaded swf is a child of the loader.
AS3 won't unload instances while there are any references to them. You can
try unloading the loader - it won't be unloadable while the 'i' variable is
refering to the
Thanks Paul,
I rewrote the code, so its easier to read:
var request:URLRequest = new URLRequest(hotword.swf);
var loader:Loader = new Loader()
function displayHotword(evt:Event):void {
loader.load(request);
addChild(loader);
loader.x = 100;
loader.y = 150
}
I think you want to listen for the event of the loader being loaded then
use .content for it.
loader.addEventListener( Event.COMPLETE, iAmLoaded_Drunk );
function iAmLoaded_Drunk( e:Event ):void
{
var lo:Loader = e.target as Loader;
lo.content.alpha = 20; // what you actually
hehe oops - .alpha = 0.2;
On Tue, Sep 2, 2008 at 1:11 PM, eric e. dolecki [EMAIL PROTECTED] wrote:
I think you want to listen for the event of the loader being loaded then
use .content for it.
loader.addEventListener( Event.COMPLETE, iAmLoaded_Drunk );
function iAmLoaded_Drunk( e:Event
I think rollover means it will fire once, wether or not it 'rolls' over a
child of that parent. With mouseover,
the event will fire each time the mouse also get's over a child of the
parent which is listening to the event.
(in short; rollover is like a parent with mouseover only with mousechildren
Your function cracked me up! LOL! Thanks! I will give it a shot.
I just added the following to unload the movie clip:
function unloadHotword(evt:Event):void {
loader.unload();
}
loader.addEventListener(MouseEvent.CLICK, unloadHotword);
It seemed to work well. :)
Now I just need to
I am sorry i forgot to mention i am using UILoader componenet for loading
that external SWF , if you guys have any other container in mind for this
purpose i would be happy to use that.
Thanks
Anuj
On Tue, Sep 2, 2008 at 11:01 AM, anuj sharma [EMAIL PROTECTED] wrote:
Hi All
I am building a
Susan,
I suspect that you'll also have to use the removeChild() method to remove
the loader from the display list.
removeChild(loader);
Otherwise the display list will still have a reference to the loader object
and stop the object being garbage collected.
Paul
- Original Message
Hi Sebastian
Thanks for the reply.
Your second point works form me. Just one frame from the end of tween i
added the UILoader and i moved the loader to the main stage after making my
first movie invisible.
Thanks a lot for your help. I appreciate that
Anuj
On Tue, Sep 2, 2008 at 11:21 AM,
You could also load the SecondLine.swf slightly before you actually want to
display it, but delay adding it to the display list until you do want to
display it.
var myUILoader:UILoader=new UILoader();
myUILoader.height=23.6;
myUILoader.move(-17,-1);
myUILoader.source=SecondLine.swf;
Then at
Thank you, Paul!
I was wondering if there might be a cleaner way to call my swf's. Below
is my code. You will notice that each button calls a different swf.
Any suggestions are appreciated!
Thanks!
Susan
---
var fileName:String = ;
I asked too soon... I found an easier way to activate the buttons using
an array (see code below).
Thanks again for your help!
var fileName:String = ;
var request:URLRequest = new URLRequest(fileName);
var myMovie:Loader = new Loader();
do you know something that actually can work in as3?
Regards,
Gustavo
On Sep 2, 2008, at 2:36 AM, Rajiv Seth (Pixelated) wrote:
Hi,
it's very simple process. you can view this tutorial
http://www.permadi.com/tutorial/flashVars/index.html
You can view this too
Hi there,
When I use a TextArea and import HTML, I see the flash of the scroll
bars come up, just prior to the text displaying. Is there anyway to
avoid that flash? If the text string is not html, this does not happen.
Thanks!
Susan
~
import
AS3 example:
http://www.permadi.com/tutorial/flashVars/indexAs3.html
link was at the top of the page..
2008/9/3 Gustavo Duenas [EMAIL PROTECTED]
do you know something that actually can work in as3?
Regards,
Gustavo
On Sep 2, 2008, at 2:36 AM, Rajiv Seth (Pixelated) wrote:
Hi,
it's
29 matches
Mail list logo