Re: [Flashcoders] Local Shared Objects

2006-05-20 Thread John Grden

yeah, it DOES suck that you'd have to load from a domain to share an SO like
that.

Just remember that LC has about a 40k limit on what it can send.  If you
have objects bigger than that, you'll have to serialize them into xml/string
format and send in chunks and reassemble on the other end etc.

On 5/20/06, Steven Sacks <[EMAIL PROTECTED]> wrote:


I must have missed the original post. I thought he had one swf loaded in
another.  SharedObject is a misnomer because it makes people think it's
shared between multiple swfs, but it really is just shared between
multiple
sessions, so to speak.

LocalConnection is how you share information between two movies.

-Steven

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
John Grden - Blitz
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] ComboBox does not respond to user clicks when Iusehomemade preloader

2006-05-20 Thread Alberto Florentin
Wow!  Lost maybe 2 hrs, trying to find out what went wrong!  When I read
your email I realized I have had the same problem with Alert, and yes Alert
was there on the preloading clip.  Very quick fix!

Thanks A LOT.

Alberto

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Steven Sacks
Sent: Saturday, May 20, 2006 11:24 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] ComboBox does not respond to user clicks when
Iusehomemade preloader


You MUST have the combobox component in the loader clip's library in order
for comboboxes in loaded swfs to work.



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Alberto Florentin
> Sent: Saturday, May 20, 2006 8:49 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] ComboBox does not respond to user
> clicks when I usehomemade preloader
>
> Hi,
>
> I have a ComboBox on a movieclip (inside a Window, does that
> matter?) like
> this $targetMC.createClassObject(ComboBox, cbname, cbdepth);
>
> It works ok when I play my movie directly.
>
> When I use a simple homemade preloader swf which loads the
> main movie into a
> movieclip, the combo box works ok otherwise, i.e. gets
> updated as needed by
> actionscript, but does not respond to user clicks.
>
> Anybody have any ideas?
>
> TIA
>
> Alberto
>
>
> ___
> 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
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] TextField using shared fo nt is not showing character such ã, á, ç...

2006-05-20 Thread Marcelo de Moraes Serpa

Bernard... rendering the text as html in flash didn´t work, it stayed the
same. I can of course use the enconding functions php provides to convert
from UT8 to ISO e vice-versa. However, what I really would love to know is
if AMFPHP has some feature that already deals with this issue as I would
better delegate this string formating to AMFPHP than convert each string in
my classes.

Thanks again,

- Marcelo.

On 5/20/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:


Thanks a lot for the tips Bernard, I will try that and let you know if
worked!

Thanks ;)

- Marcelo.


On 5/20/06, Bernard Visscher < [EMAIL PROTECTED]> wrote:
>
> Hi Marcelo,
>
> You could try loading the text as HTML-text in flash.
> Then in cakePHP before you outpur your text use:
>
> $output = htmlspecialchars(htmlentities($output));
>
> Now all chars that are not in the 32-127 (ascii) range will be changed
> to
> something like ë for ë
>
> Greetz,
>
> Bernard
>
> > -Oorspronkelijk bericht-
> > Van: [EMAIL PROTECTED]
> > [mailto: [EMAIL PROTECTED] Namens
> > Marcelo de Moraes Serpa
> > Verzonden: zaterdag 20 mei 2006 1:04
> > Aan: Flashcoders mailing list
> > Onderwerp: Re: [Flashcoders] TextField using shared font is
> > not showing character such ã, á, ç...
> >
> > Hey Julien, thanks for the reply.
> >
> > I just discovered it isn´t a shared font problem but actually
> > a string encoding problem! I´m using CakePHP as the
> > application server and the admin system is all in html - all
> > the data is entered through this interface. The problem is
> > that flash uses UTF8 which is different from the enconding
> > Cake uses (it seems). I would really love to know if AMFPHP
> > has something to deal with that issue!
> >
> > THanks!
> >
> > Marcelo.
> >
> > On 5/19/06, Julien Vignali <[EMAIL PROTECTED]> wrote:
> > >
> > > Marcelo,
> > > Strange...I am using fonts in a shared library too and it
> > can display
> > > accentuated characters without any problems... Are you sure
> > that the
> > > font you're using initially contains those characters ?
> > > And have you correctly imported the shared font in your library and
> > > set your textfields' font to it ? I always export my fonts
> > to "__Fontname"
> > > so they always appear at the top of my font list like this :
> > >
> > > __HelveticaNeue*
> > > __MyriadPro*
> > > ...
> > >
> > >
> > >
> > > Marcelo de Moraes Serpa a écrit :
> > > > The used fonts are packaged into a shared library that is
> > pre-loaded
> > > > at
> > > the
> > > > beginning of the application. The embedding works, I´ve testing
> > > > rotating and changing dynamic textfields and they show
> > the correct
> > > > fonts. However, character such as á,é,ç,ã that I need to
> > use don´t
> > > > show! Why!?
> > > >
> > > > Thanks in advacne,
> > > > ___
> > > > 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
> > > > Premier Authorized Adobe Consulting and Training
> > > > http://www.figleaf.com http://training.figleaf.com
> > > >
> > > >
> > > ___
> > > 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
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com http://training.figleaf.com
> > >
> > ___
> > 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
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com http://training.figleaf.com
> >
>
> ___
> 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
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] TextField using shared fo nt is not showing character such ã, á, ç...

2006-05-20 Thread Marcelo de Moraes Serpa

Thanks a lot for the tips Bernard, I will try that and let you know if
worked!

Thanks ;)

- Marcelo.

On 5/20/06, Bernard Visscher <[EMAIL PROTECTED]> wrote:


Hi Marcelo,

You could try loading the text as HTML-text in flash.
Then in cakePHP before you outpur your text use:

$output = htmlspecialchars(htmlentities($output));

Now all chars that are not in the 32-127 (ascii) range will be changed to
something like ë for ë

Greetz,

Bernard

> -Oorspronkelijk bericht-
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens
> Marcelo de Moraes Serpa
> Verzonden: zaterdag 20 mei 2006 1:04
> Aan: Flashcoders mailing list
> Onderwerp: Re: [Flashcoders] TextField using shared font is
> not showing character such ã, á, ç...
>
> Hey Julien, thanks for the reply.
>
> I just discovered it isn´t a shared font problem but actually
> a string encoding problem! I´m using CakePHP as the
> application server and the admin system is all in html - all
> the data is entered through this interface. The problem is
> that flash uses UTF8 which is different from the enconding
> Cake uses (it seems). I would really love to know if AMFPHP
> has something to deal with that issue!
>
> THanks!
>
> Marcelo.
>
> On 5/19/06, Julien Vignali <[EMAIL PROTECTED]> wrote:
> >
> > Marcelo,
> > Strange...I am using fonts in a shared library too and it
> can display
> > accentuated characters without any problems... Are you sure
> that the
> > font you're using initially contains those characters ?
> > And have you correctly imported the shared font in your library and
> > set your textfields' font to it ? I always export my fonts
> to "__Fontname"
> > so they always appear at the top of my font list like this :
> >
> > __HelveticaNeue*
> > __MyriadPro*
> > ...
> >
> >
> >
> > Marcelo de Moraes Serpa a écrit :
> > > The used fonts are packaged into a shared library that is
> pre-loaded
> > > at
> > the
> > > beginning of the application. The embedding works, I´ve testing
> > > rotating and changing dynamic textfields and they show
> the correct
> > > fonts. However, character such as á,é,ç,ã that I need to
> use don´t
> > > show! Why!?
> > >
> > > Thanks in advacne,
> > > ___
> > > 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
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com http://training.figleaf.com
> > >
> > >
> > ___
> > 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
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com http://training.figleaf.com
> >
> ___
> 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
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] swapping depths and disappearing clips

2006-05-20 Thread Byron Canfield
I think the primary problem is that you are retrieving the next highest
depth value from a timeline OTHER than the one where the swapDepths is
being performed. Getting the depth value from "this" (which is the
timeline of the button/clip, itself, but swapping the depth of the
button/clip, which takes place in the timeline of the parent of the
button/clip.

-- 
Byron "Barn" Canfield


>> ...
>>  curPhoto.onRollOver = function(){
>>  // move to the front
>>  swapDepths(this.getNextHighestDepth());
>>  this.scaleTo(90, 90, 2);
>>  var startPos = this.photoTab_mc._x;
>>  var targetPos = startPos + 25;
>>  var tabTween:Tween = new
>> Tween(this.photoTab_mc, "_x",
>> Strong.easeOut, startPos, targetPos, .5, true);
>>  }


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] ComboBox does not respond to user clicks when I usehomemade preloader

2006-05-20 Thread Steven Sacks
You MUST have the combobox component in the loader clip's library in order
for comboboxes in loaded swfs to work.

 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Alberto Florentin
> Sent: Saturday, May 20, 2006 8:49 AM
> To: Flashcoders mailing list
> Subject: [Flashcoders] ComboBox does not respond to user 
> clicks when I usehomemade preloader
> 
> Hi,
> 
> I have a ComboBox on a movieclip (inside a Window, does that 
> matter?) like
> this $targetMC.createClassObject(ComboBox, cbname, cbdepth);
> 
> It works ok when I play my movie directly.
> 
> When I use a simple homemade preloader swf which loads the 
> main movie into a
> movieclip, the combo box works ok otherwise, i.e. gets 
> updated as needed by
> actionscript, but does not respond to user clicks.
> 
> Anybody have any ideas?
> 
> TIA
> 
> Alberto
> 
> 
> ___
> 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
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Local Shared Objects

2006-05-20 Thread Steven Sacks
I must have missed the original post. I thought he had one swf loaded in
another.  SharedObject is a misnomer because it makes people think it's
shared between multiple swfs, but it really is just shared between multiple
sessions, so to speak.

LocalConnection is how you share information between two movies.

-Steven

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] vertical dynamic text fields

2006-05-20 Thread Doug Tangren
I have noticed that if I load text into a dynamic text field that has  
been rotated vertically the text will not appear in the text field.   
This is only a problem when the text field is not horizontal. Is  
there an easy way of getting around this? I tried wrapping the  
dynamic text field in a movie clip keeping the text field horizontal  
and just rotating the clip, but I still get the same problem. 
 
___

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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] swapping depths and disappearing clips

2006-05-20 Thread Doug Tangren
Thanks.  I will note this in the future.  I need to be more  
consistent in my code.  I often mix literal depths and  
getNextHighestDepth()'s throughout my code.  As projects get larger  
this gets harder and harder to manage.


On May 20, 2006, at 2:21 PM, Robert A. Colvin wrote:


First of all don't use getNextHighestDepth unless you absolutely have
to.  If the z-order of you images is not important and you simply want
to get to the top use mc.swapDepths(mcWithHighestDepth)
mcWithHighestDepth can be just be the last image you rolled over or
initially the last image you loaded in using depth+I if looping  
through

xml.

Images disappearing could be because you used getNextHighestDepth when
loading them see comment above.

Just a guess since you didn't post the loading code.
Cheers
Robert

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug
Tangren
Sent: Saturday, May 20, 2006 2:15 PM
To: Flashcoders mailing list
Subject: [Flashcoders] swapping depths and disappearing clips

I am writing a simple gallery that loads image data in from xml.  All
works well until I do the following.  I set a ref variable to the
current photo and set up rollover handlers like the following

...
curPhoto.onRollOver = function(){
// move to the front
swapDepths(this.getNextHighestDepth());
this.scaleTo(90, 90, 2);
var startPos = this.photoTab_mc._x;
var targetPos = startPos + 25;
var tabTween:Tween = new
Tween(this.photoTab_mc, "_x",
Strong.easeOut, startPos, targetPos, .5, true);
}
curPhoto.onRollOut = function(){
this.scaleTo(65, 65, 2);
var startPos = this.photoTab_mc._x;
var targetPos = startPos - 25;
var tabTween:Tween = new
Tween(this.photoTab_mc, "_x",
Strong.easeOut, startPos, targetPos, .5, true);
}
...

My problems are two fold.
1. The swapDepths() function is not swapping depths so my photos
overlap when I scale them. I've tested this passing various depths as
arguements.
2.  For some reason after some time passes my images just disappear
from the screen in the order that they were created.  I don't know
what would be causing this.

Can any body telling me the cause of either one of these problems or
if anyone has had similar problems???
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Animation Engine

2006-05-20 Thread Julien Vignali
It seems to me that you looked at an old version of Moses's Fuse 
tweening engine. Its official homepage is now at 
http://mosessupposes.com/Fuse. The released version (1.0) offers you the 
option to use prototype or pure actionscript 2 tweenings (just imports 
and use the Fuse class, look at the 
http://www.mosessupposes.com/Fuse/normal.html for usage).


The upcoming version will be 100% as2 and is almost ready...

Julien


Nick Weekes a écrit :

Dear all,
 
Im trying to use the native AS tween classes, but its becoming a real pain

when I want to tween, say, _x + _y + _xscale + _yscale all at the same time
for the same MC, and control the onMotionFinished events for each tween.
 
So, Ive been looking into actionscript 2 animation/tweening engines (such as

the http://laco.wz.cz/tween//Moses classes), but am looking for a pure
Actionscript 2 class based engine.  From what I can tell the Laco tween is
protoype based, and not proper OOP (correct me if im wrong).  It looks like
moses is working on a really powerful animation engine (Fuse), but its not
available yet.  
 
Any other options out there?  
 
Thanks,
 
Nick
 
___

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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Automated Reply Re: "RE: [Flashcoders] swapping depths and disappearing clips"

2006-05-20 Thread pete . hotchkiss
I am now out of the office until Tuesday 23rd May. Please contact Andrew Timms 
on 020 3008 8086.

Pete
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] swapping depths and disappearing clips

2006-05-20 Thread Robert A. Colvin
First of all don't use getNextHighestDepth unless you absolutely have
to.  If the z-order of you images is not important and you simply want
to get to the top use mc.swapDepths(mcWithHighestDepth)
mcWithHighestDepth can be just be the last image you rolled over or
initially the last image you loaded in using depth+I if looping through
xml.

Images disappearing could be because you used getNextHighestDepth when
loading them see comment above.

Just a guess since you didn't post the loading code.
Cheers
Robert

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug
Tangren
Sent: Saturday, May 20, 2006 2:15 PM
To: Flashcoders mailing list
Subject: [Flashcoders] swapping depths and disappearing clips

I am writing a simple gallery that loads image data in from xml.  All  
works well until I do the following.  I set a ref variable to the  
current photo and set up rollover handlers like the following

...
curPhoto.onRollOver = function(){
// move to the front
swapDepths(this.getNextHighestDepth());
this.scaleTo(90, 90, 2);
var startPos = this.photoTab_mc._x;
var targetPos = startPos + 25;
var tabTween:Tween = new
Tween(this.photoTab_mc, "_x",  
Strong.easeOut, startPos, targetPos, .5, true);
}
curPhoto.onRollOut = function(){
this.scaleTo(65, 65, 2);
var startPos = this.photoTab_mc._x;
var targetPos = startPos - 25;
var tabTween:Tween = new
Tween(this.photoTab_mc, "_x",  
Strong.easeOut, startPos, targetPos, .5, true);
}
...

My problems are two fold.
1. The swapDepths() function is not swapping depths so my photos  
overlap when I scale them. I've tested this passing various depths as  
arguements.
2.  For some reason after some time passes my images just disappear  
from the screen in the order that they were created.  I don't know  
what would be causing this.

Can any body telling me the cause of either one of these problems or  
if anyone has had similar problems???
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] swapping depths and disappearing clips

2006-05-20 Thread Doug Tangren
I am writing a simple gallery that loads image data in from xml.  All  
works well until I do the following.  I set a ref variable to the  
current photo and set up rollover handlers like the following


...
curPhoto.onRollOver = function(){
// move to the front
swapDepths(this.getNextHighestDepth());
this.scaleTo(90, 90, 2);
var startPos = this.photoTab_mc._x;
var targetPos = startPos + 25;
var tabTween:Tween = new Tween(this.photoTab_mc, "_x",  
Strong.easeOut, startPos, targetPos, .5, true);

}
curPhoto.onRollOut = function(){
this.scaleTo(65, 65, 2);
var startPos = this.photoTab_mc._x;
var targetPos = startPos - 25;
var tabTween:Tween = new Tween(this.photoTab_mc, "_x",  
Strong.easeOut, startPos, targetPos, .5, true);

}
...

My problems are two fold.
1. The swapDepths() function is not swapping depths so my photos  
overlap when I scale them. I've tested this passing various depths as  
arguements.
2.  For some reason after some time passes my images just disappear  
from the screen in the order that they were created.  I don't know  
what would be causing this.


Can any body telling me the cause of either one of these problems or  
if anyone has had similar problems???

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] embed pdf

2006-05-20 Thread Steve Rachels
Is there a way to embed a pdf file into flash?  Searched google, very 
little helpful came up.


Thanks in advance.

_Steve
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] ComboBox does not respond to user clicks when I use homemade preloader

2006-05-20 Thread Vivek lakhanpal

Does the main clip in which your combo box resides has any mouse event like
onRelease or onPress?

In that your combobox will not be able to catch click event. As the
movieClip in which it resides will not let the event pass to the combo box.

Just an idea.

Thanks
Vivek

On 5/20/06, Alberto Florentin <[EMAIL PROTECTED]> wrote:


Hi,

I have a ComboBox on a movieclip (inside a Window, does that matter?) like
this $targetMC.createClassObject(ComboBox, cbname, cbdepth);

It works ok when I play my movie directly.

When I use a simple homemade preloader swf which loads the main movie into
a
movieclip, the combo box works ok otherwise, i.e. gets updated as needed
by
actionscript, but does not respond to user clicks.

Anybody have any ideas?

TIA

Alberto


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Animation Engine

2006-05-20 Thread Mark Walters

You might also want to look at Fuse (in final steps of beta right
now). http://www.mosessupposes.com/Fuse/ .

On 5/20/06, Adam Pasztory <[EMAIL PROTECTED]> wrote:

Yeah, I think that's great.  Didn't mean to sound critical about the
filesize.  I'm just wary of any hidden impacts.  I will be trying it out
this weekend...

On 5/20/06, Ron Wheeler <[EMAIL PROTECTED]> wrote:
>
> 16 Kb is a pretty small size when compared to a photo or image - nothing
> when compared to a sound file.
>
> Ron
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] "BitmapData.draw" method problems

2006-05-20 Thread keith

I have problems with BitmapData.draw() method.

I've only been able to use this method by using the "source" parameter 
alone with no other parameters filled in for this method.

bmap.(myMC); //works
bmap.(myMC,myMatrix) //Does not work. Why?

It would be wonderful if I could make use of these other parameters:
BitmapData.draw(source:Object, [matrix:Matrix], 
[colorTransform:ColorTransform], [blendMode:Object], 
[clipRect:Rectangle], [smooth:Boolean])


-- Keith H --
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using ActionScript to get "left and top" of a MovieClip instead of registration "x, y" like in JSFL

2006-05-20 Thread keith

Thanks!
That got one where I need to go.
--Keith H --


Martin Weiser wrote:

var b=myMC.getBounds(myMC)

left: myMc._x+b.xMin
top:myMC._y+b.yMin

Attetntion on _xscale, _ysclae, getBounds is still the same despite 
scale different from 100


also useful is localToGlobal, globalToLocal

Martin

- Original Message - From: "keith" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, May 20, 2006 9:21 AM
Subject: [Flashcoders] Using ActionScript to get "left and top" of a 
MovieClip instead of registration "x,y" like in JSFL




I want to use ActionScript to do this:

I have a MovieClip whose registration is neither centered or at the 
top-right corner.
I want to get the actual "left and top" coordinates of  a MovieClip 
intead of  where it's registration mark is at.



Any ideas from anyone?

--Keith H --
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Image in HTML-TextField doesn't get loaded

2006-05-20 Thread Sönke Rohde
Hi,

I got the problem, that images within HTML-Textfields don't show up. When I
test the site on my local webserver all works fine but not online on my
server. I can't imagin any problems with my server or any chmod issues.

Here an example:
The part within the content-node is set as text:



Tested with Flash Player 8 & 9.

Any ideas?
Sönke

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Animation Engine

2006-05-20 Thread Adam Pasztory

Yeah, I think that's great.  Didn't mean to sound critical about the
filesize.  I'm just wary of any hidden impacts.  I will be trying it out
this weekend...

On 5/20/06, Ron Wheeler <[EMAIL PROTECTED]> wrote:


16 Kb is a pretty small size when compared to a photo or image - nothing
when compared to a sound file.

Ron

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] ComboBox does not respond to user clicks when I use homemade preloader

2006-05-20 Thread Alberto Florentin
Hi,

I have a ComboBox on a movieclip (inside a Window, does that matter?) like
this $targetMC.createClassObject(ComboBox, cbname, cbdepth);

It works ok when I play my movie directly.

When I use a simple homemade preloader swf which loads the main movie into a
movieclip, the combo box works ok otherwise, i.e. gets updated as needed by
actionscript, but does not respond to user clicks.

Anybody have any ideas?

TIA

Alberto


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Local Shared Objects

2006-05-20 Thread John Grden

exactly ;)

On 5/20/06, Sander <[EMAIL PROTECTED]> wrote:


Hi,

I feel bad contradicting Flash Coders readers, but 2 different swf's
cannot read the same LSO.

Macromedia Technote:

Shared Objects are used to store data on the client machine in much
the same way that data is stored in a cookie created through a web
browser. The data can only be read by movies originating from the
same domain that created the Shared Object.



If you want 2 swf's open at the same time to communicate, use a
localConnection

Macromedia Technote:

You can use local connection objects to develop Macromedia Flash MX
movies that can send instructions to each other without the use of
FSCommand or JavaScript. Local connection objects can communicate
only between movies that are running on the same client machine, but
they can be running in two different applications—for example, a
Macromedia Flash MX movie running in a browser and a Macromedia Flash
MX movie running on a desktop. You can use local connection objects
to send and receive within a single movie, but this is not a standard
implementation; all the examples in this article illustrate
communication between different movies.

Greetz,

Sander.

On 20 May 2006, at 05:15, Tyler Wright wrote:

> When opening a SharedObject Flash will use it soley from memory.
> You can
> call Flush to commit the data to disk, but it doesn't reload data
> from disk.
> I think getting a unique reference to the object each time should
> work, but
> only if all other references have been closed. Try deleting a
> reference as
> soon as you've called Flush and are done using it.
>
> good luck!
> Tyler
>
> On 5/17/06, Jason Saelhof <[EMAIL PROTECTED]> wrote:
>>
>> I did try getting a reference to the Shared Object again using...
>>
>>  myVar = SharedObject.getLocal( ... );
>>
>> ... but it didn't seem to help. I basically set it up so that each
>> time
>> it tried to read from the object it would get a new reference first.
>>
>> Jason
>>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of
>> Steven
>> Sacks
>> Sent: Wednesday, May 17, 2006 3:17 PM
>> To: 'Flashcoders mailing list'
>> Subject: RE: [Flashcoders] Local Shared Objects
>>
>> Did you try setting your variable to the shared object again after
>> the
>> change?
>>
>>
>> > -Original Message-
>> > From: [EMAIL PROTECTED]
>> > [mailto:[EMAIL PROTECTED] On Behalf
>> > Of Jason Saelhof
>> > Sent: Wednesday, May 17, 2006 2:00 PM
>> > To: Flashcoders@chattyfig.figleaf.com
>> > Subject: [Flashcoders] Local Shared Objects
>> >
>> > Hi everyone,
>> >
>> >
>> >
>> > I'm trying to get a Local Shared Object (LSO) to share data
>> between 2
>> > flash windows. The first movie creates the LSO and can write
>> > to it. The
>> > second movie can then get a reference to the shared object
>> > and read the
>> > data set by movie 1. The problem occurs when movie 2 tries to
>> change
>> > that data and flush it to the disk. Movie 1 doesn't get the
>> > change. If I
>> > close movie 1 and re-open it, it can now see the changes.
>> > This makes me
>> > think that each instance of the Flash Player is working from
>> > a "cached"
>> > copy of the LSO. Can anyone confirm this behavior? Does anyone
>> know a
>> > way to force the movies to always refer to the disk when
>> > reading values
>> > from the LSO?
>> >
>> >
>> >
>> > Jason.
>> >
>> > ___
>> > 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
>> > Premier Authorized Adobe Consulting and Training
>> > http://www.figleaf.com
>> > http://training.figleaf.com
>>
>> ___
>> 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
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>> ___
>> 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
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
> ___
> 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
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archi

Re: [Flashcoders] Installing Flash 8 pro on a fresh OSX 10.4.6 crash on launch

2006-05-20 Thread erixtekila
install applejack - it does permissions, disk repair and cleans system 
caches


http://applejack.sourceforge.net/
and run it in single user mode
% applejack auto restart

Already did it.



also- the old reset your pram still works for certain problems.

Good idea. Thanks.
---
erixtekila
http://blog.v-i-a.net/

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Installing Flash 8 pro on a fresh OSX 10.4.6 crash on launch

2006-05-20 Thread Michael Bedar
install applejack - it does permissions, disk repair and cleans  
system caches


http://applejack.sourceforge.net/

and run it in single user mode

% applejack auto restart

also- the old reset your pram still works for certain problems.


On May 20, 2006, at 8:30 AM, erixtekila wrote:



Le 20 mai 06, à 00:12, Sander a écrit :


Tried repairing permissions? Often helps with flash crashes under X.

Unfortunatly not here.
---
erixtekila
http://blog.v-i-a.net/
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Animation Engine

2006-05-20 Thread Ron Wheeler
16 Kb is a pretty small size when compared to a photo or image - nothing 
when compared to a sound file.


Ron

Adam Pasztory wrote:

This looks great, Muzak.  Do you have any demos of it in use?

One thing that worries me about using external libraries, though is
filesize.  I see empty_setup.swf is about 16kb.  Is this the required
overhead for using Animation Package?  Will the whole thing work if I 
don't

import all the libraries?  Say I only want to use the easing functions...

thanks,
Adam
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Animation Engine

2006-05-20 Thread Adam Pasztory

This looks great, Muzak.  Do you have any demos of it in use?

One thing that worries me about using external libraries, though is
filesize.  I see empty_setup.swf is about 16kb.  Is this the required
overhead for using Animation Package?  Will the whole thing work if I don't
import all the libraries?  Say I only want to use the easing functions...

thanks,
Adam
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Installing Flash 8 pro on a fresh OSX 10.4.6 crash on launch

2006-05-20 Thread erixtekila


Le 20 mai 06, à 00:12, Sander a écrit :


Tried repairing permissions? Often helps with flash crashes under X.

Unfortunatly not here.
---
erixtekila
http://blog.v-i-a.net/
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Animation Engine

2006-05-20 Thread Nick Weekes
Looks really good.  Thanks Muzak.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: 20 May 2006 12:15
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Animation Engine


http://www.alex-uhlmann.de/flash/animationpackage/

regards,
Muzak

- Original Message - 
From: "Nick Weekes" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, May 20, 2006 1:08 PM
Subject: [Flashcoders] Animation Engine


> Dear all,
>
> Im trying to use the native AS tween classes, but its becoming a real pain
> when I want to tween, say, _x + _y + _xscale + _yscale all at the same
time
> for the same MC, and control the onMotionFinished events for each tween.
>
> So, Ive been looking into actionscript 2 animation/tweening engines (such
as
> the http://laco.wz.cz/tween//Moses classes), but am looking for a pure
> Actionscript 2 class based engine.  From what I can tell the Laco tween is
> protoype based, and not proper OOP (correct me if im wrong).  It looks
like
> moses is working on a really powerful animation engine (Fuse), but its not
> available yet.
>
> Any other options out there?
>
> Thanks,
>
> Nick
>


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Animation Engine

2006-05-20 Thread Muzak

http://www.alex-uhlmann.de/flash/animationpackage/

regards,
Muzak

- Original Message - 
From: "Nick Weekes" <[EMAIL PROTECTED]>
To: 
Sent: Saturday, May 20, 2006 1:08 PM
Subject: [Flashcoders] Animation Engine


> Dear all,
>
> Im trying to use the native AS tween classes, but its becoming a real pain
> when I want to tween, say, _x + _y + _xscale + _yscale all at the same time
> for the same MC, and control the onMotionFinished events for each tween.
>
> So, Ive been looking into actionscript 2 animation/tweening engines (such as
> the http://laco.wz.cz/tween//Moses classes), but am looking for a pure
> Actionscript 2 class based engine.  From what I can tell the Laco tween is
> protoype based, and not proper OOP (correct me if im wrong).  It looks like
> moses is working on a really powerful animation engine (Fuse), but its not
> available yet.
>
> Any other options out there?
>
> Thanks,
>
> Nick
>


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Animation Engine

2006-05-20 Thread Nick Weekes
Dear all,
 
Im trying to use the native AS tween classes, but its becoming a real pain
when I want to tween, say, _x + _y + _xscale + _yscale all at the same time
for the same MC, and control the onMotionFinished events for each tween.
 
So, Ive been looking into actionscript 2 animation/tweening engines (such as
the http://laco.wz.cz/tween//Moses classes), but am looking for a pure
Actionscript 2 class based engine.  From what I can tell the Laco tween is
protoype based, and not proper OOP (correct me if im wrong).  It looks like
moses is working on a really powerful animation engine (Fuse), but its not
available yet.  
 
Any other options out there?  
 
Thanks,
 
Nick
 
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Local Shared Objects

2006-05-20 Thread Sander

Hi,

I feel bad contradicting Flash Coders readers, but 2 different swf's  
cannot read the same LSO.


Macromedia Technote:

Shared Objects are used to store data on the client machine in much  
the same way that data is stored in a cookie created through a web  
browser. The data can only be read by movies originating from the  
same domain that created the Shared Object.




If you want 2 swf's open at the same time to communicate, use a  
localConnection


Macromedia Technote:

You can use local connection objects to develop Macromedia Flash MX  
movies that can send instructions to each other without the use of   
FSCommand or JavaScript. Local connection objects can communicate  
only between movies that are running on the same client machine, but  
they can be running in two different applications—for example, a  
Macromedia Flash MX movie running in a browser and a Macromedia Flash  
MX movie running on a desktop. You can use local connection objects  
to send and receive within a single movie, but this is not a standard  
implementation; all the examples in this article illustrate  
communication between different movies.


Greetz,

Sander.

On 20 May 2006, at 05:15, Tyler Wright wrote:

When opening a SharedObject Flash will use it soley from memory.  
You can
call Flush to commit the data to disk, but it doesn't reload data  
from disk.
I think getting a unique reference to the object each time should  
work, but
only if all other references have been closed. Try deleting a  
reference as

soon as you've called Flush and are done using it.

good luck!
Tyler

On 5/17/06, Jason Saelhof <[EMAIL PROTECTED]> wrote:


I did try getting a reference to the Shared Object again using...

 myVar = SharedObject.getLocal( ... );

... but it didn't seem to help. I basically set it up so that each  
time

it tried to read from the object it would get a new reference first.

Jason

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Steven

Sacks
Sent: Wednesday, May 17, 2006 3:17 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Local Shared Objects

Did you try setting your variable to the shared object again after  
the

change?


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Jason Saelhof
> Sent: Wednesday, May 17, 2006 2:00 PM
> To: Flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] Local Shared Objects
>
> Hi everyone,
>
>
>
> I'm trying to get a Local Shared Object (LSO) to share data  
between 2

> flash windows. The first movie creates the LSO and can write
> to it. The
> second movie can then get a reference to the shared object
> and read the
> data set by movie 1. The problem occurs when movie 2 tries to  
change

> that data and flush it to the disk. Movie 1 doesn't get the
> change. If I
> close movie 1 and re-open it, it can now see the changes.
> This makes me
> think that each instance of the Flash Player is working from
> a "cached"
> copy of the LSO. Can anyone confirm this behavior? Does anyone  
know a

> way to force the movies to always refer to the disk when
> reading values
> from the LSO?
>
>
>
> Jason.
>
> ___
> 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
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using ActionScript to get "left and top" of a MovieClip instead of registration "x, y" like in JSFL

2006-05-20 Thread Martin Weiser

var b=myMC.getBounds(myMC)

left: myMc._x+b.xMin
top:myMC._y+b.yMin

Attetntion on _xscale, _ysclae, getBounds is still the same despite scale 
different from 100


also useful is localToGlobal, globalToLocal

Martin

- Original Message - 
From: "keith" <[EMAIL PROTECTED]>

To: 
Sent: Saturday, May 20, 2006 9:21 AM
Subject: [Flashcoders] Using ActionScript to get "left and top" of a 
MovieClip instead of registration "x,y" like in JSFL




I want to use ActionScript to do this:

I have a MovieClip whose registration is neither centered or at the 
top-right corner.
I want to get the actual "left and top" coordinates of  a MovieClip intead 
of  where it's registration mark is at.



Any ideas from anyone?

--Keith H --
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Using ActionScript to get "left and top" of a MovieClip instead of registration "x,y" like in JSFL

2006-05-20 Thread keith

I want to use ActionScript to do this:

I have a MovieClip whose registration is neither centered or at the 
top-right corner.
I want to get the actual "left and top" coordinates of  a MovieClip 
intead of  where it's registration mark is at.



Any ideas from anyone?

--Keith H --
___
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
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com