Re: [Flashcoders] A query into advanced printing

2010-05-11 Thread Henrik Andersson

John R. Sweeney Jr wrote:

I'm finding that Flash is very limited in its printing ability, or I'm
looking in the wrong places. :)



flash.text.engine

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Random Sort of Array

2010-05-11 Thread kennethkawam...@gmail.com
Have two arrays - first one with 2 products and second one with 7
products. Randomise the 2nd array  (with Fisher-Yates shuffle ;) and
concat() the two arrays to produce the array with 9 products.
-- 
Kenneth Kawamoto
http://www.materiaprima.co.uk/

On 11 May 2010 01:44, Donald Talcott dtalc...@mindspring.com wrote:
 Last year I created a small timeline based intro of products for a client
 that used Math.random to produce a random start of the animation sequence.
 This year they would like two specific product animations to always start in
 the #1 and #2 position and the remaining 7 products to play in a random
 order. I have given this some thought and am not sure how to go about it.
 Any ideas out there? If I contain the two specific products to the # 1 and #
 2 positions, and procede randomly to the rest, how might I get all 7
 remaining products to play before replaying #1 and #2?

 Last years code below:

 stop();
 var minList:Array = [mmPretzel, 3Musketeers_truffle, MilkyWay_Caramel,
 mmCO, mmCherry, Twix_java, VOTE, mmPB, NASCAR];
 var minStart:Number = Math.floor(Math.random()*9);
 trace(minStart);
 trace(minList[minStart]);

 function goOn(){
 gotoAndPlay(minList[minStart]);
 };
 setTimeout(goOn,+8);





 Don Talcott
 316 Greenwood Ave
 Decatur, GA 30030
 404 538-1642
 dtalc...@mindspring.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] NetStream.Pause.Notify

2010-05-11 Thread David Hunter

Hi All,
I'm making a video player with netstream and netconnection but 
NetStream.Pause.Notify is not being picked up in my NetStatusEvent.NET_STATUS 
listener. It is picking up NetStream.Buffer.Full and NetStream.Play.Start 
is firing when the video loads, so I don't think its anything wrong with my 
code. Does anyone have any experience of problems with something similar?
I read on some forum posts that sometimes the NET_STATUS event can be very 
delayed when the code is a pause. I am playing back a locally stored 
progressive download flv.
Any solutions greatly appreciated,
David 
_
http://clk.atdmt.com/UKM/go/195013117/direct/01/
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us 
now___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Mendelsohn, Michael
Hi list...

It seems to me that Flash might not be the tool most threatened by HTML5, but 
rather the PDF format.  HTML5 obviously can't replace all of Flash's 
capabilities.  But, it has all of these new tags that enhance the accuracy of 
describing documents.  So, should the Adobe Reader plugin feel more afraid?  

On a side note, is the iPad supporting the Reader plugin?

Just wondering,
- Michael M.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] AIR - AS3 Badge

2010-05-11 Thread Karim Beyrouti
Hi All, 

I've not been able to find anything on this one, and am wondering if there is 
an AS3 AIR installer badge - so i can embed it in a flash site?

Thanks


Karim
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Random Sort of Array

2010-05-11 Thread Donald Talcott
Kenneth,
thanks for the response, this should work well.

On May 11, 2010, at 4:53 AM, kennethkawam...@gmail.com wrote:

 Have two arrays - first one with 2 products and second one with 7
 products. Randomise the 2nd array  (with Fisher-Yates shuffle ;) and
 concat() the two arrays to produce the array with 9 products.
 -- 
 Kenneth Kawamoto
 http://www.materiaprima.co.uk/
 
 On 11 May 2010 01:44, Donald Talcott dtalc...@mindspring.com wrote:
 Last year I created a small timeline based intro of products for a client
 that used Math.random to produce a random start of the animation sequence.
 This year they would like two specific product animations to always start in
 the #1 and #2 position and the remaining 7 products to play in a random
 order. I have given this some thought and am not sure how to go about it.
 Any ideas out there? If I contain the two specific products to the # 1 and #
 2 positions, and procede randomly to the rest, how might I get all 7
 remaining products to play before replaying #1 and #2?
 
 Last years code below:
 
 stop();
 var minList:Array = [mmPretzel, 3Musketeers_truffle, MilkyWay_Caramel,
 mmCO, mmCherry, Twix_java, VOTE, mmPB, NASCAR];
 var minStart:Number = Math.floor(Math.random()*9);
 trace(minStart);
 trace(minList[minStart]);
 
 function goOn(){
 gotoAndPlay(minList[minStart]);
 };
 setTimeout(goOn,+8);
 
 
 
 
 
 Don Talcott
 316 Greenwood Ave
 Decatur, GA 30030
 404 538-1642
 dtalc...@mindspring.com
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Don Talcott
316 Greenwood Ave
Decatur, GA 30030
404 538-1642
dtalc...@mindspring.com



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Brian Mays
Michael, are you thinking HTML5 may replace PDFs online, or also as a format
for sending documents via email, ftp, etc to be viewed and printed?

Can see that online for information display. For things like tax forms,
business forms, and print design pieces I'm not sure how that would work.
Thoughts?

Brian Mays


On 5/11/10 7:48 AM, Mendelsohn, Michael michael.mendels...@fmglobal.com
wrote:

 Hi list...
 
 It seems to me that Flash might not be the tool most threatened by HTML5,
 but rather the PDF format.  HTML5 obviously can't replace all of Flash's
 capabilities.  But, it has all of these new tags that enhance the accuracy of
 describing documents.  So, should the Adobe Reader plugin feel more afraid?
 
 On a side note, is the iPad supporting the Reader plugin?
 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Dave Watts
 It seems to me that Flash might not be the tool most threatened by HTML5, 
 but rather the PDF format.  HTML5 obviously can't
 replace all of Flash's capabilities.  But, it has all of these new tags that 
 enhance the accuracy of describing documents.  So,
 should the Adobe Reader plugin feel more afraid?

I don't think either Flash or PDF are seriously threatened by the
iPad, really. Even if Apple sells every iPad it makes, this will be a
minuscule amount of the market. For every iPad sold, there will be
dozens of other devices (netbooks, Android tablets, whatever) sold as
well.

 On a side note, is the iPad supporting the Reader plugin?

The iPad includes some native PDF viewing functionality (apparently
fairly hard to get at), and it does support ePub natively - that's the
format that it uses for its books. The ePub format is basically a
retooled PDF format specifically designed for electronic readers.

There are also third-party PDF viewers available for iPad.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Matt S.
The real problem is not market share but mind share. That is, even
if the proportion of users viewing your site via an iPad is small, the
reaction from clients when they realize their content isnt viewable on
the magical device will be disproportionally large. It becomes
stickier still when you consider that a big percentage of the people
who will use iPads are in the ad/creative/communications world, eg the
same people making decisions and recommendations for whether or not to
use Flash. If you're sitting in a conference room in which 90% of the
people have iPhones and there are a few iPads sitting on the table,
arguing that the percentage of non-Flash users is negligible becomes
tougher.

.m

On Tue, May 11, 2010 at 10:52 AM, Dave Watts dwa...@figleaf.com wrote:
 I don't think either Flash or PDF are seriously threatened by the
 iPad, really. Even if Apple sells every iPad it makes, this will be a
 minuscule amount of the market. For every iPad sold, there will be
 dozens of other devices (netbooks, Android tablets, whatever) sold as
 well.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: PDFs, HTML5 and iPads

2010-05-11 Thread Mattheis, Erik (MIN - WSW)
I hear this new technology, CSS-P is going to make using tables for layout 
obsolete. Ha ha.

And Mac's Preview app is the default PDF reader.



_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn, 
Michael
Sent: Tuesday, May 11, 2010 7:49 AM
To: Flash Coders List
Subject: [Flashcoders] OT: PDFs, HTML5 and iPads

Hi list...

It seems to me that Flash might not be the tool most threatened by HTML5, but 
rather the PDF format.  HTML5 obviously can't replace all of Flash's 
capabilities.  But, it has all of these new tags that enhance the accuracy of 
describing documents.  So, should the Adobe Reader plugin feel more afraid?  

On a side note, is the iPad supporting the Reader plugin?

Just wondering,
- Michael M.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Dave Watts
 The real problem is not market share but mind share. That is, even
 if the proportion of users viewing your site via an iPad is small, the
 reaction from clients when they realize their content isnt viewable on
 the magical device will be disproportionally large. It becomes
 stickier still when you consider that a big percentage of the people
 who will use iPads are in the ad/creative/communications world, eg the
 same people making decisions and recommendations for whether or not to
 use Flash. If you're sitting in a conference room in which 90% of the
 people have iPhones and there are a few iPads sitting on the table,
 arguing that the percentage of non-Flash users is negligible becomes
 tougher.

That's definitely how Apple views this, anyway. That's the bet they're
making. As a Flash developer, though, you are obviously going to bet
the other way, right?

Fortunately for us, I don't think that's going to happen. While 90% of
the people in the conference room may have iPhones, I haven't seen any
indicator that leads me to expect that sort of buy-in for iPads. I was
just chatting with a creative director I know - a real Apple zealot -
and he told me he didn't see any value in the iPad. The people in the
conference room will already have MacBooks, etc, and Flash will work
fine on those (once they release a version of Flash Player that uses
the new hardware APIs that Apple just released - and that have been
around in Windows for ages).

And, you know, once people see that Flash can work well on other
devices, maybe the iPhone won't be as popular as it is. I'm seeing a
few people switch from iPhone to Android (mostly from frustration with
ATT, actually). Aside from the breadth of the App Store, there really
isn't any advantage that iPhone has over the Android 2.1 phones.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] changing parent from child

2010-05-11 Thread Lehr, Theodore
I have a container swf - with a child... I want to have a button in the child 
that will change the child in the parent... so if I have:

Parent.swfChild 1.swf

Once I click on a button in child 1, I will have

Parent.swfChild 2.swf

I have tried removeChild(0) to take out the original swf, but that only seems 
to work once
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RE: PDFs, HTML5 and iPads

2010-05-11 Thread Eric E. Dolecki
I have seen developers push a PDF document into a UIWebView (super easy and
it does work), but a better way of getting PDFs to display on an
iPhone/Touch/iPad is pretty simple too in your own application (if you're up
to it).

http://www.random-ideas.net/posts/42

I thought I read something long ago where the actual display technology for
OS X (and perhaps iPhone)  is PDF - but I cannot find any links to that at
the moment.

Just some random tidbits,
Eric


On Tue, May 11, 2010 at 11:03 AM, Mattheis, Erik (MIN - WSW) 
ematth...@webershandwick.com wrote:

 I hear this new technology, CSS-P is going to make using tables for
 layout obsolete. Ha ha.

 And Mac's Preview app is the default PDF reader.



 _ _ _
 Erik Mattheis
 Senior Web Developer
 Minneapolis
 T  952 346 6610
 C 612 377 2272

 Weber Shandwick
 Advocacy starts here.

 PRWeek Global Agency Report Card 2009 - Gold Medal Winner
 The Holmes Report Global Agency of the Year
 PR News Agency of the Year


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn,
 Michael
 Sent: Tuesday, May 11, 2010 7:49 AM
 To: Flash Coders List
 Subject: [Flashcoders] OT: PDFs, HTML5 and iPads

 Hi list...

 It seems to me that Flash might not be the tool most threatened by HTML5,
 but rather the PDF format.  HTML5 obviously can't replace all of Flash's
 capabilities.  But, it has all of these new tags that enhance the accuracy
 of describing documents.  So, should the Adobe Reader plugin feel more
 afraid?

 On a side note, is the iPad supporting the Reader plugin?

 Just wondering,
 - Michael M.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Eric E. Dolecki
Wouldn't the mere fact that iTunes as a sync conduit is a pretty decent...
conduit? Makes things pretty simple and even flexible to a certain degree.

On Tue, May 11, 2010 at 11:10 AM, Dave Watts dwa...@figleaf.com wrote:

  The real problem is not market share but mind share. That is, even
  if the proportion of users viewing your site via an iPad is small, the
  reaction from clients when they realize their content isnt viewable on
  the magical device will be disproportionally large. It becomes
  stickier still when you consider that a big percentage of the people
  who will use iPads are in the ad/creative/communications world, eg the
  same people making decisions and recommendations for whether or not to
  use Flash. If you're sitting in a conference room in which 90% of the
  people have iPhones and there are a few iPads sitting on the table,
  arguing that the percentage of non-Flash users is negligible becomes
  tougher.

 That's definitely how Apple views this, anyway. That's the bet they're
 making. As a Flash developer, though, you are obviously going to bet
 the other way, right?

 Fortunately for us, I don't think that's going to happen. While 90% of
 the people in the conference room may have iPhones, I haven't seen any
 indicator that leads me to expect that sort of buy-in for iPads. I was
 just chatting with a creative director I know - a real Apple zealot -
 and he told me he didn't see any value in the iPad. The people in the
 conference room will already have MacBooks, etc, and Flash will work
 fine on those (once they release a version of Flash Player that uses
 the new hardware APIs that Apple just released - and that have been
 around in Windows for ages).

 And, you know, once people see that Flash can work well on other
 devices, maybe the iPhone won't be as popular as it is. I'm seeing a
 few people switch from iPhone to Android (mostly from frustration with
 ATT, actually). Aside from the breadth of the App Store, there really
 isn't any advantage that iPhone has over the Android 2.1 phones.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Changing CSS of HTML page from swf

2010-05-11 Thread Lehr, Theodore
Is it possible to change the background-image of my HTML page from a .swf?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Dave Watts
 Wouldn't the mere fact that iTunes as a sync conduit is a pretty decent...
 conduit? Makes things pretty simple and even flexible to a certain degree.

I'm not sure I understand your question.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Changing CSS of HTML page from swf

2010-05-11 Thread Matt S.
Look into using Javascript to change the background of the page, then
use externalInterface to call that Javascript.

.m

On Tue, May 11, 2010 at 11:31 AM, Lehr, Theodore
ted_l...@federal.dell.com wrote:
 Is it possible to change the background-image of my HTML page from a .swf?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Eric E. Dolecki
You said, Aside from the breadth of the App Store, there really isn't any
advantage that iPhone has over the Android 2.1 phones.

My point was that iTunes is a pretty compelling conduit for the iPhone. Do
Android phones have such a thing?

On Tue, May 11, 2010 at 11:33 AM, Dave Watts dwa...@figleaf.com wrote:

  Wouldn't the mere fact that iTunes as a sync conduit is a pretty
 decent...
  conduit? Makes things pretty simple and even flexible to a certain
 degree.

 I'm not sure I understand your question.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] RE: changing parent from child

2010-05-11 Thread Mattheis, Erik (MIN - WSW)
Did you mean to say removeChildAt(0)?

Have you tried Loader.unload()?

_ _ _
Erik Mattheis
Senior Web Developer
Minneapolis
T  952 346 6610
C 612 377 2272

Weber Shandwick
Advocacy starts here.

PRWeek Global Agency Report Card 2009 - Gold Medal Winner
The Holmes Report Global Agency of the Year
PR News Agency of the Year


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore
Sent: Tuesday, May 11, 2010 10:15 AM
To: Flash Coders List
Subject: [Flashcoders] changing parent from child

I have a container swf - with a child... I want to have a button in the child 
that will change the child in the parent... so if I have:

Parent.swfChild 1.swf

Once I click on a button in child 1, I will have

Parent.swfChild 2.swf

I have tried removeChild(0) to take out the original swf, but that only seems 
to work once
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Changing CSS of HTML page from swf

2010-05-11 Thread Lehr, Theodore
sweet - love it!


From: flashcoders-boun...@chattyfig.figleaf.com 
[flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt S. 
[mattsp...@gmail.com]
Sent: Tuesday, May 11, 2010 11:36 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Changing CSS of HTML page from swf

Look into using Javascript to change the background of the page, then
use externalInterface to call that Javascript.

.m

On Tue, May 11, 2010 at 11:31 AM, Lehr, Theodore
ted_l...@federal.dell.com wrote:
 Is it possible to change the background-image of my HTML page from a .swf?
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RE: changing parent from child

2010-05-11 Thread jonathan howe
As soon as you removeChild on child1, it loses the reference to the parent.
If you want to continue on that tightly-coupled path, I would store a
temporary reference to the parent, then unload child one and use the
temporary reference to parent to load the new child.

The design I would choose is to create an event that is broadcast from
child1. In the parent, I would add an event listener to child1. When the
event fires, unload 1 and load 2 from the eventlistener in parent.

-jonathan



On Tue, May 11, 2010 at 12:33 PM, Mattheis, Erik (MIN - WSW) 
ematth...@webershandwick.com wrote:

 Did you mean to say removeChildAt(0)?

 Have you tried Loader.unload()?

 _ _ _
 Erik Mattheis
 Senior Web Developer
 Minneapolis
 T  952 346 6610
 C 612 377 2272

 Weber Shandwick
 Advocacy starts here.

 PRWeek Global Agency Report Card 2009 - Gold Medal Winner
 The Holmes Report Global Agency of the Year
 PR News Agency of the Year


 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Lehr, Theodore
 Sent: Tuesday, May 11, 2010 10:15 AM
 To: Flash Coders List
 Subject: [Flashcoders] changing parent from child

 I have a container swf - with a child... I want to have a button in the
 child that will change the child in the parent... so if I have:

 Parent.swfChild 1.swf

 Once I click on a button in child 1, I will have

 Parent.swfChild 2.swf

 I have tried removeChild(0) to take out the original swf, but that only
 seems to work once
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
-jonathan howe
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Dave Watts
 You said, Aside from the breadth of the App Store, there really isn't any
 advantage that iPhone has over the Android 2.1 phones.

 My point was that iTunes is a pretty compelling conduit for the iPhone. Do
 Android phones have such a thing?

OK, I see. Well, first, iTunes isn't all that compelling for me (on
Windows) beyond the Music Store, which I don't use that much. I really
dislike iTunes, because I have frequent sync problems with my 3G iPod.
But that's neither here nor there, I guess.

Android doesn't come with anything for this out of the box. You just
get the phone, and no desktop software. But DoubleTwist is a good
solution. Also, it's dead simple to just mount your Android phone as a
generic USB storage device. Finally, there's a plugin for iTunes to
let it work with Android phones:

http://ita.sourceforge.net/

I haven't used it, so I don't know how well it works.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread allandt bik-elliott (thefieldcomic.com)
http://www.t3.com/news/amazon-mp3-store-launches-android-app?=43281

http://www.t3.com/news/amazon-mp3-store-launches-android-app?=43281i
prefer the amazon mp3 store on the desktop anyway - i don't know how good it
is on android but the promise is there at least

a

On 11 May 2010 18:42, Dave Watts dwa...@figleaf.com wrote:

  You said, Aside from the breadth of the App Store, there really isn't
 any
  advantage that iPhone has over the Android 2.1 phones.
 
  My point was that iTunes is a pretty compelling conduit for the iPhone.
 Do
  Android phones have such a thing?

 OK, I see. Well, first, iTunes isn't all that compelling for me (on
 Windows) beyond the Music Store, which I don't use that much. I really
 dislike iTunes, because I have frequent sync problems with my 3G iPod.
 But that's neither here nor there, I guess.

 Android doesn't come with anything for this out of the box. You just
 get the phone, and no desktop software. But DoubleTwist is a good
 solution. Also, it's dead simple to just mount your Android phone as a
 generic USB storage device. Finally, there's a plugin for iTunes to
 let it work with Android phones:

 http://ita.sourceforge.net/

 I haven't used it, so I don't know how well it works.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Dave Watts
 http://www.t3.com/news/amazon-mp3-store-launches-android-app?=43281i
 prefer the amazon mp3 store on the desktop anyway - i don't know how good it
 is on android but the promise is there at least

I've used it to download free stuff on Android - if your phone doesn't
have Mojo Nixon, your phone could use some fixin' - and it works
pretty well.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Karl DeSaulniers

Curious.
How did they pull this one off legally? And does Apple know about this?
I would think that they would clamp down even harder on something  
like this.
I mean, to me it seems this isn't much different then say  
jailbreaking an iPhone.



On May 11, 2010, at 12:42 PM, Dave Watts wrote:


 Finally, there's a plugin for iTunes to
let it work with Android phones:


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Donald Talcott
Have a file with 9 animations, each with a frame label on the timeline
 I've created 2 arrays, sorted the 2nd one and concat() the two into a third 
array.
I'm tracing all arrays and they are working as I'd like. Now I would like to 
gotoAndPlay the final array.
Can this be done? See code below:

stop();
var mOne:Array = [mmPretzel, 3Musketeers_truffle];
var mTwo:Array = [MilkyWay_Caramel, mmCO, mmCherry, Twix_java, VOTE, 
mmPB, NASCAR];


function shuffle(mTwo,b):int {
var num : int = Math.round(Math.random()*2)-1;
return num;
}
var b:Array = mTwo.sort(shuffle);
trace(b);

var mOnemTwo:Array = mOne.concat(b);
trace(mOnemTwo);




/*function goOn(){
gotoAndPlay(mOnemTwo);
};
setTimeout(goOn,+8);
*/


When I uncomment the function, I get the following error.

mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,Twix_java,NASCAR
mmPretzel,3Musketeers_truffle,mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,Twix_java,NASCAR

ArgumentError: Error #2109: Frame label 
mmPretzel,3Musketeers_truffle,mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,Twix_java,NASCAR
 not found in scene Scene 1.
at flash.display::MovieClip/gotoAndPlay()
at Mars_2010Test_fla::MainTimeline/goOn()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

Don Talcott
316 Greenwood Ave
Decatur, GA 30030
404 538-1642
dtalc...@mindspring.com



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Keith Reinfeld
 gotoAndPlay(mOnemTwo); 

You need to pass just one element of the mOnemTwo array rather than the
entire array. 
So: 

gotoAndPlay(mOnemTwo[index]);

Regards,

Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net

 -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-
 boun...@chattyfig.figleaf.com] On Behalf Of Donald Talcott
 Sent: Tuesday, May 11, 2010 5:25 PM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] gotoAndPlay a sorted array
 
 Have a file with 9 animations, each with a frame label on the timeline
  I've created 2 arrays, sorted the 2nd one and concat() the two into a
 third array.
 I'm tracing all arrays and they are working as I'd like. Now I would
 like to gotoAndPlay the final array.
 Can this be done? See code below:
 
 stop();
 var mOne:Array = [mmPretzel, 3Musketeers_truffle];
 var mTwo:Array = [MilkyWay_Caramel, mmCO, mmCherry, Twix_java,
 VOTE, mmPB, NASCAR];
 
 
 function shuffle(mTwo,b):int {
 var num : int = Math.round(Math.random()*2)-1;
 return num;
 }
 var b:Array = mTwo.sort(shuffle);
 trace(b);
 
 var mOnemTwo:Array = mOne.concat(b);
 trace(mOnemTwo);
 
 
 
 
 /*function goOn(){
 gotoAndPlay(mOnemTwo);
 };
 setTimeout(goOn,+8);
 */
 
 
 When I uncomment the function, I get the following error.
 
 mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,Twix_java,NASCAR
 mmPretzel,3Musketeers_truffle,mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,
 Twix_java,NASCAR
 
 ArgumentError: Error #2109: Frame label
 mmPretzel,3Musketeers_truffle,mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,
 Twix_java,NASCAR not found in scene Scene 1.
   at flash.display::MovieClip/gotoAndPlay()
   at Mars_2010Test_fla::MainTimeline/goOn()
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at SetIntervalTimer/onTimer()
   at flash.utils::Timer/_timerDispatch()
   at flash.utils::Timer/tick()
 
 Don Talcott
 316 Greenwood Ave
 Decatur, GA 30030
 404 538-1642
 dtalc...@mindspring.com
 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Mendelsohn, Michael
Thanks everyone for responding.  

Brian, yes I was thinking along those lines.  It just seems to me that as 
modern browsers zoom in on the whole page by pinching, etc, it means it's more 
acceptable to use pixels for text fonts, rather than ems or relative sizing.  
So if documents online can be designed at the pixel level, fully zoomable, with 
new descriptive tags, then it's feasible to fully render things like tax forms. 
 I was just thinking that with the HTML5 tags, that might substitute for 
postscript pdfs.

For something like a tax form, I can see laying out a bunch of divs, absolutely 
positioned, all with height=243px width=263px etc, exact dimensions, and 
filled with 12px Times, instead of what I might do otherwise, relative sizing, 
like fontSize=0.8em, which would be better for Section 508 compliance.  

The Flash on Androids just can't happen soon enough though in my mind.  :-)

- MM


Michael, are you thinking HTML5 may replace PDFs online, or also as a formate
for sending documents via email, ftp, etc to be viewed and printed?

Can see that online for information display. For things like tax forms,
business forms, and print design pieces I'm not sure how that would work.
Thoughts?


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Donald Talcott

Keith,
added [index] to the function;
now have the following error:
1120:Access of undefined property index.

Wish I could wrap my head around this. Any thoughts?

On May 11, 2010, at 7:31 PM, Keith Reinfeld wrote:


gotoAndPlay(mOnemTwo);


You need to pass just one element of the mOnemTwo array rather than  
the

entire array.
So:

gotoAndPlay(mOnemTwo[index]);

Regards,

Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-
boun...@chattyfig.figleaf.com] On Behalf Of Donald Talcott
Sent: Tuesday, May 11, 2010 5:25 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] gotoAndPlay a sorted array

Have a file with 9 animations, each with a frame label on the  
timeline

I've created 2 arrays, sorted the 2nd one and concat() the two into a
third array.
I'm tracing all arrays and they are working as I'd like. Now I would
like to gotoAndPlay the final array.
Can this be done? See code below:

stop();
var mOne:Array = [mmPretzel, 3Musketeers_truffle];
var mTwo:Array = [MilkyWay_Caramel, mmCO, mmCherry,  
Twix_java,

VOTE, mmPB, NASCAR];


function shuffle(mTwo,b):int {
var num : int = Math.round(Math.random()*2)-1;
return num;
}
var b:Array = mTwo.sort(shuffle);
trace(b);

var mOnemTwo:Array = mOne.concat(b);
trace(mOnemTwo);




/*function goOn(){
gotoAndPlay(mOnemTwo);
};
setTimeout(goOn,+8);
*/


When I uncomment the function, I get the following error.

mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,Twix_java,NASCAR
mmPretzel, 
3Musketeers_truffle,mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,

Twix_java,NASCAR

ArgumentError: Error #2109: Frame label
mmPretzel, 
3Musketeers_truffle,mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,

Twix_java,NASCAR not found in scene Scene 1.
at flash.display::MovieClip/gotoAndPlay()
at Mars_2010Test_fla::MainTimeline/goOn()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

Don Talcott
316 Greenwood Ave
Decatur, GA 30030
404 538-1642
dtalc...@mindspring.com



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: PDFs, HTML5 and iPads

2010-05-11 Thread Jer Brand
Assuming you're talking about the iTunes plug-in, there's not a whole lot
they can do about .Net software running on a Windows computer, spare alter
how iTunes does it's thing. It wouldn't surprise me to learn (from reading
the FAQ) that they've had to alter the software a few times to keep up with
changes in iTunes.

Even if it were illegal under DMCA (which I doubt), is sorta like the M4P
DRM stripping apps out there: Sure they're illegal, but it's a costly fight
for them and they can't win the war (ask the RIAA about that one).

What truly frightens me is the idea that because this software allows you to
use your software and hardware with a non-Apple product, you assume it is
illegal. Has it really come to this? That we assume we can't actually use
our own computers anymore?

Now you kids get off my damn lawn!


On Tue, May 11, 2010 at 3:18 PM, Karl DeSaulniers k...@designdrumm.comwrote:

 Curious.
 How did they pull this one off legally? And does Apple know about this?
 I would think that they would clamp down even harder on something like
 this.
 I mean, to me it seems this isn't much different then say jailbreaking an
 iPhone.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Karl DeSaulniers

Hi Don,
How are the different animations playing?
Are you having them play to the end of one then bounce over to the  
next one in your final array?
Or is a user clicking a button to send it to the frame to play and  
the button is just dynamic?


In your function, you can only go play one frame at a time and not  
all the frames at the same time, so you have to choose one.

EG: If I wanted to play the second item in the final array,

function goOn(){
gotoAndPlay(mOnemTwo[1]);
};
setTimeout(goOn,+8);

I think Keith was using index as a reference to what index you  
wanted, IE: 0, 1, 2, 3, etc.. not the actual word index.


HTH

Karl


On May 11, 2010, at 8:24 PM, Donald Talcott wrote:


Keith,
added [index] to the function;
now have the following error:
1120:Access of undefined property index.

Wish I could wrap my head around this. Any thoughts?

On May 11, 2010, at 7:31 PM, Keith Reinfeld wrote:


gotoAndPlay(mOnemTwo);


You need to pass just one element of the mOnemTwo array rather  
than the

entire array.
So:

gotoAndPlay(mOnemTwo[index]);

Regards,

Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-
boun...@chattyfig.figleaf.com] On Behalf Of Donald Talcott
Sent: Tuesday, May 11, 2010 5:25 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] gotoAndPlay a sorted array

Have a file with 9 animations, each with a frame label on the  
timeline
I've created 2 arrays, sorted the 2nd one and concat() the two  
into a

third array.
I'm tracing all arrays and they are working as I'd like. Now I would
like to gotoAndPlay the final array.
Can this be done? See code below:

stop();
var mOne:Array = [mmPretzel, 3Musketeers_truffle];
var mTwo:Array = [MilkyWay_Caramel, mmCO, mmCherry,  
Twix_java,

VOTE, mmPB, NASCAR];


function shuffle(mTwo,b):int {
var num : int = Math.round(Math.random()*2)-1;
return num;
}
var b:Array = mTwo.sort(shuffle);
trace(b);

var mOnemTwo:Array = mOne.concat(b);
trace(mOnemTwo);




/*function goOn(){
gotoAndPlay(mOnemTwo);
};
setTimeout(goOn,+8);
*/


When I uncomment the function, I get the following error.

mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,Twix_java,NASCAR
mmPretzel, 
3Musketeers_truffle,mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,

Twix_java,NASCAR

ArgumentError: Error #2109: Frame label
mmPretzel, 
3Musketeers_truffle,mmCherry,mmPB,mmCO,MilkyWay_Caramel,VOTE,

Twix_java,NASCAR not found in scene Scene 1.
at flash.display::MovieClip/gotoAndPlay()
at Mars_2010Test_fla::MainTimeline/goOn()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

Don Talcott
316 Greenwood Ave
Decatur, GA 30030
404 538-1642
dtalc...@mindspring.com



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] help with CameraDetection class

2010-05-11 Thread Ktu
Hey List,

I wanted to throw together a list of Camera.name together.

If you have a webcam that you use on your computer (or built in) could you
please reply with the names of all the cameras that are connected.

1. Open a .swf (internet, local whatever)
2. Right click anywhere
3. choose settings from the context menu
4. go to camera tab (last one)
5. send me all the names that show up in your drop down


Specifically I would love if a macbook user could help. macbooks tend to
have three always there, and the last one is normally the webcam. I'm
updating the macbook detection in my class.

I'm not sure what I'm going to do with the list of webcams, but I'll compile
it and put it on my blog just in case.
Thanks list,
Ktu

blog.cataclysmicrewind.com/webcamdetection/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] gotoAndPlay a sorted array

2010-05-11 Thread Keith Reinfeld
Don, 
 
Yes, Karl is correct. In my post 'index' is a variable of type Number which
you would increment upon successive calls to function goOn(). You access
elements of an array by using the array access operator '[]'. The indices of
arrays are zero based, so the index of the first element is 0, the index of
the second element is 1, the index of the third element is 2, and so on. You
can use the length property of an array to find out how many elements there
are in the array. In your case you have an array with 9 elements so you
would want to use index values between 0 and 8. Note that mOnemTwo.length
(9) is one higher than the highest index value you can use with this array
(8). The sample code below includes an if/else block to manage index values.

 
// initialize index 
var index:Number = 0; 
function goOn(){ 
gotoAndPlay(mOnemTwo[index]); 
// manage the index 
if(index  mOnemTwo.length - 1){ 
// increment index by one 
index++; 
}else{ 
// set index back to zero 
index = 0; 
} 
}; 
 
I have to echo Karl's questions about how you are planning to make
subsequent calls to function goOn(). What you have, setTimeout(goOn,+8),
will kick off the first one (although I don't understand the '+8' in the
delay parameter) but what about the rest? Any suggestions I could make here
would be pure guesswork without knowing more about the structure of your
file. 
 
HTH
 
Regards, 

Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders