Re: [Flashcoders] The almighty duplicateMovieClip?

2006-03-11 Thread Byron Canfield
Well, no, to the first statement. There IS an answer, and the answer is...

That is correct; that cannot be done. Duplicates are always generated in
the same timeline as the original from which the duplicate is made.

To assign a movieclip to a specific timeline, use attachMovie() attaching
a library object movieclip to which you have applied a linkage.

-- 
Byron "Barn" Canfield


>
> Dear all,
>
> There seems to be no answer to this one question on the web, nor did it
> bother anyone at anytime:
>
> The almighty duplicateMovieClip (global funk or MC method, no matter)
> doesn't seem to be capable of duplicating a MC from one timeline into a
> different one.
>
> The thing I'm trying to achieve is grab a copy of a MC _root.mc1.mc2 (thus
> it's _name = mc2) into a MC different from _root.mc1, for instance _root
>
> But it doesn't seem to be possible. Am I right?
>
> Something like this (thought the code is obviously incorrect):
>
> _root.mc1.mc2.duplicateMovieClip("_root.newMC", 100);
> trace(_root.newMC);
>
>
>
>
>
>
>
> ___
> 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] Contaminated list?

2006-03-11 Thread Karthik
> How does this happen? Already, at an email address that I use ONLY for
> this list, to which I have subscribed for just the upside of 3 weeks now,
> I've received the following garbage (message header at end, for anyone
> interested).

This list is archived online. I suggest that you use a gmail account
for all your lists.

-K
___
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 issue

2006-03-11 Thread Byron Canfield
Not sure if anyone has responded yet -- my thread sorting is all screwed up.

You cannot delete or terminate an onClipEvent(enterFrame) unless you
delete the movieclp to which you have applied it, either by terminating
it's existence on the timeline with an empty keyframe, or by swapping it
to a "dynamic" depth (zero or above) and using removeMovieClip().

An onClipEvent(enterFrame) is not synonymous with an onEnterFrame() function.

-- 
Byron "Barn" Canfield


> well, the preloader does display load status, then simply repeats, instead
> of deleting itself, it just repeats the loading ... any ideas??? i just
> want
> the swf it loads to not play or start until it is fully loaded, and the
> label_txt is deleted etc ...
>
>
>
> onClipEvent(load) {
>this.loadMovie("en.swf");
> }
>
> onClipEvent(enterFrame) {
>tBytes = this.getBytesTotal();
>bLoaded = this.getBytesLoaded();
>percent = Math.round((bLoaded/tBytes)*100)
>if (bLoaded  _root.bar_mc._xscale = (bLoaded/tBytes)*100;
>  if (percent < 10) {
>   _root.label_txt.text = "0" + percent + "%";
>  }
>  else {
>   _root.label_txt.text = percent + "%";
>  }
>} else {
>  _root.bar_mc.removeMovieClip();
>  _root.label_txt.removeTextField();
>  target_mc.play();
>  delete _root.target_mc.onEnterFrame;
>}
> }
> ___
> 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] preloader issue

2006-03-11 Thread Karthik
> well, the preloader does display load status, then simply repeats, instead
> of deleting itself, it just repeats the loading ... any ideas??? i just want
> the swf it loads to not play or start until it is fully loaded, and the
> label_txt is deleted etc ...

It is probably also wise to never use onClipEvent or _root for that
matter unless somebody has a gun to your head :)

-K
___
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] What's your job title?

2006-03-11 Thread Gaia-Tek

New Media Designer






Kirk Roberts wrote:

Hello everybody,

Here's a non-technical question: what is your job title?

For a long time I've been telling people "Flash Developer", although 
that shortchanges the consultation and on-the-fly design I do.

Also, people outside the industry have no freaking idea what it means.

Typically, if I'm not the designer, I work to help make the design 
more feasible for Flash.
When it comes time to build I'm often making up the behaviors and 
adding special touches here and there.


Anyone have any suggestions for a title that encompasses these ideas?

thanks,
Kirk


·

   Kirk Roberts

   Fine Design Group

   (415) 552-9300 ext. 16

   http://www.finedesigngroup.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] ActionStep, help compiling examples.

2006-03-11 Thread Aaron Smith

i'm having some troubles compiling the examples in 'test/src'

I downloaded alpha 1 from actionstep site. I then followed the 
quickstart guide on OSFlash. I had everything already. except the ruby 
debugger.. but i'm not worrying about that until I can at least get 
these examples and something on my own working. The problem i'm having 
is just trying to figure out what all needs to be compiled an how to do 
it all with mtasc. I looked at the build.bat and buildExample.bat files. 
Those are simple mtasc commands and the output swf works. I tried just 
doing an mtasc command on 'calcSample'. it spits out a swf but the only 
thing the swf has is a text field that says 'loading...' i'm missing 
something somewhere


here is the mtasc command i'm trying for the calc example:

mtasc -header 600:500:31 -version 8 -main -strict -trace 
org.actionstep.ASDebugger.debugPaneITrace -swf calc.swf -cp "src" -cp 
"test\src" calcSample\Main


I can't figure out what i'm missing.. calc.asml?

Also, I did manage to build the ActionStep.swf library swf but not sure 
how to use it in combination with the above. I think i'm supposed to..


sorry about the newbie question, i'm just new to actionstep any help 
or other tutorials would be sweet..



..not sure if neccessary.. but I do have ANT. the OSFlash stuff was 
using ANT.. but everything so far is just basic mtasc commands.. i'm 
just trying to get something working first before I use ANT.

___
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] XPath problems with single character value nodes

2006-03-11 Thread Adrian Park
I encountered exactly the same issue on the project I'm currently working
on. I got around the problem by using XPath.selectNodes rather than
XPath.selectNodesAsString.

Then I just used something like (continuing from your example):

e = String( e.firstChild.nodeValue );

Not ideal but it got the job done!

Adrian P.

On 3/10/06, Chaitu Vadlapatla <[EMAIL PROTECTED]> wrote:
>
> I am trying to get the node value of 5 using
> XPath.selectNodesAsString or XPath.selectNodesAsNumber and returns empty
> space.
>
> Works fine if the value of the node is 2 digits or characters.
> 15 works.
>
>
>
> /* Grab icon number & set it */
>
> var e =
> XPath.selectNodesAsString(this,"/weather/dayf/[EMAIL PROTECTED]'4']/[EMAIL 
> PROTECTED]'d']/i
> con");
>
> trace("e: "+e);
>
> //e has an empty space.
>
>
>
> I am using XPath from
> http://www.xfactorstudio.com/ActionScript/AS2/XPath/
>
> And believe I have the latest version. Tried using
> XPathAxes.StringValue() and everything but still wont work. My paths are
> good...checked with XPathExplorer too. Has anybody seen this before. How
> do I deal with this.
>
>
>
>
>
> ___
> 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] XPath problems with single character value nodes

2006-03-11 Thread erixtekila


Le 11 mars 06, à 11:27, Adrian Park a écrit :

I encountered exactly the same issue on the project I'm currently 
working

on. I got around the problem by using XPath.selectNodes rather than
XPath.selectNodesAsString.

Please send a mail to XPath author to get this fixed.
---
erixtekila
http://blog.v-i-a.net/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] What's your job title?

2006-03-11 Thread murder design
Hopefully next month my job title will be "flash designer". until then its
waiter :P
___
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] ActionStep, help compiling examples.

2006-03-11 Thread Scott Hyndman
Please post this on the ActionStep list and we'll help you out.

http://sourceforge.net/mail/?group_id=130597

Scott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Smith
Sent: March 11, 2006 4:54 AM
To: Flashcoders mailing list
Subject: [Flashcoders] ActionStep, help compiling examples.

i'm having some troubles compiling the examples in 'test/src'

I downloaded alpha 1 from actionstep site. I then followed the
quickstart guide on OSFlash. I had everything already. except the ruby
debugger.. but i'm not worrying about that until I can at least get
these examples and something on my own working. The problem i'm having
is just trying to figure out what all needs to be compiled an how to do
it all with mtasc. I looked at the build.bat and buildExample.bat files.

Those are simple mtasc commands and the output swf works. I tried just
doing an mtasc command on 'calcSample'. it spits out a swf but the only
thing the swf has is a text field that says 'loading...' i'm missing
something somewhere

here is the mtasc command i'm trying for the calc example:

mtasc -header 600:500:31 -version 8 -main -strict -trace
org.actionstep.ASDebugger.debugPaneITrace -swf calc.swf -cp "src" -cp
"test\src" calcSample\Main

I can't figure out what i'm missing.. calc.asml?

Also, I did manage to build the ActionStep.swf library swf but not sure
how to use it in combination with the above. I think i'm supposed to..

sorry about the newbie question, i'm just new to actionstep any help
or other tutorials would be sweet..


..not sure if neccessary.. but I do have ANT. the OSFlash stuff was 
using ANT.. but everything so far is just basic mtasc commands.. i'm 
just trying to get something working first before I use ANT.
___
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] ActionStep, help compiling examples.

2006-03-11 Thread Scott Hyndman
Actually, I'm going to give a quick answer here (but you should join our
list):

The calculator sample needs you to have the ActionStepLib swf compiled,
as well as calculator.asml in the test subdirectory. So for the pathing
to be correct, here's how it needs to look:

Calculator.swf <- (This could be named anything)
ActionStepLib.swf
test/calculator.asml

But I imagine you just want to get this thing up and running, am I
right? You should use this build script:

mtasc -cp "src" -cp "test/src" -swf ActionStep.swf -header 800:600:20
-version 8 -trace org.actionstep.ASDebugger.debugPanelTrace -pack
org/actionstep -pack org/actionstep/constants -pack
org/actionstep/images org/actionstep/test/ASTestMain -main

To change the output of this test, open up
org.actionstep.test.ASTestMain (in the test/src classpath), and change
line 21 to point to another test class. There's tons of stuff in there,
so it should keep you busy for awhile.

By the way. We're getting close to a second release, and this one will
be launched alongside a new website with some great tutorials on getting
started.

Scott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Smith
Sent: March 11, 2006 4:54 AM
To: Flashcoders mailing list
Subject: [Flashcoders] ActionStep, help compiling examples.

i'm having some troubles compiling the examples in 'test/src'

I downloaded alpha 1 from actionstep site. I then followed the
quickstart guide on OSFlash. I had everything already. except the ruby
debugger.. but i'm not worrying about that until I can at least get
these examples and something on my own working. The problem i'm having
is just trying to figure out what all needs to be compiled an how to do
it all with mtasc. I looked at the build.bat and buildExample.bat files.

Those are simple mtasc commands and the output swf works. I tried just
doing an mtasc command on 'calcSample'. it spits out a swf but the only
thing the swf has is a text field that says 'loading...' i'm missing
something somewhere

here is the mtasc command i'm trying for the calc example:

mtasc -header 600:500:31 -version 8 -main -strict -trace
org.actionstep.ASDebugger.debugPaneITrace -swf calc.swf -cp "src" -cp
"test\src" calcSample\Main

I can't figure out what i'm missing.. calc.asml?

Also, I did manage to build the ActionStep.swf library swf but not sure
how to use it in combination with the above. I think i'm supposed to..

sorry about the newbie question, i'm just new to actionstep any help
or other tutorials would be sweet..


..not sure if neccessary.. but I do have ANT. the OSFlash stuff was 
using ANT.. but everything so far is just basic mtasc commands.. i'm 
just trying to get something working first before I use ANT.
___
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] What's your job title?

2006-03-11 Thread Yotam Laufer
New Media Whore ;)

On 11/03/06, murder design <[EMAIL PROTECTED]> wrote:
>
> Hopefully next month my job title will be "flash designer". until then its
> waiter :P
> ___
> 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
>



--
Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype:
ubermutt
___
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] What's your job title?

2006-03-11 Thread Weyert de Boer
Magician in Art

> On 11/03/06, murder design <[EMAIL PROTECTED]> wrote:
>>
>> Hopefully next month my job title will be "flash designer". until then
>> its
>> waiter :P

___
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 Flash Environment / Processes

2006-03-11 Thread Pataluch, Tom
Hello flashers,
 
I am looking to setup a development environment for a few flash developers and 
need some assistance.
 
1. What is a good app to use as a supplement to Flash 8 for action script 
debugging?  Simply using trace is quite cumbersome compared to other 
programming IDE's.  And the Flash 8 debugger is not all that it promises to be 
at best.
 
2. Is there a build tool I can use to setup a centralized, automated build 
process?  Java has JAnt, .NET has NAnt, etc.  Is there one for Flash?  Per the 
e-mail below it looks like there is.
 
Thanks in advance



From: [EMAIL PROTECTED] on behalf of Scott Hyndman
Sent: Sat 3/11/2006 8:44 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] ActionStep, help compiling examples.



Actually, I'm going to give a quick answer here (but you should join our
list):

The calculator sample needs you to have the ActionStepLib swf compiled,
as well as calculator.asml in the test subdirectory. So for the pathing
to be correct, here's how it needs to look:

Calculator.swf <- (This could be named anything)
ActionStepLib.swf
test/calculator.asml

But I imagine you just want to get this thing up and running, am I
right? You should use this build script:

mtasc -cp "src" -cp "test/src" -swf ActionStep.swf -header 800:600:20
-version 8 -trace org.actionstep.ASDebugger.debugPanelTrace -pack
org/actionstep -pack org/actionstep/constants -pack
org/actionstep/images org/actionstep/test/ASTestMain -main

To change the output of this test, open up
org.actionstep.test.ASTestMain (in the test/src classpath), and change
line 21 to point to another test class. There's tons of stuff in there,
so it should keep you busy for awhile.

By the way. We're getting close to a second release, and this one will
be launched alongside a new website with some great tutorials on getting
started.

Scott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Smith
Sent: March 11, 2006 4:54 AM
To: Flashcoders mailing list
Subject: [Flashcoders] ActionStep, help compiling examples.

i'm having some troubles compiling the examples in 'test/src'

I downloaded alpha 1 from actionstep site. I then followed the
quickstart guide on OSFlash. I had everything already. except the ruby
debugger.. but i'm not worrying about that until I can at least get
these examples and something on my own working. The problem i'm having
is just trying to figure out what all needs to be compiled an how to do
it all with mtasc. I looked at the build.bat and buildExample.bat files.

Those are simple mtasc commands and the output swf works. I tried just
doing an mtasc command on 'calcSample'. it spits out a swf but the only
thing the swf has is a text field that says 'loading...' i'm missing
something somewhere

here is the mtasc command i'm trying for the calc example:

mtasc -header 600:500:31 -version 8 -main -strict -trace
org.actionstep.ASDebugger.debugPaneITrace -swf calc.swf -cp "src" -cp
"test\src" calcSample\Main

I can't figure out what i'm missing.. calc.asml?

Also, I did manage to build the ActionStep.swf library swf but not sure
how to use it in combination with the above. I think i'm supposed to..

sorry about the newbie question, i'm just new to actionstep any help
or other tutorials would be sweet..


..not sure if neccessary.. but I do have ANT. the OSFlash stuff was
using ANT.. but everything so far is just basic mtasc commands.. i'm
just trying to get something working first before I use ANT.
___
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] What's your job title?

2006-03-11 Thread richard carr
flash ho
___
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 Flash Environment / Processes

2006-03-11 Thread Mark Winterhalder
On 3/11/06, Pataluch, Tom <[EMAIL PROTECTED]> wrote:
> Hello flashers,
>
> I am looking to setup a development environment for a few flash developers 
> and need some assistance.
>
> 1. What is a good app to use as a supplement to Flash 8 for action script 
> debugging?  Simply using trace is quite cumbersome compared to other 
> programming IDE's.  And the Flash 8 debugger is not all that it promises to 
> be at best.

have a look at xray:
http://osflash.org/xray

> 2. Is there a build tool I can use to setup a centralized, automated build 
> process?  Java has JAnt, .NET has NAnt, etc.  Is there one for Flash?  Per 
> the e-mail below it looks like there is.

yes, you can use ant, it works very well with mtasc as a compiler.
look at these tools for more information:

http://osflash.org/AMES

hth,
mark

--
http://snafoo.org/
jabber: [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


Re: [Flashcoders] What's your job title?

2006-03-11 Thread Anggie Bratadinata

"Flash for Food"

--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com


richard carr wrote:

flash ho

___
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] XPath problems with single character value nodes

2006-03-11 Thread Adrian Park
I've done some investigation on nthis issue and found this...

If you modify your path like this (note the /text() at the end) you should
get the value correctly...

var e = XPath.selectNodesAsString
(this,"/weather/dayf/[EMAIL PROTECTED]'4']/[EMAIL PROTECTED]'d']/icon/text()");


Interestingly, if you try this it won't work...

var e = XPath.selectNodesAsNumber
(this,"/weather/dayf/[EMAIL PROTECTED]'4']/[EMAIL 
PROTECTED]'d']/icon/number()");

...but this does...

var e = XPath.selectNodesAsNumber
(this,"/weather/dayf/[EMAIL PROTECTED]'4']/[EMAIL PROTECTED]'d']/icon/text()");

This final example actually returns a Number (not a String as the first
example does) which is what I guess you'd want to get from the 
element but seems to do it the wrong way (using text() )!

I'm going to report this info to Xfactor Studio.

Hope this is helpful.
A.

On 3/11/06, erixtekila <[EMAIL PROTECTED]> wrote:
>
>
> Le 11 mars 06, à 11:27, Adrian Park a écrit :
>
> > I encountered exactly the same issue on the project I'm currently
> > working
> > on. I got around the problem by using XPath.selectNodes rather than
> > XPath.selectNodesAsString.
> Please send a mail to XPath author to get this fixed.
> ---
> erixtekila
> http://blog.v-i-a.net/
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] What's your job title?

2006-03-11 Thread Dave Mennenoh
Is the applicator like a popsicle stick? :) 


Nah. I imagine it has a soft, rounded, end.

LOL.

___
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] What's your job title?

2006-03-11 Thread Dave Mennenoh
Relax, whitey. 


ROFL!

___
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] Accordion Component

2006-03-11 Thread Mike Britton
Here's some code I snipped out of one of my apps that uses the accordion.
I'm sure it can be simplified.

var childWidth:Number = 300;
var childHeight:Number = 200;

main_ac.setSize(300,400);

main_ac.createChild("View","latest",{label:"  Posts"});
main_ac.createChild("View","latestComments",{label:"  Latest Comments"});
main_ac.createChild("View","categories",{label:"  Categories"});
main_ac.createChild("View","authors",{label:"  Authors"});
main_ac.createChild("View","favorites",{label:"  Favorite Entries"});

latest_lb = main_ac.latest.createChild("EnhancedDataGrid", "latest_lb");
latest_lb.setSize(childWidth,childHeight);

latestComments_lb = main_ac.latestComments.createChild("EnhancedDataGrid",
"latestComments_lb");
latestComments_lb.setSize(childWidth,childHeight);

categories_lb = main_ac.categories.createChild("EnhancedDataGrid",
"categories_lb");
categories_lb.setSize(childWidth,childHeight);

authors_lb = main_ac.authors.createChild("EnhancedDataGrid", "authors_lb");
authors_lb.setSize(childWidth,childHeight);

favorites_lb = main_ac.favorites.createChild("EnhancedDataGrid",
"favorites_lb");
favorites_lb.setSize(childWidth,childHeight);



On 3/11/06, Karthik <[EMAIL PROTECTED]> wrote:
>
> > I need to set up an accordion component but its the
> > first time that i deal with it, where can i learn how
> > to uset it in deep form?
>
> Have you checked the help files? I'm pretty sure it comes with a good
> example and a snippet or three.
>
> -K
> ___
> 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
>



--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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] Loading several images with one progressbar?

2006-03-11 Thread Sascha Balkau

Hi,
this is probably an old hat but I can't get it right. I want to display the 
load progress of several images with one progress bar. How do I calculate 
the percentage of the bar?


Thanks alot,
Sascha

___
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] Loading several images with one progressbar?

2006-03-11 Thread Adrian Park
Say you have 3 images loading, use something like this:

var bytesLoaded:Number = 0;
var bytesTotal:Number = 0;

bytesLoaded += image1.getBytesLoaded();
bytesTotal += image1.getBytesTotal();
bytesLoaded += image2.getBytesLoaded();
bytesTotal += image2.getBytesTotal();
bytesLoaded += image3.getBytesLoaded();
bytesTotal += image3.getBytesTotal();

var percentageLoaded:Number = (bytesLoaded/bytesTotal) * 100;

There may be ways to optimise this code depending on your circumstances (e.g.
just calculate bytesTotal once and reuse it) but this shows the basic idea.

Adrian P.


On 3/11/06, Sascha Balkau <[EMAIL PROTECTED]> wrote:
>
> Hi,
> this is probably an old hat but I can't get it right. I want to display
> the
> load progress of several images with one progress bar. How do I calculate
> the percentage of the bar?
>
> Thanks alot,
> Sascha
>
> ___
> 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] Contaminated list?

2006-03-11 Thread Rich Rodecker
> This list is archived online. I suggest that you use a gmail account
> for all your lists.
>

how does that help?  i do that and just get spam to my gmailstill
have to deal with it.
___
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] Contaminated list?

2006-03-11 Thread Karthik
> how does that help? i do that and just get spam to my gmailstill
> have to deal with it.

a) gmail's spam filters are excellent.
b) You don't get it in your primary mailbox.

-K
___
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] What's your job title?

2006-03-11 Thread Steven Sacks
> New Media Designer

Either you missed the memo or you're being funny.  Let's hope it's the
latter.

___
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] XPath problems with single character value nodes

2006-03-11 Thread Wade Arnold
Thanks Adrian for following up on this. We are having issues with parsing
the content feed from the weather.com api.


http://www.t8design.com/personal/chaitu/Weather/weather_proxy.php?id=USIA088
5




On 3/11/06 10:58 AM, "Adrian Park" <[EMAIL PROTECTED]> wrote:

> I've done some investigation on nthis issue and found this...
> 
> If you modify your path like this (note the /text() at the end) you should
> get the value correctly...
> 
> var e = XPath.selectNodesAsString
> (this,"/weather/dayf/[EMAIL PROTECTED]'4']/[EMAIL 
> PROTECTED]'d']/icon/text()");
> 
> 
> Interestingly, if you try this it won't work...
> 
> var e = XPath.selectNodesAsNumber
> (this,"/weather/dayf/[EMAIL PROTECTED]'4']/[EMAIL 
> PROTECTED]'d']/icon/number()");
> 
> ...but this does...
> 
> var e = XPath.selectNodesAsNumber
> (this,"/weather/dayf/[EMAIL PROTECTED]'4']/[EMAIL 
> PROTECTED]'d']/icon/text()");
> 
> This final example actually returns a Number (not a String as the first
> example does) which is what I guess you'd want to get from the 
> element but seems to do it the wrong way (using text() )!
> 
> I'm going to report this info to Xfactor Studio.
> 
> Hope this is helpful.
> A.
> 
> On 3/11/06, erixtekila <[EMAIL PROTECTED]> wrote:
>> 
>> 
>> Le 11 mars 06, à 11:27, Adrian Park a écrit :
>> 
>>> I encountered exactly the same issue on the project I'm currently
>>> working
>>> on. I got around the problem by using XPath.selectNodes rather than
>>> XPath.selectNodesAsString.
>> Please send a mail to XPath author to get this fixed.
>> ---
>> erixtekila
>> http://blog.v-i-a.net/
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> 
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com


___
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] advanced flash AS 2.0/3.0 book?

2006-03-11 Thread Jonathan Berry
Thanks for the reply, Karthik. I checked the archives and came up with 136
prior messages in relation to "advanced books" but none that were current,
as in the last year or so. I noticed someone else just posted in relation to
a book recommendation and got some good responses, so it would be great if
someone would have some information on an advanced book.

On 3/10/06, Karthik <[EMAIL PROTECTED]> wrote:
>
> > Hey Flashers, how about a book for an intermediate/advanced level coder?
> I
> > don't want to read about what objects, properties, methods, events,
> event
> > handlers, and listeners are, or even how to write basic classes. That
> stuff
> > is always repeated in both the AS books (or any introductory programming
> > books for that matter - rant) that I have read. I read the deHaans'
> > Macromedia Press books starting with MX2004 and the AS 2.0 book for
> Flash 8.
> > I also own the AS 2.0 reference for Flash 8 and the Flash 8 component
> > reference. I guess I am just looking for something that will have more
> > hardcore examples, practical ones at that. I do remember seeing an
> advanced
> > book for MX a few years ago and wondered if they have anything like that
> for
> > 2004 or 8. Your help much to be appreciated.
>
> Please check the archives. Book recommendations posts appear once
> every 36.34 hours on this list :) The link is in the footer.
>
> This is the first time I've seen one of these lame corporate
> disclaimer footnotes from a gmail address. Please do us a favour and
> lose it - all your e-mails are being distributed, disseminated  and
> copied with utter disregard for the Electronic Communications Privacy
> Act :P
> ___
> 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
>



--
Jonathan Berry, M.A.
IT Consultant
619.306.1712(m)
[EMAIL PROTECTED]
www.mindarc.com

---

This E-mail is covered by the Electronic Communications Privacy Act, 18
U.S.C. ?? 2510-2521 and is legally privileged.
This information is confidential information and is intended only for
the use of the individual or entity named above. If the reader of this
message is not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this communication is strictly
prohibited.

---
___
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] best flash actionscript book/reference

2006-03-11 Thread Alejandro Diaz
I second the recommendation to the Safari bookshelf service to get these. So
far it has paid itself back multiple times. I pretty much keep Moock's
Actionscript for Flash MX there constantly (although this one book takes up
2 of my 10 slots) for quick reference.

So far the most useful bit is being able to do a search for exactly what you
need, and it lets you know where in your books you can find it, as well as
other books not yet in your library.

(no affiliation with Oreilly here either btw)

On 3/10/06, Anggie Bratadinata <[EMAIL PROTECTED]> wrote:
>
> > I think this book is nice:
> >
> > Object-Oriented Programming with ActionScript 2.0
> >
> > Robin Haffner, James Talbot, Jeff Tapper.
> > Published by New Riders.
>
> Indeed, it is a very nice book! Somehow it made me stop reading Moock's
> book :)
>
> --
> Anggie Bratadinata
> Web|Graphic|Flash
> Jl. Raya Langsep 21
> Malang - East Java
> I N D O N E S I A
> http://design.ibshastautama.com
>
>
> Eskil Janson wrote:
> > As a complement to Moocks brilliant, but sometimes very detailed
> > information, I think this book is nice:
> >
> > Object-Oriented Programming with ActionScript 2.0
> >
> > Robin Haffner, James Talbot, Jeff Tapper.
> > Published by New Riders.
> >
> > If you are a little less experienced programmer, you may want to
> > download the errata for the book, since at least
> > the erlier versions of the book was full of typos.
> >
> > regards
> >
> > /Eskil
> >
> > murder design skrev:
> >> so after not having coded in flash for about 5 years (lots of changes)
> >> and
> >> getting hardcore back into actionscript, and ESPECIALLY this list :P
> >> (love
> >> you all!) ... whats a good reference with examples for all flash as2.0
> >> etc
> >> methods objects properties etc. whats the best all around intermediate
> or
> >> beginner to advanced flash AS book out there.? thanks guys!
> >>
> >> -edward
> ___
> 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] advanced flash AS 2.0/3.0 book?

2006-03-11 Thread Rich Rodecker
well, you mentioned you were up on your components, so I don't know
how 'advanced' this book would be for you...but I am reading http://www.amazon.com/exec/obidos/redirect?link_code=ur2&tag=richrodecker-20&camp=1789&creative=9325&path=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2F1590595939%2Fqid%3D1142032643%2Fsr%3D2-1%2Fref%3Dpd_bbs_b_2_1%3Fs%3Dbooks%26v%3Dglance%26n%3D283155";>AdvancED
Actionscript Components : Mastering the Flash Component
Architecture and I'm really digging it. The author doesn't just
show you the methods and properties availabel to a component, like the
other book that is just a reprint of the help docs, he goes into the
flash component architcture itself to give you a better understanding
of how things are working, and whats going on behind the scenes.

He goes into this thing about XLEFF (XML Layout engine for Flash) for
a little bit, but I just kinda glossed over that so far, since im not
really interested, i just want to undersatnd the components
betterbut skipping over all that stuff doesnt affect understanding
anything else in the book.



On 3/11/06, Jonathan Berry <[EMAIL PROTECTED]> wrote:
> Thanks for the reply, Karthik. I checked the archives and came up with 136
> prior messages in relation to "advanced books" but none that were current,
> as in the last year or so. I noticed someone else just posted in relation to
> a book recommendation and got some good responses, so it would be great if
> someone would have some information on an advanced book.
>
> On 3/10/06, Karthik <[EMAIL PROTECTED]> wrote:
> >
> > > Hey Flashers, how about a book for an intermediate/advanced level coder?
> > I
> > > don't want to read about what objects, properties, methods, events,
> > event
> > > handlers, and listeners are, or even how to write basic classes. That
> > stuff
> > > is always repeated in both the AS books (or any introductory programming
> > > books for that matter - rant) that I have read. I read the deHaans'
> > > Macromedia Press books starting with MX2004 and the AS 2.0 book for
> > Flash 8.
> > > I also own the AS 2.0 reference for Flash 8 and the Flash 8 component
> > > reference. I guess I am just looking for something that will have more
> > > hardcore examples, practical ones at that. I do remember seeing an
> > advanced
> > > book for MX a few years ago and wondered if they have anything like that
> > for
> > > 2004 or 8. Your help much to be appreciated.
> >
> > Please check the archives. Book recommendations posts appear once
> > every 36.34 hours on this list :) The link is in the footer.
> >
> > This is the first time I've seen one of these lame corporate
> > disclaimer footnotes from a gmail address. Please do us a favour and
> > lose it - all your e-mails are being distributed, disseminated  and
> > copied with utter disregard for the Electronic Communications Privacy
> > Act :P
> > ___
> > 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
> >
>
>
>
> --
> Jonathan Berry, M.A.
> IT Consultant
> 619.306.1712(m)
> [EMAIL PROTECTED]
> www.mindarc.com
>
> ---
>
> This E-mail is covered by the Electronic Communications Privacy Act, 18
> U.S.C. ?? 2510-2521 and is legally privileged.
> This information is confidential information and is intended only for
> the use of the individual or entity named above. If the reader of this
> message is not the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited.
>
> ---
> ___
> 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] advanced flash AS 2.0/3.0 book?

2006-03-11 Thread Rich Rodecker
heh well i guess that didnt work.

On 3/11/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
> well, you mentioned you were up on your components, so I don't know
> how 'advanced' this book would be for you...but I am reading  href="http://www.amazon.com/exec/obidos/redirect?link_code=ur2&tag=richrodecker-20&camp=1789&creative=9325&path=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2F1590595939%2Fqid%3D1142032643%2Fsr%3D2-1%2Fref%3Dpd_bbs_b_2_1%3Fs%3Dbooks%26v%3Dglance%26n%3D283155";>AdvancED
> Actionscript Components : Mastering the Flash Component
> Architecture and I'm really digging it. The author doesn't just
> show you the methods and properties availabel to a component, like the
> other book that is just a reprint of the help docs, he goes into the
> flash component architcture itself to give you a better understanding
> of how things are working, and whats going on behind the scenes.
>
> He goes into this thing about XLEFF (XML Layout engine for Flash) for
> a little bit, but I just kinda glossed over that so far, since im not
> really interested, i just want to undersatnd the components
> betterbut skipping over all that stuff doesnt affect understanding
> anything else in the book.
>
>
>
> On 3/11/06, Jonathan Berry <[EMAIL PROTECTED]> wrote:
> > Thanks for the reply, Karthik. I checked the archives and came up with 136
> > prior messages in relation to "advanced books" but none that were current,
> > as in the last year or so. I noticed someone else just posted in relation to
> > a book recommendation and got some good responses, so it would be great if
> > someone would have some information on an advanced book.
> >
> > On 3/10/06, Karthik <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hey Flashers, how about a book for an intermediate/advanced level coder?
> > > I
> > > > don't want to read about what objects, properties, methods, events,
> > > event
> > > > handlers, and listeners are, or even how to write basic classes. That
> > > stuff
> > > > is always repeated in both the AS books (or any introductory programming
> > > > books for that matter - rant) that I have read. I read the deHaans'
> > > > Macromedia Press books starting with MX2004 and the AS 2.0 book for
> > > Flash 8.
> > > > I also own the AS 2.0 reference for Flash 8 and the Flash 8 component
> > > > reference. I guess I am just looking for something that will have more
> > > > hardcore examples, practical ones at that. I do remember seeing an
> > > advanced
> > > > book for MX a few years ago and wondered if they have anything like that
> > > for
> > > > 2004 or 8. Your help much to be appreciated.
> > >
> > > Please check the archives. Book recommendations posts appear once
> > > every 36.34 hours on this list :) The link is in the footer.
> > >
> > > This is the first time I've seen one of these lame corporate
> > > disclaimer footnotes from a gmail address. Please do us a favour and
> > > lose it - all your e-mails are being distributed, disseminated  and
> > > copied with utter disregard for the Electronic Communications Privacy
> > > Act :P
> > > ___
> > > 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
> > >
> >
> >
> >
> > --
> > Jonathan Berry, M.A.
> > IT Consultant
> > 619.306.1712(m)
> > [EMAIL PROTECTED]
> > www.mindarc.com
> >
> > ---
> >
> > This E-mail is covered by the Electronic Communications Privacy Act, 18
> > U.S.C. ?? 2510-2521 and is legally privileged.
> > This information is confidential information and is intended only for
> > the use of the individual or entity named above. If the reader of this
> > message is not the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited.
> >
> > ---
> > ___
> > 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] Contaminated list?

2006-03-11 Thread murder design
never had a false positive regarding spam with gmail. always filters
PERFECT. dont even waste your time opening up the spam folder...

-edward
___
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] Some Computers Won't Stream MP3 in Flash/I.E.

2006-03-11 Thread Marc Hoffman
This is a follow-up on a previous post. I'm still having the problem, 
but now have more details. Really need help with this, so please read 
the following and let me know if you have ideas or solutions.


Problem in brief:
Where Flash uses a sound object to load and stream an MP3 file, no 
sound is heard on a small percentage of Windows computers using I.E. 
and Flash Player 8.


Problem and troubleshooting in-depth:
I have tested this in a more complex and also in a simpler Flash 
movie with indentical results. The complex version (which uses MP3's 
in a separate directory from the .swf, and constructs their URLs 
dynamically) is at:

http://www.dartfrogmedia.com/birdGame.

If you test this and want to send a report, please include 1) whether 
you heard sound; 2) version and sub-version of I.E.; 3) OS, including 
sub-version, service packs, etc.; 4) Flash Player version and 
sub-version (requires Player 7 or above).


In the simpler version, Flash uses a Sound object to download and 
stream an MP3 file that is located in the same directory as the .swf 
and html file whenever a button is pressed:


_global.narration = new Sound();
btn.onRelease = function() {
  narration.loadSound("americanRobin.mp3", true);
};

On Windows using Netscape and Firefox, and on Mac using Safari, the 
movie plays the sound fine on all tested platforms and computers.


In Windows using I.E. 6, the movie works locally on all computers 
tested. Played from the internet, it works for most computers (about 
a dozen tested). But for two of my computers, it fails to work over 
the web. Note that the MP3's always end up in I.E.'s cache, so it's 
not an issue of I.E. not finding the files, but of Flash never 
playing them. Also, I can play the MP3's directly from I.E.


The two computers where this thing breaks are a Dell Inspiron laptop 
and a custom desktop. Looking at versions of I.E. for all tests, I 
note that the desktop that fails to play has the same I.E. 
sub-version as a colleague's computer that works fine, so I would 
rule out that the sub-version of I.E. is causing the problem (at 
least not in and of itself). Also, all three of my computers are 
running Windows XP Pro, but one (the one that works) has no service 
packs and the two that don't work have SP1 and SP2 respectively. I am 
assuming that among those colleagues who have tested this for me, at 
least some must have the later service packs, so I would rule out 
that SP1 or SP2 are causing the problem.


When Flash in I.E. fails to play via an internet connection, it is 
still observed that I.E. loads the MP3 files into cache. Furthermore, 
if I type the URLs of the MP3s directly into I.E., they are located 
and are played via Windows Media Player. Thus I can rule out that 
I.E. is not loading the MP3 file at Flash's command.


I have swapped network cables between the desktop that works and the 
desktop that doesn't work, and the computer that doesn't work still 
fails. So I can rule out something in my network connection.


I have tried using a listener in Flash to determine when the MP3 has 
loaded, and to play it only after it has loaded. This does not fix 
the problem. I've also tried setting the streaming parameter to 
"false" instead of "true," and it makes no difference. Nor does 
listening for onLoad, and then starting the sound, help.


I have moved the Flash movie to a different web server. This does not 
fix the problem. So I can almost certainly rule out some peculiarity 
of my web server.


And that's it! Any thoughts?


___
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] Stop the stream!

2006-03-11 Thread John Giotta
Is this in IE only?
I've had the same thing, but only in IE. There still seems to be a
audio "artifact" on some IE installs on 1 or 2 PCs in my office
running Windows.
___
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] Contaminated list?

2006-03-11 Thread Rich Rodecker
really?  I've got 5 emails in my spam folder from flashcoders right now.

On 3/11/06, murder design <[EMAIL PROTECTED]> wrote:
> never had a false positive regarding spam with gmail. always filters
> PERFECT. dont even waste your time opening up the spam folder...
>
> -edward
> ___
> 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] advanced flash AS 2.0/3.0 book?

2006-03-11 Thread Jonathan Berry
Rich, that sounds like something that I could use. Mastery and not just
introductory stuff. The books I have read just go over the basic components,
like list or scrollpane, not things like the datagrid or learning how to use
a cellrenderer. Thanks again.

On 3/11/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
>
> well, you mentioned you were up on your components, so I don't know
> how 'advanced' this book would be for you...but I am reading  href="
> http://www.amazon.com/exec/obidos/redirect?link_code=ur2&tag=richrodecker-20&camp=1789&creative=9325&path=http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2F1590595939%2Fqid%3D1142032643%2Fsr%3D2-1%2Fref%3Dpd_bbs_b_2_1%3Fs%3Dbooks%26v%3Dglance%26n%3D283155
> ">AdvancED
> Actionscript Components : Mastering the Flash Component
> Architecture and I'm really digging it. The author doesn't just
> show you the methods and properties availabel to a component, like the
> other book that is just a reprint of the help docs, he goes into the
> flash component architcture itself to give you a better understanding
> of how things are working, and whats going on behind the scenes.
>
> He goes into this thing about XLEFF (XML Layout engine for Flash) for
> a little bit, but I just kinda glossed over that so far, since im not
> really interested, i just want to undersatnd the components
> betterbut skipping over all that stuff doesnt affect understanding
> anything else in the book.
>
>
>
> On 3/11/06, Jonathan Berry <[EMAIL PROTECTED]> wrote:
> > Thanks for the reply, Karthik. I checked the archives and came up with
> 136
> > prior messages in relation to "advanced books" but none that were
> current,
> > as in the last year or so. I noticed someone else just posted in
> relation to
> > a book recommendation and got some good responses, so it would be great
> if
> > someone would have some information on an advanced book.
> >
> > On 3/10/06, Karthik <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hey Flashers, how about a book for an intermediate/advanced level
> coder?
> > > I
> > > > don't want to read about what objects, properties, methods, events,
> > > event
> > > > handlers, and listeners are, or even how to write basic classes.
> That
> > > stuff
> > > > is always repeated in both the AS books (or any introductory
> programming
> > > > books for that matter - rant) that I have read. I read the deHaans'
> > > > Macromedia Press books starting with MX2004 and the AS 2.0 book for
> > > Flash 8.
> > > > I also own the AS 2.0 reference for Flash 8 and the Flash 8
> component
> > > > reference. I guess I am just looking for something that will have
> more
> > > > hardcore examples, practical ones at that. I do remember seeing an
> > > advanced
> > > > book for MX a few years ago and wondered if they have anything like
> that
> > > for
> > > > 2004 or 8. Your help much to be appreciated.
> > >
> > > Please check the archives. Book recommendations posts appear once
> > > every 36.34 hours on this list :) The link is in the footer.
> > >
> > > This is the first time I've seen one of these lame corporate
> > > disclaimer footnotes from a gmail address. Please do us a favour and
> > > lose it - all your e-mails are being distributed, disseminated  and
> > > copied with utter disregard for the Electronic Communications Privacy
> > > Act :P
> > > ___
> > > 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
> > >
> >
> >
> >
> > --
> > Jonathan Berry, M.A.
> > IT Consultant
> > 619.306.1712(m)
> > [EMAIL PROTECTED]
> > www.mindarc.com
> >
> > ---
> >
> > This E-mail is covered by the Electronic Communications Privacy Act, 18
> > U.S.C. ?? 2510-2521 and is legally privileged.
> > This information is confidential information and is intended only for
> > the use of the individual or entity named above. If the reader of this
> > message is not the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication is strictly
> > prohibited.
> >
> > ---
> > ___
> > 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/flash

[Flashcoders] storing embedded font data in local shared objects(LSOs)?

2006-03-11 Thread Ken Fine
Hi all, 

 

Can anyone tell me if there's a manageable way to embed font data in an LSO
(Flash local shared object) such that it can be stored on the user's machine
and used by a movie? 

 

Or, perhaps someone can propose an alternate scheme so that embedded font
data can be externalized and cached on the user's machine so that it doesn't
need to be re-sent with every visit? 

 

I'm noticing that F8 embedded fonts are quite a bit more "heavy" than their
F7 counterparts, and I'm trying to come up with ways to shave down the
download. The other thing that would be very helpful to know is how to embed
a subset of a font instance just once in the library, and have my movie draw
from this common "pool" of font information. In reviewing my F8 size report,
I notice that Flash is embedding the same characters of my Myriad Pro in the
same font weight multiple times. This sucks up bandwidth unnecessarily. 

 

Thanks in advance for any pointers. 

 

-KF 

___
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] Send to friend....Doesn't make sense.

2006-03-11 Thread stone larsen
Please can Someone take a look at this code and see where I've gone wrong. I've 
used this in Flash 6 a million times, ported it to 7 and am having no luck. Ok 
I'm loading a send to friend MC into a _blank MC on the main stage for the 
actions on this would be, vemail is the variable, email is the instance:

thanks much.

// restrict email field to upper and lower case letters, numbers, @ and . and 
excludes " "(space)
email.restrict = "A-Z a-z 0-9 @ . \\- _ ^ ";
//
submit_mail_btn.onRelease = function() {
s = new String(email.text);
lastPointIndex = s.lastIndexOf(".")+1;
firstPointIndex = s.indexOf(".");
firstUSIndex = s.indexOf("_");
firstHyphenIndex = s.indexOf("-");
emailLength = s.length;
lettersAfterLastDot = emailLength-lastPointIndex;
firstAT = s.indexOf("@");
lastAT = s.lastIndexOf("@");
dotAfterAT = s.indexOf(".", lastAT);
onlyOneAt = firstAT-lastAT; // should return 0, check for 0 in if statement
charBeforAt = s.charAt(firstAT-1);
if (charBeforAt != "." && charBeforAt != "_" && charBeforAt != "-") {
charBeforAtValid = true;
} else {
charBeforAtValid = false;
}
charAfterAt = s.charAt(firstAT+1);
if (charAfterAt != "." && charAfterAt != "_" && charAfterAt != "-") {
charAfterAtValid = true;
} else {
charAfterAtValid = false;
}
// field check
if (firstAT != -1 && onlyOneAT == 0 && firstAT != 0 && firstPointIndex != 0 
&& firstUSIndex != 0 && firstHyphenIndex != 0 &&charBeforAtValid == true && 
charAfterAtValid == true && lettersAfterLastDot>=2 && lettersAfterLastDot<=4) {

stringToSend = "../mailinglist.php?vemail="+vemail;
trace("stringToSend="+stringToSend);
loadVariables(stringToSend, this, "GET");
email.text = "THANK YOU!";
action = "Send";
//play();
} else {
// display error message
email.text = "INVALID ADDRESS";
action = "";
stop();
}
};

--
The PHP assoc. with the mail prog.
--

http://www. 
$siteaddress ="http://www.sireclothing.com";; 

// Enter your company name or site name here 
$sitename = "Sire Clothing"; 

// Gets the date and time from your server
$date = date("m/d/Y H:i:s");

// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);


mail("$adminaddress","Sire Clothing Mailing List SUBSCRIBE", "$vemail

--
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time:  $date","FROM:$vemail"); 

// Send confirmation to visitor
mail("$vemail","$sitename mailing list confirmation", 
"
Thank you for joining the Sire Clothing community!
We look forward to keeping you up to date with updates and news.\r\r

Sire Clothing\r\r

You have received this confirmation because you, or someone you know elected

to join. If you feel you have received this message in error, accept our
apologies. Simply hit ' Reply' and add \"Unsubscribe\" to either the subject
line or message body and you will be immediately removedthat's it!


$siteaddress","FROM:$adminaddress2");

?>


-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
___
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] Send to friend....Doesn't make sense.

2006-03-11 Thread stacey
I'm not going to check your email verification but  you could do somethign
like this for loadvars rather than using loadvariables. Also have your php
write back a response so that flash knows whether it worked or not.

Some tidbits of advice - your submit mail button should call a validation
process - it shouldn't hold it in the scope of its onRelease handler -
that might introduce a scoping problem. So create a function that is like
validateEmail(emailString), and have your button call it.
submit_mail_btn.onRelease=Delegate.create(this,validateEmail).


Delegate in Flash 7 and up is your friend. It fies the scope madness.
Also, test your validation bit outside of the onRelease and determine
where its failing.




import mx.utils.Delegate;
lv:LoadVars=new LoadVars();
var validEmail=isEmail(email_txt.text);
lv.vemail=vemail;
lv.onLoad=Delegate.create(this,onEmailResponse);
lv.sendAndLoad("../mailinglist.php",lv,"GET")

function onEmailResponse(success){
if(p_success){
  email.text = "THANK YOU!";
}else{
  email.text = "Problem Dude!";
}
}

function isEmail(str:String):Boolean{
// do your email validation here and return true or false
// By creating a function, you can use it again and again -
// so your submit buttons should call a validation process, not
// hold the validation process in the scope of its onRelease.
return(valid)

}

> Please can Someone take a look at this code and see where I've gone
> wrong. I've used this in Flash 6 a million times, ported it to 7 and am
> having no luck. Ok I'm loading a send to friend MC into a _blank MC on
> the main stage for the actions on this would be, vemail is the variable,
> email is the instance:
>
> thanks much.
>
> // restrict email field to upper and lower case letters, numbers, @ and
> . and excludes " "(space) email.restrict = "A-Z a-z 0-9 @ . \\- _ ^ ";
> //
> submit_mail_btn.onRelease = function() {
> s = new String(email.text);
> lastPointIndex = s.lastIndexOf(".")+1;
> firstPointIndex = s.indexOf(".");
> firstUSIndex = s.indexOf("_");
> firstHyphenIndex = s.indexOf("-");
> emailLength = s.length;
> lettersAfterLastDot = emailLength-lastPointIndex;
> firstAT = s.indexOf("@");
> lastAT = s.lastIndexOf("@");
> dotAfterAT = s.indexOf(".", lastAT);
> onlyOneAt = firstAT-lastAT; // should return 0, check for 0 in if
> statement charBeforAt = s.charAt(firstAT-1);
> if (charBeforAt != "." && charBeforAt != "_" && charBeforAt != "-")
> {
> charBeforAtValid = true;
> } else {
> charBeforAtValid = false;
> }
> charAfterAt = s.charAt(firstAT+1);
> if (charAfterAt != "." && charAfterAt != "_" && charAfterAt != "-")
> {
> charAfterAtValid = true;
> } else {
> charAfterAtValid = false;
> }
> // field check
> if (firstAT != -1 && onlyOneAT == 0 && firstAT != 0 &&
> firstPointIndex != 0 && firstUSIndex != 0 && firstHyphenIndex != 0
> &&charBeforAtValid == true && charAfterAtValid == true &&
> lettersAfterLastDot>=2 && lettersAfterLastDot<=4) {
>
> stringToSend = "../mailinglist.php?vemail="+vemail;
> trace("stringToSend="+stringToSend);
> loadVariables(stringToSend, this, "GET");
> email.text = "THANK YOU!";
> action = "Send";
> //play();
> } else {
> // display error message
> email.text = "INVALID ADDRESS";
> action = "";
> stop();
> }
> };
>
> --
> The PHP assoc. with the mail prog.
> --
>
> 
> // Enter your email address here
> $adminaddress = "[EMAIL PROTECTED]";
> $adminaddress2 = "[EMAIL PROTECTED]";
>
> // Enter the address of your website here MUST include http://www.
> $siteaddress ="http://www.sireclothing.com";;
>
> // Enter your company name or site name here
> $sitename = "Sire Clothing";
>
> // Gets the date and time from your server
> $date = date("m/d/Y H:i:s");
>
> // Gets the IP Address
> if ($REMOTE_ADDR == "") $ip = "no ip";
> else $ip = getHostByAddr($REMOTE_ADDR);
>
>
> mail("$adminaddress","Sire Clothing Mailing List SUBSCRIBE", "$vemail
>
> --
> Using: $HTTP_USER_AGENT
> Hostname: $ip
> IP address: $REMOTE_ADDR
> Date/Time:  $date","FROM:$vemail");
>
> // Send confirmation to visitor
> mail("$vemail","$sitename mailing list confirmation",
> "
> Thank you for joining the Sire Clothing community!
> We look forward to keeping you up to date with updates and news.\r\r
>
> Sire Clothing\r\r
>
> You have received this confirmation because you, or someone you know
> elected
>
> to join. If you feel you have received this message in error, accept our
> apologies. Simply hit ' Reply' and add \"Unsubscribe\" to either the
> subject line or message body and you will be immediately
> removedthat's it!
> :::

[Flashcoders] Mailing List Subscribe

2006-03-11 Thread stone larsen
Sorry for the heading, it's acually just a newsletter sign-up.
Please can Someone take a look at this code and see where I've gone wrong. I've 
used this in Flash 6 a million times, ported it to 7 and am having no luck. Ok 
I'm loading a send to friend MC into a _blank MC on the main stage for the 
actions on this would be, vemail is the variable, email is the instance:

thanks much.

// restrict email field to upper and lower case letters, numbers, @ and . and 
excludes " "(space)
email.restrict = "A-Z a-z 0-9 @ . \\- _ ^ ";
//
submit_mail_btn.onRelease = function() {
s = new String(email.text);
lastPointIndex = s.lastIndexOf(".")+1;
firstPointIndex = s.indexOf(".");
firstUSIndex = s.indexOf("_");
firstHyphenIndex = s.indexOf("-");
emailLength = s.length;
lettersAfterLastDot = emailLength-lastPointIndex;
firstAT = s.indexOf("@");
lastAT = s.lastIndexOf("@");
dotAfterAT = s.indexOf(".", lastAT);
onlyOneAt = firstAT-lastAT; // should return 0, check for 0 in if statement
charBeforAt = s.charAt(firstAT-1);
if (charBeforAt != "." && charBeforAt != "_" && charBeforAt != "-") {
charBeforAtValid = true;
} else {
charBeforAtValid = false;
}
charAfterAt = s.charAt(firstAT+1);
if (charAfterAt != "." && charAfterAt != "_" && charAfterAt != "-") {
charAfterAtValid = true;
} else {
charAfterAtValid = false;
}
// field check
if (firstAT != -1 && onlyOneAT == 0 && firstAT != 0 && firstPointIndex != 0 
&& firstUSIndex != 0 && firstHyphenIndex != 0 &&charBeforAtValid == true && 
charAfterAtValid == true && lettersAfterLastDot>=2 && lettersAfterLastDot<=4) {

stringToSend = "../mailinglist.php?vemail="+vemail;
trace("stringToSend="+stringToSend);
loadVariables(stringToSend, this, "GET");
email.text = "THANK YOU!";
action = "Send";
//play();
} else {
// display error message
email.text = "INVALID ADDRESS";
action = "";
stop();
}
};

--
The PHP assoc. with the mail prog.
--


// Enter your email address here
$adminaddress = "[EMAIL PROTECTED]"; 
$adminaddress2 = "[EMAIL PROTECTED]"; 

// Enter the address of your website here MUST include http://www. 
$siteaddress ="http://www.sireclothing.com";; 

// Enter your company name or site name here 
$sitename = "Sire Clothing"; 

// Gets the date and time from your server
$date = date("m/d/Y H:i:s");

// Gets the IP Address
if ($REMOTE_ADDR == "") $ip = "no ip";
else $ip = getHostByAddr($REMOTE_ADDR);


mail("$adminaddress","Sire Clothing Mailing List SUBSCRIBE", "$vemail

--
Using: $HTTP_USER_AGENT
Hostname: $ip
IP address: $REMOTE_ADDR
Date/Time:  $date","FROM:$vemail"); 

// Send confirmation to visitor
mail("$vemail","$sitename mailing list confirmation", 
"
Thank you for joining the Sire Clothing community!
We look forward to keeping you up to date with updates and news.\r\r

Sire Clothing\r\r

You have received this confirmation because you, or someone you know elected

to join. If you feel you have received this message in error, accept our
apologies. Simply hit ' Reply' and add \"Unsubscribe\" to either the subject
line or message body and you will be immediately removedthat's it!


$siteaddress","FROM:$adminaddress2");

?>

  
-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
___
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



-
Yahoo! Mail
Bring photos to life! New PhotoMail  makes sharing a breeze. 
___
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 shared library fonts

2006-03-11 Thread Hypno Joe
*I am using Flash8*

Is there a way to keep fonts in an external movie and load them
dynamically into a movie when needed?

The flash movie I am currently working on is a text editor that is all
generated dynamically.  A text box is generated on the main movie like
this:

this.createTextField("message_txt", 200, 10, 10, 560, 200);
message_txt.embedFonts = true;

The main text box is styled using TextFormat.

var messageformat:TextFormat;
meassageformat = new TextFormat();
messageformat.size = 20;
messageformat.font = "hightower_font";

I have a button that calls in an external SWF that contains a list of
different fonts for the text box.  The fonts are embedded in the movie
and exported for action script and runtime sharing.   They change the
font like this:

this.aucion_mc.onRelease = function () {
messageformat = new TextFormat();
messageformat.font = "aucion_font";
_root.message_txt.setTextFormat(messageformat);
}

The fonts show up in the external SWF as it is loaded into the main
movie but when one of the bottons is presssed, the text in the text
box disappears.

If I embed the fonts in the main movie, I have no problems. 
Everything works fine.  But that defeats the purpose of having the
fonts exist externally.  I only want them to load if the user wants to
change fonts.
___
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