RE: [Flashcoders] Is it possible?

2007-03-02 Thread Kalani Bright
It's possible and common.

My opinion is use xml/.  Why mess with all that other junk (I've never
liked AMF)?  Database  Web Service  XML  Flash or in reverse for whatever
purpose.  You can create a node like class that extends movieclip with xml
functionality which knows about it's children and passes the xml on to them
for them to parse and initialize their children, and their childrens
children if that makes sense.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: Thursday, March 01, 2007 1:08 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Is it possible?

Have a look at Wallop - it is a Flash based system like what you are talking
about.

I have played a little, but it has an API which allows you to talk to the
system and find out about the social network, etc.

I have sent you an invite - you don't have to use it if you don't want, but
it's there.

Glen



Andy Andersson wrote:
 Hi everyone!
 I have a scenario were I'd like to create a flash app that works 
 similar to what my Space does with their friends list.

 Ex would be: Person A has 3 friends, Person B has 7 friends so by 
 looking at someone's profile you would see how many friends they have.
 By default flash would be setup to trigger the (in this case) WEB 
 SERVICE and return an ARRAY that contains the info for that profile 
 and also display the results

 It's not a problem to delegate the arrays out and create container to 
 display the friends list or whatever comes back from the web service 
 in an array if you would know by default how many friends someone had 
 or if, let's say you were only allowed to display 4 friends, but 
 everything will dynamically loaded so during a day it number of 
 friends could change, just like my space.

 // Here's the Problem
 So is it possible that after you have received the arrays from the 
 database (web service) and looping through the array to get the actual 
 data and let flash create a container/containers dynamically and 
 delegate and name them depending on the results from the web service call?

 So if Person A has 3 Friends, Person B has 7 friends etc... how would 
 flash create the containers for Person A, B, C ?

 I might be a little confusing here when I try to explain, but I don't 
 know any other way to describe my problem. I've tried to search the 
 web to se if this had been done before and I didn't find anything .

 If someone has an idea or want more in detail about this problem like 
 code I'd gladly share my stuff.

 Thanks
 Andy






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

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


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

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


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

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


RE: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Kalani Bright

Uhhh.  Never pirate books.
Software, movies, cd's okay, but never books. 

And never give candy to strangers.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rost, Andrew
Sent: Thursday, March 01, 2007 1:03 PM
To: 'flashcoders@chattyfig.figleaf.com'
Subject: RE: [Flashcoders] OT: Pirated Books

Naive little man... you don't have to sell it for it to be pirated.

Piracy: The unauthorized reproduction or use of a copyrighted book,
recording, television program, patented invention, trademarked product, etc.

I wouldn't think you emailed your original.

-Original Message-
From: Omar Fouad [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 1:39 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] OT: Pirated Books

this is not called piracy my little brave boy... as in i am not selling it.
I was just considering you my lil brother, and than i decided to give you
this book as any one gives something to his girlfriend..

Before acting this way, know your right and respect your older bro.

Cheers


On 3/1/07, Ian Thomas [EMAIL PROTECTED] wrote:

 Hi all,
   I just wanted to register my strong disapproval of an email that 
 Omar Fouad ([EMAIL PROTECTED] on this list) sent to me this 
 morning.

   I had asked on this list for recommendations for a simple book on 
 AS2.0 to give to a designer (and have said, elsewhere, that I have 
 Moock's Essential Actionscript 2.0 and think it's too complex for the 
 person in question).

 Unsolicited, Omar sent me the complete text of Colin Moock's book as a 
 .chm file.

 I'm unhappy with piracy at the best of times. In this instance I find 
 it even worse, as the book is written by someone I respect.

 Needless to say, I've let Colin know.

 A lot of time, effort and creativity goes into creating a reference 
 book to make your life easier. The least you can do it pay for it.

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

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




-- 
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


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

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


Re: [Flashcoders] Set Interval Question

2007-03-02 Thread zehfernando
 10 seconds.  In that 10 second interval, I load, fade in, pause on,
 and fade out, that image.  That is working mostly fine.  Accept I have
 a seperate setInterval starting for the images fade in and fade out
 functions (1.25 sec * 2).  And have it pausing for the remainder which
 should be 7.5 seconds.  Problem is it doesn't work out, and by the 4th
 or 5th image it is noticably offset.  I am guessing this is because of
 the time it takes to process the code, didn't seem likely at first,
 but It is not off by much, and it seems to be increasing marginally
 which means that not much, becomes significant.  Long story short,
 well...point being that I want to be able to call the main timer, and
 tap into it at 0-1.25 seconds and then again at 7.5 -10 seconds to run
 the image fade in and fade out.  Can I do this, from

Honestly, just use any other tweening extension instead. They'll mostly
(all?) let you use delays that are properly synced without having to
resort to setIntervals at all.

You can chose MC Tween, lmc tween, Tweener, Fuse Kit, Animation Package,
etc. You'll be doing a favor to yourself when you stop using setIntervals
and complex events for something that's supposed to be so simple.


Zeh

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

2007-03-02 Thread [p e r c e p t i c o n]

good people,

how do i move a moviClip to center itself at (_xmouse, _ymouse)...i have the
onPress part down...i just need to center it on those coordinates

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

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


RE: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Steven Sacks | BLITZ
Omar Fouad said:
this is not called piracy my little brave boy...know your right and
respect your older bro.

Give us a break, Omar.

http://en.wikipedia.org/wiki/Software_piracy
QUOTE
The copyright infringement of software refers to several practices when
done without the permission of the copyright holder:
Creating a copy and giving it to someone else. This constitutes
copyright infringement in most jurisdictions.
/QUOTE

http://www.usatoday.com/tech/news/2007-02-05-potter-no-ebook_x.htm
QUOTE
Author J.K. Rowling has not allowed the first six Potter stories to be
released as e-books and has no plans to change that for the seventh and
final work.  ... Rowling has cited ... concern[s] about online piracy.
/QUOTE

Lots more can be found here.
http://www.google.com/search?source=ighl=enq=ebook+piracybtnG=Google+
Search


Maybe you should know you're wrong and stop trying to justify your
illegal activity.

At the same time, I don't agree with Ian the tattle-tale posting about
it on Flashcoders.  He would have done quite well in the McCarthy era.

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

2007-03-02 Thread Michael Stuhr

Iv schrieb:

Hello,

http://www.bezier.ru/marker/
- you can use it offline: swf only needed.

  

sweet :-)

luviv

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

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


Re: [Flashcoders] OT: Pirated Books

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

Sorry... couldn't resist:

On 3/1/07, Omar Fouad [EMAIL PROTECTED] wrote:

this is not called piracy my little brave boy... as in i am not selling it.
I was just considering you my lil brother, and than i decided to give you
this book as any one gives something to his girlfriend..


IOW, your give your girlfriend stolen jewelry that someone else just
happened to take for you?

What I find even more humourous than this is your signature
paraphrasing 1 Corinthians. Here's one from Exodus: Thou shalt not
steal!

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

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

Author: Building Web Sites with Macromedia Studio MX
Author: Building Dynamic Web Sites with Macromedia Studio MX
Author: Flash Professional 8: Training From the Source
Author: Foundation Flash 8 Video
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Incorporating Flash Module into HTML site

2007-03-02 Thread Michael Stuhr

Phil Dupré schrieb:

Greetings,

I have a mini flash web site that I would like to import into a dedicated
area within an HTML site as a SWF file.  This SWF file will essentially work
like a general web site.  It has a navigation menu with buttons and
sub-buttons.  The sub-buttons load swf files and or movie clips within the
main swf file.

My question is can this mini flash web site work without any issues if is
imported into an HTML site?  Or are there limitations to viewing Flash
within HTML web sites?

About the HTML site:
Outside of hosting the mini-flash web site, the HTML site serves as a
dashboard for information/content. It aggregates a calendar that's coming
from Microsoft Outlook.  It also shows a list of links to other web sites.

Any feedback would be greatly appreciated.  Thanks a lot.

Kind regards,

Phil
___
  

is this some kinda strange spam, or what ?

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

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


RE: [Flashcoders] Dynamic Flash

2007-03-02 Thread Steven Sacks | BLITZ
Posting the same question under three different subjects won't get your
question answered any quicker.

Flash is perfectly capable of CRUD communication with a database and
displaying it however you like.

You're asking for advice on how to set up a relational database and how
to write inner join SQL statements, and then how to send that data to
Flash.  Only one part of that has anything to do with Flash, and it's
probably one of the most basic things you can do with Flash (displaying
data).

I suggest you buy an introduction to Flash book and an introduction to
relational database book and get to reading.

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

2007-03-02 Thread Steven Sacks | BLITZ
Any browser except IE on Windows will have reduced performance.  Only IE
gives Flash as much RAM and CPU as it wants.

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

2007-03-02 Thread Cortlandt Winters

Blast.

Sorry for the false hopes.

I'll let you know if I get tempted by the dark side and get lucky?

On 3/1/07, Andy Jones [EMAIL PROTECTED] wrote:


Cort,

Sadly your method doesn't seem to work.  I think I'm going to have to
come back to the light and emerge from the dark world of frustration!

Basically, your method does what it says on the tin (but does show a
menu with paste greyed out) but as soon as you start playing with the
creating anything other than a text field the whole thing stops working.
Maybe I'm too thick to see how to do it although I like the idea.

Thanks for your suggestions though and if anyone feels like proving this
DOES work then you'll find the entire flash community extremely
grateful!

Cheers


Andy Jones
Learning Consultant


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Cortlandt Winters
Sent: 28 February 2007 23:39
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Right Click disabling

Hi Andy,

Actually there is a way, though I think it's a metaphysical law that
somebody has to say it's impossible before an answer appears.

I had to do this so that folk could copy paste with ctrl-c ctrl-v and
have the text modified before put in atext field but not allow a
right-click-paste into the text field that could mess up the rich text
properties otherwise.

I only did it for one textfield, though I don't see any reason why you
wouldn't be able to apply the same idea everywhere.

The basic idea is that you create a custom right click menu and trap
it's onSelect event. When that event gets triggered, you create an
editable textfield and set the focus to it, since the object that
received the event no longer has focus, the right click menu goes away.

It was a while ago but I believe this was the snippet that did the
trick.

public function onLoad() {
var menu_cm:ContextMenu = new ContextMenu();
menu_cm.hideBuiltInItems();
menu_cm.onSelect = function(item:Object,item_menu:Object){
GhostObj.createTextField(Paste_txt, 1, 0, 0, 10, 20);
GhostObj.Paste_txt.type = input;
Selection.setFocus(eval(GhostObj.Paste_txt));
}
Capture_txt.menu = menu_cm;
...

Let me know if it works for you,

-Cort

On 2/28/07, Kalani Bright [EMAIL PROTECTED] wrote:


 Hi Andy,

 This will drive you wild until you're living with the lions in Africa.

 Save yourself.  It's not possible especially in a .swf.  They removed
 that possibility in flash 5 or 6.

 I even tried putting in in a C# windows application with complicated
 scripting to toggle a layer above it and faking mouse events that I
 wanted to send.  I found you can't send fake events to flash.  You
 would need access to the unmanaged code area (for other readers).
 It's especially not possible with a swf or an application unless that
 application is a Zinc app or if you shell out some big moolah to Adobe

 for a special license (but won't work for a swf either).

 Come back, Andy, come back into the light...it's not worth it really.

 Kalani


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Andy
 Jones
 Sent: Wednesday, February 28, 2007 7:18 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] Right Click disabling

 Hi,

 I know this has been done to death but nothing has answered my real
 problem.
 I need to turn off the right click menu completely in a swf.
 I don't want it to display custom stuff (I can do that), I want it to
 detect a right click but not show the menu.  This can only be in a
 swf, not an exe so the compilers don't work.

 Please help - this has been driving me wild!


 Andy Jones
 Learning Consultant



 This email was sent to you by Reuters, the global news and information

 company.
 To find out more about Reuters visit www.about.reuters.com

 Any views expressed in this message are those of the individual
 sender, except where the sender specifically states them to be the
 views of Reuters Limited.

 Reuters Limited is part of the Reuters Group of companies, of which
 Reuters Group PLC is the ultimate parent company.
 Reuters Group PLC - Registered office address: The Reuters Building,
 South Colonnade, Canary Wharf, London E14 5EP, United Kingdom
Registered No:
 3296375 Registered in England and Wales


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

RE: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Steven Sacks | BLITZ
Are you so retarded that you would repost the same ignorant denial to
the list?

Omar, you broke the law and that's that.  You're only making yourself
look dumber by denying it.  Drop it move on before you make yourself
look any worse.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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 Media Server: Shared Remote Object, and then endless loop to clients...

2007-03-02 Thread Norman Cousineau
Please provide some code, or we can't help.

-Original Message-
From: grimmwerks [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 4:11 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Flash Media Server: Shared Remote Object,and then
endless loop to clients...


I'm unsure why I'm getting an endless loop --

I've got each client's so.onSync  checking for a change to the
applications.users array, each of which are added on connect.

But for some reason when more than one user connects, they both get
into this endless loop

It's driving me crazy.  I've been reading documentation up the yahoo,
checking the sample apps, etc.

I'm sure it's something I'm doing wrong, but what, I have no idea.

-- 
---[ http://www.grimmwerks.com
---[ [EMAIL PROTECTED]
---[ [EMAIL PROTECTED]

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

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


Re: [Flashcoders] TEST

2007-03-02 Thread Michael Stuhr

Glen Pike schrieb:

Now who wants to discuss which editor is the best? :)
  

no, let's talk about OS's *gg

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

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


Re: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Omar Fouad

Ok Ok... Fine! I've sent a copy of the book.
So ppl please look into your computer... see how many pdf books, Mp3's,
movies you have got on your hard disk... isn't this called pirating ???
And please don't try to tell me u got no mp3's, you don't use any p2p
program, you don't download movies from the net without paying a penny

All i just wanted to do is helping nothing more, nothing else.

And by the way i Apologize to the Author, Mr. Moock and to all the list, but
please before you criticise ppl, criticise yourself, as we are not angels...

Best Regards


On 3/2/07, Ian Thomas [EMAIL PROTECTED] wrote:


*falls about laughing*

Why, thanks! That makes me feel considerably younger.

Sorry for the noise, everyone else!

Ian

On 3/1/07, Omar Fouad [EMAIL PROTECTED] wrote:
 this is not called piracy my little brave boy... as in i am not selling
it.
 I was just considering you my lil brother, and than i decided to give
you
 this book as any one gives something to his girlfriend..

 Before acting this way, know your right and respect your older bro.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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





--
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re[2]: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Iv
Hello Andrew,

RA Piracy: The unauthorized reproduction or use of a copyrighted
RA book, [...]

- hmmm...
I understand reproduction rule, but use I don't understand.
Is libraries closed in your country?
Or you need special license to give your book to girlfriend?

Mistake of Omar is reproduction in his actions.
But for example if he have e-book on CD
and gives this CD to anybody... is he pirate too?

-- 
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

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

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


Re: [Flashcoders] simple math question...

2007-03-02 Thread JOR

Try:

// movie_mc is the instance name of the movieClip
// you want to center on the mouse coords.
movie_mc._x = _xmouse - (movie_mc._width/2);
movie_mc._y = _ymouse - (movie_mc._height/2);

If the movieClip size doesn't change you can optimize this by 
precalculating the (movie_mc._width/2) and (movie_mc._height/2) parts so 
you aren't constantly doing it.


-- JOR



[p e r c e p t i c o n] wrote:

good people,

how do i move a moviClip to center itself at (_xmouse, _ymouse)...i have 
the

onPress part down...i just need to center it on those coordinates

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

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


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

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


[Flashcoders] Crossdomain for president

2007-03-02 Thread John Crosby
Howdy all,

 

Wouldn't it be nice if Yahoo starts adding crossdomain.xml files to their
public services such as weather and del.icio.us so that we RIA developers
could easily and natively write apps against them?

 

If you feel the same as me, put in your vote:

 

http://suggestions.yahoo.com/detail/?prop=ydn
http://suggestions.yahoo.com/detail/?prop=ydnfid=9622 fid=9622 

 

I thank you all for your support!

 

-  John

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO THE LIST

2007-03-02 Thread Dave Watts
 Whoraw! Spite and Revenge, best served cold!

I was kidding. But, I am serious about people contacting me directly,
instead of sending unsubscribe requests to the list where I may well miss
them.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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

2007-03-02 Thread Merrill, Jason
So ppl please look into your computer... see how many pdf 
books, Mp3's, movies you have got on your hard disk... isn't 
this called pirating ???
all the list, but please before you criticise ppl, criticise 
yourself, as we are not angels...

I'm no angel, but I also I don't have any priated MP3s, books, movies,
software, etc. on my machine.  Since I work in software/multimedia, I
clearly see how wrong it is to give away things that people work hard to
produce and then sell to support themselves.  You can justify it all you
like, but it doesn't make it right or legal.

Jason Merrill


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

2007-03-02 Thread Yehia Shouman

1) either double click your clip and group everthing and center it manually

OR
2) make sure your graphics inside that clip is at 0,0
and then

inside your MouseMove handler or onEnterFrame handler;
toCenterClip._x = _xmouse - (toCenterClip._width/2);
toCenterClip._y = _ymouse - (toCenterClip._height/2);

Yehia



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


good people,

how do i move a moviClip to center itself at (_xmouse, _ymouse)...i have
the
onPress part down...i just need to center it on those coordinates

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


Re: [Flashcoders] simple math question...

2007-03-02 Thread Yehia Shouman

dont forget updateAfterEvent(); with the MouseMove use. it tells the player
to refresh visuals after the calculated mouse move event you catched even if
it wasn't time to render that frame.

On 3/2/07, Yehia Shouman [EMAIL PROTECTED] wrote:


1) either double click your clip and group everthing and center it
manually

OR
2) make sure your graphics inside that clip is at 0,0
and then

inside your MouseMove handler or onEnterFrame handler;
toCenterClip._x = _xmouse - (toCenterClip._width/2);
toCenterClip._y = _ymouse - (toCenterClip._height/2);

Yehia



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

 good people,

 how do i move a moviClip to center itself at (_xmouse, _ymouse)...i have
 the
 onPress part down...i just need to center it on those coordinates

 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


RE: [Flashcoders] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO THE LIST

2007-03-02 Thread Steven Sacks | BLITZ
You should just post their emails on spam forums where they are sure to
be culled by bots and then they'll start getting so much spam it'll
force them to get a brand new email.

Maybe then they'll see that a few unwanted emails are really not that
bad compared to how bad it will be if they don't stop whining about an
issue you're obviously working on.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple math question...

2007-03-02 Thread [EMAIL PROTECTED]

MovieClip._width / 2  = its _x center
MovieClip._height / 2 = its _y center

hope it helps



[p e r c e p t i c o n] wrote:

good people,

how do i move a moviClip to center itself at (_xmouse, _ymouse)...i 
have the

onPress part down...i just need to center it on those coordinates

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

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



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

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


[Flashcoders] ADMIN (was OT: Pirated Books)

2007-03-02 Thread Dave Watts
It's hard for me to believe that I have to do this.

Please don't post links that violate other people's intellectual property.

That is all. Please end this thread.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

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

2007-03-02 Thread Ung, Seng
Me too:
[EMAIL PROTECTED] 

-Original Message-
From: Mark Gearhart [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 01, 2007 9:30 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: RE: [Flashcoders] Subscription problems

... and please unsubscribe me as well.
[EMAIL PROTECTED]


--- Jarret Franklin [EMAIL PROTECTED]
wrote:

 ...and me, please unsubscribe...
 [EMAIL PROTECTED]
 
 
 =
 From: Matthew Bryson [EMAIL PROTECTED]
 Date: 2007/02/28 Wed PM 12:40:31 CST
 To: flashcoders@chattyfig.figleaf.com
 Subject: RE: [Flashcoders] Subscription problems
 
  
 and me...
 Unsubscribe [EMAIL PROTECTED]
  
 
 
 
  From: [EMAIL PROTECTED] To:
 flashcoders@chattyfig.figleaf.com Subject: Re:
 [Flashcoders] Subscription problems Date: Wed, 28 Feb 2007 14:32:42 
 -0300  pease Unsubscribe me too
  [EMAIL PROTECTED]  - Original
 Message -  From: Kristal Dale
 [EMAIL PROTECTED] To:
 flashcoders@chattyfig.figleaf.com Sent:
 Wednesday, February 28, 2007 1:21 PM Subject: Re:
 [Flashcoders] Subscription problemsAgain, I too have tried to 
 unsubscribe (5+ times), no  confirmation email is sent.This 
 is a helpful list, but getting every email in my  inbox is a real 
 annoyance. Until the unsubscribe is  fixed on this list, please 
 honor the unsubscribe  requests from email.Unsubscribe 
 [EMAIL PROTECTED]Thanks.--- Joe 
 [EMAIL PROTECTED] wrote:  Sorry to jump on the 
 bandwagon but since nothing is  being done, I would like  to 
 point out that my subscription has been altered  from web-only to
  individual emails. I have tried to unsubscribe on
 a  few occasions and no  confirmation email
 has been sent despite figleaf  saying it has. 
   I apologise for the annoyance to regular people
 on  this board, but none of  us have a choice
 since nobody seems to be listening  to our requests.So 
 this is a call for help...
 Please, admin,  unsubscribe me - since I don't
  seem to be able to through your website!   
 Thanks... 
 ___  
 Flashcoders@chattyfig.figleaf.com  To change your subscription 
 options or search the  archive: 
 

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

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software  Premier
 Authorized Adobe Consulting and Training  http://www.figleaf.com  
 http://training.figleaf.com   
 ___
 Flashcoders@chattyfig.figleaf.com To change your subscription options

 or search the archive:

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

_
 Invite your mail contacts to join your friends list with Windows Live 
 Spaces. It's easy!

http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.a
spxmkt=en-us___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the
 archive:

http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com
 
 
 Jarret Franklin
 [EMAIL PROTECTED]
 www.jfmediaMD.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
 




 


Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


Re: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Ian Thomas

At the same time, I don't agree with Ian the tattle-tale posting about
it on Flashcoders.  He would have done quite well in the McCarthy era.


You're quite correct, Steven - I would have been in a completely
different country, and so done _extremely_ well.

An email to Omar on his own would achieve nothing. An email here - and
perhaps he'll think twice before he does it again. You never know.

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

2007-03-02 Thread Gustavo Duenas

Hey jord, would you recommend me a good book for AS3?


Regards

Gustavo Duenas

On Mar 1, 2007, at 5:44 PM, Jordan L. Chilcott - Interactivity  
Unlimited wrote:



Sorry... couldn't resist:

On 3/1/07, Omar Fouad [EMAIL PROTECTED] wrote:
this is not called piracy my little brave boy... as in i am not  
selling it.
I was just considering you my lil brother, and than i decided to  
give you

this book as any one gives something to his girlfriend..


IOW, your give your girlfriend stolen jewelry that someone else just
happened to take for you?

What I find even more humourous than this is your signature
paraphrasing 1 Corinthians. Here's one from Exodus: Thou shalt not
steal!

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

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

Author: Building Web Sites with Macromedia Studio MX
Author: Building Dynamic Web Sites with Macromedia Studio MX
Author: Flash Professional 8: Training From the Source
Author: Foundation Flash 8 Video
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



Gustavo Duenas
Creative Director
LEFT AND RIGHT SOLUTIONS LLC
1225 w. Beaver St. suite 119
Jacksonville, FL 32204
904 . 2650330
www.leftandrightsolutions.com


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

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


Re: [Flashcoders] OT: Pirated Books -finishing this thread

2007-03-02 Thread Ricardo M. Portilho
Hey folks let´s move on... finishing this thread and caring about the 
FLASHCODERS MAIN FOCUS




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO THE LIST

2007-03-02 Thread Steven Sacks | BLITZ
 I know the whining has been excessive, but there are real 
 people behind those e-mails.  

Your bleeding heart is making a mess of the sarcasm on this thread.

I know you work in an extremely corporate environment, but try and find
a sense of humor and lighten up, 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


Re: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Chris Saila

This is ridiculous. Please stop this foolishness on the list. If you ask me,
this Ian guy is as stupid as the Omar guy, because this list is
something of a different nature, if someone sent u an email of
something you dont like, delete it. Stop your whining, and stop making
a big deal about small things, and stop trying to be the good guy
and bad guy everyone has done good things and bad things in their
lives...this list is not a list about morality or piracy. Keep the
subject matter, or take it private. there are many subscribed
individuals who do not care to have their inboxes inundated with this
kind of crap.


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

A bit late for valentines day. It was an interesting read while it lasted
though.

 *falls about laughing*

 Why, thanks! That makes me feel considerably younger.

 Sorry for the noise, everyone else!

 Ian

 On 3/1/07, Omar Fouad [EMAIL PROTECTED] wrote:
 this is not called piracy my little brave boy... as in i am not selling
 it.
 I was just considering you my lil brother, and than i decided to give
 you
 this book as any one gives something to his girlfriend..

 Before acting this way, know your right and respect your older bro.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Importing SWF file into HTML web page

2007-03-02 Thread Phil Dupré

Hi,

I have a flash web site that I would like to import into a dedicated area
within an HTML site as a SWF file.  This SWF file will essentially work like
a general web site.  It has a navigation menu with buttons and sub-buttons.
The sub-buttons load swf files and or movie clips within the main swf file.


My question is can this flash web site work without any issues if is
imported into an HTML site?  Or are there limitations to viewing Flash
within HTML web sites?

About the HTML site:
Outside of hosting the mini-flash web site, the HTML site serves as a
dashboard for information/content. It aggregates a calendar that's coming
from Microsoft Outlook.  It also shows a list of links to other web sites.

Any feedback would be greatly appreciated.  Thanks a lot.

Kind regards,

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

2007-03-02 Thread Hans Wichman

Hi,
I asked a question a few weeks ago about a strange phenoma with _lockroot,
losing the reference to the _root I really needed.
I seemed to have narrowed it down a little further.

Flash seems to lose the way when you reference _root from an instance of a
class that is not a movieclip. Especially when that class was already loaded
into the parent swf and then used from the sub.swf.

Can anyone confirm this behavior?

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

2007-03-02 Thread Jacek Artymiak

On 3/2/07, Weyert de Boer [EMAIL PROTECTED] wrote:

It's even scary how fast they pirated ebooks are available after
publication. :/


Maybe its because the whole ebook as a product idea is flawed? In 2003
I published a (printed) book on security. It was quite popular and
people kept asking me to release it as an ebook. I didn't do that.
Instead I sent anyone who asked for it an unrestricted PDF as long as
they could prove they bought a copy of the printed edition. The
result? The book keeps on selling quite well 4 years after it was
published and I managed to build pretty close relationship with my
readers. I could safely say I have fans, which is a new experience for
me.

As for pirates, I have as much respect as they have for me. None.

But I wouldn't put them in jail. Guys like them should be given rookie
tech writers' contracts: 800 pages written in 3 months, while they
keep their day job, for a 5,000usd advance, plus the publisher get the
right of first refusal on everything they write in the future and any
contract they sign, and a tech reviewer who has no clue what the book
is about, but will openly question the acquisition editor's and the
author's intelligence, and return whole chapters marked in red. With
no right to opt out.

--
Jacek Artymiak
devGuide.net :: RadioBSD.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Crossdomain for president

2007-03-02 Thread Jah

that would require them to know the domains that they are allowing,
which is somewhat impossible... no?

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

Howdy all,



Wouldn't it be nice if Yahoo starts adding crossdomain.xml files to their
public services such as weather and del.icio.us so that we RIA developers
could easily and natively write apps against them?



If you feel the same as me, put in your vote:



http://suggestions.yahoo.com/detail/?prop=ydn
http://suggestions.yahoo.com/detail/?prop=ydnfid=9622 fid=9622



I thank you all for your support!



-  John



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

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


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

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


Re: [Flashcoders] Crossdomain for president

2007-03-02 Thread Mick G

Have you thought about using the server-side proxy method? I've used this to
load Yahoo XML into flash modules.

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16520




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


Howdy all,



Wouldn't it be nice if Yahoo starts adding crossdomain.xml files to their
public services such as weather and del.icio.us so that we RIA developers
could easily and natively write apps against them?



If you feel the same as me, put in your vote:



http://suggestions.yahoo.com/detail/?prop=ydn
http://suggestions.yahoo.com/detail/?prop=ydnfid=9622 fid=9622



I thank you all for your support!



-  John



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

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


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

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


Re: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Paul Andrews
- Original Message - 
From: Omar Fouad [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, March 02, 2007 12:01 AM
Subject: Re: [Flashcoders] OT: Pirated Books


 Ok Ok... Fine! I've sent a copy of the book.
 So ppl please look into your computer... see how many pdf books, Mp3's,
 movies you have got on your hard disk... isn't this called pirating ???
 And please don't try to tell me u got no mp3's, you don't use any p2p
 program, you don't download movies from the net without paying a penny

 All i just wanted to do is helping nothing more, nothing else.

 And by the way i Apologize to the Author, Mr. Moock and to all the list,
but
 please before you criticise ppl, criticise yourself, as we are not
angels...

Err.. I don't have any P2P programs, downloaded movies or MP3s that I
haven't paid for.

Don't judge others by your own low standards.

 Best Regards


 On 3/2/07, Ian Thomas [EMAIL PROTECTED] wrote:
 
  *falls about laughing*
 
  Why, thanks! That makes me feel considerably younger.
 
  Sorry for the noise, everyone else!
 
  Ian
 
  On 3/1/07, Omar Fouad [EMAIL PROTECTED] wrote:
   this is not called piracy my little brave boy... as in i am not
selling
  it.
   I was just considering you my lil brother, and than i decided to give
  you
   this book as any one gives something to his girlfriend..
  
   Before acting this way, know your right and respect your older bro.
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 -- 
 Omar Fouad - Digital Emotions...

 Love is always patient and kind. It is never jealous. Love is never
boastful
 nor conceited It is never rude or selfish. It does not take offense and is
 not resentful. Love takes no pleasure in other people's sins...but
delights
 in the truth. It is always ready to excuse, to trust, to hope... and to
 endure... whatever comes.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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



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

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


Re: [Flashcoders] simple math question...

2007-03-02 Thread T. Michael Keesey

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

If your mc's reg point is top left:
 mc._x =  _root.xmouse - mc._width/2
 mc._y =  _root.ymouse - mc._height/2


Incidentally, there's a neat trick you can do to speed up the
calculation AND ensure that the result is an integer (so that the clip
is aligned to the pixel). It's called bitwise shift right:

mc._x =  _root.xmouse - (mc._width  1);
mc._y =  _root.ymouse - (mc._height  1);

The benefit in speed is probably negligible in this case. In a test
where I ran a calculation a million times, shift right was about 200ms
faster than division. (I wonder if the difference might be greater in
AS3, though) However, if you also have to constrain to an integer
(e.g., using Math.floor()), then shift right is over twice as fast as
using Math.floor and division.

Basically, whenever multiplying or dividing by a power of 2, you can
use shift left (for multiplication) or shift right (for division) and
get a faster result that is automatically constrained to an integer.

x  1  is equivalent to  Math.floor(x / 2)
x  2  is equivalent to  Math.floor(x / 4)
x  3  is equivalent to  Math.floor(x / 8)
x  4  is equivalent to  Math.floor(x / 16)

x  1  is equivalent to Math.floor(x * 2)
x  2  is equivalent to Math.floor(x * 4)
x  3  is equivalent to  Math.floor(x * 8)
x  4  is equivalent to  Math.floor(x * 16)

You get the idea
--
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


Re: [Flashcoders] simple math question...

2007-03-02 Thread T. Michael Keesey

On 3/2/07, T. Michael Keesey [EMAIL PROTECTED] wrote:


In a test
where I ran a calculation a million times, shift right was about 200ms
faster than division.


Sorry, that's not a helpful metric. I should have said shift right
took ~90% as much time.

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


Re: Re[2]: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Omar Fouad

well ok... i am sorry folks

it wont happen again i promise actually someone asked me to gibi him the
book yesterday but i said no

sorry ppl, sorry ivan. I hope no one is upset anymore...

regards...


On 3/2/07, Iv [EMAIL PROTECTED] wrote:


Hello Andrew,

RA Piracy: The unauthorized reproduction or use of a copyrighted
RA book, [...]

- hmmm...
I understand reproduction rule, but use I don't understand.
Is libraries closed in your country?
Or you need special license to give your book to girlfriend?

Mistake of Omar is reproduction in his actions.
But for example if he have e-book on CD
and gives this CD to anybody... is he pirate too?

--
Ivan Dembicki
__
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.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





--
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] simple math question...

2007-03-02 Thread Joshua Sera
For an arbitrary registration point, use

var b:Object = mc.getBounds(mc._parent);
var offset:Object = {x:(mc._x - b.xMin, y:instance._y
- b.yMin)};

then

mc._x =  (_root.xmouse - mc._width/2) - offset.x;
mc._y =  (_root.ymouse - mc._height/2) - offset.y;


--- Karina Steffens [EMAIL PROTECTED] wrote:

 If your mc's reg point is top left:
  mc._x =  _root.xmouse - mc._width/2
  mc._y =  _root.ymouse - mc._height/2
 
 if it's centered you need not bother about the
 width/2 etc, but if it's
 somewhere else, you'll need to change it or do other
 calcualtions.
 
 Karina
 
  -Original Message-
  From: [p e r c e p t i c o n]
 [mailto:[EMAIL PROTECTED] 
  Sent: 01 March 2007 23:57
  To: flashcoders
  Subject: [Flashcoders] simple math question...
  
  good people,
  
  how do i move a moviClip to center itself at
 (_xmouse, 
  _ymouse)...i have the onPress part down...i just
 need to 
  center it on those coordinates
  
  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
 



 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] testing it

2007-03-02 Thread Gustavo Duenas
Hi, my emails to the list were bounced back and I don't know why...I  
hope this not.


Regards


Gustavo Duenas

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO THE LIST

2007-03-02 Thread John McCormack
Sometimes things go wrong, but I am sure most of us are really grateful to Dave 
Watts, figleaf, and all the contributers for the way they enrich our lives.
John


- Original Message - 
From: Steven Sacks | BLITZ [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, March 01, 2007 11:22 PM
Subject: RE: [Flashcoders] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO THE
LIST


You should just post their emails on spam forums where they are sure to
be culled by bots and then they'll start getting so much spam it'll
force them to get a brand new email.

Maybe then they'll see that a few unwanted emails are really not that
bad compared to how bad it will be if they don't stop whining about an
issue you're obviously working on.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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


RE: [Flashcoders] standalone player for os 9.x

2007-03-02 Thread Merrill, Jason
Publish as Macintosh Projector won't do it? 

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


 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Spiceee
Sent: Thursday, March 01, 2007 6:52 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] standalone player for os 9.x

I've searched the whole Adobe site for it, and couldn't find 
it. I need to generate an executable for os 9.x so bad! Any clues?

Thanks,

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

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

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

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


Re: [Flashcoders] simple math question...

2007-03-02 Thread Ian Thomas

It depends where the registration point of your clip is. If it's at
top-left or centre, then the calculation is simple - see all the other
posts in the thread.

If it's unpredictable, use getBounds() - do something like this:

var bounds:Object=myClipToCentre.getBounds(this);
myClipToCentre._x=_xmouse+(bounds.xMin+bounds.xMax)/2;
myClipToCentre._y=_ymouse+(bounds.yMin+bounds.yMax)/2;

HTH,
 Ian

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

good people,

how do i move a moviClip to center itself at (_xmouse, _ymouse)...i have the
onPress part down...i just need to center it on those coordinates

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

2007-03-02 Thread Jesse Graupmann

setTimeout works just like setInterval except it only runs once. 

Unfortunately it's not in the intrinsic classes, so either set it up locally
in your intrinsic class definitions (never a good idea), or call it using
array notation; _global [setTimeout].

More info here:
http://www.justgooddesign.com/blog/settimeout-setinterval-or-onenterframe.ht
m


_

Jesse Graupmann
www.jessegraupmann.com
www.justgooddesign.com/blog/
_



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matt Samet
Sent: Thursday, March 01, 2007 2:06 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Set Interval Question

 setTimeout(fadeOut, 7000);

Sure you aren't thinking of Javascript? ;)

-=matt

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alain
Rousseau
Sent: Thursday, March 01, 2007 12:39 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Set Interval Question

You should rethink your approach, 

I believe it will be easier to just 

start a fade in, 
wait 10 seconds, 
fade out. 

When the fade out is complete start over with another picture. 

untested code below :

import mx.transitions.Tween;
import mx.transitions.easing.*;

var curID = 0;
fadeIn();

function fadeIn() {
curID++;
var curMC:MovieClip = image + curID;
myTween = new Tween(curMC, _alpha, Strong.easeIn, 0, 100, 1.5,
false); // or something like that 
myTween.onMotionFinished = Delegate.create(this, pauseImage);
}

function pauseImage() {
setTimeout(fadeOut, 7000);
}

function fadeOut() {
var curMC:MovieClip = image + curID;
myTween = new Tween(curMC, _alpha, Strong.easeOut, 100, 0,
1.5,
false);
myTween.onMotionFinished = Delegate.create(this, fadeIn);
if (curID  6) curID = 0; // we start back at the first image
}

HTH !

Alain

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul V.
Sent: 1 mars 2007 14:46
To: Flash Coders; Flashnewbie Mailing List
Subject: [Flashcoders] Set Interval Question

Hello Again,
  I have a setInterval issue/question, here it is.  I set a main timer.
10
seconds.  In that 10 second interval, I load, fade in, pause on, and
fade
out, that image.  That is working mostly fine.  Accept I have a seperate
setInterval starting for the images fade in and fade out functions (1.25
sec
* 2).  And have it pausing for the remainder which should be 7.5
seconds.
Problem is it doesn't work out, and by the 4th or 5th image it is
noticably
offset.  I am guessing this is because of the time it takes to process
the
code, didn't seem likely at first, but It is not off by much, and it
seems
to be increasing marginally which means that not much, becomes
significant.
Long story short, well...point being that I want to be able to call the
main
timer, and tap into it at 0-1.25 seconds and then again at 7.5 -10
seconds
to run the image fade in and fade out.  Can I do this, from  

variableName = SetInterval (function, 1);  

use the running timer for other functions?

Thanks again.
If you need clarification about just what the heck I am trying to say.
I
can send in some code.

Thanks,

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

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.5/706 - Release Date:
2007-02-28
16:09
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.5/706 - Release Date:
2007-02-28
16:09
 

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

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

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


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

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


Re: [Flashcoders] OT: Pirated Books

2007-03-02 Thread Michael Stuhr

Chris Saila schrieb:

This is ridiculous.

you could at least have shortend the quote.
and writing tofu is bad too.

sincerely, your mail police

officer micha





(and writing.toLowercase() is bad too, but isn't it the little failing 
that makes us all human ?)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Importing SWF file into HTML web page

2007-03-02 Thread Michael Stuhr

Phil Dupré schrieb:

Hi,

Boy, stop this shit. This List is about coding actionscript.

What you need is some serious help in Web-Development.

but for the sake: it's friday, i have my 1st beer intus:
here's how the gods say you should do:
http://www.bobbyvandersluis.com/ufo/

And just for the archive: YES! it's absolutely safe to use Flash in HTML.

*shakes head + lends Phil a beer and pats him on the back: drink boy, 
you'll definately need this!*


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

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


Re: [Flashcoders] Crossdomain for president

2007-03-02 Thread Mick G

All you need is any server-side language (There are links on that page for
PHP, CFM, ASP and JSP)

All you do is create a file  eg. yahooxml.php
In this PHP file you put:

?php
$dataURL = http://www.yahoo.com/xmlfeed.xml;;
//note that this will not follow redirects
readfile($dataURL);
?


From your flash file on your domain (which is the same place as your SWF

that is trying to load the XML), you simply load the PHP file and flash will
see the location as being in the same domain as your SWF, but the PHP file
will load the XML from yahoo's server.

myXML.load(http://mywebsite.com/yahooxml.php;);


On 3/2/07, Jah [EMAIL PROTECTED] wrote:


that would require them to know the domains that they are allowing,
which is somewhat impossible... no?

On 3/2/07, John Crosby [EMAIL PROTECTED] wrote:
 Howdy all,



 Wouldn't it be nice if Yahoo starts adding crossdomain.xml files to
their
 public services such as weather and del.icio.us so that we RIA
developers
 could easily and natively write apps against them?



 If you feel the same as me, put in your vote:



 http://suggestions.yahoo.com/detail/?prop=ydn
 http://suggestions.yahoo.com/detail/?prop=ydnfid=9622 fid=9622



 I thank you all for your support!



 -  John



 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] Is anyone using Proxus FLV Component

2007-03-02 Thread Eric Walton

I am using it and when I view the file locally I see the lister component's
list but when it is uploaded to server I cannot see the xml generated list?

BTW It is an flv plater with an attached xml lister which generates a file
list with a description as well as a picture pulled from a sub folder.

The player itself works but not the lister.

Thanks in advance,

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


Re: [Flashcoders] simple math question...

2007-03-02 Thread [p e r c e p t i c o n]

thanks for the info...very helpful!
cheers
[p]

On 3/2/07, Joshua Sera [EMAIL PROTECTED] wrote:


For an arbitrary registration point, use

var b:Object = mc.getBounds(mc._parent);
var offset:Object = {x:(mc._x - b.xMin, y:instance._y
- b.yMin)};

then

mc._x =  (_root.xmouse - mc._width/2) - offset.x;
mc._y =  (_root.ymouse - mc._height/2) - offset.y;


--- Karina Steffens [EMAIL PROTECTED] wrote:

 If your mc's reg point is top left:
  mc._x =  _root.xmouse - mc._width/2
  mc._y =  _root.ymouse - mc._height/2

 if it's centered you need not bother about the
 width/2 etc, but if it's
 somewhere else, you'll need to change it or do other
 calcualtions.

 Karina

  -Original Message-
  From: [p e r c e p t i c o n]
 [mailto:[EMAIL PROTECTED]
  Sent: 01 March 2007 23:57
  To: flashcoders
  Subject: [Flashcoders] simple math question...
 
  good people,
 
  how do i move a moviClip to center itself at
 (_xmouse,
  _ymouse)...i have the onPress part down...i just
 need to
  center it on those coordinates
 
  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







Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


RE: [Flashcoders] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO THE LIST

2007-03-02 Thread Tom Haschenburger
This is a test for FlashCoders and a question is there something wrong
with the newbie list? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
McCormack
Sent: Friday, March 02, 2007 1:36 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO
THE LIST

Sometimes things go wrong, but I am sure most of us are really grateful
to Dave Watts, figleaf, and all the contributers for the way they enrich
our lives.
John


- Original Message - 
From: Steven Sacks | BLITZ [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, March 01, 2007 11:22 PM
Subject: RE: [Flashcoders] ADMIN: DO NOT SEND UNSUBSCRIBE REQUESTS TO
THE
LIST


You should just post their emails on spam forums where they are sure to
be culled by bots and then they'll start getting so much spam it'll
force them to get a brand new email.

Maybe then they'll see that a few unwanted emails are really not that
bad compared to how bad it will be if they don't stop whining about an
issue you're obviously working on.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

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

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


Re: [Flashcoders] Set Interval Question

2007-03-02 Thread Fumio Nonaka
It is inadvertently undocumented but officially supported. See the 
comment by Francis Cheng of Adobe:

http://livedocs.adobe.com/flash/8/main/1717.html
_
Muzak wrote:

It's an undocumented feature:
http://www.flashguru.co.uk/flash-8-settimeout/


Good luck,
--
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My bookshttp://www.FumioNonaka.com/Books/index.html
Flash communityhttp://F-site.org/

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

2007-03-02 Thread JOR

sweet tip, thanks.

-- JOR


T. Michael Keesey wrote:

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


If your mc's reg point is top left:
 mc._x =  _root.xmouse - mc._width/2
 mc._y =  _root.ymouse - mc._height/2



Incidentally, there's a neat trick you can do to speed up the
calculation AND ensure that the result is an integer (so that the clip
is aligned to the pixel). It's called bitwise shift right:

mc._x =  _root.xmouse - (mc._width  1);
mc._y =  _root.ymouse - (mc._height  1);

The benefit in speed is probably negligible in this case. In a test
where I ran a calculation a million times, shift right was about 200ms
faster than division. (I wonder if the difference might be greater in
AS3, though) However, if you also have to constrain to an integer
(e.g., using Math.floor()), then shift right is over twice as fast as
using Math.floor and division.

Basically, whenever multiplying or dividing by a power of 2, you can
use shift left (for multiplication) or shift right (for division) and
get a faster result that is automatically constrained to an integer.

x  1  is equivalent to  Math.floor(x / 2)
x  2  is equivalent to  Math.floor(x / 4)
x  3  is equivalent to  Math.floor(x / 8)
x  4  is equivalent to  Math.floor(x / 16)

x  1  is equivalent to Math.floor(x * 2)
x  2  is equivalent to Math.floor(x * 4)
x  3  is equivalent to  Math.floor(x * 8)
x  4  is equivalent to  Math.floor(x * 16)

You get the idea

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

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


Re: [Flashcoders] simple math question...

2007-03-02 Thread T. Michael Keesey

On 3/2/07, JOR [EMAIL PROTECTED] wrote:

sweet tip, thanks.

-- JOR


No prob. Incidentally, I'm pretty sure this is why BlurFilter, etc.
are optimized for blur amounts that are powers of 2.

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


Re: [Flashcoders] OT: Is this done in processing?

2007-03-02 Thread Muzak
Is this what you're looking for?
http://cs.nyu.edu/~jhan/ftirtouch/

regards,
Muzak

- Original Message - 
From: nelson ramirez [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, March 02, 2007 10:24 PM
Subject: Re: [Flashcoders] OT: Is this done in processing?


 http://link.brightcove.com/services/player/bcpid533361602?bctid=422563006

 Multi touch displays are here!
 The demo interfaces look so awesome! does anyone know any details on the
 package used to develop the UI?


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Cache Killer... is it bulletproof ???

2007-03-02 Thread David Bellerive
I've read that appending a random query string ( example : new Date.getTime() ) 
to the URL of assets (images, sounds, XML files, etc.) loaded at runtime in the 
Flash Player ensures that these assets are always loaded from the server 
instead of being loaded from the cache.

I've tested this on Windows XP in IE5, IE5.5, IE6, FF1, FF1.5, FF2, Opera 8, 
Opera 8.5, Opera 9, Netscape 7 and Netscape 8 and it seems to work very well.

However, I haven't been able to test this on a Mac or on Linux.

Is this method bulletproof (it works in all browsers on all operating systems)?

Is this something that you would really rely on for big projects?

Has anyone ever used this method and had big problems with it or even minor 
glitches?



 

TV dinner still cooling? 
Check out Tonight's Picks on Yahoo! TV.
http://tv.yahoo.com/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] OT: Is this done in processing?

2007-03-02 Thread Jesse Graupmann
Maybe...

http://code.google.com/p/touchlib/ 
http://nuigroup.com/log/comments/blob_tracking_with_/
http://www.v3ga.net/processing/BlobDetection/index-page-projects.html
http://mtg.upf.edu/reactable/?software


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Friday, March 02, 2007 6:23 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] OT: Is this done in processing?

Is this what you're looking for?
http://cs.nyu.edu/~jhan/ftirtouch/

regards,
Muzak

- Original Message - 
From: nelson ramirez [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, March 02, 2007 10:24 PM
Subject: Re: [Flashcoders] OT: Is this done in processing?


 http://link.brightcove.com/services/player/bcpid533361602?bctid=422563006

 Multi touch displays are here!
 The demo interfaces look so awesome! does anyone know any details on the
 package used to develop the UI?


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

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


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

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


Re: [Flashcoders] Cache Killer... is it bulletproof ???

2007-03-02 Thread Zeh Fernando

Is this method bulletproof (it works in all browsers on all operating systems)?
Is this something that you would really rely on for big projects?
Has anyone ever used this method and had big problems with it or even minor 
glitches?


It is bulletproof. There's no reason why it shouldn't work. That's how 
it has always worked.




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

2007-03-02 Thread Brian Williams

Yes, I've noticed that too.  Classes are only loaded once, so if swf A uses
class Foo, and then loads swf B into a lockroot, if swf B also has a class
Foo, it's going to be using the class defined in swf A (with the wrong
root).  Note:  it's not just the interpretation of _root.  class Foo from
swf A might be a totally different (older, for example) version, but that's
what swf B will see.

--Brian

On 3/2/07, Hans Wichman [EMAIL PROTECTED] wrote:


Hi,
I asked a question a few weeks ago about a strange phenoma with _lockroot,
losing the reference to the _root I really needed.
I seemed to have narrowed it down a little further.

Flash seems to lose the way when you reference _root from an instance of a
class that is not a movieclip. Especially when that class was already
loaded
into the parent swf and then used from the sub.swf.

Can anyone confirm this behavior?

greetz
JC
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] SharedObject - Urgen Help Needed Please

2007-03-02 Thread Not telling Not Telling


Hi there.
Well ive got the following sharedobject setup that is shared by many swfs in 
the same directory but the sharing works fine the problem is the following 
but first heres the shared object code.


Code:

axsim_so = SharedObject.getLocal(axsim, /);

What happens is the swf or exe projector only reads the sharedobject once 
upon opening so like say u push a button that flushes something that should 
cause a change to happen when the infomation is flushed it willonly occure 
the next time u reopen it.


What im after is for the swf or exe to constantly update its self with the 
changed saved infomation so like it will do it without having to close it of 
and reopen it again.


thanks in advanced to ne one who can help.

_
Advertisement: Fresh jobs daily. Stop waiting for the newspaper. Search now! 
www.seek.com.au  
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau_t=757263760_r=Hotmail_EndText_Dec06_m=EXT


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Cache Killer... is it bulletproof ???

2007-03-02 Thread Mike and Stephie

Hi David !
Yes this mostly seems to work quite well. The thing is to make sure that 
all assets are called using this random string-- that none sneaks 
through unintentionally

Kind regards
Prema

David Bellerive wrote:

I've read that appending a random query string ( example : new Date.getTime() ) 
to the URL of assets (images, sounds, XML files, etc.) loaded at runtime in the 
Flash Player ensures that these assets are always loaded from the server 
instead of being loaded from the cache.

I've tested this on Windows XP in IE5, IE5.5, IE6, FF1, FF1.5, FF2, Opera 8, 
Opera 8.5, Opera 9, Netscape 7 and Netscape 8 and it seems to work very well.

However, I haven't been able to test this on a Mac or on Linux.

Is this method bulletproof (it works in all browsers on all operating systems)?

Is this something that you would really rely on for big projects?

Has anyone ever used this method and had big problems with it or even minor 
glitches?



 

TV dinner still cooling? 
Check out Tonight's Picks on Yahoo! TV.

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

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


  


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

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


Re: [Flashcoders] SharedObject - Urgen Help Needed Please

2007-03-02 Thread Muzak
What you're trying to do is not possible with a local SharedObject.
You'll need something like FMS or Red5

Understanding shared objects
http://livedocs.adobe.com/fms/2/docs/0049.html

FMS:
http://www.adobe.com/products/flashmediaserver/
Red5
http://osflash.org/red5

If all you want to do is have 2 or more Flash apps communicate locally (running 
on same computer) you should look into using a 
LocalConnection.
http://livedocs.macromedia.com/flash/8/main/2338.html

And probably combine that with the SharedObject.

Application starts: read SharedObject
SharedObject changes: flush and use LocalConnection to update other running apps

As an alternative, you could just poll the SharedObject for changes on a 
regular interval instead of using a LocalConnection.

regards,
Muzak

- Original Message - 
From: Not telling Not Telling [EMAIL PROTECTED]
To: Flashcoders@chattyfig.figleaf.com
Sent: Saturday, March 03, 2007 6:09 AM
Subject: [Flashcoders] SharedObject - Urgen Help Needed Please



 Hi there.
 Well ive got the following sharedobject setup that is shared by many swfs in 
 the same directory but the sharing works fine the 
 problem is the following but first heres the shared object code.

 Code:

 axsim_so = SharedObject.getLocal(axsim, /);

 What happens is the swf or exe projector only reads the sharedobject once 
 upon opening so like say u push a button that flushes 
 something that should cause a change to happen when the infomation is flushed 
 it willonly occure the next time u reopen it.

 What im after is for the swf or exe to constantly update its self with the 
 changed saved infomation so like it will do it without 
 having to close it of and reopen it again.

 thanks in advanced to ne one who can 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