Re: [Flashcoders] Classes added

2008-01-23 Thread slangeberg
to save typing, merely hit control - enter when you start instantiating, and
code completion will enter the import for you, such as:

var c:DisplayOb...(ctrl-entr)...

-Scott

On Jan 15, 2008 3:42 PM, Merrill, Jason [EMAIL PROTECTED]
wrote:

 2) It makes it much easier to tell, at a glance, what a class
 depends on.  This can be beneficial in many cases.

 That's the main reason I do it, I like to see all dependancies, for my
 own benefit and for others who will come after me.   package.* always
 seemed like a cop-out to me, even if it saves some typing. :)

 Jason Merrill
 Bank of America
 GTO LLD Solutions Design  Development
 eTools  Multimedia

 Bank of America Flash Platform Developer Community




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




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


Re: [Flashcoders] Re: [flexcoders] Re: Caching problem

2007-03-23 Thread slangeberg

Much better approach!

Now, my question is, what do people do to prevent caching of swf files
themselves?

Here's the setup: I'm deploying a business app, and want all users to see
the update to the SWF. However, I don't want to tell everyone to clear their
cache. Should I just pass a version number to the swf request, to update to
that point, ie - point to:

$vers = 1.0.2;

$path = /flash/myMovie.swf?vers= . $vers;

object file=$path...etc.

Is there a best practice for this kind of thing? I'm also curious how this
will apply to Module development in Flex. How do I make sure that people
have current modules, without blasting their cache, every time?

Thanks,

-Scott


On 3/14/07, Thomas Fowler [EMAIL PROTECTED] wrote:


I'm sure someone has already mentioned this but you could always append
the
date in milliseconds to the query string as well.

Like so:

var date : Date = new Date();

url:String = resource + ?d= + date.UTC();

- Original Message -
From: slangeberg [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com; Flashcoders mailing list
flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 14, 2007 10:52 AM
Subject: [Flashcoders] Re: [flexcoders] Re: Caching problem

 That'll work with any cache-busting you need to do. I use it in testing,
 to
 un-cache the swf file itself, when viewed on server. Ie: send rand var
in
 url and if it's present, pass it in to swf call (swfobject + php, here):

 var so = new SWFObject( ProductBuilder.swf?rand=?=$rand?,
 product_builder, 100%, 100%, 9, #FF);

 Saves me the 'pain' of going through some menu to clear browser's cache,
 not
 to mention losing your browser's cache, in order to update one element!

 -Scott

 On 14 Mar 2007 08:44:42 -0700, Alex [EMAIL PROTECTED] wrote:

   Wow! O_O' Works flawlessly!! :-D

 Many thanks for that trick dude!

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 slangeberg [EMAIL PROTECTED] wrote:
 
  With Flash, I've learned to do the lo-tech method of attaching
 random
  numbers to the path. Simple, but it's been effective!:
 
  url:String = resource + ?rand= + Math.floor(Math.random() *
 10);
 
  -Scott
 
  On 14 Mar 2007 08:07:52 -0700, Alex [EMAIL PROTECTED] wrote:
  
   Hi there!
  
   I have an xml file that needs to be loaded eventually using a
   URLRequest. I'm trying to avoid loading a cached file using these
   headers:
  
   urlRequest.requestHeaders.push(new URLRequestHeader(Cache-
   Control, no-cache, no-store, max-age=0, must-revalidate));
   urlRequest.requestHeaders.push(new URLRequestHeader
   (Expires, Fri, 30 Oct 1998 14:19:41 GMT));
   urlRequest.requestHeaders.push(new URLRequestHeader
   (Pragma, no-cache));
  
   It works ok in firefox and IE6.0.2900, but I still obtain a
 cached file
   in IE6.0.3790+ and IE7.
  
   Do I need to add any more headers? or what's the problem here?
  
   Thanks in advance
  
  
  
 
 
 
  --
 
  : : ) Scott
 

  __._,_.___  Messages in this topic
 
http://groups.yahoo.com/group/flexcoders/message/67849;_ylc=X3oDMTM3NXM3YjkzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAM2Nzg1OARzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNzM4ODcwODIEdHBjSWQDNjc4NDk-
(
 4)  Reply (via web post)
 
http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJyN3ZkcTU0BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAM2Nzg1OARzZWMDZnRyBHNsawNycGx5BHN0aW1lAzExNzM4ODcwODI-?act=replymessageNum=67858
|
 Start
 a new topic
 
http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmb24wbnUzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzExNzM4ODcwODI-


 Messages
http://groups.yahoo.com/group/flexcoders/messages;_ylc=X3oDMTJmbTIyZWJtBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzExNzM4ODcwODI-

  --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
  [image: Yahoo!
 Groups]
http://groups.yahoo.com/;_ylc=X3oDMTJlOGthMmFwBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTE3Mzg4NzA4Mg--

 Change settings via the
 Web
http://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJndjhlbHRhBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMTczODg3MDgy
(Yahoo!
 ID required)
 Change settings via email: Switch delivery to Daily
 Digest[EMAIL PROTECTED]:+Digest
|
 Switch
 format to
 Traditional
[EMAIL PROTECTED]:+Traditional

  Visit Your Group
 
http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJldGs4djh2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTE3Mzg4NzA4Mg--
|
 Yahoo!
 Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe
 [EMAIL PROTECTED]
   Recent Activity

-  121
New
 Members
http://groups.yahoo.com/group/flexcoders/members;_ylc

[Flashcoders] Re: [flexcoders] Re: Caching problem

2007-03-23 Thread slangeberg
=X3oDMTJka283MDRnBF9TAzk3MzU5NzE0BF9wAzUEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTczODg0ODcy?t=msk=Software+development+companyw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=v7C6JKvvBLf0I6WC1FPTvA

 Cool Websites

Know a good 
site?http://us.ard.yahoo.com/SIG=12jpbt4mt/M=493064.10322723.10977639.9706567/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1173892072/A=4438988/R=0/SIG=111nufaaj/*http://www.bix.com/contest/4746

Share and vote

on Bix.com http://bix.com/!
New business?

Get new 
customers.http://us.ard.yahoo.com/SIG=12i5bi2ht/M=493064.9803227.10510220.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1173892072/A=3848640/R=0/SIG=131an6mds/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2002cmp=Yahooctv=Groups1s=Ys2=s3=b=50

List your web site

in Yahoo! Search.
Yahoo! Groups

Start a 
grouphttp://groups.yahoo.com/start;_ylc=X3oDMTJwZWY5M2o0BF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNuY21vZARzbGsDZ3JvdXBzMgRzdGltZQMxMTczODg0ODcy

in 3 easy steps.

Connect with others.
 .


On 23 Mar 2007 08:49:04 -0700, Tom Chiverton [EMAIL PROTECTED]
wrote:


On Friday 23 Mar 2007, slangeberg wrote:
 Now, my question is, what do people do to prevent caching of swf files
 themselves?

We use a web server / accelerator that isn't broken :-)
Seriously - if you change a file on disk, and your web server serves up
the
now non-existant file, you have big problems.

--
Tom Chiverton
Helping to dramatically consolidate out-of-the-box platforms
On: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office address
is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Re: [flexcoders] Re: Caching problem

2007-03-14 Thread slangeberg

That'll work with any cache-busting you need to do. I use it in testing, to
un-cache the swf file itself, when viewed on server. Ie: send rand var in
url and if it's present, pass it in to swf call (swfobject + php, here):

var so = new SWFObject( ProductBuilder.swf?rand=?=$rand?,
product_builder, 100%, 100%, 9, #FF);

Saves me the 'pain' of going through some menu to clear browser's cache, not
to mention losing your browser's cache, in order to update one element!

-Scott

On 14 Mar 2007 08:44:42 -0700, Alex [EMAIL PROTECTED] wrote:


  Wow! O_O' Works flawlessly!! :-D

Many thanks for that trick dude!

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
slangeberg [EMAIL PROTECTED] wrote:

 With Flash, I've learned to do the lo-tech method of attaching
random
 numbers to the path. Simple, but it's been effective!:

 url:String = resource + ?rand= + Math.floor(Math.random() *
10);

 -Scott

 On 14 Mar 2007 08:07:52 -0700, Alex [EMAIL PROTECTED] wrote:
 
  Hi there!
 
  I have an xml file that needs to be loaded eventually using a
  URLRequest. I'm trying to avoid loading a cached file using these
  headers:
 
  urlRequest.requestHeaders.push(new URLRequestHeader(Cache-
  Control, no-cache, no-store, max-age=0, must-revalidate));
  urlRequest.requestHeaders.push(new URLRequestHeader
  (Expires, Fri, 30 Oct 1998 14:19:41 GMT));
  urlRequest.requestHeaders.push(new URLRequestHeader
  (Pragma, no-cache));
 
  It works ok in firefox and IE6.0.2900, but I still obtain a
cached file
  in IE6.0.3790+ and IE7.
 
  Do I need to add any more headers? or what's the problem here?
 
  Thanks in advance
 
 
 



 --

 : : ) Scott


 __._,_.___  Messages in this topic
http://groups.yahoo.com/group/flexcoders/message/67849;_ylc=X3oDMTM3NXM3YjkzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAM2Nzg1OARzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNzM4ODcwODIEdHBjSWQDNjc4NDk-(
4)  Reply (via web post)
http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJyN3ZkcTU0BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAM2Nzg1OARzZWMDZnRyBHNsawNycGx5BHN0aW1lAzExNzM4ODcwODI-?act=replymessageNum=67858|
 Start
a new topic
http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmb24wbnUzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzExNzM4ODcwODI-
 
Messageshttp://groups.yahoo.com/group/flexcoders/messages;_ylc=X3oDMTJmbTIyZWJtBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzExNzM4ODcwODI-
 --
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 [image: Yahoo! 
Groups]http://groups.yahoo.com/;_ylc=X3oDMTJlOGthMmFwBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTE3Mzg4NzA4Mg--
Change settings via the 
Webhttp://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJndjhlbHRhBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMTczODg3MDgy(Yahoo!
 ID required)
Change settings via email: Switch delivery to Daily Digest[EMAIL 
PROTECTED]:+Digest| Switch
format to Traditional[EMAIL PROTECTED]:+Traditional
 Visit Your Group
http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJldGs4djh2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTE3Mzg4NzA4Mg--|
 Yahoo!
Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe
[EMAIL PROTECTED]
  Recent Activity

   -  121
   New 
Membershttp://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnajBuMzdqBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMTczODg3MDgy

 Visit Your Group
http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmajRlb2pvBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzExNzM4ODcwODI-
SPONSORED LINKS

   - Software development 
toolhttp://groups.yahoo.com/gads;_ylc=X3oDMTJkYzBpc2N2BF9TAzk3MzU5NzE0BF9wAzEEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTczODg3MDgy?t=msk=Software+development+toolw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=-g7I-F8ruxPL8no8ZFAx0w
   - Software 
developmenthttp://groups.yahoo.com/gads;_ylc=X3oDMTJkbzY0cjJuBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTczODg3MDgy?t=msk=Software+developmentw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=gr9mtAoKFJnQF06zjx1waw
   - Software development 
serviceshttp://groups.yahoo.com/gads;_ylc=X3oDMTJkczJubms3BF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTczODg3MDgy?t=msk=Software+development+servicesw1=Software

[Flashcoders] FWD: Flex 2 API for Yahoo! Maps

2007-02-09 Thread slangeberg

Sorry if this has hit this list already, but it is important!

-Scott

-- Forwarded message --
From: ...
Date: Feb 9, 2007 4:09 PM
Subject: [flexcoders] Flex 2 API for Yahoo! Maps
To: flexcoders@yahoogroups.com

 There's a suggestion on the Yahoo Developer Network for a Flex 2 API for
Yahoo Maps.

All of you want it, even if you don't think you do. :)

So throw in that vote!

http://suggestions.yahoo.com/detail/?prop=ydnfid=3208

__._,_.___  Messages in this topic
http://groups.yahoo.com/group/flexcoders/message/64371;_ylc=X3oDMTM3ZGZxZ3ViBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAM2NDM3MQRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNzEwNTkxMDIEdHBjSWQDNjQzNzE-(
1)  Reply (via web post)
http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJydDJvanNuBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAM2NDM3MQRzZWMDZnRyBHNsawNycGx5BHN0aW1lAzExNzEwNTkxMDI-?act=replymessageNum=64371|
Start
a new topic
http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmbDh1MjEzBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzExNzEwNTkxMDI-
Messageshttp://groups.yahoo.com/group/flexcoders/messages;_ylc=X3oDMTJmMDlwb2htBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNtc2dzBHN0aW1lAzExNzEwNTkxMDI-
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
[image: Yahoo!
Groups]http://groups.yahoo.com/;_ylc=X3oDMTJlc2s0aDV0BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTE3MTA1OTEwMg--
Change settings via the
Webhttp://groups.yahoo.com/group/flexcoders/join;_ylc=X3oDMTJnajg3aGVoBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNzdG5ncwRzdGltZQMxMTcxMDU5MTAy(Yahoo!
ID required)
Change settings via email: Switch delivery to Daily
Digest[EMAIL PROTECTED]:+Digest|
Switch
format to Traditional[EMAIL PROTECTED]:+Traditional
Visit Your Group
http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJlOTJlYjhwBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNocGYEc3RpbWUDMTE3MTA1OTEwMg--|
Yahoo!
Groups Terms of Use http://docs.yahoo.com/info/terms/ | Unsubscribe
[EMAIL PROTECTED]
 Recent Activity

  -  107
  New 
Membershttp://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnbnRodGw2BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMTcxMDU5MTAy

Visit Your Group
http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmaDl2MzJoBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzExNzEwNTkxMDI-
SPONSORED LINKS

  - Software development
toolhttp://groups.yahoo.com/gads;_ylc=X3oDMTJkamN0aHM3BF9TAzk3MzU5NzE0BF9wAzEEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Software+development+toolw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=-g7I-F8ruxPL8no8ZFAx0w
  - Software 
developmenthttp://groups.yahoo.com/gads;_ylc=X3oDMTJkODJtb2JyBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Software+developmentw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=gr9mtAoKFJnQF06zjx1waw
  - Software development
serviceshttp://groups.yahoo.com/gads;_ylc=X3oDMTJkY2ttbmN1BF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Software+development+servicesw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=ntjRNxtOdZ_jUSLfJPIkiw
  - Home design
softwarehttp://groups.yahoo.com/gads;_ylc=X3oDMTJkYTBuczhmBF9TAzk3MzU5NzE0BF9wAzQEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Home+design+softwarew1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=UKtw8jm7fEaJty2hcCVyFg
  - Software development
companyhttp://groups.yahoo.com/gads;_ylc=X3oDMTJkcDhiMGV0BF9TAzk3MzU5NzE0BF9wAzUEZ3JwSWQDMTIyODYxNjcEZ3Jwc3BJZAMxNzA1MDA3MjA3BHNlYwNzbG1vZARzdGltZQMxMTcxMDU5MTAy?t=msk=Software+development+companyw1=Software+development+toolw2=Software+developmentw3=Software+development+servicesw4=Home+design+softwarew5=Software+development+companyc=5s=152g=2.sig=v7C6JKvvBLf0I6WC1FPTvA

 Need traffic?

Drive 
customershttp://us.ard.yahoo.com/SIG=12ifnmdp8/M=493064.9803227.10510220.8674578/D=groups/S=1705007207:NC/Y=YAHOO/EXP=1171066302/A=3848644/R=0/SIG=131l83flq/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2006cmp=Yahooctv=Groups5s=Ys2=s3=b=50

With search ads

on 

Re: [Flashcoders] brain is dead: Syntax Error, why?

2007-02-06 Thread slangeberg

You probably need to tell flash where to find your classes.

If this is flash 8, open your .fla and select

- Edit - Preferences - ActionScript

- Language: Actionscript 2.0 Settings... (button)

- Classpath: [+]  (plus button)

- type in: ./as (to open field)

This will let flash look in that folder for your class packages - this
affects all flash projects. If you want to set it on a project-level basis,
select:

- File - Publish Settings - Flash - Actionscript 2.0: Settings (button)

And set it there!

Good luck! If all else fails, post your code in a zip and we'll take a look.

-Scott


On 2/6/07, Jon Bennett [EMAIL PROTECTED] wrote:


 Have you defined:

 class core.Folder1.Folder2.App
 {
//
 }

 At that location to import?

 I would suggest the Java style:

 com.company_name.project_name.package.class

that's what I've been doing!

I have a folder, which is Version1

inside that I have my FLA

bia_region_map.fla

Then I have a folder called 'as' which has an as file 'firstframe.as'

then, I have the following structure:

com/3Sixty/BIARegionMap/

inside of which I have:

class com.3Sixty.BIARegionMap.App
{
//
}

does that help?

Where am I going wrong!

thanks,

Jon

--


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] more bitmap questions

2007-02-03 Thread slangeberg

you'll need to recreate the process. Bitmaps are only displayed by attaching
to movieclips.

-Scott

On 2/3/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:


Hi all,

I have a Movieclip that i attach to the stage at runtime.  i then load a
jpg
into that movieclip and on the press of a button remove all clips on stage
and create an entire new
screen (screen being new ui elements).  before i remove the clips i copy
the
movieclip with the jpg in it, but it seems when i remove all the clips the
bitmapdata goes with it...even though i saved it as a member of my
class...can someone confirm this, and if so is there a better way to store
and copy the data as needed?

thanks

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Fwd: [Flashcoders] RE: Q:Dynamically Scale a MovieClip by dragging

2007-02-02 Thread slangeberg

Some indispensable AS code, here. Nothing like people opening their hearts
to the community, by sharing important code like this!

-Scott

-- Forwarded message --
From: Jack Doyle [EMAIL PROTECTED]
Date: Feb 1, 2007 7:55 PM
Subject: [Flashcoders] RE: Q:Dynamically Scale a MovieClip by dragging
To: flashcoders@chattyfig.figleaf.com

To interactively scale/rotate/move any MoveClip in an intuitive way at
runtime in a manner similar to modern-day graphics applications like
Photoshop and Illustrator, feel free to use my TransformManager class:

http://www.greensock.com/ActionScript/TransformManager/

There's an interactive sample there. I put a lot of time into attempting to
making it user-friendly and relatively intuitive, but I haven't tested it
extensively yet so your comments/suggestions are welcome. It should handle
just about any MovieClip regardless of where the registration point is, etc.

Hope it helps.

Jack Doyle


-Original Message-
Date: Tue, 23 Jan 2007 16:07:39 -0800
From: [EMAIL PROTECTED]
Subject: [Flashcoders] Q:Dynamically Scale a MovieClip by dragging
To: flashcoders@chattyfig.figleaf.com
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

I am creating a 'clip-art' type illustration application. users will have
the ability to move, rotate and scale movielip objects they drag from a
palette.

I'd like to allow interactive scaling and rotating via dragging the bounding
box (as well as thru a slider), but am not sure how to first proceed.

Can anyone point me in the right direction, either pseudo-code or an
existing example online?

Thanks in advance!


[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
- Bruce Mau,'LifeStyle'



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash diagnostic tools

2007-02-02 Thread slangeberg

Sorry if this is redundant, but is there now an XRay connector for Flex 2 /
Flash 9?

Thanks,

-Scott

On 2/2/07, Karina Steffens [EMAIL PROTECTED] wrote:


I would highly recommend Xray (http://osflash.org/xray) - Don't know what
I'd do without it...

Aside from Xraying your app, you can also set up customised traces, that
are much better than our beloved trace() command. And it also works in
your
runtime environment.

Karina





 -Original Message-
 From: David Ham [mailto:[EMAIL PROTECTED]
 Sent: 01 February 2007 20:40
 To: FlashCoders
 Subject: [Flashcoders] Flash diagnostic tools

 I am working on a Flash app and it is starting to exhibit
 some performance problems. Is there any tool or technique
 people use to analyze Flash apps as they are running? Aside
 from the beloved trace
 () of course?

 Thanks for any advice you can offer,

 OK
 DAH
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Was: Flash diagnostic tools - Xray Flex2 connector [VERY alpha]

2007-02-02 Thread slangeberg

Thanks for the advance release, John!

I've got a new project starting, so I will be using it in the days and weeks
to come.

-Scott

On 2/2/07, John Grden [EMAIL PROTECTED] wrote:


I haven't released it yet, but if people are willing to take some lumps
with
the alpha version, the Flex2 code is working well with
snapshots.  Changing
properties via the property inspector isn't really done yet (Booleans seem
to be the only thing working there), but the treeview does work and Iv'e
been using it in gig for the past 4-5 days without a problem.

BUT IT'S AT YOUR OWN RISK ;)


http://www.rockonflash.com/xray/downloads/connector/AS3_FLEX2_CONNECTOR_ALPHA.zip

Things that I already know about:

1.  The logger works fine - been using that for months now, but let me
know
if you think you see any issues
2.  Objects / Arrays are not displayed in the treeview yet - only
displayObjects.  Objects and Arrays are, however, shown in the property
inspector
3.  Property inspector works in that you get the data, but changing
properties at runtime not really working.  Booleans seem to work, but
other
properties don't seem to do anything
4.  Highlight nodes - not working yet

Like I said, I've been using it for about a week now, and seems to be
pretty
consistent with what it *does* do.

NOTE:  Ignore the Xray.as class located in com.blitzagency.xray.inspector-
that's for AS3, and is currently not working yet.  I originally had it
working, but after doing some refactoring to accomodate Flex specific
stuff,
I havent gone back to fix it yet.

Usage:
import com.blitzagency.xray.inspector.flex2.Xray;

// instantiate Xray
private var xray:Xray = new Xray();

That's it.  Should work ;)

I have an as3 connector working, but like I said, I broke it with the
refactor and I'm trying to asses the best way to approach it.

PS thanks to the folks at adobe for describeType() and
getQualifiedClassName() ;)  the code for Object inspection is 1/1000th the
size of the as2 version ;)



On 2/2/07, slangeberg [EMAIL PROTECTED] wrote:

 Sorry if this is redundant, but is there now an XRay connector for Flex
2
 /
 Flash 9?

 Thanks,

 -Scott


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Flair Pattern?

2007-01-29 Thread slangeberg

Yeah, hear-hear (here-here?).

I would wager that we could find one ore more non-PhD's who've produced some
major, seminal works. I'm sure this even applies in the CS field, no?

OTP:
Flex 2 rocks. Get it now.

-Scott
 Yeah, well the God I believe in isn't short of cash, mister.

On 1/29/07, Martin Wood-Mitrovski [EMAIL PROTECTED] wrote:


Im not normally one to comment on personal behaviour but that post really
does
leave a bitter taste, which is sad as you are sometimes helpful.

If you are going to pass judgements on other peoples work which may prove
helpful in the situation facing the OP then at least qualify them or you
also
look like you are relying on us accepting your notion of your own ego.

Design patterns are not cast in stone and the GoF dont hold the one true
set of
patterns, PhD's or no PhD's.

Actionscript is not C++ and its not Smalltalk, other solutions may apply.

I know you can discuss a topic without resorting to ad hominem, so please
do so.

thanks,

Martin

Steven Sacks | BLITZ wrote:
 There are no references to the Flair design pattern anywhere else
 because it doesn't exist anywhere except in the ego of Brendan Hall.
 It's not a design pattern, it's a class that uses another design
 pattern, and poorly, too, judging by the code example.

 If you want to learn more about Design Patterns, there are quite a few
 great books out there on the subject written by people more learned and
 experienced than Brendan Hall.  Like people with PhD's in Computer
 Science.  From the de facto bible Design Patterns by the Gang of Four to
 many others.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS3 Defining Objects

2007-01-24 Thread slangeberg

eval() hasn't been needed for some time (since bracket[] notation
introduced). Just need to remember that you can't type the properties of a
plain Object:

   var numItems:int = 10;

   var myObject:Object = new Object();

   for (var i:int=0; inumItems; i++) {
   myObject[i] = new Object();
   myObject[i].name = Name from XML - +i;
   trace( myObject[+i+].name: +myObject[i].name );

   }

On 1/24/07, Eric Lee [EMAIL PROTECTED] wrote:


Hi list,



So I have a situation where I need to create multiple objects based on XML
data. Is there a way in AS3 that I can do something like this:



for (var i:int=0; inumItems; i++) {

var myObject[i]:Object = new Object();

myObject[i].name = Name from XML;

}



So that object would be created as myObject0, myObject1, myObject2 etc.
Since they got rid of eval in AS3, I'm not quite sure how to go about
this.



Thanks!

-Eric



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Getting Frames Per Second

2007-01-23 Thread slangeberg

Here's a suggestion for Hans' code:

var lastTime = getTimer();
this.onEnterFrame = function() {
  trace(fps=+Math.floor(1000/(getTimer()-lastTime)));
  lastTime = getTimer()
}

On 1/23/07, Holth, Daniel C. [EMAIL PROTECTED] wrote:



The post below about converting graphics to vectors got me thinking and I
wanted to see how using bitmap cache, vectors, filters, images, etc effected
the frame rate.  I can obviously see when the frame rate slows down, but
it'd be nice to have some actual numbers with it.

I'd also like to get some real numbers when testing flash applications on
slower computers and different OS.

Daniel Holth


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Hairy Dog
Digital
Sent: Tuesday, January 23, 2007 11:17 AM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Getting Frames Per Second


Hi Daniel,

Just out of curiosity, why do you need to detect/see the framerate in your
published SWF?

...Rob

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

This e-mail and its attachments are intended only for the use of the
addressee(s) and may contain privileged, confidential or proprietary
information. If you are not the intended recipient, or the employee or agent
responsible for delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution, displaying, copying,
or use of this information is strictly prohibited. If you have received this
communication in error, please inform the sender immediately and delete and
destroy any record of this message. Thank you.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Embed JS for flash 9 content

2007-01-22 Thread slangeberg

Take a look at Adobe's player detection:

http://www.adobe.com/products/flashplayer/download/detection_kit/

Have you looked at using the Express Install option, seperately from
swfobject?:

SRC: http://www.adobe.com/devnet/flash/articles/swfobject_print.html

#include expressinstall.as

// initialize the ExpressInstall object
var ExpressInstall = new ExpressInstall();

// if the user needs to upgrade, show the 'start upgrade' button
if (ExpressInstall.needsUpdate) {

 // this is optional, you could also automatically start the
 // upgrade by calling ExpressInstall.init() here instead of the
following lines

 // attach the custom upgrade message and center it
 var upgradeMsg = attachMovie(upgradeMsg_src, upgradeMsg, 1);
 upgradeMsg._x = Stage.width / 2;
 upgradeMsg._y = Stage.height / 2;

 // attach the button actions that will start the ExpresInstall updater
 upgradeMsg.upgradeBtn.onRelease = function() {
   // the ExpressInstall.init() method is what kicks off the actual update
   ExpressInstall.init();
 }
 // if expressinstall is invoked, stop the timeline.
 stop();

-Scott
}



On 1/21/07, {reduxdj} [EMAIL PROTECTED] wrote:


Hi There,

I'm using a document write tag in js to avoid the click to activate
crap.  I'm developing for flash 9 content.  Do you know if there's a way
to detect and redirect if flash 9 is not being used?  I tried using
swfobject, which worked, however it would invalidate our php session in
IE.

I can't use the build in flex/flash 9 detection because these are single
widgets within an html page, not full browser swf's are something.  Here
is what my code looks like.  I appreciate the help as javascript is not
my strong suit.

Here's what I am working with:

function homepageload2()
{

document.write('object
classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354
codebase=
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0

width=800 height=250 id=landing align=middle\n');
document.write('param name=allowScriptAccess value=sameDomain
/\n');
document.write('param name=movie value=/_p/viewer/some.swf
/param name=quality value=high /param name=bgcolor
value=#ff /\n');
document.write('embed src=/_p/viewer/some.swf quality=high
bgcolor=#ff width=800 height=250 name=homepage
align=middle allowScriptAccess=sameDomain
type=application/x-shockwave-flash
pluginspage=http://www.macromedia.com/go/getflashplayer; /\n');
  document.write('/object\n');
}

Thanks,
Patrick

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] LoadVars.send() in Flash 9 Player

2007-01-22 Thread slangeberg

Are you publishing as flash 9? If so, you'll want to handle that (player
version). It can't be done inside the movie, as far as I know. If you're
using the template html-js published by Flex Builder, than you're good to
go.

-Scott

On 1/22/07, Waller, David [EMAIL PROTECTED] wrote:


So can I wrap a an if statement that detects the player and do
something like:

if (player9){
flash.net.sendToURL()
}
else {
LoadVars.send()
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of greg h
Sent: Friday, January 19, 2007 6:36 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] LoadVars.send() in Flash 9 Player

David,

Per the link that follows below, the AS2 LoadVars.send() Method is
changed in AS3 to flash.net.sendToURL()

Source:  ActionScript 2.0 Migration: The following table describes the
differences between ActionScript 2.0 and 3.0.
http://livedocs.macromedia.com/labs/as3preview/langref/migration.html

More:
Note: The ActionScript 2.0 MovieClipLoader and LoadVars classes are not
used in ActionScript 3.0. The Loader and URLLoader classes replace them.

Source:  Class Loader in ActionScript 3.0 Language Reference
http://livedocs.macromedia.com/labs/as3preview/langref/flash/display/Loa
der.html

fyi ... brace yourself, there are quite a few of these everything is
still the same, but still everything is different changes.  Just scan
that first link above and you will get a sense.

The good news is that now that ActionScript is tied to a standard
(ECMA-262), I believe Adobe will no longer be making these types of
disruptive changes going forward.

For quick backgrounds on what and why many changes were made with AS3,
following are some good links to articles and presentations by Flash
Player Engineer Gary Grossman:
Devnet Article:
http://www.adobe.com/devnet/actionscript/articles/actionscript3_overview
.html
Connect Recording of Presentation:
https://admin.adobe.acrobat.com/_a227210/p64058844/
PDF of Slides:
http://www.adobe.com/communities/developerweek/2006_devweek_as3.pdf

hth,

g




On 1/19/07, Waller, David [EMAIL PROTECTED] wrote:

 I am having trouble with a LoadVars send which refuses to send in the
 Flash player 9.

 The swf works just fine in the 8 version of the player but in 9 it
 seems to just pass over the command.

 I have tried several different things including:

 crossdomain.xml
 System.security.allowDomain()

 However, nothing seems to work.

 Any input would be greatly appreciated.

 Dave Waller

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Saving out XML direct from Flash?

2007-01-22 Thread slangeberg


prejudice against extended projectors



Prejudice isn't good. Oh yeah, accept it. Flash player sandbox does NOT
allow local file system access. ;)

However, that's what Apollo's all about. Yahoo!!

-Scott


On 1/22/07, Henry Cooke [EMAIL PROTECTED] wrote:


Thanks. I ended up (after seriously considering porting to AS3 and having
it
*serve itself* a file through flash.net.socket :D ) getting over my
prejudice against extended projectors and using Screenweaver HX, which
actually seems pretty nice.

Cheers,
Henry

On 22/01/07, Andrew J Kirkham [EMAIL PROTECTED] wrote:

 I managed something like this by embedding my Flash movie in a Director
 movie, which managed the saving of the XML. I'm afraid I no longer have
 access to the files, but I seem to remember it didn't take me very long
to
 implement.

 Andy


 - Original Message -
 From: Henry Cooke [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Friday, January 19, 2007 5:11 PM
 Subject: [Flashcoders] Saving out XML direct from Flash?


  'lo all
 
  I'm noodling around with a little app that I'd like to be able to
write
  out
  some internally generated XML directly to the user's hard disc.
 Preferably
  with a nice FileReference type interface.
 
  But this seems next to impossible. I was hoping it would be possible
to
  hack
  FileReference to take file conetent from a variable, rather than a
URL,
  but
  that looks like a no-go. My second idea was to write to a
SharedObject,
  then
  pass that through FileReference, but I can't find a way of finding out
 the
  path to the SO file within Flash. I've spent the afternoon reading
about
  MMSave, FSCommand save and ASnative(302, 0) and coming to the
 conclusion
  that they're deprecated as hell and useless to me.
 
  So does anyone have any good suggestions? I'm not averse to dirty
hacks,
  but
  this is a standalone app, so I can't bounce the file back off a
server,
  and
  I really don't want to use one of those weird extended projectors if I
 can
  avoid it.
 
  Cheers,
  Henry
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] LoadVars.send() in Flash 9 Player

2007-01-22 Thread slangeberg

Yeah, there is some confusion there.

You can't use: flash.net.sendToURL() in flash 8.

So, like you said, the issue is:



The swf works just fine in the 8 version of the player but in 9 it seems
to just pass over the command.



I have not seen this happen myself. I've had no problem with F8 movies in F9
player.

Anyone?

-Scott

On 1/22/07, Waller, David [EMAIL PROTECTED] wrote:


I am publishing in 8 Basic, with AS2 specified.

That is were I am puzzled, I would have thought that the 9 player would
act like an 8 player if it was authored in 8 (or 7, or 6...)  Doesn't
the 9 player have backwards compatable methods in it?

Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
slangeberg
Sent: Monday, January 22, 2007 10:22 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] LoadVars.send() in Flash 9 Player

Are you publishing as flash 9? If so, you'll want to handle that (player
version). It can't be done inside the movie, as far as I know. If you're
using the template html-js published by Flex Builder, than you're good
to go.

-Scott

On 1/22/07, Waller, David [EMAIL PROTECTED] wrote:

 So can I wrap a an if statement that detects the player and do
 something like:

 if (player9){
 flash.net.sendToURL()
 }
 else {
 LoadVars.send()
 }

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of greg h
 Sent: Friday, January 19, 2007 6:36 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] LoadVars.send() in Flash 9 Player

 David,

 Per the link that follows below, the AS2 LoadVars.send() Method is
 changed in AS3 to flash.net.sendToURL()

 Source:  ActionScript 2.0 Migration: The following table describes the

 differences between ActionScript 2.0 and 3.0.
 http://livedocs.macromedia.com/labs/as3preview/langref/migration.html

 More:
 Note: The ActionScript 2.0 MovieClipLoader and LoadVars classes are
 not used in ActionScript 3.0. The Loader and URLLoader classes replace
them.

 Source:  Class Loader in ActionScript 3.0 Language Reference
 http://livedocs.macromedia.com/labs/as3preview/langref/flash/display/L
 oa
 der.html

 fyi ... brace yourself, there are quite a few of these everything is
 still the same, but still everything is different changes.  Just scan

 that first link above and you will get a sense.

 The good news is that now that ActionScript is tied to a standard
 (ECMA-262), I believe Adobe will no longer be making these types of
 disruptive changes going forward.

 For quick backgrounds on what and why many changes were made with AS3,

 following are some good links to articles and presentations by Flash
 Player Engineer Gary Grossman:
 Devnet Article:
 http://www.adobe.com/devnet/actionscript/articles/actionscript3_overvi
 ew
 .html
 Connect Recording of Presentation:
 https://admin.adobe.acrobat.com/_a227210/p64058844/
 PDF of Slides:
 http://www.adobe.com/communities/developerweek/2006_devweek_as3.pdf

 hth,

 g




 On 1/19/07, Waller, David [EMAIL PROTECTED] wrote:
 
  I am having trouble with a LoadVars send which refuses to send in
  the Flash player 9.
 
  The swf works just fine in the 8 version of the player but in 9 it
  seems to just pass over the command.
 
  I have tried several different things including:
 
  crossdomain.xml
  System.security.allowDomain()
 
  However, nothing seems to work.
 
  Any input would be greatly appreciated.
 
  Dave Waller
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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




--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http

Re: [Flashcoders] Long URLs Getting Truncated from Flash

2007-01-22 Thread slangeberg

Slickest method is to POST vars rather than GET.

Sorry if it isn't feasible. However, your lookup table may hold some
promise.

-Scott


On 1/22/07, Jason Lutes [EMAIL PROTECTED] wrote:


I realized that I forgot to give my e-mail a pertinent subject line after
I sent it. Sorry about that.

 What's a slick way to bypass the restrictions imposed as
 Flash automatically truncates URLs (to 128 characters) that
 are used as values of HREF attributes in HTML text or as
 arguments passed to getURL?

 One of our clients needs long URLs to open in a browser from
 the Flash application. Right now, they are allowed to
 specifiy the URLs in an XML file. Will I have to downgrade
 usability for them by creating some kind of mapping mechanism
 where I store the URLs in JavaScript and merely refer to
 look-up table indexes in the XML?



-
Jason
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Flash 9 - Express Install

2007-01-22 Thread slangeberg

Geoff,

This appears to be working fine for me. I have yet to put this into
production..

Thanks!!,

-Scott

On 10/30/06, Geoff Stearns [EMAIL PROTECTED] wrote:


it sounds to me like what is happening is that the user has a version
less than flash 8 installed, so they *should* get the expressinstall
prompt, but that probably isn't working. mostlikely the code wasn't
implemented properly in your swf.

for the next release of swfobject i'm fixing this to make it more
foolproof (failproof?) by using a separate swf for the expressinstall
parts. this was mainly because it's required now for flash 9 swfs
that use as3...

so if you are interested in testing out the new version, you are
welcome to grab it and try it. just note that the expressinstall
stuff works a little differently... you should be able to see how it
works by looking at the example expressinstall.html page.

http://blog.deconcept.com/code/swfobject2.0/

if anyone else wants to try it out, feel free... we are using it here
at schematic for a flash 9 project and haven't had any issues with it
yet, so it appears to be pretty solid, but if anyone has any feedback
feel free to send it along to me.




On Oct 30, 2006, at 6:22 PM, Count Schemula wrote:

 For people publishing to Player 8, what steps are you taking when
 swfobject + express Install fails?

 For example, I don't think express install works with Flash Player 6
 and some early versions of Player 7, which is causing me problems
 sometimes.

 I have text in the div id=flashcontent so, they _should_ see my text
 links and my link to upgrade the flash player, but sometimes I'm
 hearing that the flash loads, but the Player 8 features (important
 stuff like the text) is not showing up.

 Here is my var so:

 var so = new SWFObject(images/header_01.swf, header_01, 800,
 150, 8.0.23, #00, true);

 so.write(flashcontent);

 It mostly works, but, it's still not 100% and it's causing me strife.

 --
 count_schemula
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multi-dimensional array problems in classes

2007-01-20 Thread slangeberg

I agree with previous, however, it is good to deal with references in
classes. Best design for your 2D array depends on what it's intended for?:

var reactionStoichiometry:Array = new Array ();

public function addItem( newArr:Array ):Number {
  //returns len(?)
  return reactionStoichiometry.push( newArr );
}

used like:
var yorObject:YourClass = new YourClass();

var newArr:Array = new Array (1, 3, 2, 0),

yorObject.addItem( newArr );
yorObject.addItem( new Array( 1,2,1,0 ) );
...etc


-Scott

On 1/20/07, Ron Wheeler [EMAIL PROTECTED] wrote:


BTW, Classes love Objects of all types regardless of the arrays.

Just a hint.
Often multi-dimensional arrays are just crying out to be single arrays
of objects and if their wish is granted, your code becomes amazingly
small and elegant as your reward for granting their wish.

Help make an array's wish become true!!! If you pass this on to 6
programmers in the next 24 hours, you will be granted good karma for a
year.

Ron

Stan Vassilev wrote:
 When you assign dynamic or more complex values, and especially if you
 don't want this array to be shared (by reference) to all instances of
 the class, it's best to initialize in the constructor.

 There aren't any limitations on multidim. arrays in objects, classes,
 or objects in classes and so on. I suspect the particular syntax you
 used was not correct, hence your issues. It'd help to post this instead.

 Regards, Stan Vassilev

 - Original Message - From: Gareth Hudson
 [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Sent: Saturday, January 20, 2007 2:02 PM
 Subject: [Flashcoders] Multi-dimensional array problems in classes


 Hi there,

 Does anyone know if it we are supposed to use multi-dimensional arrays
 (an array consisting of arrays) within a class?  If so, what is the
 best, legal way to create them?

 The only way I have managed to do it is by this method:

 var reactionStoichiometry:Array = new Array (
 new Array (1, 3, 2, 0),
 new Array (1, 2, 1, 0),
 new Array (2, 1, 2, 0),
 new Array (2, 0, 1, 3),
 new Array (2, 0, 2, 1),
 new Array (1, 0, 1, 1),
 new Array (1, 1, 2, 0),
 new Array (1, 1, 2, 0),
 new Array (1, 1, 1, 1));

 Any other ways of creating them give me a compile error saying that
they
 are not allowed within a class.  I need to assign these values
 dynamically, the above ones a for testing, and would prefer to do it by
 addressing the locations in the main array by position number for
 inserting the other arrays within it.  Classes don't seem to like
 Objects containing arrays either.

 Many thanks,

 Gareth Hudson.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] GlowFilter and masks

2007-01-18 Thread slangeberg

I think I had luck fixing this by setting the mask through code, rather than
in the timeline.

-Scott

On 1/18/07, Niclas ร…berg [EMAIL PROTECTED] wrote:


Hi,

I want to use the GlowFilter on a movie clip containing a mask. However,
when I apply it he filter behaves very weirdly and crops the mask out
of the clip. It works fine for move clips without masks inside them.

Does anyone know what I'm talking about, and know of a workaround or a
custom class that would produce the same result as the GlowFilter?

Cheers,

Niclas


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Using XRay

2007-01-18 Thread slangeberg

John,

I spoke too soon. I do still have an Fla where things are not displaying
correctly in the .swf.

I followed these directions and have the following output:

(45) Connections: true | true
(78) Connections: false | false

Things only look correct when I do not 'export to first frame' (instance in
library). Of course, the connection doesn't work, though!

I'm guessing the following is generated in your code, as I don't see it in
your class package?:

_global.com.blitzagency.xray.Xray

-Scott


On 1/16/07, John Grden [EMAIL PROTECTED] wrote:


ifyou get true|true, that means the logger and controller LC connections
were made successfully.

Are you using it in an FLA by chance?  If so, find Xray in the library,
right click and choose linkageID - don't have hit export in first frame.
Then, if it's not on stage, put it on stage.

Then, in frame one, use:

_global.com.blitzagency.xray.Xray.initConnections();

That might do it.

On 1/16/07, slangeberg [EMAIL PROTECTED] wrote:

 So, anyone ever see the XRay Connector component kill their app? I get
the
 following message, but nothing else:

 (75) Connections: true | true

 This application is a bit complex, loads external swf modules and
 associates
 classes with those.

 Thanks,

 -Scott

 On 9/28/06, John Grden [EMAIL PROTECTED] wrote:
 
  all downloads:
  http://www.osflash.org/xray#downloads
 
  Latest interface:
 
 

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw
 
  Connector:
 
 

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw
 
  Just doubleclick to install the mxp, then you'll see xray in your
  components
  panel. You can drag it into your library and leave it or put it on
stage
  for
  a quick/dirty FPS meter
 
  hth,
 
  jpg
 
  On 9/28/06, slangeberg [EMAIL PROTECTED] wrote:
  
   I've seen lots of people posting about XRay lately, but I haven't
had
  luck
   with it, yet.
  
   I do have the executable running, but I don't have the Connector to
 the
   Flash IDE. Can anyone post a link to download that? I have not been
 able
   to
   find it!
  
   : : ) Scott
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
  [  JPG  ]
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Using XRay

2007-01-18 Thread slangeberg

Now it's printing (still not publishing correctly):

(39) Connections: true | true
(71) Connections: false | false

-Scott

On 1/18/07, John Grden [EMAIL PROTECTED] wrote:


ok, now add this to your timeline/class :

_global.com.blitzagency.xray.Xray.initConnections();

this will init the connections and you should be up and running

On 1/18/07, slangeberg [EMAIL PROTECTED] wrote:

 John,

 I spoke too soon. I do still have an Fla where things are not displaying
 correctly in the .swf.

 I followed these directions and have the following output:

 (45) Connections: true | true
 (78) Connections: false | false

 Things only look correct when I do not 'export to first frame' (instance
 in
 library). Of course, the connection doesn't work, though!

 I'm guessing the following is generated in your code, as I don't see it
in
 your class package?:

 _global.com.blitzagency.xray.Xray

 -Scott


 On 1/16/07, John Grden [EMAIL PROTECTED] wrote:
 
  ifyou get true|true, that means the logger and controller LC
connections
  were made successfully.
 
  Are you using it in an FLA by chance?  If so, find Xray in the
library,
  right click and choose linkageID - don't have hit export in first
frame.
  Then, if it's not on stage, put it on stage.
 
  Then, in frame one, use:
 
  _global.com.blitzagency.xray.Xray.initConnections();
 
  That might do it.
 
  On 1/16/07, slangeberg [EMAIL PROTECTED] wrote:
  
   So, anyone ever see the XRay Connector component kill their app? I
get
  the
   following message, but nothing else:
  
   (75) Connections: true | true
  
   This application is a bit complex, loads external swf modules and
   associates
   classes with those.
  
   Thanks,
  
   -Scott
  
   On 9/28/06, John Grden [EMAIL PROTECTED] wrote:
   
all downloads:
http://www.osflash.org/xray#downloads
   
Latest interface:
   
   
  
 

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw
   
Connector:
   
   
  
 

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw
   
Just doubleclick to install the mxp, then you'll see xray in your
components
panel. You can drag it into your library and leave it or put it on
  stage
for
a quick/dirty FPS meter
   
hth,
   
jpg
   
On 9/28/06, slangeberg [EMAIL PROTECTED] wrote:

 I've seen lots of people posting about XRay lately, but I
haven't
  had
luck
 with it, yet.

 I do have the executable running, but I don't have the Connector
 to
   the
 Flash IDE. Can anyone post a link to download that? I have not
 been
   able
 to
 find it!

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

   
   
   
--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
  
  
  
   --
  
   : : ) Scott
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
  [  JPG  ]
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

Re: [Flashcoders] Using XRay

2007-01-18 Thread slangeberg

I am loading an external swf, but that one does not contain the Xray
connector.

-Scott

On 1/18/07, John Grden [EMAIL PROTECTED] wrote:


?? 2 x's that's weird.  Do you have Xray connector loading 2x's (one in
the
library, another in an external SWF)?

On 1/18/07, slangeberg [EMAIL PROTECTED] wrote:

 Now it's printing (still not publishing correctly):

 (39) Connections: true | true
 (71) Connections: false | false

 -Scott

 On 1/18/07, John Grden [EMAIL PROTECTED] wrote:
 
  ok, now add this to your timeline/class :
 
  _global.com.blitzagency.xray.Xray.initConnections();
 
  this will init the connections and you should be up and running
 
  On 1/18/07, slangeberg [EMAIL PROTECTED] wrote:
  
   John,
  
   I spoke too soon. I do still have an Fla where things are not
 displaying
   correctly in the .swf.
  
   I followed these directions and have the following output:
  
   (45) Connections: true | true
   (78) Connections: false | false
  
   Things only look correct when I do not 'export to first frame'
 (instance
   in
   library). Of course, the connection doesn't work, though!
  
   I'm guessing the following is generated in your code, as I don't see
 it
  in
   your class package?:
  
   _global.com.blitzagency.xray.Xray
  
   -Scott
  
  
   On 1/16/07, John Grden [EMAIL PROTECTED] wrote:
   
ifyou get true|true, that means the logger and controller LC
  connections
were made successfully.
   
Are you using it in an FLA by chance?  If so, find Xray in the
  library,
right click and choose linkageID - don't have hit export in first
  frame.
Then, if it's not on stage, put it on stage.
   
Then, in frame one, use:
   
_global.com.blitzagency.xray.Xray.initConnections();
   
That might do it.
   
On 1/16/07, slangeberg [EMAIL PROTECTED] wrote:

 So, anyone ever see the XRay Connector component kill their app?
I
  get
the
 following message, but nothing else:

 (75) Connections: true | true

 This application is a bit complex, loads external swf modules
and
 associates
 classes with those.

 Thanks,

 -Scott

 On 9/28/06, John Grden [EMAIL PROTECTED] wrote:
 
  all downloads:
  http://www.osflash.org/xray#downloads
 
  Latest interface:
 
 

   
  
 

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw
 
  Connector:
 
 

   
  
 

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw
 
  Just doubleclick to install the mxp, then you'll see xray in
 your
  components
  panel. You can drag it into your library and leave it or put
it
 on
stage
  for
  a quick/dirty FPS meter
 
  hth,
 
  jpg
 
  On 9/28/06, slangeberg [EMAIL PROTECTED] wrote:
  
   I've seen lots of people posting about XRay lately, but I
  haven't
had
  luck
   with it, yet.
  
   I do have the executable running, but I don't have the
 Connector
   to
 the
   Flash IDE. Can anyone post a link to download that? I have
not
   been
 able
   to
   find it!
  
   : : ) Scott
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
  [  JPG  ]
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

   
   
   
--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
   
  
  
  
   --
  
   : : ) Scott

Re: [Flashcoders] Using XRay

2007-01-17 Thread slangeberg

John,

Thanks for all your help. By tinkering around, I was able to get things
working just fine. I was already able to diagnose a serious, last-minute
situation this morning, so blessings on your life, my friend!

As someone else has said, I'm not sure what I was doing without it!

-Scott

On 1/16/07, John Grden [EMAIL PROTECTED] wrote:


ifyou get true|true, that means the logger and controller LC connections
were made successfully.

Are you using it in an FLA by chance?  If so, find Xray in the library,
right click and choose linkageID - don't have hit export in first frame.
Then, if it's not on stage, put it on stage.

Then, in frame one, use:

_global.com.blitzagency.xray.Xray.initConnections();

That might do it.

On 1/16/07, slangeberg [EMAIL PROTECTED] wrote:

 So, anyone ever see the XRay Connector component kill their app? I get
the
 following message, but nothing else:

 (75) Connections: true | true

 This application is a bit complex, loads external swf modules and
 associates
 classes with those.

 Thanks,

 -Scott

 On 9/28/06, John Grden [EMAIL PROTECTED] wrote:
 
  all downloads:
  http://www.osflash.org/xray#downloads
 
  Latest interface:
 
 

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw
 
  Connector:
 
 

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw
 
  Just doubleclick to install the mxp, then you'll see xray in your
  components
  panel. You can drag it into your library and leave it or put it on
stage
  for
  a quick/dirty FPS meter
 
  hth,
 
  jpg
 
  On 9/28/06, slangeberg [EMAIL PROTECTED] wrote:
  
   I've seen lots of people posting about XRay lately, but I haven't
had
  luck
   with it, yet.
  
   I do have the executable running, but I don't have the Connector to
 the
   Flash IDE. Can anyone post a link to download that? I have not been
 able
   to
   find it!
  
   : : ) Scott
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
  [  JPG  ]
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Using XRay

2007-01-16 Thread slangeberg

So where is this log info supposed to go? I tried catching it using the Flex
XRay client, but it's not connecting:

http://www.rockonflash.com/xray/flex/Xray.html

-Scott

On 1/15/07, John Grden [EMAIL PROTECTED] wrote:


http://www.rockonflash.com/xray/downloads/as3/logger/Xray_AS3_Logger.zip

Pretty straight forward to use:

import com.blitzagency.xray.logger.XrayLog;

private var log:XrayLog = new XrayLog();

// usage

log.debug(string message[, object]);
log.info(string message[, object]);
log.warn(string message[, object]);
log.error(string message[, object]);
log.fatal(string message[, object]);

If you're using the flash9 debug player, it'll give you the full class
path/method that made the call.  Otherwise, it'll just log your string
message and object.

// with debug:
(297) com.somepackage.core::ClassName/::callingMethodName()
testing logger

// without debug:
(297) testing logger

talks to the usual Xray interface

let me know how it goes!

On 1/15/07, John Grden [EMAIL PROTECTED] wrote:

 OHHH yeah!  thanks for reminding me ;)

 On 1/15/07, slangeberg [EMAIL PROTECTED] wrote:
 
  How about XRay + Flex2/AS3/FP9? I believe that J Grden(?) was going to
  post
  code to get the Logger working there? I tried on my own, but it was a
  no-go!
 
  -Scott
 
  On 9/29/06, Hans Wichman  [EMAIL PROTECTED] wrote:
  
   And once you have it running, you'll have the best weekend ever,
throw
  a
   party and won't understand how you every managed without it...  :)
  
  
   On 9/28/06, Alain Rousseau [EMAIL PROTECTED] wrote:
   
Try this link,
   
It has everything you need to know about XRay, including where to
   download
!
   
Enjoy !
   
http://www.osflash.org/xray
   
A
   
-Original Message-
From: slangeberg [mailto:[EMAIL PROTECTED]
Sent: 28 septembre 2006 14:09
To: Flashcoders mailing list; [EMAIL PROTECTED]
Subject: [Flashcoders] Using XRay
   
I've seen lots of people posting about XRay lately, but I haven't
  had
   luck
with it, yet.
   
I do have the executable running, but I don't have the Connector
to
  the
Flash IDE. Can anyone post a link to download that? I have not
been
  able
to
find it!
   
: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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
  
 
 
 
  --
 
  : : ) Scott
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --
 [  JPG  ]




--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: [ Ticket #1310 ] Re: [Flashcoders] Flash Tracer / FF2

2007-01-16 Thread slangeberg

I'm guessing that '[EMAIL PROTECTED]' can be removed from the list?

Moderators?

-Scott

On 1/16/07, John Grden [EMAIL PROTECTED] wrote:


I got the same email on 2 different posts form the list

On 1/16/07, slangeberg [EMAIL PROTECTED] wrote:

 Anyone know why zocoSites Support ( [EMAIL PROTECTED] ) is sending
me
 these support ticket emails, regarding messages sent to this forum??

 PS. I never submitted anything to any help desk!

 -Scott


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] overwriting a class

2007-01-16 Thread slangeberg

I would suggest implementing interfaces, as a good practice:

interface ISpeakable
{
   function speak();
}

class myClass implements ISpeakable
{
   function speak() {}
}

this lets you pass around instances that implement your interface and to
change behaviors at runtime, such as:

class TestClass
{
   private var speaker:ISpeakable;

  public function setSpeaker( spkr:ISpeakable ) {
 speaker = spkr;
  }
}

Not sure it's close to what you're looking for, but can be good practice in
large apps.

-Scott

On 1/16/07, Merrill, Jason [EMAIL PROTECTED] wrote:


Flash allows deleting classes. But maybe I am not
aware of some resulting problems.
Is is ok in terms of good programing practices ?

No, don't delete anything.  Why not use method overwriting?

class myBaseClass(){
function speak(){
trace(greeting)
}
}

class myHelloClass extends myBaseClass{
function speak(){
trace(Hello)
}
}

class myWhatsUpClass extends myBaseClass{
function speak(){
trace(What's Up?)
}
}

then create instances of the ones you want to use


Jason Merrill
Bank of America
Learning  Organizational Effectiveness







-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of BlackMail
Sent: Tuesday, January 16, 2007 1:05 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] overwriting a class

Hi,

I am looking for advice about swapping classes of the same
name but using different methods.

Let's consider three classes:

class SomeClass
{
public function meth()
{
   trace(meth of skin SomeClass VERSION 0);
}
}
//
class SomeClass
{
public function meth()
{
trace(meth of skin SomeClass VERSION 1);
}

}
//
class SomeClass
{
public function meth()
{
trace(meth of skin SomeClass VERSION 2);
someNewMethod();

}
private function someNewMethod()
{
trace(something new...);
}

}

The first of those is imported into a main.swf file. I can make an
instance:

var Q:SomeClass = new SomeClass();
Q.meth()   // traces :  meth of skin SomeClass VERSION 0

The next two classes are imported in: one storage1.swf and
the other, storage2.swf

Both .swf files are loaded into the main.swf. First the
storage1.swf and next storage2.swf. But before loading, I
delete the class:

trace(SomeClass) // out: [type Function] delete SomeClass
trace(SomeClass) // out: undefined

And after loading the storage1.swf I can make again an
instance of SomeClass:

var Q1:SomeClass = new SomeClass();
Q1.meth() // traces:   meth of skin SomeClass VERSION 1

It uses a new version of meth().

Now I delete the SomeClass class:

delete SomeClass

... and load somewhere into the stage of main.swf the
storage2.swf file. After loading the first one I can make a
new instance of
SomeClass:

var Q2:SomeClass = new SomeClass();
Q2.meth() // traces:   meth of skin SomeClass VERSION 2
  //   something new...


and so on, deleting an loading a new version

Now the question:
The same class name, the same method name, eventually other,
new methods of the same class and deleting the class
Could this be a good way to overwrite classes ? I tested it
and works. Flash allows deleting classes. But maybe I am not
aware of some resulting problems.
Is is ok in terms of good programing practices ?

Thanks,

Greg






--
Lufa dla generala. Zobacz  http://link.interia.pl/f19e1


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Using XRay

2007-01-16 Thread slangeberg

Yes, works for me too. Thanks a lot, John!

-Scott

On 1/16/07, John Grden [EMAIL PROTECTED] wrote:


yep got it!

One thing to note:  You WILL get a no swf to connect to message, but the
logging will still work.  Thats because Xray doesn't detect the
introspection LC that comes with the connector for doing snapshots.

On 1/16/07, Webdevotion [EMAIL PROTECTED] wrote:

 I've sent you my tiny project that I used as an example ;)
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Using XRay

2007-01-16 Thread slangeberg

So, anyone ever see the XRay Connector component kill their app? I get the
following message, but nothing else:

(75) Connections: true | true

This application is a bit complex, loads external swf modules and associates
classes with those.

Thanks,

-Scott

On 9/28/06, John Grden [EMAIL PROTECTED] wrote:


all downloads:
http://www.osflash.org/xray#downloads

Latest interface:

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/interface/Flex/Xray.zip?format=raw

Connector:

http://mirror1.cvsdude.com/trac/osflash/xray/browser/downloads/connector/xray_conn_1.6.1.mxp?format=raw

Just doubleclick to install the mxp, then you'll see xray in your
components
panel. You can drag it into your library and leave it or put it on stage
for
a quick/dirty FPS meter

hth,

jpg

On 9/28/06, slangeberg [EMAIL PROTECTED] wrote:

 I've seen lots of people posting about XRay lately, but I haven't had
luck
 with it, yet.

 I do have the executable running, but I don't have the Connector to the
 Flash IDE. Can anyone post a link to download that? I have not been able
 to
 find it!

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Using XRay

2007-01-15 Thread slangeberg

How about XRay + Flex2/AS3/FP9? I believe that J Grden(?) was going to post
code to get the Logger working there? I tried on my own, but it was a no-go!

-Scott

On 9/29/06, Hans Wichman [EMAIL PROTECTED] wrote:


And once you have it running, you'll have the best weekend ever, throw a
party and won't understand how you every managed without it...  :)


On 9/28/06, Alain Rousseau [EMAIL PROTECTED] wrote:

 Try this link,

 It has everything you need to know about XRay, including where to
download
 !

 Enjoy !

 http://www.osflash.org/xray

 A

 -Original Message-
 From: slangeberg [mailto:[EMAIL PROTECTED]
 Sent: 28 septembre 2006 14:09
 To: Flashcoders mailing list; [EMAIL PROTECTED]
 Subject: [Flashcoders] Using XRay

 I've seen lots of people posting about XRay lately, but I haven't had
luck
 with it, yet.

 I do have the executable running, but I don't have the Connector to the
 Flash IDE. Can anyone post a link to download that? I have not been able
 to
 find it!

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Screensaver generator that supports AS3 / Player 9

2007-01-09 Thread slangeberg

MDM Zinc should be able to. I know it can handle F9. And I believe it will
publish screen-savers.

-Scott

On 1/9/07, brian groth [EMAIL PROTECTED] wrote:


Hi I'm doing a screen saver in witch I want to use the power of flash
player
9/AS3.

Does anyone know of software thats can do this?

Or perhaps there is some kind of hack possible with the exe file?


/Brian
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Tracer / FF2

2007-01-09 Thread slangeberg

Does XRay work with AS3 / Flex 2 apps?

-Scott

On 1/8/07, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:


There's a standalone debug executable available too at

http://www.osflash.org/xray/


BLITZ | Steven Sacks - 310-551-0200 x208


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of [EMAIL PROTECTED]
 Sent: Monday, January 08, 2007 3:54 PM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Flash Tracer / FF2

 I can do you one better. Download the XRay connector and
 classes from Blitz agency and use this link
 http://www.rockonflash.com/xray/flex/Xray.html and tell me
 what you think ;)

 T

 - Original Message -
 From: Eric Lee [EMAIL PROTECTED]
 To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
 Sent: Monday, January 08, 2007 5:42 PM
 Subject: [Flashcoders] Flash Tracer / FF2

  For those of you who haven't used it, there's a cool FF
 plugin called
  Flash
  Tracer (https://addons.mozilla.org/firefox/3469/) that lets
 you view any
  traces generated by a SWF within firefox.
 
 
 
  My problem is that, since upgrading to FF2, I haven't been
 able to get it
  to
  work properly. Has anyone had similar issues / know of a fix?
 
 
 
  Thanks!
 
  -Eric
 
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Tracer / FF2

2007-01-09 Thread slangeberg

Where can I find info on the logger (flex 2/ as3)? is it available publicly?

Thanks,

-Scott

On 1/9/07, John Grden [EMAIL PROTECTED] wrote:


LOL, i'm getting there I promise!!

I have Xray logger for Flex2 / as3 apps and have been using that for a
while
now.  But as for a connector that does the inspection, I'm working on it
now.  There's been a lot of requests ;)

On 1/9/07, slangeberg [EMAIL PROTECTED] wrote:

 Does XRay work with AS3 / Flex 2 apps?

 -Scott

 On 1/8/07, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
 
  There's a standalone debug executable available too at
 
  http://www.osflash.org/xray/
 
 
  BLITZ | Steven Sacks - 310-551-0200 x208
 
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf
   Of [EMAIL PROTECTED]
   Sent: Monday, January 08, 2007 3:54 PM
   To: Flashcoders mailing list
   Subject: Re: [Flashcoders] Flash Tracer / FF2
  
   I can do you one better. Download the XRay connector and
   classes from Blitz agency and use this link
   http://www.rockonflash.com/xray/flex/Xray.html and tell me
   what you think ;)
  
   T
  
   - Original Message -
   From: Eric Lee [EMAIL PROTECTED]
   To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
   Sent: Monday, January 08, 2007 5:42 PM
   Subject: [Flashcoders] Flash Tracer / FF2
  
For those of you who haven't used it, there's a cool FF
   plugin called
Flash
Tracer (https://addons.mozilla.org/firefox/3469/) that lets
   you view any
traces generated by a SWF within firefox.
   
   
   
My problem is that, since upgrading to FF2, I haven't been
   able to get it
to
work properly. Has anyone had similar issues / know of a fix?
   
   
   
Thanks!
   
-Eric
   
   
   
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--
[  JPG  ]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] iPhone Flash

2007-01-09 Thread slangeberg

Link(s)?

-Scott

On 1/9/07, Merrill, Jason [EMAIL PROTECTED] wrote:


Wow, see the iPhone just announced today from Apple yet?
Drool!!. anyway, anyone know if the built-in Safari browser comes
with the Flash player and if so, which version?

Jason Merrill
Bank of America
Learning  Organizational Effectiveness




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Wait for XML.onload - random failure - 3nd try!!

2007-01-03 Thread slangeberg


xmlReceiver.load( http://; + host + feed_xml_story_6.php);



Just pointing out that there's no 'host' variable defined in your function.

-Scott



On 1/3/07, Miles Thompson [EMAIL PROTECTED] wrote:


Aside: Apologies for the previous dud posts. Maybe it was the code
embedded
in the message?

A movie which has been running fine for a year now is suddenly creating
random problems among subscribers.

The problem lies in a GetStories() function - for  these people the
success part of onLoad does not happen. The code is posted at the
following link.

http://www.allnovascotia.com/test/flashGetStoriesFunc.html

I'm wondering if the problem lies in the response from the server. How
long
will xmlRecveiver.onLoad() wait before it starts processing? From the docs
I understand it is until all of the XML has been received from the server.
Could there be a problem with it responding too quickly?

There have been no changes to feed_xml_story_6.php which is called in
the
function, and the database queries triggered by the movie to log the user
in have all occurred without any problems.

Over the Christmas holidays we changed from one hosting company to
another,
now some subscribers are receiving the
Get Stories: Loading of news stories failed, which is in the else
portion of the function.

Suggestions, or a steer in the right direction will be appreciated.

Regards - Miles Thompson
(902) 440-2010


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.16.3/614 - Release Date: 1/2/2007


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multidimensional Object/Array Question

2006-12-28 Thread slangeberg


item.mediums = new Array();



Should be fine, however:

item.mediums[item.mediums.length]['id'] = m[i_m].attributes.id;


Looks like you're trying to access a 2D array or Object in array, so you
would have to do something like:

var medium:Object = new Object();
medium.id = m[i_m].attributes.id;
medium.name = m[i_m].firstChild.firstChild.nodeValue;
.
.
item.mediums.push( medium );

This doesn't mean that what you're doing is necessarily a best practice, but
I'm not sure what your motivation is to do so. If you simply want to access
xml as a more manageable data object, you can use things like XPath or
Xml2Object(?).

-Scott

On 12/28/06, Mike Dunlop [EMAIL PROTECTED] wrote:


Hi gang,

I'm having difficulty parsing an xml file into a multidimensional
array and was wondering if anyone could see why the following isn't
working... My guess is that an object variable can't be an array?



XML Sample
--

list
cat id=4
nameArt Glass/name
notes/notes
mediums
medium id=18
nameDrypoint/name
notes/notes
imgmedia/18_medium_tn.jpg/img
/medium
/mediums
/cat
/list

--


Actionscript
--


var arr:Array = xml.firstChild.childNodes;

for(var i:Number = 0; i  arr.length; i++) {
var item:Object = new Object();
item.id = arr[i].attributes.id;
item.name = arr[i].firstChild.firstChild.nodeValue;
item.notes =
arr[i].firstChild.nextSibling.firstChild.nodeValue;

/* this part isn't working ***/
item.mediums = new Array();
if(arr[i].firstChild.nextSibling.nextSibling.hasChildNodes())
{
var m:Array =
arr[i].firstChild.nextSibling.nextSibling.childNodes;
for(var i_m:Number = 0; i_m  m.length; i_m++) {
item.mediums[item.mediums.length]['id'] =
m[i_m].attributes.id;
item.mediums[item.mediums.length]['name']
= m
[i_m].firstChild.firstChild.nodeValue;
item.mediums[item.mediums.length]['notes']
= m
[i_m].firstChild.nextSibling.firstChild.nodeValue;
item.mediums[item.mediums.length]['img'] =
m
[i_m].firstChild.nextSibling.nextSibling.firstChild.nodeValue;
}
}
/* /this part isn't working ***/
}

--


Thanks for your help guys!

Best,
Mike D


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multidimensional Object/Array Question

2006-12-28 Thread slangeberg

Yeah, i don't touch AS2's xml api any more than I have to. I know there are
other systems out there, but I find XPath does the job for me about 100% of
the time. Here's a little tute I threw together for XPath:

http://criticalpile.com/blog/?p=4

-Scott

On 12/28/06, Mike Dunlop [EMAIL PROTECTED] wrote:


Thanks for the input Scott! I simply trying to find the easiest way
to dump a 2D xml structure into an array/object that can be easily
iterated through in a loop.

Do you think there is a better way than what i am trying to do? I'm
an experienced php/sql developer but still learning the ropes in AS 2.0

Your thoughts are much appreciated. Happy New Year.

  - Mike D


.
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]


On Dec 28, 2006, at 1:49 PM, slangeberg wrote:


 item.mediums = new Array();


 Should be fine, however:

 item.mediums[item.mediums.length]['id'] = m[i_m].attributes.id;


 Looks like you're trying to access a 2D array or Object in array,
 so you
 would have to do something like:

 var medium:Object = new Object();
 medium.id = m[i_m].attributes.id;
 medium.name = m[i_m].firstChild.firstChild.nodeValue;
 .
 .
 item.mediums.push( medium );

 This doesn't mean that what you're doing is necessarily a best
 practice, but
 I'm not sure what your motivation is to do so. If you simply want
 to access
 xml as a more manageable data object, you can use things like XPath or
 Xml2Object(?).

 -Scott

 On 12/28/06, Mike Dunlop [EMAIL PROTECTED] wrote:

 Hi gang,

 I'm having difficulty parsing an xml file into a multidimensional
 array and was wondering if anyone could see why the following isn't
 working... My guess is that an object variable can't be an array?



 XML Sample
 -
 -

 list
 cat id=4
 nameArt Glass/name
 notes/notes
 mediums
 medium id=18
 nameDrypoint/name
 notes/notes
 imgmedia/18_medium_tn.jpg/img
 /medium
 /mediums
 /cat
 /list

 -
 -


 Actionscript
 -
 -


 var arr:Array = xml.firstChild.childNodes;

 for(var i:Number = 0; i  arr.length; i++) {
 var item:Object = new Object();
 item.id = arr[i].attributes.id;
 item.name = arr[i].firstChild.firstChild.nodeValue;
 item.notes =
 arr[i].firstChild.nextSibling.firstChild.nodeValue;

 /* this part isn't working ***/
 item.mediums = new Array();
 if(arr
 [i].firstChild.nextSibling.nextSibling.hasChildNodes())
 {
 var m:Array =
 arr[i].firstChild.nextSibling.nextSibling.childNodes;
 for(var i_m:Number = 0; i_m  m.length; i_m
 ++) {
 item.mediums[item.mediums.length]
 ['id'] =
 m[i_m].attributes.id;
 item.mediums[item.mediums.length]
 ['name']
 = m
 [i_m].firstChild.firstChild.nodeValue;
 item.mediums[item.mediums.length]
 ['notes']
 = m
 [i_m].firstChild.nextSibling.firstChild.nodeValue;
 item.mediums[item.mediums.length]
 ['img'] =
 m
 [i_m].firstChild.nextSibling.nextSibling.firstChild.nodeValue;
 }
 }
 /* /this part isn't working ***/
 }

 -
 -


 Thanks for your help guys!

 Best,
 Mike D


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] loading xml with html using tag img and align

2006-12-27 Thread slangeberg

You're loading the html as xml into flash? If so, I had troubles (in IE, i
think) using ' target=_blank '. I had to remove that property.

-Scott

On 12/27/06, natalia Vikhtinskaya [EMAIL PROTECTED] wrote:


Hi to all

I have difficulty with this simple loading html with img. If align=right
link   does not work. If align=left everything is correct.

pa href=http://some.com; target=_blank img
src=media/pic1/sm1.jpg
vspace=0 align=right /a text text./p
Can anybody explain me what is wrong? Thank you for help.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Remove elements from Array

2006-12-27 Thread slangeberg


he told me was that FLEX could not consume web services without Flex Data
Services



Uh, no. You can consume webservices in Flex. I'm guessing it must conform to
SOAP, which shouldn't be a problem. .NET, CF, all good.

Is this true, or can FLEX consume a web serivce but with limiations?  By

limitations, for example, not being able to consume a .Net dataset directly
- needing to pass the data into an array.



Not sure what you mean by that. You can hook up to a webservice. You cannot
hook up 'directly' to .NET, if you mean some kind of remoting connection
(RTMP?), unless you set something up like that in .NET. PHP has AMFPHP and
CF has Flash Remoting built in. However, you could set up a socket server in
.NET and hook flex 2 directly to that, since it now has binary socket
functionality.

-Scott


On 12/22/06, Brake, Stephen [EMAIL PROTECTED] wrote:


I have a Flex question.  I have been considering FLEX 2.0, but when I
spoke with the guy at Adobe, the first thing he told me was that FLEX could
not consume web services without Flex Data Services and the price he quoted
me for the Departmental License was (well, lets not say).

Is this true, or can FLEX consume a web serivce but with limiations?  By
limitations, for example, not being able to consume a .Net dataset directly
- needing to pass the data into an array.

Thanks,

Steve



From: [EMAIL PROTECTED] on behalf of Mike Cobb
Sent: Thu 12/21/2006 11:58 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Remove elements from Array



-

Hi everyone,

I'm having a braindead moment today, which I was hoping someone could
help me with.

I have the following array...

//Create array with 5 elements
var myArray1:Array = new Array();
myArray1.push( new Array(A:, -1) );
myArray1.push( new Array(B:, -1) );
myArray1.push( new Array(C:,  0) );
myArray1.push( new Array(D:,  0) );
myArray1.push( new Array(E:, -1) );
myArray1.push( new Array(F:,  1) );
myArray1.push( new Array(G:,  0) );
myArray1.push( new Array(H:, -1) );
//name, score

...and I'm trying to remove all the elements in myArray1 with a score of
less than 0 without sorting/reordering the array at all.

I was trying to use a 'for loop', but obviously as the elements are
removed, the length of the array changes  causes the wrong elements to
be deleted.

Can anyone help?

Thanks,
Mike

--
-
Mike Cobb
Creative Director
HMC Interactive
-
Tel: + 44 (0)845 20 11 462
Mob: + 44 (0)785 52 54 743
Web: http://www.hmcinteractive.co.uk
-
Grosvenor House, Belgrave Lane,
Plymouth, PL4 7DA, UK.
-

I've got a new e-mail address: [EMAIL PROTECTED]
Please update your address book. Thanks.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 xml with html using tag img and align

2006-12-27 Thread slangeberg

Oh, I see. Can you post the code you're using? The xml, parsing and html?

-Scott

On 12/27/06, natalia Vikhtinskaya [EMAIL PROTECTED] wrote:


yes I am loading html from xml. Removing target does not help. If
align=left href with http://; works but when I put Asfunction what I
really need it also does not work. I checked this ASfunction with text. It
is correct for text.

2006/12/27, slangeberg [EMAIL PROTECTED]:

 You're loading the html as xml into flash? If so, I had troubles (in IE,
i
 think) using ' target=_blank '. I had to remove that property.

 -Scott

 On 12/27/06, natalia Vikhtinskaya [EMAIL PROTECTED] wrote:
 
  Hi to all
 
  I have difficulty with this simple loading html with img. If
 align=right
  link   does not work. If align=left everything is correct.
 
  pa href=http://some.com; target=_blank img
  src=media/pic1/sm1.jpg
  vspace=0 align=right /a text text./p
  Can anybody explain me what is wrong? Thank you for help.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] A little AS3 AMFPHP 1.9 HowTo

2006-12-22 Thread slangeberg

Are you going to post the PHP code for 'Phonebook.getAll'?

I know what webservices look like in CF, but not PHP.

Thanks,

-Scott

On 12/22/06, Morten Reinholdt [EMAIL PROTECTED] wrote:


Hey All

If it is of any interest I have made a small and simple tutorial about
how to connect actionscript 3 whit AMFPHP 1.9 you can find it on my blog
at http://flashorbit.com/?page_id=53

--

Morten Reinholdt - Flash Developer - TBWA\PLAY
blog: flashorbit.com http://flashorbit.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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Timeline motion tween: disappears (not good)

2006-12-21 Thread slangeberg

I have a strange problem (Flash 8) where the designer created motion tweens
on the timeline, which causes clips to fade in / out. She used the
properties dropdown box to set alpha, then created a motion tween between
two keyframes to accomplish her fades.

This site is built dynamically, through attaching clips from library.
Sometimes the tweens magically disappear, and you just see the clips visibly
pop in and out, rather than fading smoothly. NOW, this is the kicker - when
the tweens disappear, my fix is to delve down into the offending timeline,
check that it's all there, then compile. POOF - the tween is magically
working again!

So - I can get the tweens back, but it's rather annoying to do this all the
time. Also, I hate leaving random Flash bugs floating around, so any
insights appreciated. Have a feeling this will be just one more phantom
Flash problem floating in a project. For some reason, I must have at least
one per project!

Thanks,

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Point inside Rectangle ?

2006-12-21 Thread slangeberg

Skinner's work here is bitmap-based and is quite efficient:

http://www.gskinner.com/blog/archives/2005/08/flash_8_shape_b.html

This method would require you to attach at least a 1-pixel clip to use for
your point, but is way simple compared to the math involved, i'm sure.

-Scott

On 12/21/06, Oliver Mรผller [EMAIL PROTECTED] wrote:


Hi all,

I'm looking for a mathematic way to check if a point resides within a
rectangle.
The rectangle is not parallel to the axes, instead its rotating all the
time.
It's not a movieclip so hitTest is out of the question.
Any suggestions how I could solve this problem ?

cheers,
olli
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Point inside Rectangle ?

2006-12-21 Thread slangeberg


The rectangle is not parallel to the axes, instead its rotating all the
time.



I don't believe that using the bounds of a clip will account for any
rotations.-Scott

-Scott

On 12/21/06, Janis Radins [EMAIL PROTECTED] wrote:


Check whteher your point is iniside boundries by something like this:
if(point.x  rect.minX  point.x  rect.maxX  point.y  rect.minY 
point.Y  rect.maxY)

guess something like that should work.

2006/12/21, Oliver Mรผller [EMAIL PROTECTED]:

 Hi all,

 I'm looking for a mathematic way to check if a point resides within a
 rectangle.
 The rectangle is not parallel to the axes, instead its rotating all the
 time.
 It's not a movieclip so hitTest is out of the question.
 Any suggestions how I could solve this problem ?

 cheers,
 olli
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Timeline motion tween: disappears (not good)

2006-12-21 Thread slangeberg

Hmm, my movies aren't very big. Only about 350kb, total. Also, one is being
loaded into the other, but they both have same problem.

What is that 'Save and Compact' command? Doing so actually caused all of
those tweens to break in mine, so now I'll have to go through and open up
each and re-compile!

Thanks for trying, though.

- Scott

On 12/21/06, ben gomez farrell [EMAIL PROTECTED] wrote:


I was having this problem a while back, I never really solved it, just
ended up working around it.  I think, taking a wild stab at what's going
on, is that a tween is one of those things stored in RAM along with a
million other things.  In my case my flash movies were 70-120MB.  So I
think when memory started getting tight my tweens would disappear.
Actually going in and doing something to the offending clips would make
Flash recalculate and put it in RAM again, fixing them.

Thats my theory.  I wrote to Adobe who was really no help telling me to
make my Flash movies smaller.  You'd also be amazed at what cleaning up
your timeline will do in this situation if it's disorganized.  I also
found that a save and compact will generally do the same thing as
delving into the offending timelinebut will do it for your whole
project at once.

If your project is particularly large, a save and compact won't work
100% of the time, but often helps.  I think we've also found that
throwing more RAM into your computer will help.

And the last real kicker is, Flash MX 2004 does NOT have this problem.
So if you can work in 2004, do so, and you'll be trouble free in regards
to this problem.

ben

slangeberg wrote:
 I have a strange problem (Flash 8) where the designer created motion
 tweens
 on the timeline, which causes clips to fade in / out. She used the
 properties dropdown box to set alpha, then created a motion tween
between
 two keyframes to accomplish her fades.

 This site is built dynamically, through attaching clips from library.
 Sometimes the tweens magically disappear, and you just see the clips
 visibly
 pop in and out, rather than fading smoothly. NOW, this is the kicker -
 when
 the tweens disappear, my fix is to delve down into the offending
 timeline,
 check that it's all there, then compile. POOF - the tween is magically
 working again!

 So - I can get the tweens back, but it's rather annoying to do this
 all the
 time. Also, I hate leaving random Flash bugs floating around, so any
 insights appreciated. Have a feeling this will be just one more phantom
 Flash problem floating in a project. For some reason, I must have at
 least
 one per project!

 Thanks,

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Timeline motion tween: disappears (not good)

2006-12-21 Thread slangeberg

PS, man. 70-120MB swf's are way too big. You need to start loading some of
your content!

-Scott

On 12/21/06, ben gomez farrell [EMAIL PROTECTED] wrote:


I was having this problem a while back, I never really solved it, just
ended up working around it.  I think, taking a wild stab at what's going
on, is that a tween is one of those things stored in RAM along with a
million other things.  In my case my flash movies were 70-120MB.  So I
think when memory started getting tight my tweens would disappear.
Actually going in and doing something to the offending clips would make
Flash recalculate and put it in RAM again, fixing them.

Thats my theory.  I wrote to Adobe who was really no help telling me to
make my Flash movies smaller.  You'd also be amazed at what cleaning up
your timeline will do in this situation if it's disorganized.  I also
found that a save and compact will generally do the same thing as
delving into the offending timelinebut will do it for your whole
project at once.

If your project is particularly large, a save and compact won't work
100% of the time, but often helps.  I think we've also found that
throwing more RAM into your computer will help.

And the last real kicker is, Flash MX 2004 does NOT have this problem.
So if you can work in 2004, do so, and you'll be trouble free in regards
to this problem.

ben

slangeberg wrote:
 I have a strange problem (Flash 8) where the designer created motion
 tweens
 on the timeline, which causes clips to fade in / out. She used the
 properties dropdown box to set alpha, then created a motion tween
between
 two keyframes to accomplish her fades.

 This site is built dynamically, through attaching clips from library.
 Sometimes the tweens magically disappear, and you just see the clips
 visibly
 pop in and out, rather than fading smoothly. NOW, this is the kicker -
 when
 the tweens disappear, my fix is to delve down into the offending
 timeline,
 check that it's all there, then compile. POOF - the tween is magically
 working again!

 So - I can get the tweens back, but it's rather annoying to do this
 all the
 time. Also, I hate leaving random Flash bugs floating around, so any
 insights appreciated. Have a feeling this will be just one more phantom
 Flash problem floating in a project. For some reason, I must have at
 least
 one per project!

 Thanks,

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Timeline motion tween: disappears (not good)

2006-12-21 Thread slangeberg

Oh, that's alright. I prefer someone trying to help me to nothing at all!

And no, a 3-4 mb swf isn't out of the realm of reason. Still fat, but not
insane.

:) Scott

On 12/21/06, ben gomez farrell [EMAIL PROTECTED] wrote:


Wow!  Sorry to hear my advice made things worse.but having a save
and compact break things doesn't bode well for ya.
I forgot to mention one other thing you can doand thats hilite each
tween and do a convert to keyframes.  You can easily go back to the
motion tween by just clearing all those keyframes between your endpoints.
Having it all as keyframes made things always work for me.
But...you know that's my advice.it seems with my track record
with you this morningit'll either help, or set your computer on fire.
ben

slangeberg wrote:
 Hmm, my movies aren't very big. Only about 350kb, total. Also, one is
 being
 loaded into the other, but they both have same problem.

 What is that 'Save and Compact' command? Doing so actually caused all of
 those tweens to break in mine, so now I'll have to go through and open
up
 each and re-compile!

 Thanks for trying, though.

 - Scott

 On 12/21/06, ben gomez farrell [EMAIL PROTECTED] wrote:

 I was having this problem a while back, I never really solved it, just
 ended up working around it.  I think, taking a wild stab at what's
going
 on, is that a tween is one of those things stored in RAM along with a
 million other things.  In my case my flash movies were 70-120MB.  So I
 think when memory started getting tight my tweens would disappear.
 Actually going in and doing something to the offending clips would make
 Flash recalculate and put it in RAM again, fixing them.

 Thats my theory.  I wrote to Adobe who was really no help telling me to
 make my Flash movies smaller.  You'd also be amazed at what cleaning up
 your timeline will do in this situation if it's disorganized.  I also
 found that a save and compact will generally do the same thing as
 delving into the offending timelinebut will do it for your whole
 project at once.

 If your project is particularly large, a save and compact won't work
 100% of the time, but often helps.  I think we've also found that
 throwing more RAM into your computer will help.

 And the last real kicker is, Flash MX 2004 does NOT have this problem.
 So if you can work in 2004, do so, and you'll be trouble free in
regards
 to this problem.

 ben

 slangeberg wrote:
  I have a strange problem (Flash 8) where the designer created motion
  tweens
  on the timeline, which causes clips to fade in / out. She used the
  properties dropdown box to set alpha, then created a motion tween
 between
  two keyframes to accomplish her fades.
 
  This site is built dynamically, through attaching clips from library.
  Sometimes the tweens magically disappear, and you just see the clips
  visibly
  pop in and out, rather than fading smoothly. NOW, this is the kicker
-
  when
  the tweens disappear, my fix is to delve down into the offending
  timeline,
  check that it's all there, then compile. POOF - the tween is
magically
  working again!
 
  So - I can get the tweens back, but it's rather annoying to do this
  all the
  time. Also, I hate leaving random Flash bugs floating around, so any
  insights appreciated. Have a feeling this will be just one more
 phantom
  Flash problem floating in a project. For some reason, I must have at
  least
  one per project!
 
  Thanks,
 
  : : ) Scott
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Remove elements from Array

2006-12-21 Thread slangeberg

What if you create a new array and push the good values (  0 ) onto it,
then replace the old array with the new, at the end of the loop?

Simple. Efficient? Probably, unless your array gets huge.

-Scott

On 12/21/06, Mike Cobb [EMAIL PROTECTED] wrote:


-

Hi everyone,

I'm having a braindead moment today, which I was hoping someone could
help me with.

I have the following array...

//Create array with 5 elements
var myArray1:Array = new Array();
myArray1.push( new Array(A:, -1) );
myArray1.push( new Array(B:, -1) );
myArray1.push( new Array(C:,  0) );
myArray1.push( new Array(D:,  0) );
myArray1.push( new Array(E:, -1) );
myArray1.push( new Array(F:,  1) );
myArray1.push( new Array(G:,  0) );
myArray1.push( new Array(H:, -1) );
//name, score

...and I'm trying to remove all the elements in myArray1 with a score of
less than 0 without sorting/reordering the array at all.

I was trying to use a 'for loop', but obviously as the elements are
removed, the length of the array changes  causes the wrong elements to
be deleted.

Can anyone help?

Thanks,
Mike

--
-
Mike Cobb
Creative Director
HMC Interactive
-
Tel: + 44 (0)845 20 11 462
Mob: + 44 (0)785 52 54 743
Web: http://www.hmcinteractive.co.uk
-
Grosvenor House, Belgrave Lane,
Plymouth, PL4 7DA, UK.
-

I've got a new e-mail address: [EMAIL PROTECTED]
Please update your address book. Thanks.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Outlook and Flash - ToDo list

2006-12-20 Thread slangeberg

That's strange. I was just looking at doing a Todo tool. I like the one
that's in Google Desktop (just a little checklist on the desktop), but I
hate the sidebar it puts up. I just want the little widget! The task list in
Outlook is hidden away and I don't like to have anything up there except my
inbox. Any recommendations?

If there's no free projects out there, I was thinking about doing a
flash/Zinc desktop widget.

-Scott

On 12/20/06, Merrill, Jason [EMAIL PROTECTED] wrote:


Thanks, I know about Outlook's web interface, I'm not looking to do
anything like that - a superior here wanted to look into tapping into
ToDo lists via a flash interface.   I read up on it, and Exchange
provides CDO which you can tap into with .NET, but it's limited in what
it exposes  Tasks not being one of them.  Perhaps a wrapper like Zoltan
suggested is the way to go. Looking furhter, I realize it's one of those
projects that probably won't go anywhere since the time/cost involved
far outweigh the benefits right now, but thanks for the info!

Jason Merrill
Bank of America
Learning  Organizational Effectiveness




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Cairngorm

2006-12-19 Thread slangeberg

I've been playing with similar ideas and I'm wondering if your model just
dispatches an 'onUpdate' event, that prompts views to get the values they're
interested in, or do you create seperate events for individual properties on
the model?

-Scott

On 12/19/06, Robin Burrer [EMAIL PROTECTED] wrote:


Hi Greg,

Thanks for your reply from a few weeks ago. I just found your message
today by accident...:-)
I ended up creating my own framework which is basically a simplified
version of cairngorm for AS2. I didn't use all of the underlying design
patterns but most of them. I found that you can easily replace the
data-binding with setter methods in the model though.

For each property in my model I also have a setter method.
Commands that want to update a property in the model will call a setter
method.
The model then not only updates its property but also dispatches an
event to all its listeners/views. - This works perfectly.

Robin





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of greg h
Sent: Tuesday, 19 December 2006 9:09 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Cairngorm

Bram,

Cairngorm has been used on Flash only projects (although not by me ;-).
Following are 3 links related to 2 occasions that this question came up
last
month here on this list.

http://chattyfig.figleaf.com/pipermail/flashcoders/2006-November/175801.
html

http://tech.groups.yahoo.com/group/cairngorm-documentation/message/156

http://chattyfig.figleaf.com/pipermail/flashcoders/2006-November/176244.
html

Yours is the first mention I have seen of a Cairngorm AS3 project not
related to Flex.  Please do post back and give us an update on your
experience if you do move ahead using Cairngorm on an AS3 Flash only
project.

If you have follow on questions, you might also try posting on either or
both of the following lists:
cairngorm-documentationhttp://tech.groups.yahoo.com/group/cairngorm-doc
umentation/and
cairngorm-devel http://tech.groups.yahoo.com/group/cairngorm-devel/

hth,

g


On 12/18/06, Webdevotion [EMAIL PROTECTED] wrote:

 Hello Flashcoders,

 Is it allright to use Cairngorm for AS 3 projects?
 I'm getting up to speed with Flex and AS 3.0 and
 want to start learning some relevant frameworks.

 Which ones are among the best choices for
 strictly AS 3 projects ?
 Any articles concerning those choices ?

 Bram

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Remoting problem

2006-12-15 Thread slangeberg

Can you post the lines where you're making remoting calls and loading
external assets? You might be doing relative paths that don't work on the
webserver.

-Scott

On 12/15/06, kamakoti maheshrao [EMAIL PROTECTED] wrote:


Problem 1: I have problem with remoting. I have built
flash files to talk to .net libraries on the IIS 6.0
server. It work like charm when I run the swf file on
Flash compiler. The remoting transaction fails when I
run the flash embedded .html page, after moving to
localhost.
When I run the html page from its location like
C:\flash\test.html on browser, the database is
updated. But when I move it to wwwroot and run as
http://192.168.1.10/fremoting/test.html;, the
database does not change! What could be the problem
here?
I have even entered the URL and filepath on Flash
security manager aswell.

2. Flash does not play the flv movie file when hosted
on the server. .flv, .swf and .html files are all on
the same folder on server. It plays only when played
standalone or when I run the published .html file on
browser locally! What is problem here?

These problems have crippled me from last 4 days. If
you have read this, please put in few mins to help me
out. Have nice Christmas and New year coming up.
Thanks,

Warm Regards,
Kemp





Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Actionscript 3

2006-12-15 Thread slangeberg

Lang ref included in this zip:

http://download.macromedia.com/pub/documentation/en/flex/2/flex2_documentation.zip

-Scott


On 12/15/06, Cameron Ray [EMAIL PROTECTED] wrote:


Anyone know where I can download Adobe's Actionscript 3 Language
Reference files?  I have this for Flex 2 and I've been trying to find
it for AS3would be very helpful to have a local version.

Thanks!
-Cameron
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Actionscript 3 Books

2006-12-15 Thread slangeberg

They probably are more concerned with your knowledge of 'compiling AS3'. If
you know AS2, then you're good to go! I figured out AS3 when flex 2 was in
alpha. Not much to it, if you know any java/C#/javascript-like language
(what, Algol-based?).

Especially if you download that language ref.

-Scott


On 12/15/06, Millie Niss [EMAIL PROTECTED] wrote:


I was just looking at Joey Lott's Advanced Actionscript 3 With Design
Patterns book in the store, and it looked pretty good, but it had
knowledge of Actionscript 3 as a pre-requisite.  I am not aware of any
(print) books introducing Actionscript 3...  Are there any?  I'd like to
start learning it (I saw that regular expressions are supported and that
alone would be nice...) but I don't like the idea of learning a programming
language from beta versions of Adobe's Help...

Millie

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] MX transitions: Website that shows examples?

2006-12-15 Thread slangeberg

I'm also fearful of lists that disregard comments from active
developers.


Is Jason now 'the list'?

Is it a fearful thing to be able to openly express a disregard for some
product. Nay, I say nay!

Ryan, how about you? Are you on FuseKit's payroll? Well, I know that's a
silly question, but it's a valid point.

-Scott


On 12/15/06, Ryan Pescatore Frisk [EMAIL PROTECTED] wrote:


Jason

I can see that you  I may stand at opposite sides of the Flash
developer( user) experience.
I really was only wondering if you utilized other classes/methods for
animation, nothing more or less.
I'm also fearful of lists that disregard comments from active
developers.



On Dec 15, 2006, at 11:43 PM, Merrill, Jason wrote:

 Oh, sorry!
 I did not mean to talk out of term.
 Only wanted to know if there was another reason for your dismissal.

 Uh, no - just what I said.  What in the world could you possibly be
 talking about?  Like I am making my own competing classes or
 something

 30k is large but not so unreasonable for smooth animation
 which brings web environments closer to real life, aka video,
 aka motion graphics, aka sales.

 What does the Fuse kit does to animation that is smoother and
 closer
 to real life than what you can already do with the Adobe-supplied
 tween, easing, and transition classes?  I'm curious.  Perhaps there is
 something, I dunno.  I NEVER said the Fuse kit was all bad, it's
 pretty
 cool - mostly. There are just some things to be wary of when using it,
 that's all. Sure, I've become disenchanted with it, but that doesn't
 mean it wouldn't be a good choice for other kinds of projects.

 Jason Merrill
 Bank of America
 Learning  Organizational Effectiveness


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Partially embedded fonts

2006-12-14 Thread slangeberg

Try:

Selecting box with text that has glyphs already in it.

Embed...  Auto Fill

You should see your glyphs appear in the - Include these characters: field.

If you're setting text dynamically in the text field, simply paste the
characters you need into the - Include these characters: field.

-Scott

On 12/14/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote:


Hi list...

I have some dynamic text boxes using an embedded font.  These text boxes
only use a select few glyphs, but I have to embed the font with linkage
for others to see it. The font adds a lot of bulk to the swf and I'm
wondering if there's a way to embed only the necessary glyphs and
minimize the bulk.

Thanks,
- Michael M.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] MX transitions: Website that shows examples?

2006-12-14 Thread slangeberg

I've yet to use Fusekit (only used MX tras / tween) and have been quite
happy with performance / usability.

I realize that Fusekit's API is far more sexy and desireable, but so far
haven't seen them do anything that I can't accomodate myself. Such as a
Sequence, Parallel, etc.

AS3 will also encapsulate most of this functionality in a very handy manner.
Not sure about the size / performance ratio, but it's seemed fine to me,
from what I've used so far.

-Scott

On 12/14/06, Merrill, Jason [EMAIL PROTECTED] wrote:


I second this testament.
I have been using the Fuse Kit for a bit  am very happy with it.

Just to chime in, the Fuse kit is HUGE.  I would recommend against it in
some situations where performance is a factor.  If it doesn't effect
performance, it's a great set of classes.  Just be sure to test test
test.  I ripped it out of a project because it brought my RIA to a
crawl.

Jason Merrill
Bank of America
Learning  Organizational Effectiveness




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] MX transitions: Website that shows examples?

2006-12-14 Thread slangeberg

I generally use this tool for Tween dev:

http://weblogs.macromedia.com/mc/archives/2006/04/transition_and.cfm

http://weblogs.macromedia.com/mc/archives/TransitionExplorer.zip

-Scott

On 12/14/06, slangeberg [EMAIL PROTECTED] wrote:


I've yet to use Fusekit (only used MX tras / tween) and have been quite
happy with performance / usability.

I realize that Fusekit's API is far more sexy and desireable, but so far
haven't seen them do anything that I can't accomodate myself. Such as a
Sequence, Parallel, etc.

AS3 will also encapsulate most of this functionality in a very handy
manner. Not sure about the size / performance ratio, but it's seemed fine to
me, from what I've used so far.

-Scott

On 12/14/06, Merrill, Jason [EMAIL PROTECTED] wrote:

 I second this testament.
 I have been using the Fuse Kit for a bit  am very happy with it.

 Just to chime in, the Fuse kit is HUGE.  I would recommend against it in
 some situations where performance is a factor.  If it doesn't effect
 performance, it's a great set of classes.  Just be sure to test test
 test.  I ripped it out of a project because it brought my RIA to a
 crawl.

 Jason Merrill
 Bank of America
 Learning  Organizational Effectiveness




 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--

: : ) Scott





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS2 OOP Class Structure for simple pong type game

2006-12-13 Thread slangeberg

Have you actually implemented an event system like this in games? It seems
like a good idea, but for some reason I always thought this approach would
introduce unnecessary latency, but now I'm not sure why!

-Scott

On 12/13/06, Pete Miller [EMAIL PROTECTED] wrote:


Another possible strategy is for the ball to fire off an event every
time it crosses certain vertical location thresholds.  The target
objects could then listen for the event which matches their vertical
location to test for a collision.

For example, when the ball descends to the row containing the paddle, it
fires that event, and the paddle, receiving it, tests for collision.
When the ball ascends to the first row of bricks, those bricks each test
for collsion.  This might be a performance improvement over testing
every object in the system all the time.

P.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Holth, Daniel C.
 Sent: Wednesday, December 13, 2006 9:43 AM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] AS2 OOP Class Structure for simple pong
type
 game


 That would be one way.  Although it is rather limiting.  I'm assuming
 that the ball will bounce whenever it hits an object.

 Perhaps create an array of bounceObjects[];

 function addBounceObject(obj:Object):Number{
  return bounceObjects.push(obj);
 }

 Then you could create your hit tracker.

 function checkCollisions(){
  var len:Number = bounceObjects.length;
  // Loop through and check all objects hitting the ball
  for(var i:Number = 0; i  len; i++){
  // Check each object hit ball
  if(this.hitTest(bounceObjects[i])){

  this.bounce(); // Bounce the ball
  bounceObject[i].onHitByBall();
  }
  }
 }

 Have your onEnterFrame functions run checkCollisions every time.
That
 way you check for hits against the paddle, bricks etc.


 The bounceObject[i].onHitByBall() would execute a function in that
 objects code that would say what to do when it was hit by a ball.  In
the
 instance of a paddele do nothing, a brick - destory it!


 -Dan

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Paul
 Steven
 Sent: Wednesday, December 13, 2006 8:26 AM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] AS2 OOP Class Structure for simple pong
type
 game


 Thanks for the reply Dan

 Not quite sure how the Ball references the Paddle or alternatively
the
 CollisionController references the ball and paddle.

 My Game class creates the Ball and Paddle as follows:

 mcPaddle = new Paddle(mcReference, paddle_mc, 50, 100, 289);

 var vBall_Object = new Ball(mcReference, ball_mc, 100, 160, 240);
 arrBallObjects.push(vBall_Object);

 If I wanted to give the Ball a reference to the paddle, would I do
 something
 like this? (see last parameter)

 var vBall_Object = new Ball(mcReference, ball_mc, 100, 160, 240,
 mcPaddle);

 Thanks

 Paul


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
Holth,
 Daniel C.
 Sent: 13 December 2006 14:14
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] AS2 OOP Class Structure for simple pong
type
 game


 I would make the ball responsible for checking if it collides with
the
 paddle because the ball's behavior/state will change - not the
paddle's,
 nor
 does the state of the 'game' really change.

 An alternative would be to create a CollissionControler.as that does
all
 your hit testing for you.  This may become useful when you add the
bricks
 or
 other objects that need to check for collisions.

 -Dan

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Paul
 Steven
 Sent: Wednesday, December 13, 2006 8:02 AM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] AS2 OOP Class Structure for simple pong type
game


 I am creating a simple pong / breakout / arkanoid game in AS2 and not
 sure
 how best to deal with the classes.

 So far I have a Game.as class, a Paddle.as class and a Ball.as class.

 I need to detect when the ball (or balls) collide with the Paddle.

 My question is, which class should check for this collision?

 Should the Game class do this or should I pass a reference to the
Paddle
 into the Ball class so the Ball is able to check this collision
itself?

 If it is the Game class, then I guess it is a case of giving both the
 Paddle
 and Ball classes a method to return their current position and then
 letting
 the Game class compare these positions to determine if a collision
has
 occurred?

 If the Ball class needs to have a reference to the Paddle passed to
it, I
 am
 not sure how this is done. So I would appreciate any advice on this.

 I appreciate there are probably a lot of different solutions to this,
but
 I
 am trying to get off on the right footing with this OOP programming.

 Many thanks

 Paul

 

Re: [Flashcoders] Local SWF loadVars from remote php file

2006-12-11 Thread slangeberg

Could you post the contents of your crossdomain.xml file?

-Scott

On 12/11/06, Mike Dunlop [EMAIL PROTECTED] wrote:


Hi, I am pulling my hair out on this. I am trying to develop flash
locally and want to talk to remote php scripts. I have added a
crossdomain.xml file to the remote server in question as well as the
following to my local flash file in frame 1

System.security.allowDomain(*);


Whenever using loadVars i get Error opening URL... I understand
generally how sandbox/security works but i can't get this to work

Here's my loadVars code:


var exhibit_vars:LoadVars = new LoadVars();
exhibit_vars.onLoad = function (success) {
 if(success)
 trace(this.toString());
 else
 trace(vars failed to load!);
}
exhibit_vars.load(http://mydomain.com/v2/flashapi/api.php?
atype=cExhibit);




Can anyone help me, please??

Thank You.


.
Mike Dunlop
// Droplab
[ e ] [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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Running a Timer in more than one instance of the same DisplayObject?

2006-12-07 Thread slangeberg

I believe at one time that the following would create a static variable on
your class, not an instance variable, but don't know if that's changed:

protected var _timer:Timer = new Timer();




-Scott


On 12/7/06, T. Michael Keesey [EMAIL PROTECTED] wrote:


Are you initializing the timer at compile-time or in the constructor?
That is, are you doing this:

protected var _timer:Timer = new Timer();

... or this?:

public function MyBitmapClass() {
super();
_timer = new Timer();
//...
}
//...
protected var _timer:Timer;

I've had some trouble with the former approach. It seems to set all
instances' _timer fields to the same object. The latter approach
ensures that each field is indeed different.

On 12/7/06, Sascha [EMAIL PROTECTED] wrote:
 Hi List,

 I have an advanced AS3 problem with that I'm stuck ...

 I'm extending the Bitmap Class to create a custom bitmap object that
uses a
 Timer to trigger a function that scrolls the bitmap's BitmapData.
 This works fine as long as there is only one instance of the custom
bitmap
 on the screen but as soon as there are two only one of them keeps
playing
 the timed scroll. If I add many more they even all disappear.
 I guess that it is timer related trouble like as if all are using the
same
 timer (though every instance creates its own timer).

 Does somebody have any clue how to get this working?

 Thanks a lot,
 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



--
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
--
The Dinosauricon: http://dino.lm.com
Parry  Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Q: Performance of AS3 vs Java

2006-12-06 Thread slangeberg

Regarding performance, FP9 is showing some nice 3D potential (for a 1-2meg
VM):

http://www.papervision3d.org/demos/seahorse/

However, not sure how much this will help you with a data visualization!

-Scott

On 12/5/06, Christian Giordano [EMAIL PROTECTED] wrote:


 If you really want to get into doing 3d viz work, use Java and OpenGL -
 and skip Processing unless you just want to jump right in and be able to
 see your results faster.

As Jon says, OpenGL could easily be the best solution, or Java3D at
least. Look these examples without opengl:

http://jamesnsears.com/applets/spies/
http://www.acoustic-cartography.com/processing/

Then of course it depends which kind of application u r doing. For the
web, OpenGL can work but as far as I know only with client hacking.


Best, chr

--
___
{ Christian Giordano's site and blog @ http://nuthinking.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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Q: Performance of AS3 vs Java

2006-12-06 Thread slangeberg

No, she be AS3. That be why she so fast!:

http://blog.papervision3d.org/2006/12/04/papervision3d-as3-demo/

-Scott


On 12/6/06, Christian Giordano [EMAIL PROTECTED] wrote:


slangeberg wrote:
 Regarding performance, FP9 is showing some nice 3D potential (for a
1-2meg
 VM):

 http://www.papervision3d.org/demos/seahorse/

Papervision is for Flash 8 and as far as i know, in terms of graphics,
the performance between AS2 + FP8 and AS3 + FP9 are almost the same.

Then of course all the Math computations (frequently used in 3D) are
faster. So yes, probably for 3D AS3 could help. I'm still waiting to
make proper tests though.


Best, chr

--
___
{ Christian Giordano's site and blog @ http://nuthinking.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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Q: Performance of AS3 vs Java

2006-12-06 Thread slangeberg

WPF/E will NOT have 3D support. At least not for a while. It's supposed to
be cross-platform, so hardware acceleration would be problematic. At this
time, as far as I'm aware, WPF only supports 3D on the Windows desktop.

Scott

On 12/6/06, Merrill, Jason [EMAIL PROTECTED] wrote:


That rocks.  I'm blown away.  I wonder if Adobe is working 3D into Flash
IDE 9.  Microsoft just released WPF/E and Expression Blend will be
available for purchase in Q2 2007 - the Flash competitor that does 3D.
I wonder if the Flash 9 IDE will be available before - say Q1 2007...

Jason Merrill
Bank of America
Learning  Organizational Effectiveness







-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Christian Giordano
Sent: Wednesday, December 06, 2006 1:54 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Q: Performance of AS3 vs Java

slangeberg wrote:
 Regarding performance, FP9 is showing some nice 3D potential (for a
 1-2meg
 VM):

 http://www.papervision3d.org/demos/seahorse/

Papervision is for Flash 8 and as far as i know, in terms of
graphics, the performance between AS2 + FP8 and AS3 + FP9 are
almost the same.

Then of course all the Math computations (frequently used in
3D) are faster. So yes, probably for 3D AS3 could help. I'm
still waiting to make proper tests though.


Best, chr

--
___
{ Christian Giordano's site and blog @ http://nuthinking.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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] How variables when using setInterval ...

2006-11-29 Thread slangeberg

James O'Reilly has great Timer class to  wrap/replace setInterval():

http://www.jamesor.com/2006/10/18/as2-timer-class/

-Scott

On 11/29/06, Stephen Ford [EMAIL PROTECTED] wrote:


Hello,

Lets say you have 10 different setIntervals running within your class. Do
you also declare 10 different variables for these intervals ? like so:

private var nInt:Number;
private var nInt2:Number;
private var nInt3:Number;
etc
etc

Or can you just declare one variable and use it multiple times (I'm
guessing not because then when you clear the interval, all of them would
stop).

Thanks.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Seriously illin' Flash work

2006-11-24 Thread slangeberg

Seeing this kind of work makes me reconsider my chosen profession!:

http://www.rockonflash.com/blog/?p=25


: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] MXML - Problem embedding FLA symbol

2006-11-19 Thread slangeberg

Still same issue, with MovieClip:

TypeError: Error #1034: Type Coercion failed: cannot convert
flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent.

This seems like something I've dealt with, months ago but I haven't touched
Flex for a while. Believe you must attach something that extends UIComponent
to Application, but if that's the case, this should be throwing a compile
error!

-Scott

On 11/19/06, Igor Costa [EMAIL PROTECTED] wrote:


you're trying to convert into a sprite that's can't possible.

just change to MovieClip instead of Sprite that's is deserved to create
more
common components.


Regards.

On 11/19/06, slangeberg [EMAIL PROTECTED] wrote:

 I'm trying to import a swf symbol into Flex 2. However, the following
code
 works great in AS3 project, but NOT in an MXML project:

 [Embed(source=../Art.swf, symbol=car_blue)]
 private var CarBlue:Class;

 private function init():void
 {
 var car_blue:Sprite = new CarBlue();
 addChild( car_blue );
 }

 I get the following runtime error:

 TypeError: Error #1034: Type Coercion failed: cannot convert
 [EMAIL PROTECTED] to mx.core.UIComponent.
 at FlexDerby/::init()
 at FlexDerby/___Application1_creationComplete()
 at


flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
 ()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.core::UIComponent/set initialized()
 at mx.managers::LayoutManager/::doPhasedInstantiation()
 at Function/http://adobe.com/AS3/2006/builtin::apply()
 at mx.core::UIComponent/::callLaterDispatcher2()
 at mx.core::UIComponent/::callLaterDispatcher()

 : : ) Scott
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--

Igor Costa
www.igorcosta.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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] MXML - Problem embedding FLA symbol

2006-11-18 Thread slangeberg

I'm trying to import a swf symbol into Flex 2. However, the following code
works great in AS3 project, but NOT in an MXML project:

   [Embed(source=../Art.swf, symbol=car_blue)]
   private var CarBlue:Class;

   private function init():void
   {
   var car_blue:Sprite = new CarBlue();
   addChild( car_blue );
   }

I get the following runtime error:

TypeError: Error #1034: Type Coercion failed: cannot convert
[EMAIL PROTECTED] to mx.core.UIComponent.
   at FlexDerby/::init()
   at FlexDerby/___Application1_creationComplete()
   at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
()
   at flash.events::EventDispatcher/dispatchEvent()
   at mx.core::UIComponent/set initialized()
   at mx.managers::LayoutManager/::doPhasedInstantiation()
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at mx.core::UIComponent/::callLaterDispatcher2()
   at mx.core::UIComponent/::callLaterDispatcher()

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] quick actionscript question

2006-11-15 Thread slangeberg

Can you setup a timer so that it keeps incrementing forward / backward by 1,
while user holds down button?

Scott

On 11/14/06, eric walton 9 / edub9 Edub9 [EMAIL PROTECTED] wrote:


Hello anyone know the actionscript for a button that will control a
video fast forward and rewind button that forwards and rewinds in a
smooth transition? I want to use it with an existing scrubber that is
working. The buttons are working but at present they only go back or
foreard based on 1 or 2 second increments.

Here is what i have at present:

// my custom nav buttons are below
ff_button.onRelease = function (){
myDisplay.jumpToVideoPosition(myDisplay.currentVideoPosition + 1);
}

rev_button.onRelease = function (){
myDisplay.jumpToVideoPosition(myDisplay.currentVideoPosition - 1);
}

Any ideas?

Eric




--
To view more about
The Artwork of Eric Walton 9 / Edub9
please go to the following address:
www.hollywoodfineart.com
www.myspace.com/ericwalton9_edub9
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Undefined value

2006-11-14 Thread slangeberg

'undefined' is not a string. Try:

var reliure_var;
if ( _global.pie_glo  _global.pie_glo !=  ) {
  reliure_var = reliure=+_global.pie_glo;
  var_glo.text = reliure_var;
} else {
  reliure_var = ยณยฒ;
  var_glo.text = reliure_var;
}


On 11/14/06, Laurent CUCHET [EMAIL PROTECTED] wrote:


How can I do to send an empty var if there is nothing ? I always get
ยณreliure=undefinedยฒ and I need an empty var

Thank you very much

var reliure_var;
if (_global.pie_glo !==  || _global.pie_glo !== undefined) {
reliure_var = reliure=+_global.pie_glo;
var_glo.text = reliure_var;
} else {
reliure_var = ยณยฒ;
var_glo.text = reliure_var;
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] launching an exe?

2006-11-13 Thread slangeberg

John,

You said:

safely and easily install a desktop application from a web browser.




Do you mean Apollo apps will be distributed from the web, but can run
offline?

You also said:

I wouldn't accept EXEs from strangers myself,


Does that mean the Apollo tool won't ask you to deploy the application, when
downloaded from the browser?

Scott


On 11/13/06, John Dowdell [EMAIL PROTECTED] wrote:


Adam Fisk wrote:
 Thanks for the responses.  I understand the security concerns and
 sympathize
 with them, but I still want my users to be able to install the app much
 easier regardless.

Adobe Flash covers a wide range of deployment possibilities. It sounds
like you're asking for ways to safely and easily install a desktop
application from a web browser.

If so, then keep an eye on the upcoming Apollo project:
http://labs.adobe.com/wiki/index.php/Apollo


Other than that, you can always wrap the Adobe Flash Player in a
native-code executable (as regular Projector or third-party shell) and
use the browser's regular installation mechanism to download and
activate. I wouldn't accept EXEs from strangers myself, but that's one
way to do it with current technology.

jd






--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Zinc throws errors on CD

2006-11-10 Thread slangeberg

Hi all,

I haven't heard anything from MDM's support, but I have an app I created
with Zinc that runs fine on my hard drive. Now however, the same app throws
the following error, when run from a CD:

'Access violation at address 40540. Read of Address 4054.'

Has anyone else ever seen this?

Thanks,

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] launching an exe?

2006-11-10 Thread slangeberg

Only if the flash movie is hosted in an exe. Flash does not have system
permissions to launch apps, on it's own.

Scott

On 11/9/06, Adam Fisk [EMAIL PROTECTED] wrote:


Is there any way to launch an exe with any version of Flash?  I basically
want to download my installer using Flash and then automatically launch
it,
basically bypassing the browser's download and launch cycle to make things
easier on the user.

I know very little actionscript/mxml, but I'm just curious if something
like
this is possible.  Would I have to set something in a policy file
somewhere?

Thanks so much.

-Adam
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Re: launching an exe?

2006-11-10 Thread slangeberg

I'm sorry, did you mean that you want to initiate a download from Flash? I
believe that you can do that by simply peforming getURL() on your web asset
(AS2).

Scott

On 11/9/06, Adam Fisk [EMAIL PROTECTED] wrote:


Looks like maybe I can use the socket classes from Flash 9 along with
FSCommand?  Will that work from an swf within a web page (as opposed to a
standalone player that might have fewer security restrictions)?

Seamless install is vital for my application, so this would make a
tremendous difference.

Thanks.

-Adam


On 11/9/06, Adam Fisk [EMAIL PROTECTED] wrote:

 Is there any way to launch an exe with any version of Flash?  I
basically
 want to download my installer using Flash and then automatically launch
it,
 basically bypassing the browser's download and launch cycle to make
things
 easier on the user.

 I know very little actionscript/mxml, but I'm just curious if something
 like this is possible.  Would I have to set something in a policy file
 somewhere?

 Thanks so much.

 -Adam


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg

Are you asking if you can somehow save out all the commands to a text file?

now is it possible to write ActionScript that will translate the drawing you
created above into AS-style:

You see, you would have been using AS to perform all those commands in the
first place. ie. lineTo, moveTo... etc.

Scott


On 11/7/06, Ben [EMAIL PROTECTED] wrote:


Hi Flashcoders

is it possible to write ActionScript code to gain access to
lines/fills/shapes drawn on the stage using the standard Flash API?

eg
open a new document
draw a line on the stage
draw another line
add some more lines, curves, add some filled shapes, rectangles, circles
etc

now is it possible to write ActionScript that will translate the drawing
you
created above into AS-style:

moveTo(x1,y1);
lineTo(x2,y2);
curveTo(cx,cy, x3,y3);
beginFill();
lineTo(x4,y4);
etc etc

I want to be able to trace out a fairly complex drawing using all the
Flash
tools, but then control how it gets drawn entirely from ActionScript.

Thanks! Ben.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg


I want to be able to trace out a fairly complex drawing using all the
Flash tools, but then control how it gets drawn entirely from ActionScript.



Now I understand you want to take drawings from IDE and trace them in
ActionScript. What is your  goal with this?  You want to stylize your
drawings on the fly? I'm just wondering if there wouldn't be logical
constraints, much less technical.

Scott


On 11/7/06, Ben [EMAIL PROTECTED] wrote:



 You see, you would have been using AS to perform all those commands in
the
 first place. ie. lineTo, moveTo... etc.

 Scott


the lines are first created directly onto the stage using the Flash IDE
(not
ActionScript) eg the line, circle, box tools from the tools palette on the
left side of the workspace.

then these shapes are (somehow - this is the bit I don't know) converted
into their API equivalents (lineTo, curveTo, beginFill, endFill etc)


I'm sure it would be possible to write a drawing program using the API
which allows the user to create lines and fills and edit them, but this
seems like a HUGE waste of time since there is already an absolutely
perfect
drawing program inside Flash itself...

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash and DHTML menus

2006-11-07 Thread slangeberg

Yeah, if you could have, the menu in flash would have been ideal.

If you search this list for 'transparent wmode', you'll find that this has
poor cross-platform support.

Scott

On 11/7/06, Perdue, Blake [EMAIL PROTECTED] wrote:


I'm guessing there isn't a solution to this?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Perdue,
Blake
Sent: Monday, November 06, 2006 10:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Flash and DHTML menus

We're building a Flash T1 (top story box) into a page redesign. Directly
above the SWF we have a navigation bar that displays DHTML menus over
the flash content. We want to support as many browsers on as many OSes
as possible, but are running into problems. For example, Mac Safari
displays DHTML poorly:

http://www.nascar.com/wireless/
(roll over the main nav)

Adobe suggests 'transparent wmode', while others suggest opaque, neither
of which works well in Safari:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15523
http://www.communitymx.com/content/article.cfm?cid=E5141

Also, the T1 uses intervals to swap the top story and we're running into
timing problems because (I think) we're using a transparent wmode, as
suggested here:

http://justin.everett-church.com/wmode/

Are there any work-arounds, or solutions that support the major browsers
(IE, FF, Safari, Opera) and also avoid the interval timing issue?



Blake Perdue | 212.522.1292 | AIM: blakepCNN

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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: [SPAM]Re: [Flashcoders] access to drawing API information via ActionScript

2006-11-07 Thread slangeberg

You're going to need a fairly complex system to set this up!

Even if you could use AS to trace the artwork in the IDE (which I doubt),
you'd need a system in place to figure out where you are in the drawing.

reversed, speeded up, slowed down, paused, branched etc.




Can you imagine how hard it would be to guess where you are in the artwork
generation process to emulate these things? Say you have a shape with a
bunch of sub-shapes that have sub-shapes that are overlapped by some other
stuff. How would you know in when in the code that you need to render each
item?

Not trying to slam you, but to help you think about this critically.

Here's one thing to consider: Have you ever seen this done anywhere else? If
so, that would be a good starting point to figure out how it was done. If
not, there may be a good reason!

Scott

On 11/7/06, Ben [EMAIL PROTECTED] wrote:



  I want to be able to trace out a fairly complex drawing using all the
  Flash tools, but then control how it gets drawn entirely from
 ActionScript.


 Now I understand you want to take drawings from IDE and trace them in
 ActionScript. What is your  goal with this?  You want to stylize your
 drawings on the fly? I'm just wondering if there wouldn't be logical
 constraints, much less technical.

exactly!

the goal is to build up a complex drawing step by step under the control
of
ActionScript. So the style can be modified, it can be influenced by the
user
while its being drawn, the animation can be synchronised with external
events, reversed, speeded up, slowed down, paused, branched etc.

ActionScript is GREAT for the control. But the IDE is GREAT for all the
initial inputting of lines, curves and shapes (with its ability to edit
lines, use guide layers, snap to objects, align objects, adjust control
points etc).

but can ActionScript gain access to this IDE-stored info...???




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Freelancer Class

2006-11-07 Thread slangeberg

I don't know if it's a remnant.

You may be doing property initialization and need to nail down scope:

class Student {

private var name:String

function Student( name:String ) {
  this.name = name;
}
}

-Scott

On 11/7/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:


 I know I don't have to.
 But I think the code is more clear that way.

Classes will not compile if you try to access variables that are not
declared in the class.  So by accessing a variable, it is inherently
referring to this because it absolutely must be, thus that particular
use of this is redundant and a remnant of the days of AS1 classes
(prototype) and maintaining scope within them.

That's not to say this doesn't have its place, but since its place is
more refined now, I find it's more important to reserve its use for
those times so it stands out that much more.  However, everyone has
their own style and if using this gives you warm fuzzies, then who am
I or anyone to take that away from you?  :)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Freelancer Class

2006-11-07 Thread slangeberg


I don't think it's bad coding. Documentation generated from this
signature might be a bit clearer than documentation generated from a
signature where the argument was, e.g., nameValue, since it would be
more immediately obvious that the argument name corresponds to the
property name. That said, the code itself is clearer the other way.
Six of one and half a dozen of the other. (Programming is so often like
that.)



Pretty much. You either muddy up your code or your docs. This is probably
why this kind of code is prevalent in Java. They've had strong doc tools
nearly from the beginning.

Scott

On 11/7/06, Mike Keesey [EMAIL PROTECTED] wrote:


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ
 Sent: Tuesday, November 07, 2006 12:05 PM
 To: Flashcoders mailing list
 Subject: RE: [Flashcoders] Freelancer Class

  I don't know if it's a remnant.
 
  You may be doing property initialization and need to nail down
scope:
 
  class Student {
 
  private var name:String
 
  function Student( name:String ) {
 this.name = name;
  }
  }

 That's just bad coding.  Don't use class variable names as argument
 names.  It's not like you don't have a choice about it.  ;)

I don't think it's bad coding. Documentation generated from this
signature might be a bit clearer than documentation generated from a
signature where the argument was, e.g., nameValue, since it would be
more immediately obvious that the argument name corresponds to the
property name. That said, the code itself is clearer the other way.
Six of one and half a dozen of the other. (Programming is so often like
that.)

--
Mike Keesey

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Looking for a good FlexCoders list

2006-11-06 Thread slangeberg

It's threaded, when you use gmail as your client!

Scott

On 11/6/06, Troy Rollins [EMAIL PROTECTED] wrote:



On Oct 30, 2006, at 6:03 PM, Muzak wrote:

 It is the place to be in regards to Flex.
 There's Adobe people there monitoring the list and answering
 questions etc..

 I've been on yahoo lists for years and have helped moderating a few
 in the past and never had any issues with yahoogroups.

I'm finding the information there useful, however the Yahoo system is
extremely annoying. I receive individual emails from the group. It is
the *only* group I am on which apple mail does not thread, so every
email is its own island. In order to see the list threaded, I have to
use the web interface, which is more of a forum than a list. My
preference is for lists rather than forums for stuff I work with
every day.

Without threading, this sort of stuff doesn't make much sense, so I
stopped the email service. Now, it is *only* a forum to me. One with
ads, and other unrelated junk.

IMHO, Yahoo's services only impacts the Flexcoders list negatively,
and a regular old mailing list (like this one) would be better.

Still open for a *good* Flexcoders *list* ...

--
Troy
RPSystems, Ltd.
http://www.rpsystems.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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Looking for a good FlexCoders list

2006-11-06 Thread slangeberg

Hal 9000 says:

I think you can, Troy.




Just passing on the message.

-Scott


On 11/6/06, Troy Rollins [EMAIL PROTECTED] wrote:



On Nov 6, 2006, at 5:19 PM, slangeberg wrote:

 It's threaded, when you use gmail as your client!

Yes, thanks.

Can't really change my email client over one list.  :-/

--
Troy
RPSystems, Ltd.
http://www.rpsystems.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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] AS Tweening. Approach to prevent tween clashing?

2006-11-03 Thread slangeberg

Yeah, i do similar. Keep references to tweens and check them in the function
call (this is MM's Tween):

var t:Tween;
.
.
.
function hideButton( _btn:MovieClip ) {
  if ( t ) {
t.stop();
  }
  t = new Tween( _btn, _alpha,  mx.transitions.easing.Strong.easeOut,
 _btn._alpha, 0, 1.5, true );
  t.start();
}

On 11/3/06, Kevin Cannon [EMAIL PROTECTED] wrote:


Hi Toby,

Thanks for the reply, even quick pointers are welcome. :)
I've been disabling buttons too when I can, but even still I find
there's time when someone needs to switch between one section and
another and it causes problem.

I'll check out that stopTween function and see if it can help me.

Cheers!

- Kevin

On 03/11/06, Toby [EMAIL PROTECTED] wrote:
 Am quite busy so I can only give a quick answer, but I believe there is
 documentation provided with laco on 'stopTween()' or similar. I
personally
 don't use this much, and tend to disable buttons that would allow a user
to
 clash animations.

 Hth,
 Toby


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:flashcoders-
  [EMAIL PROTECTED] On Behalf Of Kevin Cannon
  Sent: 03 November 2006 16:40
  To: Flashcoders mailing list
  Subject: [Flashcoders] AS Tweening. Approach to prevent tween
clashing?
 
  Hi All,
 
  I've been building sites with laco's tweens for a good while.
 
  Occasionally I've come accross problems when you click on buttons
  really fast in sucession. If one item is still tweening you can end up
  with unpredictable results.
 
  Does anyone have any advise on what approach I can take to avoid that.
  I'm real trouble figuring out what specifically is causing the
  problem, even though I understand the general problem.
 
  Has anyone any advice,
 
  Thanks,
 
  - Kevin
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Music visualisation in Flash 9

2006-11-02 Thread slangeberg

RE your points:

- being able to load and play an MP3 from the users harddrive




You'll need an executable wrapper.

- converting the MP3 to PCM format

- analysing the PCM for volume / tempo (and possibly frequency)



Not sure if these are necessary, as I believe what you need is within the
AS3 classes. People have been creating these for a while. See andre
michelle. He's also got some nice examples in his 'labs' section:

http://blog.andre-michelle.com/2006/spectrum-meter/


Scott


On 11/2/06, Jake Prime [EMAIL PROTECTED] wrote:


Hi

I have just been asked about the possibility of making an app which
will play MP3s, and display visual effect to match it. Does this sound
like something that is possible in AS3?

As I see it the issues are:

- being able to load and play an MP3 from the users harddrive
- converting the MP3 to PCM format
- analysing the PCM for volume / tempo (and possibly frequency)

I will be researching this fully myself now, but if anyone has any
experiences or thoughts they want to share I'd be grateful.

Cheers
Jake
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] OT conver java code to flash

2006-11-02 Thread slangeberg

Probably similar to:

var bestXPos:Number;
var numOfEqual:Number = (??); //whatever you set it to..

if  ( Math.abs( random() ) % 1(1 / numOfEqual ) ) {
  bestXPos = i;
}

On 11/2/06, Paul Steven [EMAIL PROTECTED] wrote:


Not familiar with Java code but trying to rewrite some code in Flash.
Anyone
convert this line to flash actionscript please

if (Math.abs(rand.nextInt()) % 1 
(1 / numOfEqual))
bestXPos = i;

Thanks

Paul

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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

2006-10-30 Thread slangeberg

Had to setup my site again, but hopefully this is a little more clear:

http://criticalpile.com/blog/

-Scott

On 10/19/06, slangeberg [EMAIL PROTECTED] wrote:

Can't find the links i've looked at, but here's the code I'm currently
using. This example probably shows most of the xml data-access capabilities:

//in this case, we're only pulling the title of a video,
//if a section has any videos!

   import com.xfactorstudio.xml.xpath.*;
.
.
.
var path:String = /content/section/[EMAIL PROTECTED]' + id + 
']/video;
var videos:Array = XPath.selectNodes( xmlDoc, path );

for ( var i:Number = 0; ivideos.length; i++ ) {
var video:XML = new XML( videos[i] );
path = XPath.selectSingleNode( video, video/source
).firstChild.nodeValue;
var title:String  = XPath.selectSingleNode( video,
video/title ).firstChild.nodeValue;
}


example xml:

?xml version=1.0 encoding=utf-8 ?
content
section id=1.0
title
![CDATA[...text here...]]
/title
/section

section id= 1.1
titleHigher Fatality Rates and Costs/title

bkgd_imgassets/pics/to_load/safety_concerns_tab1.jpg/bkgd_img
text/text
video
   title/title
/video
 /section
.
.
.
/content


On 10/19/06, Chip Moeser [EMAIL PROTECTED] wrote:
 Does anyone know where I can samples using these (http://
 www.xfactorstudio.com/) xpath classes?
 Thanks!
 -Chip

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--

: : ) Scott



--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Scale Stage but not a Movieclip?

2006-10-27 Thread slangeberg

Check out brother James:

http://www.jamesor.com/2006/10/12/creating-liquid-guis-with-flash-part-1/

Scott

On 10/27/06, Kurt Dommermuth [EMAIL PROTECTED] wrote:


Hi All,

I suck at math and I need help.

I have a swf that is set to scale to the full size of the browser.

But I don't want some move clips to scale.

I think I need to get the proportions of the stage and somehow tell the
movie clip that I don't want to scale to do the opposite.

Am I being clear?

I know this must have been asked already, but I must also suck at
searching
through the archives.

thanks,
Kurt

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Book recommendation for multiuser games / apps

2006-10-26 Thread slangeberg

Have people had any experience with the Red5 server (http://osflash.org/red5)?
If so, how does it compare to other products such as ElectroServer? I've
downloaded Red5, but haven't had time to try it out.

Thanks,

Scott

On 10/26/06, Jobe Makar [EMAIL PROTECTED] wrote:


Hi Paul,

My game book is not comprehensive on multipalyer stuff, but gives a decent
intro. There are 2 chapters, one on a chat and one on multiplayer chess.

You can find tons of source files on this site:
http://www.electro-server.com


Jobe Makar
http://www.electrotank.com
http://www.electro-server.com
phone: 252-627-8026
mobile: 919-609-0408
fax: 919-341-8104
- Original Message -
From: Paul Steven [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Thursday, October 26, 2006 10:14 AM
Subject: RE: [Flashcoders] Book recommendation for multiuser games / apps


 Hi Eric, perhaps I have not looked properly then - I thought it was only
a
 few pages in the appendix. Sorry! I will have a proper look.

 However if there are any books devoted to this subject or links to
sites,
 this info would also be appreciated.

 Thanks

 Paul

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of eric
 dolecki
 Sent: 26 October 2006 15:08
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Book recommendation for multiuser games /
apps

 I thought it covered ElectroServer, multi-user gaming, gaming rooms,
etc.
 What kind of information are you after in more detail?

 - e.

 On 10/26/06, Paul Steven [EMAIL PROTECTED] wrote:

 Thanks eric, I can look him up on my shelf but there wasn't a lot of
info
 on
 the subject in this book. I was looking for something more
comprehensive.

 Thanks

 Paul

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of eric
 dolecki
 Sent: 26 October 2006 14:41
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Book recommendation for multiuser games /
apps

 Look up Jobe Makar on Amazon :)

 - e.

 On 10/26/06, Paul Steven [EMAIL PROTECTED] wrote:
 
  Looking for information on how to implement a multi-user type game
and
  would
  appreciate any links or book recommendations.
 
  Thanks
 
  Paul
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Grownups w/ flash

2006-10-26 Thread slangeberg

My apologies if this doesn't belong on the list, but I just get excited to
see a large organization embracing exciting (flash) technology!

In this case, it's actually a major news organization:

http://www.stateoftheworld.reuters.com/poll.html

Smaller examples - Click on one of three showcases towards bottom:

http://photos.reuters.com/Pictures/default.aspx?WTmodLoc=HP_L1_LeftNav-14

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash environment variables?

2006-10-26 Thread slangeberg


everyone pointed to the classpath within their own workspaces
(absolute path)... for some reason this did not go over well with the
team?



This may not apply, but what I've done before is have all members on the
team use the same directory structure, eg:

c:/data/flash/classes

Or whatever you want to call it. Then, flash docs shared all point to same
location, even though it's on local drive. Combine this with source control
and your staff will never look back, once they've made the adjustment!

Scott

On 10/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Thanks Mark,

We are using a source control system (perforce) and I originally wanted to
set
it up so everyone pointed to the classpath within their own workspaces
(absolute path)... for some reason this did not go over well with the
team?
Perhaps I'll need to explain it to them a bit better. I have also added
document relative classpaths for each fla so atleast for now, as long as
they're working within the file structure laid out in source control, they
can
find the classes.

I guess I just wanted an easier or recommended way for us all to share the
classes.

*.*   Sherri
Quoting Mark Lapasa [EMAIL PROTECTED]:

 A different (and long-term) approach to your problem would be not to use
the
 variable class path approach. Force your team to use a relative pathing
 instead of the variable. Then instead of having your 'classes' or other
 dependencies that your team relies on a shared drive on the network, use
a
 source control system like Visual SourceSafe or Subversion/TortoiseSVN.

 It is a time-consuming task to get this setup but I think many here
would
 testify that having a source control software managing shared project
 resources is an investment that will return many times.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-25 Thread slangeberg

Is the latest version of swhx = 1.0.4?

Scott

On 10/19/06, Nicolas Cannasse [EMAIL PROTECTED] wrote:


http://haxe.org/swhx


 While I think it's probably a decent OS product, it seems a little
behind
 the curve at this point. When I inquired as to how I could change the
icon
 for the executable, I was directed to hack the .EXE in a resource
editor.

You will be happy to know that latest version enables you to change the
icon without such troubles ;)

Nicolas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-25 Thread slangeberg

Nicolas,

How DO you change the icon?

;) Scott

On 10/19/06, Nicolas Cannasse [EMAIL PROTECTED] wrote:


http://haxe.org/swhx


 While I think it's probably a decent OS product, it seems a little
behind
 the curve at this point. When I inquired as to how I could change the
icon
 for the executable, I was directed to hack the .EXE in a resource
editor.

You will be happy to know that latest version enables you to change the
icon without such troubles ;)

Nicolas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Dynamically Distort Text?

2006-10-24 Thread slangeberg

Not in (solely) flash, as far as I know or have ever seen.

We created a Java class that takes the parameters (font, text, style) and
performs the distortions on actual letter outlines, using Font objects. This
was set up as a webservice (coldfusion instantiates java object) that
returns coordinates for flash to draw out, at runtime.

Here's a section of that code, to give an idea (sorry, closed-source!):

private java.awt.Shape transform( int layout, String text, String font )
{
   j_Font = new java.awt.Font(font, java.awt.Font.PLAIN, FONT_SIZE);

   // FontRenderContext needed to create a GlyphVector object
   FontRenderContext frc = new FontRenderContext(null,true,true);

   // Create a GlyphVector object to get an outline of the text string
   GlyphVector gv = j_Font.createGlyphVector(frc, text);

   int length = gv.getNumGlyphs(); //Get the number of characters
   for(int i = 0; i  length; i++) {
   java.awt.Shape glyph = gv.getGlyphOutline(i); //Transform
single glyph to Shape

   double glyphWidth = glyph.getBounds().getWidth(); //Get
single glyph width prior to rotation
   theta = (accGlyphWidth/gvWidth) * totalRotationDistance;
//Set rotation by points
   accGlyphWidth = accGlyphWidth + glyphWidth; //Add up
distance traveled thus far

   Point2D p = gv.getGlyphPosition(i);

   AffineTransform at = new AffineTransform();
   at.translate(-p.getX(), -p.getY());
  .
  .
 .
   }
 .
.
.

}

As you can see, most of the transformations were accomplised using
AffineTransform to the glyphs stored in 'gv'.

Hope that gives you an idea of how this was done..!

Scott

On 10/23/06, Marc Hoffman [EMAIL PROTECTED] wrote:


I need to dynamically distort user input text to fill a limited set
of shapes. For example, the user might type in WINNERS and select a
shape like the Arc d' Triomphe (flat-topped arch), and the tops of
all the letters would be flat but the bottoms would be curved. This
is more than just putting text on a curve -- it requires actually
distorting the individual letters. Nike has something similar to this
(but not exactly) on their custom uniform builder. See
http://www.niketeam.com/v2/new/Builders/Baseball/check_flash5.asp and
move through the steps until you reach the Select Name Style, after
which you'll see the effect I'm after. Somehow they are able to skew
the letters, though they're not actually distorting any straight
lines into a curve, and all the letters keep the same height.

Anyone know of something like this? Especially Flash 7-compliant?

Thanks.

Marc Hoffman


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] tieing AS2 classes together, confused on approach

2006-10-24 Thread slangeberg

No, each class is in it's own little world. You need to import any class you
want to use into every class you create. What I mean is that each class that
uses Fuse Kit for example would need the import statement:

import com.mosesSupposes.fuse.*;

-Scott

On 10/24/06, Jon Bennett [EMAIL PROTECTED] wrote:


 I have a similar application that I wrote in ActionScript w/ mtasc. I
 have a class that corresponds to your app.as class. I do all of my
 imports there. The app.as class instanciates the map.as and all of the
 UI stuff. Since I didn't use the IDE, my app.as class has a main method.
 I used an event model similar to the Java swing event model to control
 what happens when files load or buttons are clicked. I don't know if any
 of that is useful. You can look at the app here:

 http://www.flashmaprealtor.com/

so I can do:

// classes
import com.mosesSupposes.fuse.*;
import Menu;
import Map;

class App {

private var objMenu:Menu;
private var objMap:Map;

function App ()
{
 this.objMenu = new Menu ();
 this.objMap = new Map ();

 ZigoEngine.simpleSetup(Shortcuts,Fuse,PennerEasing);
}
}

Will my Map and Menu classes then have access to the Fuse Kit ?

Thanks,

Jon


--


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-19 Thread slangeberg

Regarding mProjector:


think it has quite a good support for system windows


Is there an easy way to add min / max buttons to the window? By default it
seems to come up only with a close button!

Scott

On 10/17/06, Adrian Ionut Beschea [EMAIL PROTECTED] wrote:


I used mProjector while developing an im chat client and I had little
problems with  it. Comes  with loads of samples and support forum is prompt.
I for one, think it has quite a good support for system windows and it's
all synchonus meaning you don't have to add event listeners for anything.
Not even when chooosing folders.
Zinc is already as 3.0, though :-)




slangeberg [EMAIL PROTECTED] wrote: I know from reading this list
that Steven is really into mProjector. I'm
looking at acquiring a projector builder for Flash in our company. Our
current task is to create executable CD apps / presentations, but it would
be nice to have a system to create desktop apps (ala SpringBox), as well.

How do people think mProjector stacks up against Zinc? Zinc seems to have
better support for system windows, while mProjector seems more attuned to
custom flash windows. Guess I'd like both, as we have corporate clients
who'll want to see regular system windows containing the content.

Sorry if this is off topic.

Scott

On 10/5/06, Steven Sacks | BLITZ  wrote:

  it would need to be a full screen projector file

 Why would it need to be a full screen projector file?

 mProjector's alpha performance on Windows is the best there is.
 http://www.thespringbox.com/  uses mProjector and has alpha
 transparency.

 If you want to be able to move something around the screen, you can move
 it around the screen by setting the window's x and y position.  You
 don't need to make it a full screen application.  If you want multiple
 things to appear in different places anywhere on the screen, you open up
 new mProjector windows and communicate to those using mProjector's API.
 It's all supported and well documented.  You don't need to make it a
 full screen application to achieve those things.  :)

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
countries) for 2ยข/min or less.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Boolean question

2006-10-19 Thread slangeberg

Correct me if I'm wrong but I believe the Boolean type is still a primitive
and should not be instantiated with 'new'.

You could perform casting like this:

w = new Object();
w.zoomed = Boolean( false );

But I don't know what benefit it would give, as Flash doesn't support typing
on the parameters of an Object instance.

Scott

On 10/19/06, Mendelsohn, Michael [EMAIL PROTECTED] wrote:


Hi list...

Why does an object's parameter not change if it's instanced as a new
Boolean()?

w = new Object();
w.zoomed = new Boolean(false);
trace (w.zoomed);
//false
w.zoomed = !(w.zoomed);
trace (w.zoomed);
//false

q = new Object();
q.zoomed = false;
trace (q.zoomed);
//false
q.zoomed = !(q.zoomed);
trace (q.zoomed);
//true

Thanks,
- Michael M.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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

2006-10-19 Thread slangeberg

Can't find the links i've looked at, but here's the code I'm currently
using. This example probably shows most of the xml data-access capabilities:

//in this case, we're only pulling the title of a video,
//if a section has any videos!

  import com.xfactorstudio.xml.xpath.*;
.
.
.
   var path:String = /content/section/[EMAIL PROTECTED]' + id + 
']/video;
   var videos:Array = XPath.selectNodes( xmlDoc, path );

   for ( var i:Number = 0; ivideos.length; i++ ) {
   var video:XML = new XML( videos[i] );
   path = XPath.selectSingleNode( video, video/source
).firstChild.nodeValue;
   var title:String  = XPath.selectSingleNode( video,
video/title ).firstChild.nodeValue;
   }


example xml:

?xml version=1.0 encoding=utf-8 ?
content
   section id=1.0
   title
   ![CDATA[...text here...]]
   /title
   /section

   section id=1.1
   titleHigher Fatality Rates and Costs/title
   bkgd_imgassets/pics/to_load/safety_concerns_tab1.jpg/bkgd_img
   text/text
   video
  title/title
   /video
/section
.
.
.
/content

On 10/19/06, Chip Moeser [EMAIL PROTECTED] wrote:


Does anyone know where I can samples using these (http://
www.xfactorstudio.com/) xpath classes?
Thanks!
-Chip

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] using parseInt() and Math.floor() doesn't return the same value

2006-10-19 Thread slangeberg

Uh, isn't Math.floor supposed to round down? [and Math.ceil() rounds up?]
If so, it's working as advertised here.

Scott

On 10/19/06, Martin Tremblay [EMAIL PROTECTED] wrote:



I'm wandering if we should continue to use Math.floor() and Math.ceil()
since they are unreliable.

Code:
var a = 2.999;

trace(parseInt(a.toString()));
trace(Math.floor(a));
trace(a);

output:
3
2
3

Would using methods using parseInt to simulate Math.floor() and
Math.ceil() be safer?

Example

public static function floor(_nValue:Number):Number
{
return parseInt(_nValue.toString());
}

public static function ceil(_nValue:Number):Number
{
return parseInt(_nValue.toString()) + 1;
}


Martin T.
lvl

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-18 Thread slangeberg

http://haxe.org/swhx


While I think it's probably a decent OS product, it seems a little behind
the curve at this point. When I inquired as to how I could change the icon
for the executable, I was directed to hack the .EXE in a resource editor.
Not that that is a deal breaker, but leads me to think that if such an
essential feature of a system application tool is missing, what else was
left out?

ps. Editing the icon for the .EXE was a failure for me! I believe that
ResEditor told me that I needed an XX-bit icon, which i was unable to
create. Sorry - too much troubles. I like quick and easy!!

Scott


On 10/18/06, Troy Rollins [EMAIL PROTECTED] wrote:



On Oct 18, 2006, at 5:21 AM, Mike Mountain wrote:

 The problem I found with Director is you have to go out and buy a
 bunch
 of Xtras to really achieve anything notable.

 Have you considered ScreenweaverHX?

Interesting. I hadn't seen that. Is anyone using this?

http://haxe.org/swhx

--
Troy
RPSystems, Ltd.
http://www.rpsystems.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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Flash Projectors - mProjector vs. Zinc

2006-10-17 Thread slangeberg

I know from reading this list that Steven is really into mProjector. I'm
looking at acquiring a projector builder for Flash in our company. Our
current task is to create executable CD apps / presentations, but it would
be nice to have a system to create desktop apps (ala SpringBox), as well.

How do people think mProjector stacks up against Zinc? Zinc seems to have
better support for system windows, while mProjector seems more attuned to
custom flash windows. Guess I'd like both, as we have corporate clients
who'll want to see regular system windows containing the content.

Sorry if this is off topic.

Scott

On 10/5/06, Steven Sacks | BLITZ [EMAIL PROTECTED]  wrote:


 it would need to be a full screen projector file

Why would it need to be a full screen projector file?

mProjector's alpha performance on Windows is the best there is.
http://www.thespringbox.com/  uses mProjector and has alpha
transparency.

If you want to be able to move something around the screen, you can move
it around the screen by setting the window's x and y position.  You
don't need to make it a full screen application.  If you want multiple
things to appear in different places anywhere on the screen, you open up
new mProjector windows and communicate to those using mProjector's API.
It's all supported and well documented.  You don't need to make it a
full screen application to achieve those things.  :)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--

: : ) Scott
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


  1   2   >