RE: [Flashcoders] Need help problem with sound object

2007-03-08 Thread Smeets, Ben
I believe this had something to do with the scope of the sound object.

E.g.

If you define _root(_level0) as target of the sound, all object at that
level are controlled if you change parameters. If you want to be able to
specifically control 1 sound object, I believe you had to give it it's
own target (movieclip).

var mc:MovieClip = _root.createEmptyMovieClip("Test", 100);
Var o:Sound = new Sound(mc);
...
o.stop();

Good luck,

Ben

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
creativity
Sent: donderdag 8 maart 2007 8:39
To: Flashcoders mailing list
Subject: [Flashcoders] Need help problem with sound object

Hi,

i have used sound object at level 0 which is controlled by a button to
stop and play.
But when sound through sound object is stoped. The sound of video at
other level also stops. on setting sound object play again the sound
with sound object plays but video sound doesnot. Though on loading other
movie again sound of vieo play perfectly.

pls let me know if any boy has some solution.

thanks

--
Abhishek Kumar
___
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


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
___
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] Need help problem with sound object

2007-03-08 Thread Jiri Heitlager

When creating a sound object, you should give a movieclip as it parameter
var snd:Sound = new Sound(movieclipReference)

By not assigning a movieclip, you acces the global sound.

Jiri












creativity wrote:

Hi,

i have used sound object at level 0 which is controlled by a button to
stop and play.
But when sound through sound object is stoped. The sound of video at
other level also stops. on setting sound object play again the sound
with sound object plays but video sound doesnot. Though on loading
other movie again sound of vieo play perfectly.

pls let me know if any boy has some solution.

thanks


___
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] Mouse event handlers

2007-03-08 Thread Smeets, Ben
Top of my head, do the "onDragOver" handlers work while downed? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darren
Bowers
Sent: donderdag 8 maart 2007 5:56
To: Flashcoders mailing list
Subject: [Flashcoders] Mouse event handlers

Hi all,

I have a grid of mc's arranged in a square. When you click on any one of
the mc's the mc changes appearance (ie inactive to active, active to
inactive) - pretty simple.

I am trying to create a group of handlers that detect if the mouse is
held down and "wiped" across the other mc's. If it is, it changes the
"state" of any mc's it rolls over.

Problem is, when the onPress handler is invoked, it seems to ignore any
other handlers (onRollOver/onRollOut). I have tried combinations or
onMouseUp/Down and setting flags, but if I cant get the onRollOver/Out
handlers firing, I cant seem to detect whether the mouse is over the
next mc while the mouse is down.

This is getting frustrating - any ideas?

http://www.whitemanrcheli.org/test/squares.html (check the "interactive"
box and "create Grid")

Darren
___
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


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
___
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] Google Calendar of Flash Community Events

2007-03-08 Thread Flap Flap

Cool your enjoy it ;)

Ben > I will update events with country in the titles soon ;)

--
Flapflap
http://www.kilooctet.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] Flash / Flex specific search engine - www.gotswf.c om

2007-03-08 Thread Steve Drucker
 
Yeah, it's a slow dns propegation...some people can get to it, others can't.

Gotta love the internet. 

Should be fully resolved todayand I have been getting some very
complimentary feedback from folks.

-S 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Smeets, Ben
Sent: Wednesday, March 07, 2007 11:29 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash / Flex specific search engine

I'm getting a register.com default site on this end. Might be a slow dns?

Ben 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Drucker
Sent: woensdag 7 maart 2007 17:05
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash / Flex specific search engine


http://www.gotswf.com

Feedback appreciated.

Regards,
Steve Drucker
CEO
Fig Leaf Software
www.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


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
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] Mouse event handlers

2007-03-08 Thread Darren Bowers

They do but not as expected. The onDragOver only triggers when the mouse
starts on the mc then travels off then back on the same mc again. I need to
register something like this:

isMouseDown && onMouseRollOver { toggleMCStatus() }

I can set a flag on the mouseDown event, I just cant read anything that
happens between the mouse entering the new MC and before it leaves.

I remember seeing something years ago that did this, but cant find it
anywhere.

On 08/03/07, Smeets, Ben <[EMAIL PROTECTED]> wrote:


Top of my head, do the "onDragOver" handlers work while downed?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darren
Bowers
Sent: donderdag 8 maart 2007 5:56
To: Flashcoders mailing list
Subject: [Flashcoders] Mouse event handlers

Hi all,

I have a grid of mc's arranged in a square. When you click on any one of
the mc's the mc changes appearance (ie inactive to active, active to
inactive) - pretty simple.

I am trying to create a group of handlers that detect if the mouse is
held down and "wiped" across the other mc's. If it is, it changes the
"state" of any mc's it rolls over.

Problem is, when the onPress handler is invoked, it seems to ignore any
other handlers (onRollOver/onRollOut). I have tried combinations or
onMouseUp/Down and setting flags, but if I cant get the onRollOver/Out
handlers firing, I cant seem to detect whether the mouse is over the
next mc while the mouse is down.

This is getting frustrating - any ideas?

http://www.whitemanrcheli.org/test/squares.html (check the "interactive"
box and "create Grid")

Darren
___
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


This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
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] Mouse event handlers

2007-03-08 Thread eric dolecki

cant you check for onMouseDown and then while its down, do a hitTest on mcs?

- eric

On 3/8/07, Darren Bowers <[EMAIL PROTECTED]> wrote:


They do but not as expected. The onDragOver only triggers when the mouse
starts on the mc then travels off then back on the same mc again. I need
to
register something like this:

isMouseDown && onMouseRollOver { toggleMCStatus() }

I can set a flag on the mouseDown event, I just cant read anything that
happens between the mouse entering the new MC and before it leaves.

I remember seeing something years ago that did this, but cant find it
anywhere.

On 08/03/07, Smeets, Ben <[EMAIL PROTECTED]> wrote:
>
> Top of my head, do the "onDragOver" handlers work while downed?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Darren
> Bowers
> Sent: donderdag 8 maart 2007 5:56
> To: Flashcoders mailing list
> Subject: [Flashcoders] Mouse event handlers
>
> Hi all,
>
> I have a grid of mc's arranged in a square. When you click on any one of
> the mc's the mc changes appearance (ie inactive to active, active to
> inactive) - pretty simple.
>
> I am trying to create a group of handlers that detect if the mouse is
> held down and "wiped" across the other mc's. If it is, it changes the
> "state" of any mc's it rolls over.
>
> Problem is, when the onPress handler is invoked, it seems to ignore any
> other handlers (onRollOver/onRollOut). I have tried combinations or
> onMouseUp/Down and setting flags, but if I cant get the onRollOver/Out
> handlers firing, I cant seem to detect whether the mouse is over the
> next mc while the mouse is down.
>
> This is getting frustrating - any ideas?
>
> http://www.whitemanrcheli.org/test/squares.html (check the "interactive"
> box and "create Grid")
>
> Darren
> ___
> 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
>
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be
copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
> ___
> 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





--
eric e. dolecki
senior interactive engineer
http://www.ericd.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] Mouse event handlers

2007-03-08 Thread Cedric Muller

in such case, I opt for
onPress and onRelease
onPress: start onMouseMove listener
onRelease: stop on MouseMove listener
then
onMouseMove = function () {
your code here ... (like hitTest ...)
}
quite abstract, but if you paste some code, I may be able to  
interpret my idea :S


hth,
Cedric

cant you check for onMouseDown and then while its down, do a  
hitTest on mcs?


- eric

On 3/8/07, Darren Bowers <[EMAIL PROTECTED]> wrote:


They do but not as expected. The onDragOver only triggers when the  
mouse
starts on the mc then travels off then back on the same mc again.  
I need

to
register something like this:

isMouseDown && onMouseRollOver { toggleMCStatus() }

I can set a flag on the mouseDown event, I just cant read anything  
that

happens between the mouse entering the new MC and before it leaves.

I remember seeing something years ago that did this, but cant find it
anywhere.

On 08/03/07, Smeets, Ben <[EMAIL PROTECTED]> wrote:
>
> Top of my head, do the "onDragOver" handlers work while downed?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of  
Darren

> Bowers
> Sent: donderdag 8 maart 2007 5:56
> To: Flashcoders mailing list
> Subject: [Flashcoders] Mouse event handlers
>
> Hi all,
>
> I have a grid of mc's arranged in a square. When you click on  
any one of
> the mc's the mc changes appearance (ie inactive to active,  
active to

> inactive) - pretty simple.
>
> I am trying to create a group of handlers that detect if the  
mouse is
> held down and "wiped" across the other mc's. If it is, it  
changes the

> "state" of any mc's it rolls over.
>
> Problem is, when the onPress handler is invoked, it seems to  
ignore any

> other handlers (onRollOver/onRollOut). I have tried combinations or
> onMouseUp/Down and setting flags, but if I cant get the  
onRollOver/Out
> handlers firing, I cant seem to detect whether the mouse is over  
the

> next mc while the mouse is down.
>
> This is getting frustrating - any ideas?
>
> http://www.whitemanrcheli.org/test/squares.html (check the  
"interactive"

> box and "create Grid")
>
> Darren
> ___
> 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
>
>
> This e-mail and any attachment is for authorised use by the  
intended
> recipient(s) only. It may contain proprietary material,  
confidential

> information and/or be subject to legal privilege. It should not be
copied,
> disclosed to, retained or used by, any other party. If you are  
not an

> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
> ___
> 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





--
eric e. dolecki
senior interactive engineer
http://www.ericd.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


[Flashcoders] Flash training suggestions

2007-03-08 Thread Andy Herrman

Resending as this bounced the first time I tried (so if you already
saw this, sorry!):

I'm looking for some suggestions on Flash training classes.  My Flash
devel knowledge is in a somewhat interesting state in that I know the
basics and some advanced parts of AS2 programming, but don't really
know much at all about using Flash itself (timeline, creating UI
objects in the FLA, etc).

I've found a few training courses that I could go to, but the ones
that look useful to me (the more advanced programming ones) have
prereqs of the simpler classes, where most of the material is stuff I
already know, with just a few things that I don't.

For instance, this class:
http://www.trainsimple.com/courses/advanceddesign.html
has a lot of things I'd like to learn (Tween, extending MovieClip) but
has prereqs requiring both basic AS knowledge which I have and basic
Flash design stuff ("Rich Content Creation), which I don't have.  I
don't know if I'd be able to get the company to have me take more than
one training course in the near term, and for what I'm doing the
advanced class would be much more useful, but I'm not sure if I would
have trouble in it due to not knowing the design stuff.

Has anyone here been in a similar situation and found training that
was helpful without duplicating a lot of what you already knew?  Does
anyone have any suggestions on training courses that would be good, or
even just training companies that people have found to be good?

Thanks!

  -Andy
___
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] com.gousable.SWF_Protector class

2007-03-08 Thread Gregory N

Hi all,

I have just released a com.gousable.SWF_Protector class written for one of
latest projects:
http://gousable.com/flash/classes/swf_protector_v1.0.zip

DESCRIPTION:
   Provides several ways to protect SWF files that can be used in any
combination
   1) Good old "checking the _url" protection
   2) Loading external text file (url-encoded) from your server.
Recommended for "smart" clients.
   Remember about crossdomain.xml file !
   3) Expire by time (like trial version)
   4) Bytecode. If you have some good __bytecode__() at hand that will
(as you think) crash decompilers,
   place it in a frame in some clip in library and attach at runtime.
   If the violation is detected, you can
   1) Unload _root leaving the screen blank
   2) Show an alert message telling them ... something
   3) Call your own action after checking the *isViolated* flag
property.

   This "code-only" version is intended for programmers.
   If you prefer, you can use SWC component version
   with UI (free as well) that will be available from Adobe Flash Exchange
since April, 2007.
--
--
Best regards,
GregoryN

http://GOusable.com
Flash components development.
Usability services.
___
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] Need help problem with sound object

2007-03-08 Thread creativity

Hi,
thanks for help, i will try that. But right now my sound is at level 0
and video is at level 3. I stop sound object at level 0 i find sound
of video is also lost.
thanks
Abhi

On 3/8/07, Jiri Heitlager <[EMAIL PROTECTED]> wrote:

When creating a sound object, you should give a movieclip as it parameter
var snd:Sound = new Sound(movieclipReference)

By not assigning a movieclip, you acces the global sound.

Jiri












creativity wrote:
> Hi,
>
> i have used sound object at level 0 which is controlled by a button to
> stop and play.
> But when sound through sound object is stoped. The sound of video at
> other level also stops. on setting sound object play again the sound
> with sound object plays but video sound doesnot. Though on loading
> other movie again sound of vieo play perfectly.
>
> pls let me know if any boy has some solution.
>
> thanks
>
___
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




--
Abhishek Kumar
___
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] com.gousable.SWF_Protector class

2007-03-08 Thread Carter, Dan
 
WHY OH WHY AM I STILL RECEIVING MESSAGES FROM THIS LIST!!
I UNSUBSCRIBED SEVERAL TIMES AND STILL NO LUCK.

WHY DOES THE MODERATOR IGNORE MY EMAILS??


-Original Message-
From: Gregory N [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 13:46
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] com.gousable.SWF_Protector class

Hi all,

I have just released a com.gousable.SWF_Protector class written for one of
latest projects:
http://gousable.com/flash/classes/swf_protector_v1.0.zip

DESCRIPTION:
Provides several ways to protect SWF files that can be used in any
combination
1) Good old "checking the _url" protection
2) Loading external text file (url-encoded) from your server.
Recommended for "smart" clients.
Remember about crossdomain.xml file !
3) Expire by time (like trial version)
4) Bytecode. If you have some good __bytecode__() at hand that will
(as you think) crash decompilers,
place it in a frame in some clip in library and attach at runtime.
If the violation is detected, you can
1) Unload _root leaving the screen blank
2) Show an alert message telling them ... something
3) Call your own action after checking the *isViolated* flag
property.

This "code-only" version is intended for programmers.
If you prefer, you can use SWC component version
with UI (free as well) that will be available from Adobe Flash Exchange
since April, 2007.
-- 
-- 
Best regards,
GregoryN

http://GOusable.com
Flash components development.
Usability services.
___
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] Flash training suggestions

2007-03-08 Thread Kevin Bowers
Hi,

I really don't think you need to worry too much about this.  A someone who
is actually a trainer for these courses I'd say that if you can do very
basic things such as converting items to a symbol, you know a bit about the
timeline, frame labels, etc. you'll be absolutely fine on this course.  The
important thing is that you would need to have some basic action scripting
knowledge.  Have a look at the Flash 8 Actionscript course outline, if you
know that stuff, sign up for the Advanced Design course.

Kev

Kevin Bowers
[EMAIL PROTECTED] 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: 08 March 2007 13:44
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash training suggestions

Resending as this bounced the first time I tried (so if you already
saw this, sorry!):

I'm looking for some suggestions on Flash training classes.  My Flash
devel knowledge is in a somewhat interesting state in that I know the
basics and some advanced parts of AS2 programming, but don't really
know much at all about using Flash itself (timeline, creating UI
objects in the FLA, etc).

I've found a few training courses that I could go to, but the ones
that look useful to me (the more advanced programming ones) have
prereqs of the simpler classes, where most of the material is stuff I
already know, with just a few things that I don't.

For instance, this class:
http://www.trainsimple.com/courses/advanceddesign.html
has a lot of things I'd like to learn (Tween, extending MovieClip) but
has prereqs requiring both basic AS knowledge which I have and basic
Flash design stuff ("Rich Content Creation), which I don't have.  I
don't know if I'd be able to get the company to have me take more than
one training course in the near term, and for what I'm doing the
advanced class would be much more useful, but I'm not sure if I would
have trouble in it due to not knowing the design stuff.

Has anyone here been in a similar situation and found training that
was helpful without duplicating a lot of what you already knew?  Does
anyone have any suggestions on training courses that would be good, or
even just training companies that people have found to be good?

Thanks!

   -Andy
___
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] Need help problem with sound object

2007-03-08 Thread Smeets, Ben
Try to add that "level0" sound to a specific movieclip instead of
level0. Assigning it to levfel0 is the same as making it global.

Ben 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
creativity
Sent: donderdag 8 maart 2007 14:50
To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Need help problem with sound object

Hi,
thanks for help, i will try that. But right now my sound is at level 0
and video is at level 3. I stop sound object at level 0 i find sound of
video is also lost.
thanks
Abhi

On 3/8/07, Jiri Heitlager <[EMAIL PROTECTED]> wrote:
> When creating a sound object, you should give a movieclip as it 
> parameter var snd:Sound = new Sound(movieclipReference)
>
> By not assigning a movieclip, you acces the global sound.
>
> Jiri
>
>
>
>
>
>
>
>
>
>
>
>
> creativity wrote:
> > Hi,
> >
> > i have used sound object at level 0 which is controlled by a button 
> > to stop and play.
> > But when sound through sound object is stoped. The sound of video at

> > other level also stops. on setting sound object play again the sound

> > with sound object plays but video sound doesnot. Though on loading 
> > other movie again sound of vieo play perfectly.
> >
> > pls let me know if any boy has some solution.
> >
> > thanks
> >
> ___
> 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
>


-- 
Abhishek Kumar
___
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


This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
___
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] Currency Formatter

2007-03-08 Thread Martin Klasson


Hi Flashcoders,

Is there anything out there already perhaps, that simply does convert a 
price (a Number), into a currency-formatted string?


prettyNumber(1.25, "$"...)

well yeah, you know what I am after.. I want it to be able to work in 
many markets,
so there is a need to be able to control whether the currency-symbol 
should be before the price or after,

eventual spacing, decimals/commas and such.

Is there any actionscript-function out there that already deals with 
this in a flexible way?


/ Martin
___
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] Text as you type

2007-03-08 Thread Adrian Lynch
I need to mimic the Flash IDE static text tool.

Not the placement of where the text field will go but the way the box
expands when you type, to a limit, and the way it expands down when you hit
return. The user will also be able to change font and font size just to add
to the complexity.

Does anyone have any examples of this in action?

Adrian Lynch
http://www.halestorm.co.uk/
http://www.adrianlynch.co.uk/
___
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] Flash training suggestions

2007-03-08 Thread Andy Herrman

Actionscripting knowledge is about all I do have.  I've been working
on a fairly complex Flash application for the past 6 months or so (our
Flash developer quit and it landed on me), so I've picked up a lot of
the programming stuff, but the design stuff like timeline and such I
don't really know much about.

One other thing I forgot to mention is that I'm also looking at
possibly doing FMS training.  However, the FMS application development
training courses all have prereqs of the FMS Video course, but I'm not
doing any Video related stuff with FMS so that course wouldn't really
be relevant, though I'm worried that I might have trouble with the FMS
course if I didn't take it.  Any suggestions there?

 -Andy

On 3/8/07, Kevin Bowers <[EMAIL PROTECTED]> wrote:

Hi,

I really don't think you need to worry too much about this.  A someone who
is actually a trainer for these courses I'd say that if you can do very
basic things such as converting items to a symbol, you know a bit about the
timeline, frame labels, etc. you'll be absolutely fine on this course.  The
important thing is that you would need to have some basic action scripting
knowledge.  Have a look at the Flash 8 Actionscript course outline, if you
know that stuff, sign up for the Advanced Design course.

Kev

Kevin Bowers
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman
Sent: 08 March 2007 13:44
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash training suggestions

Resending as this bounced the first time I tried (so if you already
saw this, sorry!):

I'm looking for some suggestions on Flash training classes.  My Flash
devel knowledge is in a somewhat interesting state in that I know the
basics and some advanced parts of AS2 programming, but don't really
know much at all about using Flash itself (timeline, creating UI
objects in the FLA, etc).

I've found a few training courses that I could go to, but the ones
that look useful to me (the more advanced programming ones) have
prereqs of the simpler classes, where most of the material is stuff I
already know, with just a few things that I don't.

For instance, this class:
http://www.trainsimple.com/courses/advanceddesign.html
has a lot of things I'd like to learn (Tween, extending MovieClip) but
has prereqs requiring both basic AS knowledge which I have and basic
Flash design stuff ("Rich Content Creation), which I don't have.  I
don't know if I'd be able to get the company to have me take more than
one training course in the near term, and for what I'm doing the
advanced class would be much more useful, but I'm not sure if I would
have trouble in it due to not knowing the design stuff.

Has anyone here been in a similar situation and found training that
was helpful without duplicating a lot of what you already knew?  Does
anyone have any suggestions on training courses that would be good, or
even just training companies that people have found to be good?

Thanks!

   -Andy
___
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] FileReference.dowload() Open/Save Dialog?

2007-03-08 Thread Merrill, Jason
No.

Jason Merrill
Bank of America  
Global Technology & Operations
Learning & Leadership Development 
eTools & Multimedia Team


 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of Battershall, Jeff
>>Sent: Tuesday, March 06, 2007 4:40 PM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: [Flashcoders] FileReference.dowload() Open/Save Dialog?
>>
>>When downloading using FileReference, is it possible to get 
>>the standard open/save dialog you normally see in IE? It 
>>would seem not, but I'm just checking.
>>
>>Jeff Battershall
>>Application Architect
>>Dow Jones Indexes
>>[EMAIL PROTECTED]
>>(609) 520-5637 (p)
>>(484) 477-9900 (c)
>>___
>>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] Currency Formatter

2007-03-08 Thread elibol

Hey Martin,

A quick google search yields solutions like this:

http://www.shinstudio.com/sh.kim/?cat=6
http://www.epresenterplus.com/i18n.shtml

Try a search for "as2 currency formatter"

Melih

On 3/8/07, Martin Klasson <[EMAIL PROTECTED]> wrote:



Hi Flashcoders,

Is there anything out there already perhaps, that simply does convert a
price (a Number), into a currency-formatted string?

prettyNumber(1.25, "$"...)

well yeah, you know what I am after.. I want it to be able to work in
many markets,
so there is a need to be able to control whether the currency-symbol
should be before the price or after,
eventual spacing, decimals/commas and such.

Is there any actionscript-function out there that already deals with
this in a flexible way?

/ Martin
___
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] Text as you type

2007-03-08 Thread Mike Mountain
>From the live docs:
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp
htm?context=LiveDocs_Parts&file=2734.html

Hth

M 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Adrian Lynch
> Sent: 08 March 2007 14:31
> To: Flashcoders
> Subject: [Flashcoders] Text as you type
> 
> I need to mimic the Flash IDE static text tool.
> 
> Not the placement of where the text field will go but the way 
> the box expands when you type, to a limit, and the way it 
> expands down when you hit return. The user will also be able 
> to change font and font size just to add to the complexity.
> 
> Does anyone have any examples of this in action?
> 
> Adrian Lynch
> http://www.halestorm.co.uk/
> http://www.adrianlynch.co.uk/
> ___
> 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
> 


ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ
Tel: 01964 672000 
Fax: 01964 671102
Registered in England no. 01646471 
The information contained within this email expresses the views of the sender 
and not necessarily those of the company. It is private and confidential and 
may be legally privileged. It is intended solely for those authorised to 
receive it. If you are not the intended recipient you are hereby notified that 
any disclosure, copying, distribution or action taken in reliance on its 
contents is strictly prohibited and may be unlawful. If you have received this 
email in error, please telephone us immediately on 01964 672000 or email a 
reply to highlight the error and then delete it from your system. This email 
may contain links to web-sites, the contents of which ECM Systems Ltd have no 
control over and can accept no responsibility for. Any attachments have been 
virus-checked before transmission; however, recipients are strongly advised to 
carry out their own virus checking as ECM Systems Ltd do not warrant that such 
attachments are virus-free. Please note that this email has been created in the 
knowledge that Internet email is not a secure communications medium. We advise 
that you understand and observe this lack of security when emailing us.
___
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] List removal

2007-03-08 Thread Ron Wheeler
Because you are sending this to the list not the moderator. We can only 
help you with a Flash problem, we are not list managers.


Read the instructions


BTW Start your own thread.


Carter, Dan wrote:
 
WHY OH WHY AM I STILL RECEIVING MESSAGES FROM THIS LIST!!

I UNSUBSCRIBED SEVERAL TIMES AND STILL NO LUCK.

WHY DOES THE MODERATOR IGNORE MY EMAILS??


-Original Message-
From: Gregory N [mailto:[EMAIL PROTECTED] 
Sent: 08 March 2007 13:46

To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] com.gousable.SWF_Protector class

Hi all,

I have just released a com.gousable.SWF_Protector class written for one of
latest projects:
http://gousable.com/flash/classes/swf_protector_v1.0.zip

DESCRIPTION:
Provides several ways to protect SWF files that can be used in any
combination
1) Good old "checking the _url" protection
2) Loading external text file (url-encoded) from your server.
Recommended for "smart" clients.
Remember about crossdomain.xml file !
3) Expire by time (like trial version)
4) Bytecode. If you have some good __bytecode__() at hand that will
(as you think) crash decompilers,
place it in a frame in some clip in library and attach at runtime.
If the violation is detected, you can
1) Unload _root leaving the screen blank
2) Show an alert message telling them ... something
3) Call your own action after checking the *isViolated* flag
property.

This "code-only" version is intended for programmers.
If you prefer, you can use SWC component version
with UI (free as well) that will be available from Adobe Flash Exchange
since April, 2007.
  

___
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] swf to cell phone and ipode

2007-03-08 Thread natalia Vikhtinskaya

Hi to all
Could you please give me advice what is the best software at this moment for
converting swf to cell phone and ipode.
Thank you for help.
___
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] swf to cell phone and ipode

2007-03-08 Thread Merrill, Jason
Tons of information on pushing Flash to mobile devices on Adobe.com,
though you cannot put a .swf on an iPod (except for exporting a Flash
animation to a video file and putting it on a video iPod).  The iPod
operating system is very limited and does not have a Flash player
available for it.  

Jason Merrill
Bank of America  
Global Technology & Operations
Learning & Leadership Development 
eTools & Multimedia Team


 

>>-Original Message-
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On Behalf 
>>Of natalia Vikhtinskaya
>>Sent: Thursday, March 08, 2007 10:33 AM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] swf to cell phone and ipode
>>
>>Hi to all
>>Could you please give me advice what is the best software at 
>>this moment for converting swf to cell phone and ipode.
>>Thank you for help.
>>___
>>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] Dynamic video buttons

2007-03-08 Thread Wendy Marino
Hello list!

Does anyone know the code to make  -selectable dynamic video buttons- appear
-only- if/when there is an .flv available to be called from in the xml
code??? 

I¹m dealing with 3 to 5 videos that need to be removed and then replaced
daily after rendering in final cut, exported to .flv¹s then put on web.
The prior needs to be taken down, and the new put up when ready.

I don¹t want the button for whichever video to appear unless the video is
there.

Any suggestions would be greatly appreciated!!

Thank You!

Wendy

-- 
Wendy Marino
Digital Media 
Operations Specialist
The Journal News
1 Gannett Drive
White Plains, NY 10604
914-694-5288
E-mail:  [EMAIL PROTECTED]
www.lohud.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] Dynamic video buttons

2007-03-08 Thread Michael Stuhr

Wendy Marino schrieb:

Hello list!

please: this list is for asking specific coding questions. not asking for someone doing 
someone elses work.


please respect the lists etiquette.

micha
___
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] Flash / Flex specific search engine

2007-03-08 Thread Geoff Stearns

you guys should have it show the number of results under each tab.

it looks like you get no results at all when you search for something  
that's not in the livedocs, but is under other tabs.


or maybe just some indication that there are other results in the  
other tabs?




On Mar 7, 2007, at 11:57 AM, Merrill, Jason wrote:




http://www.gotswf.com

Feedback appreciated.


Trying to figure out what this is - what does "Flash / Flex specific
search engine" mean?  I went to the site, but still not sure how this
different from a regular search engine (other than that is has far far
less contents/links from search results).

Jason Merrill
Bank of America
Global Technology & Operations, Learning & Leadership Development
eTools & Multimedia Team



___
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] stageHeight issues AS3

2007-03-08 Thread {reduxdj}
I've been having issues with trying to get stageHeight from  every 
sprite.   Getting the

height is a hit or miss thing for me.

var _sprite:Sprite = new Sprite();
addChild(_sprite)
trace (_sprite.stage.stageHeight)

give me null object reference... even after it's been added to the display.

And also why can't I just access it from any class that extends Sprite
like this:

this.stage.stageHeight or like super.stage.stageHeight;

What's confusing is I am doing this with no problem, but only 
successfully in one place. I
just want every sprite i make to be able to access this property. I 
guess I'm left

creating a global variable.

Thanks,
Patrick




___
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] Embedding Flv in SWF

2007-03-08 Thread Karim Beyrouti
This file I am working with contains an Flv embedded that’s SWF. Do any of
you know of any issues where loadOjb.getBytesLoaded() and
loadOjb.getBytesTotal() do not report the correct size of the file?

Nb. The flv is encoded using - on2 VBR - through sorenson squeeze?

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.7/713 - Release Date: 07/03/2007
09:24
 

___
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] Flash and Yahoo map geocode service question

2007-03-08 Thread Helen Triolo

1 (works): From a browser, this returns valid XML with geocode information:

http://api.local.yahoo.com/MapsService/V1/geocode?state=MD&city=Derwood&street=16101%20Frederick%20Road&appid=anyid

(doesn't seem to care what appid is used)

2 (works): Testing within the Flash 8 IDE, I can use loadVars to call 
that script (with those parameters set) and an XML onload routine to 
retrieve them -- works fine.


3 (doesn't work): When I publish and run it from a swf in an html page 
in the browser, I get an XML read error (the parameter passed to my xml 
onload routine is false).


What could be causing the XML read/parse error in 3?  (doesn't work with 
a valid appid either)


Helen

--
http://flash-creations.com
http://i-technica.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] Dynamic video buttons

2007-03-08 Thread prachi garg

how can i unsubscribe frm dis list

On 3/8/07, Michael Stuhr <[EMAIL PROTECTED]> wrote:


Wendy Marino schrieb:
> Hello list!
>
please: this list is for asking specific coding questions. not asking for
someone doing
someone elses work.

please respect the lists etiquette.

micha
___
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] Flash and Yahoo map geocode service question

2007-03-08 Thread Jordan L. Chilcott - Interactivity Unlimited

Is it possible that it could be a cross-domain policy situation here?
What would happen if you called it from a back-end (I'd best guess
that it would probably work)?

jord

On 3/8/07, Helen Triolo <[EMAIL PROTECTED]> wrote:

1 (works): From a browser, this returns valid XML with geocode information:

http://api.local.yahoo.com/MapsService/V1/geocode?state=MD&city=Derwood&street=16101%20Frederick%20Road&appid=anyid

(doesn't seem to care what appid is used)

2 (works): Testing within the Flash 8 IDE, I can use loadVars to call
that script (with those parameters set) and an XML onload routine to
retrieve them -- works fine.

3 (doesn't work): When I publish and run it from a swf in an html page
in the browser, I get an XML read error (the parameter passed to my xml
onload routine is false).

What could be causing the XML read/parse error in 3?  (doesn't work with
a valid appid either)

--
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (519) 837-8610

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: "Building Web Sites with Macromedia Studio MX"
Author: "Building Dynamic Web Sites with Macromedia Studio MX"
Author: "Flash Professional 8: Training From the Source"
Author: "Foundation Flash 8 Video"
___
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] stageHeight issues AS3

2007-03-08 Thread Claus Wahlers



var _sprite:Sprite = new Sprite();
addChild(_sprite)
trace (_sprite.stage.stageHeight)

give me null object reference... even after it's been added to the display.


Are you sure that the DisplayObjectContainer the above code resides in 
is added to the display list already? And its parents?


Cheers,
Claus.

--
claus wahlers
côdeazur brasil
http://codeazur.com.br/
http://wahlers.com.br/claus/blog/
___
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] Dynamic video buttons

2007-03-08 Thread Wendy Marino
That's a good question I'm not so sure I want to be on it either.

I've watched all the communications, have never asked a question, and the
first time I do I get a rude response from someone who can't even sign their
name correctly speaking about Œetiquette.¹

If there was error unknown to me, Michael sure could use a lot of refinement
in his approach in trying to clarify.

My apologies to the list if my question was not appropriate.

Wendy


On 3/8/07 11:25 AM, "prachi garg" <[EMAIL PROTECTED]> wrote:

> how can i unsubscribe frm dis list
> 
> On 3/8/07, Michael Stuhr <[EMAIL PROTECTED]> wrote:
>> 
>> Wendy Marino schrieb:
>>> Hello list!
>>> 
>> please: this list is for asking specific coding questions. not asking for
>> someone doing
>> someone elses work.
>> 
>> please respect the lists etiquette.
>> 
>> micha
>> ___
>> 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] Dynamic video buttons

2007-03-08 Thread Francis Chary

Hi Wendy,

It sounds like you're asking a bunch of questions, without realising it. I
would break the problem down something like this:

1. Create a video (non-flash)
2. Convert video to flv (non-code)
3. Upload video to web server (non-flash, maybe non-code)
4. Create xml to describe which videos are available (non-flash, maybe
non-code)
5. Flash application loads xml from server, and parses it
6. Flash application creates buttons for videos, depending on what's in the
xml

On this list, it's probably best to stick with #s 5&6, as 1-4 are really not
topical. So let's assume that you've got your videos already uploaded to
your server, and an xml file describing where they are.

For #5, you'll need to create an XML object in your code. Here's a link to a
tutorial on how to do that:

http://www.actionscript.org/resources/articles/9/1/XML-101/Page1.html

For the buttons (#6), you'll need to have a button movieclip in your
library. It could be as simple as a movieclip with a shape and a textfield.
In the library, you'll also want to give the button movieclip a linkage Id,
(right-click on the item in the library, select "Linkage").

Once that's done, you can attach the movieclip to the stage in code by using
the attachMovie function. Here's a wee tutorial about that:

http://flash-creations.com/notes/dynamic_attachmovie.php

Basically, what you need to do is to load the xml into an XML object, then
loop through the values in the xml, using attachMovie to drop a new button
on the stage for each video in the xml.  I think that should get you
started.

Hope that helps..

Francis

Wendy Marino schrieb:

Hello list!


please: this list is for asking specific coding questions. not asking for
someone doing
someone elses work.

please respect the lists etiquette.

micha

@Micha: can't we at least help to break it down, so that it BECOMES a
specific coding question? She did take the trouble to come here, after all.


On 3/8/07, Wendy Marino <[EMAIL PROTECTED]> wrote:


Hello list!

Does anyone know the code to make  -selectable dynamic video buttons-
appear
-only- if/when there is an .flv available to be called from in the xml
code???

I¹m dealing with 3 to 5 videos that need to be removed and then replaced
daily after rendering in final cut, exported to .flv¹s then put on web.
The prior needs to be taken down, and the new put up when ready.

I don¹t want the button for whichever video to appear unless the video is
there.

Any suggestions would be greatly appreciated!!

Thank You!

Wendy

--
Wendy Marino
Digital Media
Operations Specialist
The Journal News
1 Gannett Drive
White Plains, NY 10604
914-694-5288
E-mail:  [EMAIL PROTECTED]
www.lohud.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] Flash / Flex specific search engine

2007-03-08 Thread Steve Drucker
Ok, well I suppose that I should clarify some of the concepts behind the
design.

First, typically when I do a general search on Google, it's usually for
something that's syntax related -- essentially, I use Google to search
livedocs. Unfortunately, Google tends to return results for the wrong
version of the product that I'm searching for. Hence, we have restricted the
google search to only return results from the latest version of the docs for
any given product. In this case, it's the Flex 2.01 livedocs.

If the problem that I have is more use-case related, I'd turn to the
developer community -- see what people have blogged about the issue. That's
why there's a "blogs/sites" tab on the search...so you can toggle between
the official livedocs results and the unofficial (although quite useful)
blog results.

In terms of displaying # of results -- we're working on that, but there are
some limitations in the Google AJAX API that are a bit restrictive.

The main difference between this site and google is that we have full
control over the sources of information being searched, so we can "separate
the wheat from the chaff" as it were.

For instance, it ONLY searches livedocs Flash 8 (vs old versions of
livedocs) and it ONLY searches specific blogs which we have found to contain
valuable information. 

The key to this working is COMMUNITY SUPPORT. While we've added about a
dozen url's for it to return results in the blog/site search, we need
EVERYONE'S support to suggest the top sites where they've found useful
information about Flash & Flex. That's why there's a suggest a url function
at the bottom of the page.

Regards,
Steve Drucker
CEO
Fig Leaf Software
www.figleaf.com



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geoff
Stearns
Sent: Thursday, March 08, 2007 11:07 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash / Flex specific search engine

you guys should have it show the number of results under each tab.

it looks like you get no results at all when you search for something that's
not in the livedocs, but is under other tabs.

or maybe just some indication that there are other results in the other
tabs?



On Mar 7, 2007, at 11:57 AM, Merrill, Jason wrote:

>
>>> http://www.gotswf.com
>>>
>>> Feedback appreciated.
>
> Trying to figure out what this is - what does "Flash / Flex specific 
> search engine" mean?  I went to the site, but still not sure how this 
> different from a regular search engine (other than that is has far far 
> less contents/links from search results).
>
> Jason Merrill
> Bank of America
> Global Technology & Operations, Learning & Leadership Development 
> eTools & Multimedia Team
>
>
>
> ___
> 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] Dynamic FontField issue when tweening

2007-03-08 Thread [EMAIL PROTECTED]

Please,

Does anybody knows a workaround to prevent the 'words messy between 
lines' when resizing a dynamic font field, the only way it seems to work 
it is export as bitmap font, but them we got flickered corners...


here is what i´m talking about: (click on the field)
http://www.randalgrave.com/font.html
___
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] preloader give

2007-03-08 Thread natalia Vikhtinskaya

Hi
I use simple preloader

function loadNewPart(part){
host._visible=false;
   this.attachMovie("preloader", "preloader", 999, preloaderPos);
   host.loadMovie(part);
this.onEnterFrame=function() {
 var tLoaded, tBytes;
 tLoaded = this.host.getBytesLoaded();
 tBytes = this.host.getBytesTotal();
 if (isNaN(tBytes) || tBytes < 4) {
  return;
 }
  if (tLoaded / tBytes >= 1) {
this.host.stop();
delete this.onEnterFrame;
   this.preloader.removeMovieClip();
   _root.showNewPart();
   } else {
  this.host.stop();
   var percentLoaded = (tLoaded /tBytes);
   this.preloader.preloadBar._width = this.preloader.preloadBarBG._width *
percentLoaded;
  }

   }

}
but tLoaded always = tBytes and preloader bar does not works. Swf loads
without preloadbar just on blank screen. Because  the first check (if
(tLoaded / tBytes >= 1) is always true. How it can be possible? I am trying
to find a reason for some hours and can not. Any idea?
___
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] Dynamic video buttons

2007-03-08 Thread Wendy Marino
Hey Francis, Thank you very much.

Actually part of #5, and 6 was my ­only- question!
1-4 is no problem. I must not have been clear as I was just trying to
explain the circumstance of my question,
sorry and =Thank You= for your kind response.

I will investigate soon!!

Best Regards,
Wendy


On 3/8/07 12:16 PM, "Francis Chary" <[EMAIL PROTECTED]> wrote:

> Hi Wendy,
> 
> It sounds like you're asking a bunch of questions, without realising it. I
> would break the problem down something like this:
> 
> 1. Create a video (non-flash)
> 2. Convert video to flv (non-code)
> 3. Upload video to web server (non-flash, maybe non-code)
> 4. Create xml to describe which videos are available (non-flash, maybe
> non-code)
> 5. Flash application loads xml from server, and parses it
> 6. Flash application creates buttons for videos, depending on what's in the
> xml
> 
> On this list, it's probably best to stick with #s 5&6, as 1-4 are really not
> topical. So let's assume that you've got your videos already uploaded to
> your server, and an xml file describing where they are.
> 
> For #5, you'll need to create an XML object in your code. Here's a link to a
> tutorial on how to do that:
> 
> http://www.actionscript.org/resources/articles/9/1/XML-101/Page1.html
> 
> For the buttons (#6), you'll need to have a button movieclip in your
> library. It could be as simple as a movieclip with a shape and a textfield.
> In the library, you'll also want to give the button movieclip a linkage Id,
> (right-click on the item in the library, select "Linkage").
> 
> Once that's done, you can attach the movieclip to the stage in code by using
> the attachMovie function. Here's a wee tutorial about that:
> 
> http://flash-creations.com/notes/dynamic_attachmovie.php
> 
> Basically, what you need to do is to load the xml into an XML object, then
> loop through the values in the xml, using attachMovie to drop a new button
> on the stage for each video in the xml.  I think that should get you
> started.
> 
> Hope that helps..
> 
> Francis
> 
> Wendy Marino schrieb:
>> Hello list!
>> 
> please: this list is for asking specific coding questions. not asking for
> someone doing
> someone elses work.
> 
> please respect the lists etiquette.
> 
> micha
> 
> @Micha: can't we at least help to break it down, so that it BECOMES a
> specific coding question? She did take the trouble to come here, after all.
> 
> 
> On 3/8/07, Wendy Marino <[EMAIL PROTECTED]> wrote:
>> 
>> Hello list!
>> 
>> Does anyone know the code to make  -selectable dynamic video buttons-
>> appear
>> -only- if/when there is an .flv available to be called from in the xml
>> code???
>> 
>> I¹m dealing with 3 to 5 videos that need to be removed and then replaced
>> daily after rendering in final cut, exported to .flv¹s then put on web.
>> The prior needs to be taken down, and the new put up when ready.
>> 
>> I don¹t want the button for whichever video to appear unless the video is
>> there.
>> 
>> Any suggestions would be greatly appreciated!!
>> 
>> Thank You!
>> 
>> Wendy
>> 
>> --
>> Wendy Marino
>> Digital Media
>> Operations Specialist
>> The Journal News
>> 1 Gannett Drive
>> White Plains, NY 10604
>> 914-694-5288
>> E-mail:  [EMAIL PROTECTED]
>> www.lohud.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] Dynamic video buttons

2007-03-08 Thread Jason Rayles

Wendy,

I think the trick is generating the xml dynamically on the server. There's 
not a good way for flash to know whether a file exists until it tries to 
load the file. Unless you want to update and upload the xml every time you 
update a video, then you'll want a server-side script to create a list of 
the flvs in the folder. And really, the list doesn't have to be xml. If you 
know whether your server is running asp or php or cgis or whatever, then you 
should be able to search the web for a script that will list all of the 
files in a folder.


Once you have that, then you'll just show a button in flash for each entry 
in the list.


Jason



Hello list!

Does anyone know the code to make  -selectable dynamic video buttons-
appear
-only- if/when there is an .flv available to be called from in the xml
code???

I¹m dealing with 3 to 5 videos that need to be removed and then replaced
daily after rendering in final cut, exported to .flv¹s then put on web.
The prior needs to be taken down, and the new put up when ready.

I don¹t want the button for whichever video to appear unless the video is
there.

Any suggestions would be greatly appreciated!!

Thank You!

Wendy

--
Wendy Marino
Digital Media
Operations Specialist
The Journal News
1 Gannett Drive
White Plains, NY 10604
914-694-5288
E-mail:  [EMAIL PROTECTED]
www.lohud.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] Dynamic video buttons

2007-03-08 Thread Francis Chary

No problem, come back when (or if) you need more help ;-)

Francis

On 3/8/07, Wendy Marino <[EMAIL PROTECTED]> wrote:


Hey Francis, Thank you very much.

Actually part of #5, and 6 was my ­only- question!
1-4 is no problem. I must not have been clear as I was just trying to
explain the circumstance of my question,
sorry and =Thank You= for your kind response.

I will investigate soon!!

Best Regards,
Wendy




___
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] Dynamic video buttons

2007-03-08 Thread Jordan L. Chilcott - Interactivity Unlimited

There are plenty of ways to go about 5 & 6. You could set it up as an
attribute within the XML node where if it sees a "video" attribute in
the attributes property, then pop up a button that will point to your
video (if that's what you're trying to do... or are you trying to pop
up a button that plays a video - either way, the principle is somewhat
the same).

jord

On 3/8/07, Wendy Marino <[EMAIL PROTECTED]> wrote:

Hey Francis, Thank you very much.

Actually part of #5, and 6 was my ­only- question!
1-4 is no problem. I must not have been clear as I was just trying to
explain the circumstance of my question,
sorry and =Thank You= for your kind response.

I will investigate soon!!

Best Regards,
Wendy

--
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (519) 837-8610

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: "Building Web Sites with Macromedia Studio MX"
Author: "Building Dynamic Web Sites with Macromedia Studio MX"
Author: "Flash Professional 8: Training From the Source"
Author: "Foundation Flash 8 Video"
___
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] Flash / Flex specific search engine

2007-03-08 Thread Steve Drucker
It now shows up on gotswf.com under the Flash Blogs/Sites tab (assuming you
put in an appropriate search term).

Of course, it would have gotten there faster had you used the "submit a url"
tool.

-S 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Geoff
Stearns
Sent: Thursday, March 08, 2007 12:01 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash / Flex specific search engine

i searched for "swfobject" and got a few results. none were the official
page. that made me sad :(


On Mar 7, 2007, at 11:04 AM, Steve Drucker wrote:

>
> http://www.gotswf.com
>
> Feedback appreciated.
>
> Regards,
> Steve Drucker
> CEO
> Fig Leaf Software
> www.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] stageHeight issues AS3

2007-03-08 Thread Muzak
Please don't cross-post.

- Original Message - 
From: "{reduxdj}" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 08, 2007 5:06 PM
Subject: [Flashcoders] stageHeight issues AS3


> I've been having issues with trying to get stageHeight from  every sprite.   
> Getting the
> height is a hit or miss thing for me.
>
> var _sprite:Sprite = new Sprite();
> addChild(_sprite)
> trace (_sprite.stage.stageHeight)
>
> give me null object reference... even after it's been added to the display.
>
> And also why can't I just access it from any class that extends Sprite
> like this:
>
> this.stage.stageHeight or like super.stage.stageHeight;
>
> What's confusing is I am doing this with no problem, but only successfully in 
> one place. I
> just want every sprite i make to be able to access this property. I guess I'm 
> left
> creating a global variable.
>
> Thanks,
> Patrick


___
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] New Flash Captioning Component

2007-03-08 Thread Andrew Kirkpatrick
WGBH has released a new component for captioning video in Flash.  I've
posted some info at:
http://blogs.adobe.com/accessibility/2007/03/new_captioning_in_flash_com
pon.html

Their info on it is at:
http://ncam.wgbh.org/webaccess/ccforflash/

They have a sample:
http://ncam.wgbh.org/webaccess/ccforflash/CCPlayerDemo.html
The component is not the UI, it is the internals for parsing either
QuickTime caption data files or DFXP data files.

If you are interested in captioning Flash, you can also use Captionate
(http://buraks.com/captionate/) in conjunction with the captioning skins
that Adobe has made available
(http://blogs.adobe.com/accessibility/2006/10/captionskins.html).

An example of the caption skins using Captionate FLV cuepoints:
http://www.kingtut.org/about_the_exhibition (click on "view video
footage" in the right column)

Hope this helps and is of interest!
AWK


Andrew Kirkpatrick

Corporate Accessibility Engineering Lead 

Adobe Systems 

[EMAIL PROTECTED]

___
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] Updating old source

2007-03-08 Thread David Cohn

Hey all,

I'm trying to update some old, old source FLA files which were last  
updated in Flash MX (the original development preceeded even that),  
and I'm having trouble with some of the files-- i.e. Flash crashes on  
opening them!


The old source is on a Mac 10.2.8 system, and I need to get the files  
editable on Mac 10.4.8.


I've tried:
1. copying the MX files from 10.2 and opening them with Flash 8 on 10.4
	2. installing MX 2004 on 10.2, saving and compacting the files,  
copying and opening them with Flash 8 on 10.4
	3. installing MX 2004 on 10.4, and opening the MX04 source with MX  
2004 on 10.4

4. opening the MX source in MX 2004 on 10.4

In both cases, I updated MX04 to v7.2.
In all cases, the same few files crash Flash (except #4, where the  
files wouldn't open at all).


Anybody run into this, or have any ideas on how I can salvage the  
source?


Thanks,
--Dave

___
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] class instantiation problem with addEventListener in a class

2007-03-08 Thread Josh Ettwein
The title may be inaccurate, but I think timing of instantiation is  
what's causing my problem. If anyone can point me to a solution, I'd  
be most appreciative. Here's the scenario:


1) On main stage, there is a moviclip representing the main  
application UI called "main_mc"

2) "main_mc" is bound in the library to a class "FileUploader"
3) Contained within the "main_mc" are some movieclips which are  
instances via linkage in the library of another class, "BaseButton".

4) "BaseButton" contains all the code required for EventDispatcher
5) When tested in a test FLA, with the "BaseButton" instance mc's  
directly on the stage, and addEventListener code written on _root to  
catch the dispatched events from the "BaseButton" mc's, all works  
great. Events broadcast by the buttons are "listened for" as expected  
and all is good.


My issue arises when the "BaseButton" clips are nested INSIDE the  
"main_mc" clip and addEventListeners on the "base_mc"'s  
"FileUploader" class are not catching the dispatched events.


NOTE: If I put the BaseButton clips into the "main_mc" clip via  
attachMovie vs having them manually placed there at compile-time, the  
dispatched events are caught effectively.


What I need to know is... why? I would assume that it's a situation  
where the main class' addEventListeners are being registered before  
the button mc's that they are listening for event from are  
instantiated, but not sure.


And then the big question... if that is in fact what is happening,  
what's the workaround/solution? I really don't want to have to attach  
everything from the library for the entire UI, as it makes for  
difficult layout of the application in the IDE for the designers who  
are creating the UI elements down the road.


Any help anyone can provide would be awesome!

Thanks,

Josh


--
Josh Ettwein | Sr. Software Engineer | Eyespot.com | www.eyespot.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] class instantiation problem with addEventListener in a class

2007-03-08 Thread John laPlante
I've had similar problems with apps that have a bunch of components. 
Assigning a listener in one component to the events of a component that 
has yet to initialize is problematic.


I've considered trying to change the load order from bottom up to top 
down but it isn't practical for me. It might work for you.


The Macromedia components have a method named doLater(somemthod) which 
delays the call to somemethod until all the component parameters have 
been initialized. This seems like a workaround for asynchronous loading. 
Which points to a solution wherein you delay assignment of the listener 
or wait for a signal from the target movie clip.  Both have their 
problems but would probably work.


I'm curious what others have to say about this problem and similar load 
progress problems.



Josh Ettwein wrote:
The title may be inaccurate, but I think timing of instantiation is 
what's causing my problem. If anyone can point me to a solution, I'd 
be most appreciative. Here's the scenario:


1) On main stage, there is a moviclip representing the main 
application UI called "main_mc"

2) "main_mc" is bound in the library to a class "FileUploader"
3) Contained within the "main_mc" are some movieclips which are 
instances via linkage in the library of another class, "BaseButton".

4) "BaseButton" contains all the code required for EventDispatcher
5) When tested in a test FLA, with the "BaseButton" instance mc's 
directly on the stage, and addEventListener code written on _root to 
catch the dispatched events from the "BaseButton" mc's, all works 
great. Events broadcast by the buttons are "listened for" as expected 
and all is good.


My issue arises when the "BaseButton" clips are nested INSIDE the 
"main_mc" clip and addEventListeners on the "base_mc"'s "FileUploader" 
class are not catching the dispatched events.


NOTE: If I put the BaseButton clips into the "main_mc" clip via 
attachMovie vs having them manually placed there at compile-time, the 
dispatched events are caught effectively.


What I need to know is... why? I would assume that it's a situation 
where the main class' addEventListeners are being registered before 
the button mc's that they are listening for event from are 
instantiated, but not sure.


And then the big question... if that is in fact what is happening, 
what's the workaround/solution? I really don't want to have to attach 
everything from the library for the entire UI, as it makes for 
difficult layout of the application in the IDE for the designers who 
are creating the UI elements down the road.


Any help anyone can provide would be awesome!

Thanks,

Josh


--
Josh Ettwein | Sr. Software Engineer | Eyespot.com | www.eyespot.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] Typing a variable instantiated from a loaded SWF

2007-03-08 Thread John laPlante
I'm loading a external SWF. I can successfully return a reference to an 
Object of type ContextMessageTransferData
var theDataObj = 
LoggingLibrary_mc.LogClass.createContextMessageTransferData();


But, when I try to type the variable, I get an error. Can anyone explain 
if it is possible to type this variable?
var theDataObj:ContextMessageTransferData = 
LoggingLibrary_mc.LogClass.createContextMessageTransferData();



**Error** 
D:\Documents\PACT-CVS-TREE\AuthoringTools\Flash\en\Configuration\ComponentsFLA\flash_comm_tools-1.x\CommLogging\SampleForTesting\SamplewithCommLoggingLibrary.as: 
Line 174: The class or interface 'ContextMessageTransferData' could not 
be loaded.
var theDataObj:ContextMessageTransferData = 
LoggingLibrary_mc.LogClass.createContextMessageTransferData();


Total ActionScript Errors: 1  Reported Errors: 1
___
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] class instantiation problem with addEventListener in a class

2007-03-08 Thread R�kos Attila

Place your addEventListener() calls (and everything that initializes
your BaseButton instances) into FileUploader's onLoad method/event.
It's called when all children are created and initialized thmselves.

  Attila

___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread Teresa Hardy

I thought this was really basic and easy but I just can't find the syntax to
do it. All I am trying to do is update one nodeValue from the swf to the xml
based on which button is selected. I don't want to make a new node, just
update the  that exists. The reading part listed below works fine. I
just can't figure out how to write TO a specified child node and all the
documentation has me totally confused. I am starting to wonder if I have to
.removeNode and recreate itI still don't have the syntax.

Thanks in advance. I have been learning a huge amount from listening to all
the conversations here as I teach myself ActionScript!

Teresa

my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.load("setup.xml");
my_xml.onLoad = function(success) {
   if (success) {
   sessionInfo_xml = my_xml.firstChild;
   children = sessionInfo_xml.childNodes;
   folderName = children[0].firstChild.nodeValue;
   maxImages = children[1].firstChild.nodeValue;
   domainName = children[2].firstChild.nodeValue;
   searchSubject = children[3].firstChild.nodeValue;
   theme = children[4].firstChild.nodeValue;
   } else {
   trace("XML error");
   }
};
___
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[2]: [Flashcoders] Typing a variable instantiated from a loaded SWF

2007-03-08 Thread R�kos Attila

Is ContextMessageTransferData.as on your classpath?

  Attila

___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread dr.ache
Maybe i get you wrong, but maybe |nodeValue:String is, what you are 
looking for.

Give the manual a chance - search for XMLNode

greez,
dr.ache



|Teresa Hardy schrieb:
I thought this was really basic and easy but I just can't find the 
syntax to
do it. All I am trying to do is update one nodeValue from the swf to 
the xml

based on which button is selected. I don't want to make a new node, just
update the  that exists. The reading part listed below works 
fine. I

just can't figure out how to write TO a specified child node and all the
documentation has me totally confused. I am starting to wonder if I 
have to

.removeNode and recreate itI still don't have the syntax.

Thanks in advance. I have been learning a huge amount from listening 
to all

the conversations here as I teach myself ActionScript!

Teresa

my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.load("setup.xml");
my_xml.onLoad = function(success) {
   if (success) {
   sessionInfo_xml = my_xml.firstChild;
   children = sessionInfo_xml.childNodes;
   folderName = children[0].firstChild.nodeValue;
   maxImages = children[1].firstChild.nodeValue;
   domainName = children[2].firstChild.nodeValue;
   searchSubject = children[3].firstChild.nodeValue;
   theme = children[4].firstChild.nodeValue;
   } else {
   trace("XML error");
   }
};
___
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] Flash and Yahoo map geocode service question

2007-03-08 Thread Helen Triolo
Thanks jord -- that was indeed the issue.  If anyone else does 
Flash+Yahoo maps, the url to use instead (the one that has a 
cross-domain file in place) is


http://local.yahooapis.com/MapsService/V1/geocode

Helen
new tute: http://flash-creations.com/notes/sample_yahoomap.php


Jordan L. Chilcott - Interactivity Unlimited wrote:


Is it possible that it could be a cross-domain policy situation here?
What would happen if you called it from a back-end (I'd best guess
that it would probably work)?

jord

On 3/8/07, Helen Triolo <[EMAIL PROTECTED]> wrote:

1 (works): From a browser, this returns valid XML with geocode 
information:


http://api.local.yahoo.com/MapsService/V1/geocode?state=MD&city=Derwood&street=16101%20Frederick%20Road&appid=anyid 



(doesn't seem to care what appid is used)

2 (works): Testing within the Flash 8 IDE, I can use loadVars to call
that script (with those parameters set) and an XML onload routine to
retrieve them -- works fine.

3 (doesn't work): When I publish and run it from a swf in an html page
in the browser, I get an XML read error (the parameter passed to my xml
onload routine is false).

What could be causing the XML read/parse error in 3?  (doesn't work with
a valid appid either)




___
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] preloader give

2007-03-08 Thread Andy Herrman

Have you tried doing a trace() of both tLoaded and tBytes?  It might
help you figure out what's going on.

Also, why not just do `if(tLoaded >= tBytes)`?  It seems kind of
pointless to do a division there.

  -Andy

On 3/8/07, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote:

Hi
I use simple preloader

function loadNewPart(part){
 host._visible=false;
this.attachMovie("preloader", "preloader", 999, preloaderPos);
host.loadMovie(part);
 this.onEnterFrame=function() {
  var tLoaded, tBytes;
  tLoaded = this.host.getBytesLoaded();
  tBytes = this.host.getBytesTotal();
  if (isNaN(tBytes) || tBytes < 4) {
   return;
  }
   if (tLoaded / tBytes >= 1) {
 this.host.stop();
 delete this.onEnterFrame;
this.preloader.removeMovieClip();
_root.showNewPart();
} else {
   this.host.stop();
var percentLoaded = (tLoaded /tBytes);
this.preloader.preloadBar._width = this.preloader.preloadBarBG._width *
percentLoaded;
   }

}

}
but tLoaded always = tBytes and preloader bar does not works. Swf loads
without preloadbar just on blank screen. Because  the first check (if
(tLoaded / tBytes >= 1) is always true. How it can be possible? I am trying
to find a reason for some hours and can not. Any idea?
___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread Teresa Hardy

I have been through more manuals than I can list, have also been through the
complete www.lynda.com tutorial. All the examples create new nodes. I have
not seen any example that writes to an existing node.
Teresa

On 3/8/07, dr.ache <[EMAIL PROTECTED]> wrote:


Maybe i get you wrong, but maybe |nodeValue:String is, what you are
looking for.
Give the manual a chance - search for XMLNode

greez,
dr.ache



|Teresa Hardy schrieb:
> I thought this was really basic and easy but I just can't find the
> syntax to
> do it. All I am trying to do is update one nodeValue from the swf to
> the xml
> based on which button is selected. I don't want to make a new node, just
> update the  that exists. The reading part listed below works
> fine. I
> just can't figure out how to write TO a specified child node and all the
> documentation has me totally confused. I am starting to wonder if I
> have to
> .removeNode and recreate itI still don't have the syntax.
>
> Thanks in advance. I have been learning a huge amount from listening
> to all
> the conversations here as I teach myself ActionScript!
>
> Teresa
>
> my_xml = new XML();
> my_xml.ignoreWhite = true;
> my_xml.load("setup.xml");
> my_xml.onLoad = function(success) {
>if (success) {
>sessionInfo_xml = my_xml.firstChild;
>children = sessionInfo_xml.childNodes;
>folderName = children[0].firstChild.nodeValue;
>maxImages = children[1].firstChild.nodeValue;
>domainName = children[2].firstChild.nodeValue;
>searchSubject = children[3].firstChild.nodeValue;
>theme = children[4].firstChild.nodeValue;
>} else {
>trace("XML error");
>}
> };
> ___
> 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] Updating old source

2007-03-08 Thread Andy Herrman

So, by source, do you mean code, or are there graphics objects as
well?  If it's just code then why not open them in 10.2 where it works
and then copying the code out to text files?

  -Andy

On 3/8/07, David Cohn <[EMAIL PROTECTED]> wrote:

Hey all,

I'm trying to update some old, old source FLA files which were last
updated in Flash MX (the original development preceeded even that),
and I'm having trouble with some of the files-- i.e. Flash crashes on
opening them!

The old source is on a Mac 10.2.8 system, and I need to get the files
editable on Mac 10.4.8.

I've tried:
1. copying the MX files from 10.2 and opening them with Flash 8 on 10.4
2. installing MX 2004 on 10.2, saving and compacting the files,
copying and opening them with Flash 8 on 10.4
3. installing MX 2004 on 10.4, and opening the MX04 source with MX
2004 on 10.4
4. opening the MX source in MX 2004 on 10.4

In both cases, I updated MX04 to v7.2.
In all cases, the same few files crash Flash (except #4, where the
files wouldn't open at all).

Anybody run into this, or have any ideas on how I can salvage the
source?

Thanks,
--Dave

___
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] audio sampler and sequencer - possible?

2007-03-08 Thread Glen Pike

Hi,

   Some people are doing some interesting experiments with AS3 and audio:

   http://lab.andre-michelle.com/tag/audio/

   http://www.flashcodersbrighton.org/wordpress/?p=9

   ...but AFAIK you cannot get hold of the sound buffer from a 
microphone input in Flash.  You can route the Microphone to the PC 
speakers or record the sound directly to a media server such as FMS 
 or Red5 



   I found an interesting application a few months ago that you might 
like http://www.rockstargames.com/beaterator/ but it is a double edged 
sword as this is the only internet application ever to blue-screen my PC 
(I am running XP so I suffered a really annoying reboot).  This is an 
audio synth that looks like it does the sound generation server side - 
again.


   You may not get "nice" sampling capabilities with Flash as is - a 
bit gutting really since Adobe seem to have figured out that we like to 
play with pixels, yet seem to have forgotten audio - surprising since 
they bought Cool Edit, IMHO the nicest software audio program on the block.


   I may be wrong, so if someone knows more then please enlighten us.

   Glen

  


lemondrop wrote:

Hi list,

I'm trying to figure out whether Flash is the right tool for the job. Does
anyone have any thoughts on the following?

For my project, I need a web-based audio sampler and sequencer. It needs to
play custom samples (i.e. not General MIDI sounds). I also need the ability
to create sequences of notes and play them back with decent time accuracy.
Ideally, I would be able to use a standard format such as Soundfont for the
sounds (instead of, say, having to have many individual sound files, one for
each pitch).

Thanks a lot for any pointers you may have!

Hunter



___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread R�kos Attila

node.nodeValue = "something";

  Attila

___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread Rost, Andrew
All you need to do is set the nodeValue rather than access it.

var trial_xml:XML = new XML("This is a
category");
trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
trial_xml.firstChild.firstChild.firstChild.nodeValue = "This is a NEW
category";
trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
trace(trial_xml);
stop();

trace output:

This is a category
This is a NEW category
This is a NEW category

Hope that helps,
Andrew
-Original Message-
From: Teresa Hardy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 2:49 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Help with updating a nodeValue in an XML file

I have been through more manuals than I can list, have also been through the
complete www.lynda.com tutorial. All the examples create new nodes. I have
not seen any example that writes to an existing node.
Teresa

On 3/8/07, dr.ache <[EMAIL PROTECTED]> wrote:
>
> Maybe i get you wrong, but maybe |nodeValue:String is, what you are
> looking for.
> Give the manual a chance - search for XMLNode
>
> greez,
> dr.ache
>
>
>
> |Teresa Hardy schrieb:
> > I thought this was really basic and easy but I just can't find the
> > syntax to
> > do it. All I am trying to do is update one nodeValue from the swf to
> > the xml
> > based on which button is selected. I don't want to make a new node, just
> > update the  that exists. The reading part listed below works
> > fine. I
> > just can't figure out how to write TO a specified child node and all the
> > documentation has me totally confused. I am starting to wonder if I
> > have to
> > .removeNode and recreate itI still don't have the syntax.
> >
> > Thanks in advance. I have been learning a huge amount from listening
> > to all
> > the conversations here as I teach myself ActionScript!
> >
> > Teresa
> >
> > my_xml = new XML();
> > my_xml.ignoreWhite = true;
> > my_xml.load("setup.xml");
> > my_xml.onLoad = function(success) {
> >if (success) {
> >sessionInfo_xml = my_xml.firstChild;
> >children = sessionInfo_xml.childNodes;
> >folderName = children[0].firstChild.nodeValue;
> >maxImages = children[1].firstChild.nodeValue;
> >domainName = children[2].firstChild.nodeValue;
> >searchSubject = children[3].firstChild.nodeValue;
> >theme = children[4].firstChild.nodeValue;
> >} else {
> >trace("XML error");
> >}
> > };
> > ___
> > 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] Flash and Yahoo map geocode service question

2007-03-08 Thread Jordan L. Chilcott - Interactivity Unlimited

No probs... I deal with Yahoo Maps with Flash on a continual basis
these days for one of our clients, so I find myself stumbling over
many of the pitfalls with Yahoo Maps (one of them being their geocode
still needs work -- and there's more :-P ).

jord

On 3/8/07, Helen Triolo <[EMAIL PROTECTED]> wrote:

Thanks jord -- that was indeed the issue.  If anyone else does
Flash+Yahoo maps, the url to use instead (the one that has a
cross-domain file in place) is

http://local.yahooapis.com/MapsService/V1/geocode

Helen
new tute: http://flash-creations.com/notes/sample_yahoomap.php

--
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (519) 837-8610

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: "Building Web Sites with Macromedia Studio MX"
Author: "Building Dynamic Web Sites with Macromedia Studio MX"
Author: "Flash Professional 8: Training From the Source"
Author: "Foundation Flash 8 Video"
___
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] Dynamic video buttons

2007-03-08 Thread Wendy Marino
Jason and Jordon,

=Thank You= very much for your help and input! I really Appreciate it!
I figured there was a way but just wanted to make sure.
There is more than one way to get to Rome, I know!
I will post as soon as I see which method works best for the situation (It's
for a daily news broadcasts that will be posted on line). The server is
running php and cold fusion and so I'll check that out.

And Jordan, I figured this would be possible in an xml ( pop
up a button that plays a video)...in a playeror points to it brining it
into player. 

-both methods could work I guess so I'll see which will be best to
implement.

Thanks a lot again!

Wendy : )


On 3/8/07 12:35 PM, "Jason Rayles" <[EMAIL PROTECTED]> wrote:

> Wendy,
> 
> I think the trick is generating the xml dynamically on the server. There's
> not a good way for flash to know whether a file exists until it tries to
> load the file. Unless you want to update and upload the xml every time you
> update a video, then you'll want a server-side script to create a list of
> the flvs in the folder. And really, the list doesn't have to be xml. If you
> know whether your server is running asp or php or cgis or whatever, then you
> should be able to search the web for a script that will list all of the
> files in a folder.
> 
> Once you have that, then you'll just show a button in flash for each entry
> in the list.
> 
> Jason
> 
>> 
>> Hello list!
>> 
>> Does anyone know the code to make  -selectable dynamic video buttons-
>> appear
>> -only- if/when there is an .flv available to be called from in the xml
>> code???
>> 
>> I¹m dealing with 3 to 5 videos that need to be removed and then replaced
>> daily after rendering in final cut, exported to .flv¹s then put on web.
>> The prior needs to be taken down, and the new put up when ready.
>> 
>> I don¹t want the button for whichever video to appear unless the video is
>> there.
>> 
>> Any suggestions would be greatly appreciated!!
>> 
>> Thank You!
>> 
>> Wendy
>> 
>> --
>> Wendy Marino
>> Digital Media
>> Operations Specialist
>> The Journal News
>> 1 Gannett Drive
>> White Plains, NY 10604
>> 914-694-5288
>> E-mail:  [EMAIL PROTECTED]
>> www.lohud.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] Updating old source

2007-03-08 Thread David Cohn

Andy,

Sorry if that wasn't specific enough.

By source, I mean .fla files-- replete with all sorts of graphics,  
movieClips, buttons, etc...


Thanks,
--Dave




From: "Andy Herrman" <[EMAIL PROTECTED]>

So, by source, do you mean code, or are there graphics objects as
well?  If it's just code then why not open them in 10.2 where it works
and then copying the code out to text files?

   -Andy

On 3/8/07, David Cohn <[EMAIL PROTECTED]> wrote:

Hey all,

I'm trying to update some old, old source FLA files which were last
updated in Flash MX (the original development preceeded even that),
and I'm having trouble with some of the files-- i.e. Flash crashes on
opening them!

The old source is on a Mac 10.2.8 system, and I need to get the files
editable on Mac 10.4.8.

I've tried:
1. copying the MX files from 10.2 and opening them with  
Flash 8 on 10.4
2. installing MX 2004 on 10.2, saving and compacting the  
files,

copying and opening them with Flash 8 on 10.4
3. installing MX 2004 on 10.4, and opening the MX04 source  
with MX

2004 on 10.4
4. opening the MX source in MX 2004 on 10.4

In both cases, I updated MX04 to v7.2.
In all cases, the same few files crash Flash (except #4, where the
files wouldn't open at all).

Anybody run into this, or have any ideas on how I can salvage the
source?

Thanks,
--Dave




___
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] Updating old source

2007-03-08 Thread Glen Pike

Hi,

If your source's are corrupted and you still have the SWF's you may want 
to look at using a decompiler to rebuild your FLA files.


I like ASV http://www.buraks.com/asv/ and Flash Decompiler 
http://www.flash-decompiler.com/  I know these are Windows only so you 
may want to Google for other stuff or someone else may want to help you 
out here...


Glen

David Cohn wrote:

Andy,

Sorry if that wasn't specific enough.

By source, I mean .fla files-- replete with all sorts of graphics, 
movieClips, buttons, etc...


Thanks,
--Dave




From: "Andy Herrman" <[EMAIL PROTECTED]>

So, by source, do you mean code, or are there graphics objects as
well?  If it's just code then why not open them in 10.2 where it works
and then copying the code out to text files?

   -Andy

On 3/8/07, David Cohn <[EMAIL PROTECTED]> wrote:

Hey all,

I'm trying to update some old, old source FLA files which were last
updated in Flash MX (the original development preceeded even that),
and I'm having trouble with some of the files-- i.e. Flash crashes on
opening them!

The old source is on a Mac 10.2.8 system, and I need to get the files
editable on Mac 10.4.8.

I've tried:
1. copying the MX files from 10.2 and opening them with 
Flash 8 on 10.4

2. installing MX 2004 on 10.2, saving and compacting the files,
copying and opening them with Flash 8 on 10.4
3. installing MX 2004 on 10.4, and opening the MX04 source 
with MX

2004 on 10.4
4. opening the MX source in MX 2004 on 10.4

In both cases, I updated MX04 to v7.2.
In all cases, the same few files crash Flash (except #4, where the
files wouldn't open at all).

Anybody run into this, or have any ideas on how I can salvage the
source?

Thanks,
--Dave




___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread Teresa Hardy

This definitely loads the Flash object...I get that part. But it doesn't
write to my file called setup.xml. I am in the OReilly ActionScript book now
and this is the first time it has ever failed me. I tried parseXML and
sendAndLoad but I can't seem to write into the file.

Thanks for helping me.
Teresa

On 3/8/07, Rost, Andrew <[EMAIL PROTECTED]> wrote:


All you need to do is set the nodeValue rather than access it.

var trial_xml:XML = new XML("This is a
category");
trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
trial_xml.firstChild.firstChild.firstChild.nodeValue = "This is a NEW
category";
trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
trace(trial_xml);
stop();

trace output:

This is a category
This is a NEW category
This is a NEW category

Hope that helps,
Andrew
-Original Message-
From: Teresa Hardy [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 08, 2007 2:49 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Help with updating a nodeValue in an XML file

I have been through more manuals than I can list, have also been through
the
complete www.lynda.com tutorial. All the examples create new nodes. I have
not seen any example that writes to an existing node.
Teresa

On 3/8/07, dr.ache <[EMAIL PROTECTED]> wrote:
>
> Maybe i get you wrong, but maybe |nodeValue:String is, what you are
> looking for.
> Give the manual a chance - search for XMLNode
>
> greez,
> dr.ache
>
>
>
> |Teresa Hardy schrieb:
> > I thought this was really basic and easy but I just can't find the
> > syntax to
> > do it. All I am trying to do is update one nodeValue from the swf to
> > the xml
> > based on which button is selected. I don't want to make a new node,
just
> > update the  that exists. The reading part listed below works
> > fine. I
> > just can't figure out how to write TO a specified child node and all
the
> > documentation has me totally confused. I am starting to wonder if I
> > have to
> > .removeNode and recreate itI still don't have the syntax.
> >
> > Thanks in advance. I have been learning a huge amount from listening
> > to all
> > the conversations here as I teach myself ActionScript!
> >
> > Teresa
> >
> > my_xml = new XML();
> > my_xml.ignoreWhite = true;
> > my_xml.load("setup.xml");
> > my_xml.onLoad = function(success) {
> >if (success) {
> >sessionInfo_xml = my_xml.firstChild;
> >children = sessionInfo_xml.childNodes;
> >folderName = children[0].firstChild.nodeValue;
> >maxImages = children[1].firstChild.nodeValue;
> >domainName = children[2].firstChild.nodeValue;
> >searchSubject = children[3].firstChild.nodeValue;
> >theme = children[4].firstChild.nodeValue;
> >} else {
> >trace("XML error");
> >}
> > };
> > ___
> > 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[2]: [Flashcoders] Help with updating a nodeValue in an XML file

2007-03-08 Thread R�kos Attila

TH> This definitely loads the Flash object...I get that part. But it doesn't
TH> write to my file called setup.xml. I am in the OReilly ActionScript book now
TH> and this is the first time it has ever failed me. I tried parseXML and
TH> sendAndLoad but I can't seem to write into the file.

A Flash movie cannot write anything to a file, especially if it is
located on a remote server (not mentioning that automatically saving
changes to a file made on an object residing in the memory is totally
pointless). If you want to save your XML, make your changes and send
the whole XML back to a server-side program which can store it to a
file. Or if you are on desktop, look after some third party
projector creators providing file handling capabilities.

  Attila


___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread Muzak
That's because Flash can't write any files, only read.
You'll need a server side language to handle that for you (ASP, PHP, 
ColdFusion, etc..) or look into Remoting.

And you probably may wanna join the Flash Newbie (figleaf) or FlashMacromedia 
(yahoogroups) list for this type of questions.
http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie
http://tech.groups.yahoo.com/group/FLASHmacromedia/

regards,
Muzak

- Original Message - 
From: "Teresa Hardy" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 08, 2007 11:12 PM
Subject: Re: [Flashcoders] Help with updating a nodeValue in an XML file


> This definitely loads the Flash object...I get that part. But it doesn't
> write to my file called setup.xml. I am in the OReilly ActionScript book now
> and this is the first time it has ever failed me. I tried parseXML and
> sendAndLoad but I can't seem to write into the file.
>
> Thanks for helping me.
> Teresa
>
> On 3/8/07, Rost, Andrew <[EMAIL PROTECTED]> wrote:
>>
>> All you need to do is set the nodeValue rather than access it.
>>
>> var trial_xml:XML = new XML("This is a
>> category");
>> trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
>> trial_xml.firstChild.firstChild.firstChild.nodeValue = "This is a NEW
>> category";
>> trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
>> trace(trial_xml);
>> stop();
>>
>> trace output:
>>
>> This is a category
>> This is a NEW category
>> This is a NEW category
>>
>> Hope that helps,
>> Andrew


___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread Rost, Andrew
Sorry miss understood the question.

You won't be able to write back to the XML file located on the server
directly. You'll have to add a logic layer (ASP, PHP, C#, etc...) that you
can send the new XML data and have that layer update your XML file
(XMLConnector, WebServiceConnector, etc...)

Andrew
-Original Message-
From: Teresa Hardy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 08, 2007 4:12 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Help with updating a nodeValue in an XML file

This definitely loads the Flash object...I get that part. But it doesn't
write to my file called setup.xml. I am in the OReilly ActionScript book now
and this is the first time it has ever failed me. I tried parseXML and
sendAndLoad but I can't seem to write into the file.

Thanks for helping me.
Teresa

On 3/8/07, Rost, Andrew <[EMAIL PROTECTED]> wrote:
>
> All you need to do is set the nodeValue rather than access it.
>
> var trial_xml:XML = new XML("This is a
> category");
> trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
> trial_xml.firstChild.firstChild.firstChild.nodeValue = "This is a NEW
> category";
> trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
> trace(trial_xml);
> stop();
>
> trace output:
>
> This is a category
> This is a NEW category
> This is a NEW category
>
> Hope that helps,
> Andrew
> -Original Message-
> From: Teresa Hardy [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 08, 2007 2:49 PM
> To: flashcoders@chattyfig.figleaf.com
> Subject: Re: [Flashcoders] Help with updating a nodeValue in an XML file
>
> I have been through more manuals than I can list, have also been through
> the
> complete www.lynda.com tutorial. All the examples create new nodes. I have
> not seen any example that writes to an existing node.
> Teresa
>
> On 3/8/07, dr.ache <[EMAIL PROTECTED]> wrote:
> >
> > Maybe i get you wrong, but maybe |nodeValue:String is, what you are
> > looking for.
> > Give the manual a chance - search for XMLNode
> >
> > greez,
> > dr.ache
> >
> >
> >
> > |Teresa Hardy schrieb:
> > > I thought this was really basic and easy but I just can't find the
> > > syntax to
> > > do it. All I am trying to do is update one nodeValue from the swf to
> > > the xml
> > > based on which button is selected. I don't want to make a new node,
> just
> > > update the  that exists. The reading part listed below works
> > > fine. I
> > > just can't figure out how to write TO a specified child node and all
> the
> > > documentation has me totally confused. I am starting to wonder if I
> > > have to
> > > .removeNode and recreate itI still don't have the syntax.
> > >
> > > Thanks in advance. I have been learning a huge amount from listening
> > > to all
> > > the conversations here as I teach myself ActionScript!
> > >
> > > Teresa
> > >
> > > my_xml = new XML();
> > > my_xml.ignoreWhite = true;
> > > my_xml.load("setup.xml");
> > > my_xml.onLoad = function(success) {
> > >if (success) {
> > >sessionInfo_xml = my_xml.firstChild;
> > >children = sessionInfo_xml.childNodes;
> > >folderName = children[0].firstChild.nodeValue;
> > >maxImages = children[1].firstChild.nodeValue;
> > >domainName = children[2].firstChild.nodeValue;
> > >searchSubject = children[3].firstChild.nodeValue;
> > >theme = children[4].firstChild.nodeValue;
> > >} else {
> > >trace("XML error");
> > >}
> > > };
> > > ___
> > > 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
>
___
F

[Flashcoders] Global functions

2007-03-08 Thread Glen Pike

Hi,

   I am trying to wrap the getURL function in order to track outgoing 
links using Google analytics...


   e.g.

   function getURLTracked(url, window, method) {
   getURL(url, window);
   getURL("javascript:alert('"+ url+"')");
  //getURL("javascript:urchinTracker('/app/" + url +"');");
  
   }


   I would like to create a global function that is available to AS2 
classes and the timeline


   I have tried to write it in an external file and #include this file 
in the constructor of my classes, but still don't get the function in 
scope at compile time.


   Apart from writing a method in my class, which I would have to 
repeat for a few different classes, is there a way of making this 
function available to the timeline and the AS2 classes in one foul swoop?


   I have a core application and lots of loaded SWF's with nasty 
timeline buttons to track...
  
   Thanks


   Glen

___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread Teresa Hardy

Wow, I seriously misread something along the line. But it sounds like I can
pass something back to the script and that would work. Thanks I'll go look
at the other forum but I thought this was way above a newbie question.
Teresa

On 3/8/07, Muzak <[EMAIL PROTECTED]> wrote:


That's because Flash can't write any files, only read.
You'll need a server side language to handle that for you (ASP, PHP,
ColdFusion, etc..) or look into Remoting.

And you probably may wanna join the Flash Newbie (figleaf) or
FlashMacromedia (yahoogroups) list for this type of questions.
http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie
http://tech.groups.yahoo.com/group/FLASHmacromedia/

regards,
Muzak

- Original Message -
From: "Teresa Hardy" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, March 08, 2007 11:12 PM
Subject: Re: [Flashcoders] Help with updating a nodeValue in an XML file


> This definitely loads the Flash object...I get that part. But it doesn't
> write to my file called setup.xml. I am in the OReilly ActionScript book
now
> and this is the first time it has ever failed me. I tried parseXML and
> sendAndLoad but I can't seem to write into the file.
>
> Thanks for helping me.
> Teresa
>
> On 3/8/07, Rost, Andrew <[EMAIL PROTECTED]> wrote:
>>
>> All you need to do is set the nodeValue rather than access it.
>>
>> var trial_xml:XML = new XML("This is a
>> category");
>> trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
>> trial_xml.firstChild.firstChild.firstChild.nodeValue = "This is a NEW
>> category";
>> trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
>> trace(trial_xml);
>> stop();
>>
>> trace output:
>>
>> This is a category
>> This is a NEW category
>> This is a NEW category
>>
>> Hope that helps,
>> Andrew


___
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] Calling Captivate variables from Flash.

2007-03-08 Thread Alain Rousseau

Hi Yuvaraj,

if you load your captivate file inside a Flash Movie with either 
loadMovie or MovieClipLoader, then you can access the variables directly 
through code.
To know wich variables are available to you, you should look into XRay 
http://www.osflash.org/xray, it will list them all


HTH

Alain


yuvarajm wrote:

Hi,
I need to access the variables of captivate from flash, how do I go
about it? I have created an assessment in captivate and I have to access
the variables which store score, correct option , number of tries etc.
and is there any way I can pass variables from flash to captivate? Does
any body have a doc or a PDF related to this.
Regards,
Yuvaraj Mohite

Unless indicated otherwise, the information contained in this message is 
privileged and confidential, and is intended only for the use of the 
addressee(s) named above and others who have been specifically authorized to 
receive it. If you are not the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this message and/or attachments 
is strictly prohibited. The company accepts no liability for any damage caused 
by any virus transmitted by this email. Furthermore, the company does not 
warrant a proper and complete transmission of this information, nor does it 
accept liability for any delays. If you have received this message in error, 
please contact the sender and delete the message. Thank you.

___
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] Global functions

2007-03-08 Thread Geoff Stearns
a good way to do this would be to make a static class for your  
tracking stuff.


then you can do things like:

StatsTracker.trackPage(url);

from any class or timeline (assuming you import the class first, etc.  
etc.)


then you can use ExternalInterface to make the js call to your  
tracking function.




On Mar 8, 2007, at 5:31 PM, Glen Pike wrote:


Hi,

   I am trying to wrap the getURL function in order to track  
outgoing links using Google analytics...


   e.g.

   function getURLTracked(url, window, method) {
   getURL(url, window);
   getURL("javascript:alert('"+ url+"')");
  //getURL("javascript:urchinTracker('/app/" + url +"');");
 }

   I would like to create a global function that is available to  
AS2 classes and the timeline


   I have tried to write it in an external file and #include this  
file in the constructor of my classes, but still don't get the  
function in scope at compile time.


   Apart from writing a method in my class, which I would have to  
repeat for a few different classes, is there a way of making this  
function available to the timeline and the AS2 classes in one foul  
swoop?


   I have a core application and lots of loaded SWF's with nasty  
timeline buttons to track...

 Thanks

   Glen

___
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] Global functions

2007-03-08 Thread Glen Pike

Rockin'

Thanks

Glen

Geoff Stearns wrote:
a good way to do this would be to make a static class for your 
tracking stuff.


then you can do things like:

StatsTracker.trackPage(url);

from any class or timeline (assuming you import the class first, etc. 
etc.)


then you can use ExternalInterface to make the js call to your 
tracking function.




On Mar 8, 2007, at 5:31 PM, Glen Pike wrote:


Hi,

   I am trying to wrap the getURL function in order to track outgoing 
links using Google analytics...


   e.g.

   function getURLTracked(url, window, method) {
   getURL(url, window);
   getURL("javascript:alert('"+ url+"')");
  //getURL("javascript:urchinTracker('/app/" + url +"');");
 }

   I would like to create a global function that is available to AS2 
classes and the timeline


   I have tried to write it in an external file and #include this 
file in the constructor of my classes, but still don't get the 
function in scope at compile time.


   Apart from writing a method in my class, which I would have to 
repeat for a few different classes, is there a way of making this 
function available to the timeline and the AS2 classes in one foul 
swoop?


   I have a core application and lots of loaded SWF's with nasty 
timeline buttons to track...

 Thanks

   Glen

___
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] Global functions

2007-03-08 Thread Sebastián Sirvent



On 3/8/07 7:57 PM, "Geoff Stearns" <[EMAIL PROTECTED]> wrote:

> a good way to do this would be to make a static class for your
> tracking stuff.
> 
> then you can do things like:
> 
> StatsTracker.trackPage(url);
> 
> from any class or timeline (assuming you import the class first, etc.
> etc.)
> 
> then you can use ExternalInterface to make the js call to your
> tracking function.
> 
> 
> 
> On Mar 8, 2007, at 5:31 PM, Glen Pike wrote:
> 
>> Hi,
>> 
>>I am trying to wrap the getURL function in order to track
>> outgoing links using Google analytics...
>> 
>>e.g.
>> 
>>function getURLTracked(url, window, method) {
>>getURL(url, window);
>>getURL("javascript:alert('"+ url+"')");
>>   //getURL("javascript:urchinTracker('/app/" + url +"');");
>>  }
>> 
>>I would like to create a global function that is available to
>> AS2 classes and the timeline
>> 
>>I have tried to write it in an external file and #include this
>> file in the constructor of my classes, but still don't get the
>> function in scope at compile time.
>> 
>>Apart from writing a method in my class, which I would have to
>> repeat for a few different classes, is there a way of making this
>> function available to the timeline and the AS2 classes in one foul
>> swoop?
>> 
>>I have a core application and lots of loaded SWF's with nasty
>> timeline buttons to track...
>>  Thanks
>> 
>>Glen
>> 
>> ___
>> 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
> 

-- 

Sebastián Sirvent


___
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] Help with updating a nodeValue in an XML file

2007-03-08 Thread Sebastián Sirvent



On 3/8/07 7:48 PM, "Teresa Hardy" <[EMAIL PROTECTED]> wrote:

> Wow, I seriously misread something along the line. But it sounds like I can
> pass something back to the script and that would work. Thanks I'll go look
> at the other forum but I thought this was way above a newbie question.
> Teresa
> 
> On 3/8/07, Muzak <[EMAIL PROTECTED]> wrote:
>> 
>> That's because Flash can't write any files, only read.
>> You'll need a server side language to handle that for you (ASP, PHP,
>> ColdFusion, etc..) or look into Remoting.
>> 
>> And you probably may wanna join the Flash Newbie (figleaf) or
>> FlashMacromedia (yahoogroups) list for this type of questions.
>> http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie
>> http://tech.groups.yahoo.com/group/FLASHmacromedia/
>> 
>> regards,
>> Muzak
>> 
>> - Original Message -
>> From: "Teresa Hardy" <[EMAIL PROTECTED]>
>> To: 
>> Sent: Thursday, March 08, 2007 11:12 PM
>> Subject: Re: [Flashcoders] Help with updating a nodeValue in an XML file
>> 
>> 
>>> This definitely loads the Flash object...I get that part. But it doesn't
>>> write to my file called setup.xml. I am in the OReilly ActionScript book
>> now
>>> and this is the first time it has ever failed me. I tried parseXML and
>>> sendAndLoad but I can't seem to write into the file.
>>> 
>>> Thanks for helping me.
>>> Teresa
>>> 
>>> On 3/8/07, Rost, Andrew <[EMAIL PROTECTED]> wrote:
 
 All you need to do is set the nodeValue rather than access it.
 
 var trial_xml:XML = new XML("This is a
 category");
 trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
 trial_xml.firstChild.firstChild.firstChild.nodeValue = "This is a NEW
 category";
 trace(trial_xml.firstChild.firstChild.firstChild.nodeValue);
 trace(trial_xml);
 stop();
 
 trace output:
 
 This is a category
 This is a NEW category
 This is a NEW category
 
 Hope that helps,
 Andrew
>> 
>> 
>> ___
>> 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
> 

-- 

Sebastián Sirvent


___
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] Updating old source

2007-03-08 Thread Alain Rousseau

Gordon is a Flash Decompiler for Mac
http://www.futurecandy.net/




Glen Pike wrote:

Hi,

If your source's are corrupted and you still have the SWF's you may 
want to look at using a decompiler to rebuild your FLA files.


I like ASV http://www.buraks.com/asv/ and Flash Decompiler 
http://www.flash-decompiler.com/  I know these are Windows only so you 
may want to Google for other stuff or someone else may want to help 
you out here...


Glen

David Cohn wrote:

Andy,

Sorry if that wasn't specific enough.

By source, I mean .fla files-- replete with all sorts of graphics, 
movieClips, buttons, etc...


Thanks,
--Dave




From: "Andy Herrman" <[EMAIL PROTECTED]>

So, by source, do you mean code, or are there graphics objects as
well?  If it's just code then why not open them in 10.2 where it works
and then copying the code out to text files?

   -Andy

On 3/8/07, David Cohn <[EMAIL PROTECTED]> wrote:

Hey all,

I'm trying to update some old, old source FLA files which were last
updated in Flash MX (the original development preceeded even that),
and I'm having trouble with some of the files-- i.e. Flash crashes on
opening them!

The old source is on a Mac 10.2.8 system, and I need to get the files
editable on Mac 10.4.8.

I've tried:
1. copying the MX files from 10.2 and opening them with 
Flash 8 on 10.4
2. installing MX 2004 on 10.2, saving and compacting the 
files,

copying and opening them with Flash 8 on 10.4
3. installing MX 2004 on 10.4, and opening the MX04 source 
with MX

2004 on 10.4
4. opening the MX source in MX 2004 on 10.4

In both cases, I updated MX04 to v7.2.
In all cases, the same few files crash Flash (except #4, where the
files wouldn't open at all).

Anybody run into this, or have any ideas on how I can salvage the
source?

Thanks,
--Dave




___
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] Calling Captivate variables from Flash.

2007-03-08 Thread Muzak
Have you checked the captivate dev center?
http://www.adobe.com/devnet/captivate/


>
> yuvarajm wrote:
>> Hi,
>> I need to access the variables of captivate from flash, how do I go
>> about it? I have created an assessment in captivate and I have to access
>> the variables which store score, correct option , number of tries etc.
>> and is there any way I can pass variables from flash to captivate? Does
>> any body have a doc or a PDF related to this.
>> Regards,
>> Yuvaraj Mohite
>>


___
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] Dynamic video buttons

2007-03-08 Thread Jordan L. Chilcott
Seeing as you mentioned ColdFusion (you didn't mention that one  
before :-) ), you can also use Flash Remoting to get the information  
to and from Flash. Where there's a back-end language, there will  
probably be a database involved and in there will probably be a field  
for video records.


As for placing the video, you can play video almost anywhere, so  
putting it in a button is a definitely possibility.


jord

On Mar 8, 2007, at 4:48 PM, Wendy Marino wrote:

I will post as soon as I see which method works best for the  
situation (It's
for a daily news broadcasts that will be posted on line). The  
server is

running php and cold fusion and so I'll check that out.

And Jordan, I figured this would be possible in an xml ( pop
up a button that plays a video)...in a playeror points to it  
brining it

into player.

-both methods could work I guess so I'll see which will be best to
implement.


--
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (253) 276-8631

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: "Building Web Sites with Macromedia Studio MX"
Author: "Building Dynamic Web Sites with Macromedia Studio MX"
Author: "Flash Professional 8: Training From the Source"
Author: "Foundation Flash 8 Video"



___
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] Mouse event handlers

2007-03-08 Thread Darren Bowers

Yeah I had toyed with a similar idea, but dismissed it as a massive waste of
processing power to test every mc for a HitTest every time I trigger an
onMouseMove event. I also tried thinking how i could calculate nearest
neighbour and just test those, and then started looking for simpler
(built-in) ideas.

This is not a requested feature, it is just something i thought would be
cool and there would be a simple way to do it.

On 08/03/07, Cedric Muller <[EMAIL PROTECTED]> wrote:


in such case, I opt for
onPress and onRelease
onPress: start onMouseMove listener
onRelease: stop on MouseMove listener
then
onMouseMove = function () {
your code here ... (like hitTest ...)
}
quite abstract, but if you paste some code, I may be able to
interpret my idea :S

hth,
Cedric

> cant you check for onMouseDown and then while its down, do a
> hitTest on mcs?
>
> - eric
>
> On 3/8/07, Darren Bowers <[EMAIL PROTECTED]> wrote:
>>
>> They do but not as expected. The onDragOver only triggers when the
>> mouse
>> starts on the mc then travels off then back on the same mc again.
>> I need
>> to
>> register something like this:
>>
>> isMouseDown && onMouseRollOver { toggleMCStatus() }
>>
>> I can set a flag on the mouseDown event, I just cant read anything
>> that
>> happens between the mouse entering the new MC and before it leaves.
>>
>> I remember seeing something years ago that did this, but cant find it
>> anywhere.
>>
>> On 08/03/07, Smeets, Ben <[EMAIL PROTECTED]> wrote:
>> >
>> > Top of my head, do the "onDragOver" handlers work while downed?
>> >
>> > -Original Message-
>> > From: [EMAIL PROTECTED]
>> > [mailto:[EMAIL PROTECTED] On Behalf Of
>> Darren
>> > Bowers
>> > Sent: donderdag 8 maart 2007 5:56
>> > To: Flashcoders mailing list
>> > Subject: [Flashcoders] Mouse event handlers
>> >
>> > Hi all,
>> >
>> > I have a grid of mc's arranged in a square. When you click on
>> any one of
>> > the mc's the mc changes appearance (ie inactive to active,
>> active to
>> > inactive) - pretty simple.
>> >
>> > I am trying to create a group of handlers that detect if the
>> mouse is
>> > held down and "wiped" across the other mc's. If it is, it
>> changes the
>> > "state" of any mc's it rolls over.
>> >
>> > Problem is, when the onPress handler is invoked, it seems to
>> ignore any
>> > other handlers (onRollOver/onRollOut). I have tried combinations or
>> > onMouseUp/Down and setting flags, but if I cant get the
>> onRollOver/Out
>> > handlers firing, I cant seem to detect whether the mouse is over
>> the
>> > next mc while the mouse is down.
>> >
>> > This is getting frustrating - any ideas?
>> >
>> > http://www.whitemanrcheli.org/test/squares.html (check the
>> "interactive"
>> > box and "create Grid")
>> >
>> > Darren
>> > ___
>> > 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
>> >
>> >
>> > This e-mail and any attachment is for authorised use by the
>> intended
>> > recipient(s) only. It may contain proprietary material,
>> confidential
>> > information and/or be subject to legal privilege. It should not be
>> copied,
>> > disclosed to, retained or used by, any other party. If you are
>> not an
>> > intended recipient then please promptly delete this e-mail and any
>> > attachment and all copies and inform the sender. Thank you.
>> > ___
>> > 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
>>
>
>
>
> --
> eric e. dolecki
> senior interactive engineer
> http://www.ericd.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 t

Re: [Flashcoders] How to read variables from file into an array.

2007-03-08 Thread robert
Why not using JSON? I haven't used it yet but this seems like a good  
opportunity from the examples I've studied.



On Mar 7, 2007, at 7:59 AM, Ron Wheeler wrote:


You should be using XML for this.
It will handle larger more complex data structures.

Ron

Steve Abaffy wrote:

Hello,

All the information I have found on this seems to indicate that the
file is read as one big chunk into variable pairs. So if the file  
contains
&Var1=Something1 and &Var2=Something2 these are split up by the  
system into
var1 and var2 with their associated values. However what I would  
like to do
is I have records for home listings all in a TEXT file. So my  
records look

like

Mls=123456
Price=123456
Bedrooms=4
Bath=2.5
Sqft=1200

Mls=988765
Price=654466
Bedrooms=3
Bath=1.5
Sqft=955

Etc..
I would like to read this into an Array_MLS(), Array_Price etc...  
but can no

information on how to do this. Any help would be great.
Thanks


___
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] FLV + Alpha + Audio + Mac = crash

2007-03-08 Thread leolea

Hi,

I export an FLV that has an alpha channel + audio using Squeeze 4.3 and when
I try to import it in Flash, it crashes as soon as I select it (right before
the video import wizard)

The exact same source exported without audio didn't crash.

Also, I asked someone to import the FLV using a PC and it worked fine. The
crash only happens on my Mac.

Has anyone experienced this and/or has a fix ?

Thanks



___
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] I sorted my Subscription problems

2007-03-08 Thread Eric Woods
I had similar problems - in my case my password had been reset, so I had to 
click "Email my Password to Me". After I got this, my first step was to 
change the password back to the original one, but this somewhat failed - I 
could log in with my original password, but when I tried to make any 
changes, it asked for my password again, and this time the original password 
failed. Kristal - this my be the problem you had - I tried 3+ times and it 
always failed too. So I used the random reset password and it worked - all 
changes were accepts. So I had to change my password --again-- and this time 
it worked.


So Dave - I think it is primarily a problem at the point when people click 
"Submit My Changes" - the server is re-authenticating the passord, but 
comparing it to the --old-- password. I hope this narrows it down for you.


In the mean time, do this:
1. Go to http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
2. Enter your email address then click on "Email my Password to Me".
3. Login with your email address and the emailed password.
4. Turn on digest mode or disable Mail Delivery. Click "Submit my Changes".
5. If asked, re-enter the the emailed password.
6. Only now should you try to change your password.

Good luck,

Eric

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

To: 
Sent: Thursday, March 01, 2007 5:21 AM
Subject: Re: [Flashcoders] Subscription problems



Again, I too have tried to unsubscribe (5+ times), no
confirmation email is sent.

This is a helpful list, but getting every email in my
inbox is a real annoyance.  Until the unsubscribe is
fixed on this list, please honor the unsubscribe
requests from email.

Unsubscribe [EMAIL PROTECTED]

Thanks.

--- Joe <[EMAIL PROTECTED]> wrote:



Sorry to jump on the bandwagon but since nothing is
being done, I would like
to point out that my subscription has been altered
from web-only to
individual emails. I have tried to unsubscribe on a
few occasions and no
confirmation email has been sent despite figleaf
saying it has.

I apologise for the annoyance to regular people on
this board, but none of
us have a choice since nobody seems to be listening
to our requests.

So this is a call for help... Please, admin,
unsubscribe me - since I don't
seem to be able to through your website!

Thanks...


___
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] [Solved] FLV + Alpha + Audio + Mac = crash

2007-03-08 Thread leolea

FYI

I found out what was causing the crash. It was the Perian component for
Quicktime. I removed it from the /Library/Quicktime/ folder, and everything
works fine now.

Perian is a QT component that enables Quicktime to read FLVs (and other
formats), but somehow it seems like it conflicts with Flash when importing
FLVs with alpha and audio.




On 3/8/07 8:46 PM, "leolea" <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> 
> I export an FLV that has an alpha channel + audio using Squeeze 4.3 and when
> I try to import it in Flash, it crashes as soon as I select it (right before
> the video import wizard)
> 
> The exact same source exported without audio didn't crash.
> 
> Also, I asked someone to import the FLV using a PC and it worked fine. The
> crash only happens on my Mac.
> 
> Has anyone experienced this and/or has a fix ?
> 
> Thanks
> 
> 
> 
> ___
> 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] UNSUBSCRIBE ME PLEASE!

2007-03-08 Thread Sebastián Sirvent




Sebastián Sirvent


___
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] Updating old source

2007-03-08 Thread David Cohn


The source is not corrupted as far as I can tell, since it can be  
opened in MX on 10.2 with no problems.


But would this be a possible (rather round-about) route to converting  
to Flash 8?
Do these decompilers do a good job of reconstituting MovieClips,  
Graphics, etc... as per the original?


Thanks,
--Dave




From: Glen Pike <[EMAIL PROTECTED]>

Hi,

If your source's are corrupted and you still have the SWF's you may  
want

to look at using a decompiler to rebuild your FLA files.

I like ASV http://www.buraks.com/asv/ and Flash Decompiler
http://www.flash-decompiler.com/  I know these are Windows only so you
may want to Google for other stuff or someone else may want to help  
you

out here...

Glen

David Cohn wrote:

Andy,

Sorry if that wasn't specific enough.

By source, I mean .fla files-- replete with all sorts of graphics,
movieClips, buttons, etc...

Thanks,
--Dave




From: "Andy Herrman" <[EMAIL PROTECTED]>

So, by source, do you mean code, or are there graphics objects as
well?  If it's just code then why not open them in 10.2 where it  
works

and then copying the code out to text files?

   -Andy

On 3/8/07, David Cohn <[EMAIL PROTECTED]> wrote:

Hey all,

I'm trying to update some old, old source FLA files which were last
updated in Flash MX (the original development preceeded even that),
and I'm having trouble with some of the files-- i.e. Flash  
crashes on

opening them!

The old source is on a Mac 10.2.8 system, and I need to get the  
files

editable on Mac 10.4.8.

I've tried:
1. copying the MX files from 10.2 and opening them with
Flash 8 on 10.4
2. installing MX 2004 on 10.2, saving and compacting the  
files,

copying and opening them with Flash 8 on 10.4
3. installing MX 2004 on 10.4, and opening the MX04 source
with MX
2004 on 10.4
4. opening the MX source in MX 2004 on 10.4

In both cases, I updated MX04 to v7.2.
In all cases, the same few files crash Flash (except #4, where the
files wouldn't open at all).

Anybody run into this, or have any ideas on how I can salvage the
source?

Thanks,
--Dave






___
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] stageHeight issues AS3

2007-03-08 Thread {reduxdj}

Of course.

Thanks,
Patrickk

Claus Wahlers wrote:



var _sprite:Sprite = new Sprite();
addChild(_sprite)
trace (_sprite.stage.stageHeight)

give me null object reference... even after it's been added to the 
display.


Are you sure that the DisplayObjectContainer the above code resides in 
is added to the display list already? And its parents?


Cheers,
Claus.




___
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] How to set the hand cursor on the datagrid

2007-03-08 Thread Chris Velevitch

How do I set the hand cursor when mousing over records in a datagrid (AS2 V2)?

I've tried setting useHandCursor = true, but that didn't work.

How do I do it?


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
m: 0415 469 095
www.flashdev.org.au
___
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