Re: [Flashcoders] UML tool for AS2

2006-02-16 Thread Scott Mathieson
enterprise architect > http://www.sparxsystems.com.au/products/ea.html

actionscript support straight of the box

On Friday 17 February 2006 06:54, Janis Radins wrote:
> Hye ppl!
>
> I've been searching for decent AS2 UML tool but had no luck.
> Could anyone share theyr good expieriences of some UML tools well suited
> for AS2 ?
>
> PS
> Yes I've seen Grant Skinner Gmodeler, idea is good but it's still way too
> raw.
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] UML tool for AS2

2006-02-16 Thread Janis Radins
Hye ppl!

I've been searching for decent AS2 UML tool but had no luck.
Could anyone share theyr good expieriences of some UML tools well suited for
AS2 ?

PS
Yes I've seen Grant Skinner Gmodeler, idea is good but it's still way too
raw.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Re: Ensuring commercial is played before the video while keeping .FLV external

2006-02-16 Thread Johannes Nel
sorry for not getting into the morality of this.
dispatch an event from the swf you load in. or have something that checks
currentFrame vs. totalFrames
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Re: Ensuring commercial is played before the video while keeping .FLV external

2006-02-16 Thread Jordan L. Chilcott
The best way you can ensure that your clients are seeing what you  
want them to see is to use a streaming server, as they can inject  
content into the stream. Thus, one stream can be comprised of two or  
more videos and the client doesn't know any better.


jord

On Feb 13, 2006, at 11:44 AM, Jamay Liu wrote:

If advertisers are paying for a commercial, it'd be nice if the  
commercial
were actually distributed. Also, it might not be a commercial but  
just a
simple branding logo/animation that identifies the video as ours.  
The swf
will also be a preloader for the video, so another purpose is to  
entertain

viewers while the video is loading.


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

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

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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] redraw/update DataGrid to reflect change of data?

2006-02-16 Thread Grant Cox
If all you want is for the datagrid to refresh from the data already in 
it's dataProvider (ie, each grid row updates to what you want when you 
rollover), then try:


var current_vpos = myGrid.vPosition;
myGrid.dataProvider = myGrid.dataProvider;
myGrid.vPosition = current_vpos;

Regards,
Grant Cox


Chuck Hoffman wrote:

I'd like to get a DataGrid (or better yet, one of its columns) to 
redraw itself, so as to reflect a change made to item(s) in its 
dataProvider.


Specifically, I have a field called 'select', and for its column in 
the DataGrid I use a CellRenderer containing a CheckBox, which 
responds to clicks to the CheckBox by setting the select field of the 
given item appropriately.


However, I'd also like to add a "select all" checkbox.  I have no 
problem responding to clicks on the CheckBox with a quick 
looping-through of the dataProvider setting the select fields on each 
item to true or false, as the case may be.


But I can't seem to get the DataGrid to redraw right away to reflect 
the change.  The CheckBoxes will redraw correctly only when I mouse 
over the rows.


I should note that a co-worker of mine got this functionality working 
using code on the timeline, whereas I'm trying to do it within a class 
to which the MovieClip containing the DataGrid is linked and having 
considerably less luck with it.


I've tried calling invalidate(), redraw(), draw(), and refresh(), on 
the DataGrid, and a few combinations of two or more of these, all to 
no avail (do any of those functions actually *do* anything??)


Many thanks
--ch--


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Issue with two instances on a timeline

2006-02-16 Thread Chris Velevitch
If there are 2 instances with the name name in different frames, can't
you refer to a specific instance by including the frame number or
frame name in the reference?


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] Issue with two instances on a timeline

2006-02-16 Thread Grant Cox
I agree, this is perhaps the most irritating thing about animating 
inside the Flash timeline.


Unfortunately I believe it is just a limitation of Flash, and the only 
way to get around it is to avoid keyframes on objects you need to use 
code with.  So, either avoid all keyframes and do animation with code, 
or just avoid keyframes on the specific objects you want to modify with 
code.  In your example for changing text or colour, the object you are 
changing (textfield or movieclip) needs to be inside another movieclip.  
Now you can apply code to the inner movieclip and timeline effects to 
the outer movieclip (or vice versa), and it should work ok.


But unfortunately it is still a pain.  But then, that's animating in 
Flash for you :)


Regards,
Grant Cox


Meinte van't Kruis wrote:


Hi folks,

I've had this problem for a long time and it keeps on coming back once in a
while, and allthough
I've allways found ways to work around it, I never got to a real solution,
so perhaps some of you know the
answer.

The problem is, simply put:

make a textfield, called tfield
place it inside a movieclip called mc

now we'll animate mc, one keyframe on frame 1, one keyframe on frame 10, put
a motion tween in there.
now the problem is, i have two keyframes, thus two instances of, basically,
the same thing (same instance name)
this, somehow, always brings up alot of problems, giving unexpected results.
when i, say, change the color of the movieclip, or the text of the field
inside the movieclip, it usually doesn't work at all

it seems like flash only likes to change the color or text on the first
frame and not during the animation, or on the last frame

Does anyone know a good solution to this problem, because i feel there must
be an easy solution to this (besides tweening with actionscript alone)

thanks,

Meinte
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] redraw/update DataGrid to reflect change of data?

2006-02-16 Thread Chuck Hoffman
I'd like to get a DataGrid (or better yet, one of its columns) to redraw 
itself, so as to reflect a change made to item(s) in its dataProvider.


Specifically, I have a field called 'select', and for its column in the 
DataGrid I use a CellRenderer containing a CheckBox, which responds to 
clicks to the CheckBox by setting the select field of the given item 
appropriately.


However, I'd also like to add a "select all" checkbox.  I have no 
problem responding to clicks on the CheckBox with a quick 
looping-through of the dataProvider setting the select fields on each 
item to true or false, as the case may be.


But I can't seem to get the DataGrid to redraw right away to reflect the 
change.  The CheckBoxes will redraw correctly only when I mouse over the 
rows.


I should note that a co-worker of mine got this functionality working 
using code on the timeline, whereas I'm trying to do it within a class 
to which the MovieClip containing the DataGrid is linked and having 
considerably less luck with it.


I've tried calling invalidate(), redraw(), draw(), and refresh(), on the 
DataGrid, and a few combinations of two or more of these, all to no 
avail (do any of those functions actually *do* anything??)


Many thanks
--ch--

--

CHUCK HOFFMAN
PROGRAMMER
T8DESIGN.COM | P 877.T8IDEAS | F 888.290.4675


This e-mail, including attachments, is covered by the Electronic 
Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and 
may be legally privileged. If you are not the intended recipient, you 
are hereby notified that any retention, dissemination, distribution, or 
copying of this communication is strictly prohibited. Please reply to 
the sender that you have received the message in error, and then please 
delete it. Thank you.

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

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


Re: [Flashcoders] orphaned bindings

2006-02-16 Thread JesterXL
Don't use bindings.  Map the result from the server to the dataProvider of 
whatever control you're trying to populate.  Binding only works good in 
Flex, not Flash.

- Original Message - 
From: <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 6:53 PM
Subject: RE: [Flashcoders] orphaned bindings


I really hate to bump my own thread, but I do need someone to tell me...
you're screwed, start over, it doesn't matter, it will dissolve in warm
water, every life a little rain must fall, grass is always greener,
something, so I can take some sort of action.  As you can see, I have been
reduced to on the floor beggin' for any answer I can get.
Jamie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 11:43 AM
To: Flashcoders
Subject: [Flashcoders] orphaned bindings


I have seen references to the problem of bindings that show as an error in
the output panel like this: Scene 1, Binding between .deltaPacket.
and .deltaPacket.: The endpoint of the binding does not exist.  I
think I caused mine when I removed a DataSet and a Resolver from a form that
I no longer needed.  Problem is "How do I get rid of the error?  The answer
is what I have been unable to find.

Jamie

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Strange actionscript vs tweening problem Flash8

2006-02-16 Thread Grant Cox
I'm not sure what is happening in your case, but previously I have found 
similar issues (with code / timeline based effects conflicting) when:


- The symbol (movieclip/button) does not have the same instance name 
across all keyframes (ie doesn't have an instance name on a keyframe).
- When the code changes any attribute of a tweened symbol.  If you have 
code that changes a clip's position, the tween becomes invalid until the 
next keyframe (which then overwrites whatever code change you made).  I 
assume this applies to all other clip attributes (not just position), as 
a key is on a whole layer...


Regards,
Grant Cox


T. van Zantvoort wrote:


I just simply use

for (i=1; i<10; i++) {
this["b"+i].onRelease = function() {
play();
};
}

This is for button 1 through 9 and then on the timeline there's a tween with
all the buttons that go to an other location themselfs. But when I click on
a button, that button stays on it's place until the tween is done and then
finally flips to the position it supposed to tween to.


Met vriendelijke groeten,


Tayfun van Zantvoort
WebSculptor
---
MonTay WebArchitects
T: 040-2300898
F: 040-2954071
I: www.montay.nl
---
Check ook eens andere
onderdelen van ons uit.
---
www.vsnet.nl (je eigen webshop)
www.mlife.nl (aug '05, digi-lifestyle)
===

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Karthik
Verzonden: donderdag 16 februari 2006 9:24
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Strange actionscript vs tweening problem Flash8

 

At this point it goes strangely, the tween is actually happening but 
the button clicked stays on the same place until the tween stops and 
then flips to the location it supposed to tween to.
   



How are you tweening this? You might want to show us some code.

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

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

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

2006-02-16 Thread jktieman
I really hate to bump my own thread, but I do need someone to tell me...
you're screwed, start over, it doesn't matter, it will dissolve in warm
water, every life a little rain must fall, grass is always greener,
something, so I can take some sort of action.  As you can see, I have been
reduced to on the floor beggin' for any answer I can get.
Jamie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 11:43 AM
To: Flashcoders
Subject: [Flashcoders] orphaned bindings


I have seen references to the problem of bindings that show as an error in
the output panel like this: Scene 1, Binding between .deltaPacket.
and .deltaPacket.: The endpoint of the binding does not exist.  I
think I caused mine when I removed a DataSet and a Resolver from a form that
I no longer needed.  Problem is "How do I get rid of the error?  The answer
is what I have been unable to find.

Jamie

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

2006-02-16 Thread Chris Kennon

Hi,

After completing a clean install of Flash Player 8.5, the situation  
continues with the following error returned to the activity window:




"http://fpdownload.macromedia.com/pub/flashplayer/update/current/ 
install/version.xml plugin-canceled"



Respectfully,
Chris



On Feb 16, 2006, at 3:09 PM, Sander wrote:

gotoAndLearn has MM's default detectionkit. But I had trouble with  
it as well: I think an orphaned player7 file was still in my  
plugins folder next to the player 8 files (I switch a lot).  
Deleting all and reinstalling got me past the error.



On 16 Feb 2006, at 23:41, Chris Kennon wrote:


Hi,

Player 8.x
On Feb 16, 2006, at 11:54 AM, JesterXL wrote:


What Flash player is installed in both browsers?

- Original Message -
From: "Chris Kennon" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 2:41 PM
Subject: [Flashcoders] gotoandlearn()


Hi,

I've contacted lee directly, but thought this might prove
additionally helpful.

I'm working with OS 10.4.5, both Safari and FireFox cannot load
gotoandlearn() tutorials, and both are unable to download the
material. I'm at a loss why this happening?





Return True,




Christopher Kennon
Principal/Designer/Programmer -Bushidodeep
www.bushidodeep.com
___
"An ideal is merely the projection, on an enormously enlarged scale,
of some aspect of personality."
  -- Aldus Huxley


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

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

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


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

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


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

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


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

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


[Flashcoders] Dynamic drop shadow

2006-02-16 Thread Philip Smith
Hi there,

   I'm looking for an AS2 class that will provide a drop shadow for a window 
pane that is continually resizing. I would prefer a class with an easy 
interface, that allows a movie clip to be registered as the clip to be 
shadowed, with a constant loop running inside of it to keep the shadow 
proportional.

  Any classes that do this would be greatly appreciated.

Thanks,

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

2006-02-16 Thread Diego Guebel

Hi there,
I'm stuck trying to print out a textfield that is longer than a page and 
flash doesn't take care if cuts a text line.

Is there any method to solve this issue adding page break or something?
Thanks in advance, Diego.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] gotoandlearn()

2006-02-16 Thread Sander
gotoAndLearn has MM's default detectionkit. But I had trouble with it  
as well: I think an orphaned player7 file was still in my plugins  
folder next to the player 8 files (I switch a lot). Deleting all and  
reinstalling got me past the error.



On 16 Feb 2006, at 23:41, Chris Kennon wrote:


Hi,

Player 8.x
On Feb 16, 2006, at 11:54 AM, JesterXL wrote:


What Flash player is installed in both browsers?

- Original Message -
From: "Chris Kennon" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 2:41 PM
Subject: [Flashcoders] gotoandlearn()


Hi,

I've contacted lee directly, but thought this might prove
additionally helpful.

I'm working with OS 10.4.5, both Safari and FireFox cannot load
gotoandlearn() tutorials, and both are unable to download the
material. I'm at a loss why this happening?





Return True,




Christopher Kennon
Principal/Designer/Programmer -Bushidodeep
www.bushidodeep.com
___
"An ideal is merely the projection, on an enormously enlarged scale,
of some aspect of personality."
  -- Aldus Huxley


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

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

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


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

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


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

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


RE: [Flashcoders] need : multiple sine waves animating - via drawing api

2006-02-16 Thread Ben Smeets
http://www.gotoandplay.it/_articles/2005/06/pathClass.php

Something like that? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of artur
Sent: donderdag 16 februari 2006 17:47
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] need : multiple sine waves animating - via
drawing api

does some have code for this?

i looked everywhere.. no luck.

just want 3 waves ( lines ) to ebb and flow organically.

thanks in advance

-artur
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Getting a button to work properly...

2006-02-16 Thread Monicque Sharman
Hi all,
 
I have a button that works as expected when the mouse clicks on it, but when
the button looks like it has focus and you press the Enter button on the
keyboard, it does  not work as expected.
 
The code I have on the button is as follows:
 
on(release, keyPress "") {
  ...code, if (blah=xxx) { etc }
}
 
Further info (don't know if this is necessary):
The frame has two textInput boxes and the button.
On the frame, I have tab enabled the button that I created.
So, you can use keyboard tab to go from the textInput boxes to the button. 
but when the button gets focus, and you press enter on the keyboard, the
movie just goes to the next frame (ie. does not process the if statement). 
BUT, when you use the mouse, it all works perfectly.
 
Any suggestions will be greatly appreciated!
Thanks,
Monicque.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] gotoandlearn()

2006-02-16 Thread Chris Kennon

Hi,

Player 8.x
On Feb 16, 2006, at 11:54 AM, JesterXL wrote:


What Flash player is installed in both browsers?

- Original Message -
From: "Chris Kennon" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 2:41 PM
Subject: [Flashcoders] gotoandlearn()


Hi,

I've contacted lee directly, but thought this might prove
additionally helpful.

I'm working with OS 10.4.5, both Safari and FireFox cannot load
gotoandlearn() tutorials, and both are unable to download the
material. I'm at a loss why this happening?





Return True,




Christopher Kennon
Principal/Designer/Programmer -Bushidodeep
www.bushidodeep.com
___
"An ideal is merely the projection, on an enormously enlarged scale,
of some aspect of personality."
  -- Aldus Huxley


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Guy Watson's FileSystem Extension

2006-02-16 Thread Johannes Nel
as a side note. on usage :)

lets say i want to import the xfactor xpath classes, just point it to the
com directory and the whole com thinga'mabob gets copied over.

On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
>
> nothing a bit of plagarism and a slight rewrite couldn't sort out. go
> through my added comments in the code i see some pitfalls, but could not
> realise them.
>
>
>
> var folderURI = fl.browseForFolderURL("Please select your package.");
> var folderContents = FLfile.listFolder( folderURI, "directories" );
> var classesLocation = fl.configURI+"/Classes/";
> var bInstall = confirm("Install the package: " + folderURI + "?");
>
> if( bInstall == true ){
> //create the folder we are copying to if it does not exist
> var target = classesLocation + getTopDirectoryFromOrigen(folderURI) +
> "/";
> createFolder(target)
> copyFolder(folderURI +"/",target,true);
> } else {
>fl.trace( "Installation cancelled." );
> }
> function getTopDirectoryFromOrigen(uri)
> {
> var arr = uri.split("/");
> return arr[ arr.length-1];
> }
> function createFolder(uri)
> {
> if(!FLfile.exists(uri))
> {
> FLfile.createFolder(uri);
> }
> }
> /**
> * the rest of these functions were written for dreamweaver
> * by Danilo Celic with the odd modification by me
> * http://www.communitymx.com/blog/index.cfm?newsid=237
> */
>
> function copyFolder(start, end, overwrite){//1.0_DC
> // Copy the folders
> var theFolders = getAllFolders(start);
> var theFiles = getAllFiles(start);
> for(var i=0;i
> theFolders[i] = theFolders[i].substring(start.length);
> //jpn modification for recursivness
> var zeFolder = theFolders[i];
>
> theFolders[i] = end + theFolders[i];
> if(!FLfile.exists(theFolders[i])){
> FLfile.createFolder(theFolders[i]);
> }
> //jpn modification to the orinial script to make zis sucker
> recursive
> //NOTE this comparision.
> //i do not believe that this is perfect and can see problems with
> it, but its fly for now
> if((start +  zeFolder)!= start)
> {
> copyFolder(start + "/" +   zeFolder,end + "/" +
> zeFolder,overwrite);
> }
> }
> for (i=0; i < theFiles.length; i++){
> var folderPath = theFiles[i].substring(start.length);
> if(overwrite){
> if(FLfile.exists(end + folderPath)){
> FLfile.remove(end + folderPath);
> theResult = FLfile.copy(theFiles[i], end + folderPath);
> if (!theResult)
> {
> fl.trace('error on copy 0' + end + folderPath);
>  }
> }
> else//jpn modification: added this else section this should be
> refactored as there is repetition!!!
> {
> theResult = FLfile.copy(theFiles[i], end + folderPath);
> if (!theResult)
> {
> fl.trace('error on copy 1' + end + folderPath);
> }
> }
> }
> else
> {
> if(!FLfile.exists(end + folderPath)){
> theResult = FLfile.copy(theFiles[i], end + folderPath);
> if (!theResult) fl.trace('error on copy 2'+ end +
> folderPath);
> }
> }
> }
> }
>
> //Traverse the folder passed in and return an array of all the folders
> within it
> //Design Notes files are already filtered
> function getAllFolders(theFolderURL){//1.1_DC
> var dirArray = new Array();
> dirArray[0] = theFolderURL;
> for(var x=0 ; x < dirArray.length ;x++){
> //Put together an array of directories
> theDirs = FLfile.listFolder(dirArray[x], 'directories');
> for(var i=0;i {
> //Filter out the Design Notes folder
> if(theDirs[i] != '_notes'){
> dirArray.push(dirArray[x]+theDirs[i]+'/');
> }
> }
> }
> return dirArray;
> }
>
> //Traverse the folder passed in and return an array of all the files
> within it
> function getAllFiles(theFolderURL){ //1.1_DC
> var returnFileArray = new Array();
> var theDirs = getAllFolders(theFolderURL);
> var theFiles = new Array();
> for(var i= 0;i theFiles = FLfile.listFolder(theDirs[i] + '/*' ,'files');
> for(var k=0;k returnFileArray.push(theDirs[i]+ theFiles[k]);
> }
> }
> return returnFileArray;
> }
>
>
>
> On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> >
> > Okay cool, because when I get the folderURI - I alert through and its
> > correct, the copyFolder operation, using folderURI actuallly copies the
> > contents INSIDE the folderURI, and not the folderURI itself -
> > frustrating!
> >
> > -edolecki
> >
> >
> > On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> > >
> > > hang on 5 minutes. i almost have it working using flFile, which will
> > make
> > > it
> > > Mac 

Re: [Flashcoders] Guy Watson's FileSystem Extension

2006-02-16 Thread Johannes Nel
nothing a bit of plagarism and a slight rewrite couldn't sort out. go
through my added comments in the code i see some pitfalls, but could not
realise them.



var folderURI = fl.browseForFolderURL("Please select your package.");
var folderContents = FLfile.listFolder( folderURI, "directories" );
var classesLocation = fl.configURI+"/Classes/";
var bInstall = confirm("Install the package: " + folderURI + "?");

if( bInstall == true ){
//create the folder we are copying to if it does not exist
var target = classesLocation + getTopDirectoryFromOrigen(folderURI) +
"/";
createFolder(target)
copyFolder(folderURI +"/",target,true);
} else {
   fl.trace( "Installation cancelled." );
}
function getTopDirectoryFromOrigen(uri)
{
var arr = uri.split("/");
return arr[arr.length-1];
}
function createFolder(uri)
{
if(!FLfile.exists(uri))
{
FLfile.createFolder(uri);
}
}
/**
* the rest of these functions were written for dreamweaver
* by Danilo Celic with the odd modification by me
* http://www.communitymx.com/blog/index.cfm?newsid=237
*/

function copyFolder(start, end, overwrite){//1.0_DC
// Copy the folders
var theFolders = getAllFolders(start);
var theFiles = getAllFiles(start);
for(var i=0;i wrote:
>
> Okay cool, because when I get the folderURI - I alert through and its
> correct, the copyFolder operation, using folderURI actuallly copies the
> contents INSIDE the folderURI, and not the folderURI itself - frustrating!
>
> -edolecki
>
>
> On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> >
> > hang on 5 minutes. i almost have it working using flFile, which will
> make
> > it
> > Mac usable as well/
> >
> > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > >
> > > Ok - I downloaded Guy's FileSystem extension and there is something
> > called
> > >
> > >  FileSystem.copyFolder( param1, param2 );
> > >
> > > which rocks. But I want to get the base folder & copy it... when i do
> > > this:
> > >
> > >  var folderURI = fl.browseForFolderURL( "choose folder to copy to
> > > class
> > > location" );
> > >
> > > that gives me the CONTENTS of the folder, not the folder itself. So
> what
> > > ends up happening, I copy all of the contents of the folder, not the
> > main
> > > folder itself.
> > >
> > > How do I get that folder as the file URI ?
> > >
> > > My code:
> > >
> > >
> > >
> > > var folderURI = fl.browseForFolderURL( "JSFL PACKAGE
> > > INSTALATION\n\n\nPlease
> > > select the class package (folder) you wish to install:", "directories"
> > );
> > >
> > > if( folderURI == null ){
> > > alert( "Aborting Installation" );
> > > } else {
> > > continueProcess();
> > > }
> > >
> > > function continueProcess(){
> > > var classLocation = fl.configURI + "Classes";
> > > var bInstall = confirm("Would you like to install the
> package\nthat
> > > you
> > > selcted at this location:\n\n" + folderURI + "?");
> > >
> > > if( bInstall == true ){
> > > FileSystem.copyFolder( folderURI, classLocation );
> > > alert( "The Package has been installed." );
> > > } else {
> > > alert( "Installation cancelled." );
> > > }
> > > }
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > >
> >
> >
> >
> > --
> > j:pn
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/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
>



--
j:pn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Guy Watson's FileSystem Extension

2006-02-16 Thread eric dolecki
Okay cool, because when I get the folderURI - I alert through and its
correct, the copyFolder operation, using folderURI actuallly copies the
contents INSIDE the folderURI, and not the folderURI itself - frustrating!

-edolecki


On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
>
> hang on 5 minutes. i almost have it working using flFile, which will make
> it
> Mac usable as well/
>
> On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> >
> > Ok - I downloaded Guy's FileSystem extension and there is something
> called
> >
> >  FileSystem.copyFolder( param1, param2 );
> >
> > which rocks. But I want to get the base folder & copy it... when i do
> > this:
> >
> >  var folderURI = fl.browseForFolderURL( "choose folder to copy to
> > class
> > location" );
> >
> > that gives me the CONTENTS of the folder, not the folder itself. So what
> > ends up happening, I copy all of the contents of the folder, not the
> main
> > folder itself.
> >
> > How do I get that folder as the file URI ?
> >
> > My code:
> >
> >
> >
> > var folderURI = fl.browseForFolderURL( "JSFL PACKAGE
> > INSTALATION\n\n\nPlease
> > select the class package (folder) you wish to install:", "directories"
> );
> >
> > if( folderURI == null ){
> > alert( "Aborting Installation" );
> > } else {
> > continueProcess();
> > }
> >
> > function continueProcess(){
> > var classLocation = fl.configURI + "Classes";
> > var bInstall = confirm("Would you like to install the package\nthat
> > you
> > selcted at this location:\n\n" + folderURI + "?");
> >
> > if( bInstall == true ){
> > FileSystem.copyFolder( folderURI, classLocation );
> > alert( "The Package has been installed." );
> > } else {
> > alert( "Installation cancelled." );
> > }
> > }
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
> --
> j:pn
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Using a string to declare a function?

2006-02-16 Thread Yehia Shouman
Try

this[a]=function()
{
  trace("hi:"+arguments);
}

or more neat
var newFunc= this[a];
newFunc=function()
{
}

and later on you can access the newFunc variable
or use this[a]();

you will only have to define that function in your class constructor (if it
is a component class) or any other function that is called automatically by
mx.core.UIComponent (CreateChildren/draw ...etc).


On 2/16/06, Ryan Luce <[EMAIL PROTECTED]> wrote:
>
> Is there any way in flash to using a string to declare a function name.
> Here's an example:
> class test {
>
>  var a = "hello";
> function get this[a]() {
>trace("hi");
>  }
> }
>
> i've tried this[a] and taht doesn't work... i'm not sure how it would
> otherwise be done.
> Thanks,
> Ryan.
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Guy Watson's FileSystem Extension

2006-02-16 Thread Johannes Nel
hang on 5 minutes. i almost have it working using flFile, which will make it
Mac usable as well/

On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> Ok - I downloaded Guy's FileSystem extension and there is something called
>
>  FileSystem.copyFolder( param1, param2 );
>
> which rocks. But I want to get the base folder & copy it... when i do
> this:
>
>  var folderURI = fl.browseForFolderURL( "choose folder to copy to
> class
> location" );
>
> that gives me the CONTENTS of the folder, not the folder itself. So what
> ends up happening, I copy all of the contents of the folder, not the main
> folder itself.
>
> How do I get that folder as the file URI ?
>
> My code:
>
>
>
> var folderURI = fl.browseForFolderURL( "JSFL PACKAGE
> INSTALATION\n\n\nPlease
> select the class package (folder) you wish to install:", "directories" );
>
> if( folderURI == null ){
> alert( "Aborting Installation" );
> } else {
> continueProcess();
> }
>
> function continueProcess(){
> var classLocation = fl.configURI + "Classes";
> var bInstall = confirm("Would you like to install the package\nthat
> you
> selcted at this location:\n\n" + folderURI + "?");
>
> if( bInstall == true ){
> FileSystem.copyFolder( folderURI, classLocation );
> alert( "The Package has been installed." );
> } else {
> alert( "Installation cancelled." );
> }
> }
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
j:pn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Guy Watson's FileSystem Extension

2006-02-16 Thread eric dolecki
Ok - I downloaded Guy's FileSystem extension and there is something called

 FileSystem.copyFolder( param1, param2 );

which rocks. But I want to get the base folder & copy it... when i do this:

 var folderURI = fl.browseForFolderURL( "choose folder to copy to class
location" );

that gives me the CONTENTS of the folder, not the folder itself. So what
ends up happening, I copy all of the contents of the folder, not the main
folder itself.

How do I get that folder as the file URI ?

My code:



var folderURI = fl.browseForFolderURL( "JSFL PACKAGE INSTALATION\n\n\nPlease
select the class package (folder) you wish to install:", "directories" );

if( folderURI == null ){
alert( "Aborting Installation" );
} else {
continueProcess();
}

function continueProcess(){
var classLocation = fl.configURI + "Classes";
var bInstall = confirm("Would you like to install the package\nthat you
selcted at this location:\n\n" + folderURI + "?");

if( bInstall == true ){
FileSystem.copyFolder( folderURI, classLocation );
alert( "The Package has been installed." );
} else {
alert( "Installation cancelled." );
}
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
Cool :)

I have this so far:

var folderURI = fl.browseForFolderURL("JSFL PACKAGE INSTALATION\n\n\nPlease
select the class package (folder) you wish to install:");

if( folderURI == null ){
alert( "Aborting Installation" );
} else {
continueProcess();
}

function continueProcess(){
var folderContents = FLfile.listFolder( folderURI );

// Location to install the package:
var classLocation = fl.configURI + "Classes";

// Prompt confirmation for installation
var bInstall = confirm("Would you like to install the package\nthat you
selcted at this location:\n\n" + folderURI + "?");

if( bInstall == true ){
alert( "List of directories/files installed:\n" +
folderContents.join("\n") );
} else {
alert( "Installation cancelled." );
}
}

On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
>
> i am putting together a recursive copying script for you. i have already
> come to where you are now
>
> On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> >
> > Have gotten further - but there seems to be no easy way to easily
> specify
> > a
> > single folder (maintaining all its sub-directories & files) and copying
> > that
> > to this location:
> >
> >  var packageDestinationLocation = fl.configURI + "Classes";
> >
> > Hmm. Any JSFL-mavens out there?
> >
> > -edolecki
> >
> >
> >
> > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > >
> > > I started whipping something up based on something like this (JUST
> > started
> > > though...(
> > >
> > > var folderURI = fl.browseForFolderURL("Please select your package.");
> > > var folderContents = FLfile.listFolder( folderURI, "directories" );
> > >
> > > var bInstall = confirm("Install the package: " + folderURI + "?");
> > >
> > > if( bInstall == true ){
> > > alert( "List of directories/files installed:\n" +
> > folderContents.join("\n")
> > > );
> > > } else {
> > > alert( "Installation cancelled." );
> > > }
> > >
> > >
> > >
> > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > > >
> > > > My original thinking was this:
> > > >
> > > > 1. Download someone's package containing a bunch of classes
> > > > 2. Easily install that package (folder & its contents) into your
> > > > "C:\Documents and Settings\\Local Settings\Application
> > > > Data\Macromedia\Flash 8\en\Configuration\Classes" directory. Perhaps
> > make it
> > > > work for Mac too.
> > > >
> > > > Something like that, to keep them all centralized, no need to mess
> > with
> > > > classpaths. I guess this would work as long as the packages weren't
> > going to
> > > > change over time.
> > > >
> > > > -edolecki
> > > >
> > > >
> > > > On 2/16/06, Johannes Nel <[EMAIL PROTECTED] > wrote:
> > > > >
> > > > > hi eric
> > > > >
> > > > > i have a file and folder browser i wrote as a windowSWF panel. now
> > how
> > > > > this
> > > > > kind of extension can work is.
> > > > > you add a known class path to your lists of classpaths, by
> browsing
> > to
> > > > > the
> > > > > folder where it is located.
> > > > > you obviously see a list of all the classpaths you have specified
> > > > > before,
> > > > > and using a checkbox or button include them in your current fla's
> > > > > classpath.
> > > > >
> > > > >
> > > > > is this the right track?
> > > > > i will gladly help you if there is anything you need to make this
> > > > > work.
> > > > >
> > > > > cheers
> > > > > johan
> > > > >
> > > > >
> > > > > On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > aah. i think what you want to look at is claspaths, instead
> > > > > of  copying
> > > > > > the resource to your project folder for every project. i suspect
> > you
> > > > > can set
> > > > > > classpaths  with jsfl, but could be wrong. this could be quite a
> > > > > handy
> > > > > > little extension and i have some ideas how that could be
> > > > > inmplemented :)
> > > > > >
> > > > > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Something where I download a .zip and its got the package
> there,
> > > > > no MXP,
> > > > > > > etc.
> > > > > > >
> > > > > > > Perhaps I make my own package and I just wanna quickly install
> > it.
> > > > > That
> > > > > > > kind
> > > > > > > of use case. I can always drag & drop the folder on a shortcut
> > > > > icon, but
> > > > > > > it
> > > > > > > would be nice to do it within the IDE.
> > > > > > >
> > > > > > > -edolecki
> > > > > > >
> > > > > > >
> > > > > > > On 2/16/06, Johannes Nel < [EMAIL PROTECTED] > wrote:
> > > > > > > >
> > > > > > > > an mxp should do the trick, no?
> > > > > > > >
> > > > > > > > On 2/16/06, eric dolecki < [EMAIL PROTECTED]> wrote:
> > > > > > > > >
> > > > > > > > > Is anyone aware of a JSFL Command to ease installation of
> > > > > packages
> > > > > > > into
> > > > > > > > > the
> > > > > > > > > Flash 8 IDE?
> > > > > > > > >
> > > > > > > > > I'm going to research File I/O a little bit, perhaps that
> > will
> > > > > be
> > > > > > > enough

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
i am putting together a recursive copying script for you. i have already
come to where you are now

On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> Have gotten further - but there seems to be no easy way to easily specify
> a
> single folder (maintaining all its sub-directories & files) and copying
> that
> to this location:
>
>  var packageDestinationLocation = fl.configURI + "Classes";
>
> Hmm. Any JSFL-mavens out there?
>
> -edolecki
>
>
>
> On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> >
> > I started whipping something up based on something like this (JUST
> started
> > though...(
> >
> > var folderURI = fl.browseForFolderURL("Please select your package.");
> > var folderContents = FLfile.listFolder( folderURI, "directories" );
> >
> > var bInstall = confirm("Install the package: " + folderURI + "?");
> >
> > if( bInstall == true ){
> > alert( "List of directories/files installed:\n" +
> folderContents.join("\n")
> > );
> > } else {
> > alert( "Installation cancelled." );
> > }
> >
> >
> >
> > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > >
> > > My original thinking was this:
> > >
> > > 1. Download someone's package containing a bunch of classes
> > > 2. Easily install that package (folder & its contents) into your
> > > "C:\Documents and Settings\\Local Settings\Application
> > > Data\Macromedia\Flash 8\en\Configuration\Classes" directory. Perhaps
> make it
> > > work for Mac too.
> > >
> > > Something like that, to keep them all centralized, no need to mess
> with
> > > classpaths. I guess this would work as long as the packages weren't
> going to
> > > change over time.
> > >
> > > -edolecki
> > >
> > >
> > > On 2/16/06, Johannes Nel <[EMAIL PROTECTED] > wrote:
> > > >
> > > > hi eric
> > > >
> > > > i have a file and folder browser i wrote as a windowSWF panel. now
> how
> > > > this
> > > > kind of extension can work is.
> > > > you add a known class path to your lists of classpaths, by browsing
> to
> > > > the
> > > > folder where it is located.
> > > > you obviously see a list of all the classpaths you have specified
> > > > before,
> > > > and using a checkbox or button include them in your current fla's
> > > > classpath.
> > > >
> > > >
> > > > is this the right track?
> > > > i will gladly help you if there is anything you need to make this
> > > > work.
> > > >
> > > > cheers
> > > > johan
> > > >
> > > >
> > > > On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > aah. i think what you want to look at is claspaths, instead
> > > > of  copying
> > > > > the resource to your project folder for every project. i suspect
> you
> > > > can set
> > > > > classpaths  with jsfl, but could be wrong. this could be quite a
> > > > handy
> > > > > little extension and i have some ideas how that could be
> > > > inmplemented :)
> > > > >
> > > > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Something where I download a .zip and its got the package there,
> > > > no MXP,
> > > > > > etc.
> > > > > >
> > > > > > Perhaps I make my own package and I just wanna quickly install
> it.
> > > > That
> > > > > > kind
> > > > > > of use case. I can always drag & drop the folder on a shortcut
> > > > icon, but
> > > > > > it
> > > > > > would be nice to do it within the IDE.
> > > > > >
> > > > > > -edolecki
> > > > > >
> > > > > >
> > > > > > On 2/16/06, Johannes Nel < [EMAIL PROTECTED] > wrote:
> > > > > > >
> > > > > > > an mxp should do the trick, no?
> > > > > > >
> > > > > > > On 2/16/06, eric dolecki < [EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Is anyone aware of a JSFL Command to ease installation of
> > > > packages
> > > > > > into
> > > > > > > > the
> > > > > > > > Flash 8 IDE?
> > > > > > > >
> > > > > > > > I'm going to research File I/O a little bit, perhaps that
> will
> > > > be
> > > > > > enough
> > > > > > > > to
> > > > > > > > whip one up quickly. Perhaps one exists already. Unsure.
> Would
> > > > be
> > > > > > quite
> > > > > > > > useful though.
> > > > > > > >
> > > > > > > > -edolecki
> > > > > > > > ___
> > > > > > > > Flashcoders@chattyfig.figleaf.com
> > > > > > > > To change your subscription options or search the archive:
> > > > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > > > > > >
> > > > > > > > Brought to you by Fig Leaf Software
> > > > > > > > Premier Authorized Adobe Consulting and Training
> > > > > > > > http://www.figleaf.com
> > > > > > > > http://training.figleaf.com
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > j:pn
> > > > > > > ___
> > > > > > > Flashcoders@chattyfig.figleaf.com
> > > > > > > To change your subscription options or search the archive:
> > > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > > > > >
> > > > > > > Brought to you by Fig Leaf Software
> > > > > > > Premier 

Re: [Flashcoders] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
Have gotten further - but there seems to be no easy way to easily specify a
single folder (maintaining all its sub-directories & files) and copying that
to this location:

 var packageDestinationLocation = fl.configURI + "Classes";

Hmm. Any JSFL-mavens out there?

-edolecki



On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> I started whipping something up based on something like this (JUST started
> though...(
>
> var folderURI = fl.browseForFolderURL("Please select your package.");
> var folderContents = FLfile.listFolder( folderURI, "directories" );
>
> var bInstall = confirm("Install the package: " + folderURI + "?");
>
> if( bInstall == true ){
> alert( "List of directories/files installed:\n" + 
> folderContents.join("\n")
> );
> } else {
> alert( "Installation cancelled." );
> }
>
>
>
> On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> >
> > My original thinking was this:
> >
> > 1. Download someone's package containing a bunch of classes
> > 2. Easily install that package (folder & its contents) into your
> > "C:\Documents and Settings\\Local Settings\Application
> > Data\Macromedia\Flash 8\en\Configuration\Classes" directory. Perhaps make it
> > work for Mac too.
> >
> > Something like that, to keep them all centralized, no need to mess with
> > classpaths. I guess this would work as long as the packages weren't going to
> > change over time.
> >
> > -edolecki
> >
> >
> > On 2/16/06, Johannes Nel <[EMAIL PROTECTED] > wrote:
> > >
> > > hi eric
> > >
> > > i have a file and folder browser i wrote as a windowSWF panel. now how
> > > this
> > > kind of extension can work is.
> > > you add a known class path to your lists of classpaths, by browsing to
> > > the
> > > folder where it is located.
> > > you obviously see a list of all the classpaths you have specified
> > > before,
> > > and using a checkbox or button include them in your current fla's
> > > classpath.
> > >
> > >
> > > is this the right track?
> > > i will gladly help you if there is anything you need to make this
> > > work.
> > >
> > > cheers
> > > johan
> > >
> > >
> > > On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> > > >
> > > > aah. i think what you want to look at is claspaths, instead
> > > of  copying
> > > > the resource to your project folder for every project. i suspect you
> > > can set
> > > > classpaths  with jsfl, but could be wrong. this could be quite a
> > > handy
> > > > little extension and i have some ideas how that could be
> > > inmplemented :)
> > > >
> > > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Something where I download a .zip and its got the package there,
> > > no MXP,
> > > > > etc.
> > > > >
> > > > > Perhaps I make my own package and I just wanna quickly install it.
> > > That
> > > > > kind
> > > > > of use case. I can always drag & drop the folder on a shortcut
> > > icon, but
> > > > > it
> > > > > would be nice to do it within the IDE.
> > > > >
> > > > > -edolecki
> > > > >
> > > > >
> > > > > On 2/16/06, Johannes Nel < [EMAIL PROTECTED] > wrote:
> > > > > >
> > > > > > an mxp should do the trick, no?
> > > > > >
> > > > > > On 2/16/06, eric dolecki < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > Is anyone aware of a JSFL Command to ease installation of
> > > packages
> > > > > into
> > > > > > > the
> > > > > > > Flash 8 IDE?
> > > > > > >
> > > > > > > I'm going to research File I/O a little bit, perhaps that will
> > > be
> > > > > enough
> > > > > > > to
> > > > > > > whip one up quickly. Perhaps one exists already. Unsure. Would
> > > be
> > > > > quite
> > > > > > > useful though.
> > > > > > >
> > > > > > > -edolecki
> > > > > > > ___
> > > > > > > Flashcoders@chattyfig.figleaf.com
> > > > > > > To change your subscription options or search the archive:
> > > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > > > > >
> > > > > > > Brought to you by Fig Leaf Software
> > > > > > > Premier Authorized Adobe Consulting and Training
> > > > > > > http://www.figleaf.com
> > > > > > > http://training.figleaf.com
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > j:pn
> > > > > > ___
> > > > > > Flashcoders@chattyfig.figleaf.com
> > > > > > To change your subscription options or search the archive:
> > > > > > http://chattyfig.figleaf.com/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 C

[Flashcoders] Using a string to declare a function?

2006-02-16 Thread Ryan Luce
Is there any way in flash to using a string to declare a function name.
Here's an example:
class test {

 var a = "hello";
function get this[a]() {
   trace("hi");
 }
}

i've tried this[a] and taht doesn't work... i'm not sure how it would
otherwise be done.
Thanks,
Ryan.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] gotoandlearn()

2006-02-16 Thread JesterXL
What Flash player is installed in both browsers?

- Original Message - 
From: "Chris Kennon" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 2:41 PM
Subject: [Flashcoders] gotoandlearn()


Hi,

I've contacted lee directly, but thought this might prove  
additionally helpful.

I'm working with OS 10.4.5, both Safari and FireFox cannot load  
gotoandlearn() tutorials, and both are unable to download the  
material. I'm at a loss why this happening?





Return True,




Christopher Kennon
Principal/Designer/Programmer -Bushidodeep
www.bushidodeep.com
___
"An ideal is merely the projection, on an enormously enlarged scale,  
of some aspect of personality."
  -- Aldus Huxley


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
I started whipping something up based on something like this (JUST started
though...(

var folderURI = fl.browseForFolderURL("Please select your package.");
var folderContents = FLfile.listFolder( folderURI, "directories" );

var bInstall = confirm("Install the package: " + folderURI + "?");

if( bInstall == true ){
alert( "List of directories/files installed:\n" + folderContents.join("\n")
);
} else {
alert( "Installation cancelled." );
}



On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> My original thinking was this:
>
> 1. Download someone's package containing a bunch of classes
> 2. Easily install that package (folder & its contents) into your
> "C:\Documents and Settings\\Local Settings\Application
> Data\Macromedia\Flash 8\en\Configuration\Classes" directory. Perhaps make it
> work for Mac too.
>
> Something like that, to keep them all centralized, no need to mess with
> classpaths. I guess this would work as long as the packages weren't going to
> change over time.
>
> -edolecki
>
>
> On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> >
> > hi eric
> >
> > i have a file and folder browser i wrote as a windowSWF panel. now how
> > this
> > kind of extension can work is.
> > you add a known class path to your lists of classpaths, by browsing to
> > the
> > folder where it is located.
> > you obviously see a list of all the classpaths you have specified
> > before,
> > and using a checkbox or button include them in your current fla's
> > classpath.
> >
> >
> > is this the right track?
> > i will gladly help you if there is anything you need to make this work.
> >
> > cheers
> > johan
> >
> >
> > On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> > >
> > > aah. i think what you want to look at is claspaths, instead
> > of  copying
> > > the resource to your project folder for every project. i suspect you
> > can set
> > > classpaths  with jsfl, but could be wrong. this could be quite a handy
> > > little extension and i have some ideas how that could be inmplemented
> > :)
> > >
> > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Something where I download a .zip and its got the package there, no
> > MXP,
> > > > etc.
> > > >
> > > > Perhaps I make my own package and I just wanna quickly install it.
> > That
> > > > kind
> > > > of use case. I can always drag & drop the folder on a shortcut icon,
> > but
> > > > it
> > > > would be nice to do it within the IDE.
> > > >
> > > > -edolecki
> > > >
> > > >
> > > > On 2/16/06, Johannes Nel <[EMAIL PROTECTED] > wrote:
> > > > >
> > > > > an mxp should do the trick, no?
> > > > >
> > > > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Is anyone aware of a JSFL Command to ease installation of
> > packages
> > > > into
> > > > > > the
> > > > > > Flash 8 IDE?
> > > > > >
> > > > > > I'm going to research File I/O a little bit, perhaps that will
> > be
> > > > enough
> > > > > > to
> > > > > > whip one up quickly. Perhaps one exists already. Unsure. Would
> > be
> > > > quite
> > > > > > useful though.
> > > > > >
> > > > > > -edolecki
> > > > > > ___
> > > > > > Flashcoders@chattyfig.figleaf.com
> > > > > > To change your subscription options or search the archive:
> > > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > > > >
> > > > > > Brought to you by Fig Leaf Software
> > > > > > Premier Authorized Adobe Consulting and Training
> > > > > > http://www.figleaf.com
> > > > > > http://training.figleaf.com
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > j:pn
> > > > > ___
> > > > > Flashcoders@chattyfig.figleaf.com
> > > > > To change your subscription options or search the archive:
> > > > > http://chattyfig.figleaf.com/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
> > > >
> > >
> > >
> > >
> > > --
> > > j:pn
> > >
> >
> >
> >
> > --
> > j:pn
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/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.figlea

Re: [Flashcoders] multiuser flash games

2006-02-16 Thread Rich Rodecker
hmm yeah local network is one thing...i wonder how that would perform over
the web.



On 2/16/06, Mike Boutin <[EMAIL PROTECTED]> wrote:
>
> Hello Rich,
>
> I have used it so far with 20 users connected and playing.  (using the
> lite edition 50 user max) Though this has all been on a local network.
>
>
>
> Rich Rodecker wrote:
>
> >Jobe - sorry, I meant no more than 5 users at a time in a room..i would
> >imagine that there would be more than 1 game being played at time. But
> yeah,
> >from what little experience i did have with electroserver i loved it,
> >thought it was really easy to set up and use.  I saw some of the samples
> up
> >on the ElectroServer site, but I need to get a couple of people in there
> to
> >test it out.
> >
> >Mike - how many people do you have going simultaneously?
> >
> >
> >
> >
> >
> >
> >On 2/15/06, Mike Boutin < [EMAIL PROTECTED]> wrote:
> >
> >
> >>You might want to check out smartfox server at Http://www.gotoandplay.it
> >>
> >>I am using it for a multi-user isometric rpg and so far so good! ;)
> >>
> >>
> >>
> >>Rich Rodecker wrote:
> >>
> >>
> >>
> >>>im considering making a multiuser game in flash, which involves
> multiple
> >>>users (no more than 5 at a time probably) chasing each other around a
> >>>
> >>>
> >>room.
> >>
> >>
> >>>I have dabbled with electroserver before and liked it, but only for a
> >>>
> >>>
> >>simple
> >>
> >>
> >>>turn-based game, but I'm not sure about how well any multiuser server
> >>>
> >>>
> >>would
> >>
> >>
> >>>handle latency.  Anyone have any suggestion/pointers/tips for this?
> >>>___
> >>>Flashcoders@chattyfig.figleaf.com
> >>>To change your subscription options or search the archive:
> >>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>>
> >>>Brought to you by Fig Leaf Software
> >>>Premier Authorized Adobe Consulting and Training
> >>>http://www.figleaf.com
> >>>http://training.figleaf.com
> >>>
> >>>
> >>>.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>___
> >>Flashcoders@chattyfig.figleaf.com
> >>To change your subscription options or search the archive:
> >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >>Brought to you by Fig Leaf Software
> >>Premier Authorized Adobe Consulting and Training
> >>http://www.figleaf.com
> >>http://training.figleaf.com
> >>
> >>
> >>
> >___
> >Flashcoders@chattyfig.figleaf.com
> >To change your subscription options or search the archive:
> >http://chattyfig.figleaf.com/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] gotoandlearn()

2006-02-16 Thread Chris Kennon

Hi,

I've contacted lee directly, but thought this might prove  
additionally helpful.


I'm working with OS 10.4.5, both Safari and FireFox cannot load  
gotoandlearn() tutorials, and both are unable to download the  
material. I'm at a loss why this happening?






Return True,




Christopher Kennon
Principal/Designer/Programmer -Bushidodeep
www.bushidodeep.com
___
"An ideal is merely the projection, on an enormously enlarged scale,  
of some aspect of personality."

 -- Aldus Huxley


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
My original thinking was this:

1. Download someone's package containing a bunch of classes
2. Easily install that package (folder & its contents) into your
"C:\Documents and Settings\\Local Settings\Application
Data\Macromedia\Flash 8\en\Configuration\Classes" directory. Perhaps make it
work for Mac too.

Something like that, to keep them all centralized, no need to mess with
classpaths. I guess this would work as long as the packages weren't going to
change over time.

-edolecki


On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
>
> hi eric
>
> i have a file and folder browser i wrote as a windowSWF panel. now how
> this
> kind of extension can work is.
> you add a known class path to your lists of classpaths, by browsing to the
> folder where it is located.
> you obviously see a list of all the classpaths you have specified before,
> and using a checkbox or button include them in your current fla's
> classpath.
>
>
> is this the right track?
> i will gladly help you if there is anything you need to make this work.
>
> cheers
> johan
>
>
> On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> >
> > aah. i think what you want to look at is claspaths, instead of  copying
> > the resource to your project folder for every project. i suspect you can
> set
> > classpaths  with jsfl, but could be wrong. this could be quite a handy
> > little extension and i have some ideas how that could be inmplemented :)
> >
> > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > >
> > > Something where I download a .zip and its got the package there, no
> MXP,
> > > etc.
> > >
> > > Perhaps I make my own package and I just wanna quickly install it.
> That
> > > kind
> > > of use case. I can always drag & drop the folder on a shortcut icon,
> but
> > > it
> > > would be nice to do it within the IDE.
> > >
> > > -edolecki
> > >
> > >
> > > On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> > > >
> > > > an mxp should do the trick, no?
> > > >
> > > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Is anyone aware of a JSFL Command to ease installation of packages
> > > into
> > > > > the
> > > > > Flash 8 IDE?
> > > > >
> > > > > I'm going to research File I/O a little bit, perhaps that will be
> > > enough
> > > > > to
> > > > > whip one up quickly. Perhaps one exists already. Unsure. Would be
> > > quite
> > > > > useful though.
> > > > >
> > > > > -edolecki
> > > > > ___
> > > > > Flashcoders@chattyfig.figleaf.com
> > > > > To change your subscription options or search the archive:
> > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > > >
> > > > > Brought to you by Fig Leaf Software
> > > > > Premier Authorized Adobe Consulting and Training
> > > > > http://www.figleaf.com
> > > > > http://training.figleaf.com
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > j:pn
> > > > ___
> > > > Flashcoders@chattyfig.figleaf.com
> > > > To change your subscription options or search the archive:
> > > > http://chattyfig.figleaf.com/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
> > >
> >
> >
> >
> > --
> > j:pn
> >
>
>
>
> --
> j:pn
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
hi eric

i have a file and folder browser i wrote as a windowSWF panel. now how this
kind of extension can work is.
you add a known class path to your lists of classpaths, by browsing to the
folder where it is located.
you obviously see a list of all the classpaths you have specified before,
and using a checkbox or button include them in your current fla's classpath.


is this the right track?
i will gladly help you if there is anything you need to make this work.

cheers
johan


On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
>
> aah. i think what you want to look at is claspaths, instead of  copying
> the resource to your project folder for every project. i suspect you can set
> classpaths  with jsfl, but could be wrong. this could be quite a handy
> little extension and i have some ideas how that could be inmplemented :)
>
> On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> >
> > Something where I download a .zip and its got the package there, no MXP,
> > etc.
> >
> > Perhaps I make my own package and I just wanna quickly install it. That
> > kind
> > of use case. I can always drag & drop the folder on a shortcut icon, but
> > it
> > would be nice to do it within the IDE.
> >
> > -edolecki
> >
> >
> > On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> > >
> > > an mxp should do the trick, no?
> > >
> > > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Is anyone aware of a JSFL Command to ease installation of packages
> > into
> > > > the
> > > > Flash 8 IDE?
> > > >
> > > > I'm going to research File I/O a little bit, perhaps that will be
> > enough
> > > > to
> > > > whip one up quickly. Perhaps one exists already. Unsure. Would be
> > quite
> > > > useful though.
> > > >
> > > > -edolecki
> > > > ___
> > > > Flashcoders@chattyfig.figleaf.com
> > > > To change your subscription options or search the archive:
> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > >
> > > > Brought to you by Fig Leaf Software
> > > > Premier Authorized Adobe Consulting and Training
> > > > http://www.figleaf.com
> > > > http://training.figleaf.com
> > > >
> > >
> > >
> > >
> > > --
> > > j:pn
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/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
> >
>
>
>
> --
> j:pn
>



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

2006-02-16 Thread Mike Boutin

Hello Rich,

I have used it so far with 20 users connected and playing.  (using the 
lite edition 50 user max) Though this has all been on a local network.




Rich Rodecker wrote:


Jobe - sorry, I meant no more than 5 users at a time in a room..i would
imagine that there would be more than 1 game being played at time. But yeah,
from what little experience i did have with electroserver i loved it,
thought it was really easy to set up and use.  I saw some of the samples up
on the ElectroServer site, but I need to get a couple of people in there to
test it out.

Mike - how many people do you have going simultaneously?






On 2/15/06, Mike Boutin < [EMAIL PROTECTED]> wrote:
 


You might want to check out smartfox server at Http://www.gotoandplay.it

I am using it for a multi-user isometric rpg and so far so good! ;)



Rich Rodecker wrote:

   


im considering making a multiuser game in flash, which involves multiple
users (no more than 5 at a time probably) chasing each other around a
 


room.
   


I have dabbled with electroserver before and liked it, but only for a
 


simple
   


turn-based game, but I'm not sure about how well any multiuser server
 


would
   


handle latency.  Anyone have any suggestion/pointers/tips for this?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


.



 


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

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

   


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
aah. i think what you want to look at is claspaths, instead of  copying the
resource to your project folder for every project. i suspect you can set
classpaths  with jsfl, but could be wrong. this could be quite a handy
little extension and i have some ideas how that could be inmplemented :)

On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> Something where I download a .zip and its got the package there, no MXP,
> etc.
>
> Perhaps I make my own package and I just wanna quickly install it. That
> kind
> of use case. I can always drag & drop the folder on a shortcut icon, but
> it
> would be nice to do it within the IDE.
>
> -edolecki
>
>
> On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> >
> > an mxp should do the trick, no?
> >
> > On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> > >
> > > Is anyone aware of a JSFL Command to ease installation of packages
> into
> > > the
> > > Flash 8 IDE?
> > >
> > > I'm going to research File I/O a little bit, perhaps that will be
> enough
> > > to
> > > whip one up quickly. Perhaps one exists already. Unsure. Would be
> quite
> > > useful though.
> > >
> > > -edolecki
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > >
> >
> >
> >
> > --
> > j:pn
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/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
>



--
j:pn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
Something where I download a .zip and its got the package there, no MXP,
etc.

Perhaps I make my own package and I just wanna quickly install it. That kind
of use case. I can always drag & drop the folder on a shortcut icon, but it
would be nice to do it within the IDE.

-edolecki


On 2/16/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
>
> an mxp should do the trick, no?
>
> On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
> >
> > Is anyone aware of a JSFL Command to ease installation of packages into
> > the
> > Flash 8 IDE?
> >
> > I'm going to research File I/O a little bit, perhaps that will be enough
> > to
> > whip one up quickly. Perhaps one exists already. Unsure. Would be quite
> > useful though.
> >
> > -edolecki
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
>
> --
> j:pn
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] JSFL File I/O: Install Package

2006-02-16 Thread Johannes Nel
an mxp should do the trick, no?

On 2/16/06, eric dolecki <[EMAIL PROTECTED]> wrote:
>
> Is anyone aware of a JSFL Command to ease installation of packages into
> the
> Flash 8 IDE?
>
> I'm going to research File I/O a little bit, perhaps that will be enough
> to
> whip one up quickly. Perhaps one exists already. Unsure. Would be quite
> useful though.
>
> -edolecki
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



--
j:pn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Articles on accessing actionscript through js

2006-02-16 Thread John Giotta
ExternalInterface in Flash 8 works real well.

Plus, check out AFLAX http://osflash.org/aflax
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] JSFL File I/O: Install Package

2006-02-16 Thread eric dolecki
Is anyone aware of a JSFL Command to ease installation of packages into the
Flash 8 IDE?

I'm going to research File I/O a little bit, perhaps that will be enough to
whip one up quickly. Perhaps one exists already. Unsure. Would be quite
useful though.

-edolecki
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread JesterXL
Bleh, almost.  Sounds & getTimer don't stop, just like PrintJob.send. 
Interval's, onEnterFrame, and animations do, though.  Apparently 
ExternalInterface.call and PrintJob.send make the same call to pause stuff. 
It's still not a total thread-lock, though...

http://dev.jessewarden.com/flash/pause/

http://dev.jessewarden.com/flash/pause/pause.zip


- Original Message - 
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 1:01 PM
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


:: goes to try ::

- Original Message - 
From: "Darron J. Schall" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 12:46 PM
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


JesterXL wrote:
> Have you tried this with JavaScript's alert method?
No, but I've done it with C# - waiting for database access via
ExternalInterface freezes the player until the method completes.  Does
it not block when you use alert()?  What about prompt()?

-d

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Articles on accessing actionscript through js

2006-02-16 Thread Mendelsohn, Michael
Hi list...

I'm thinking of experimenting with having js control a swf.  Can you
call methods and get/set various props in a swf from js in a web
page...and have it work in all browsers?  If anyone has any
recommendations on where to read up on this, please let me know.

Thanks,
- Michael M.

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

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


Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread JesterXL
:: goes to try ::

- Original Message - 
From: "Darron J. Schall" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 12:46 PM
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


JesterXL wrote:
> Have you tried this with JavaScript's alert method?
No, but I've done it with C# - waiting for database access via 
ExternalInterface freezes the player until the method completes.  Does 
it not block when you use alert()?  What about prompt()?

-d

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

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Darron J. Schall

JesterXL wrote:

Have you tried this with JavaScript's alert method?
No, but I've done it with C# - waiting for database access via 
ExternalInterface freezes the player until the method completes.  Does 
it not block when you use alert()?  What about prompt()?


-d

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

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


[Flashcoders] orphaned bindings

2006-02-16 Thread jktieman
I have seen references to the problem of bindings that show as an error in
the output panel like this: Scene 1, Binding between .deltaPacket.
and .deltaPacket.: The endpoint of the binding does not exist.  I
think I caused mine when I removed a DataSet and a Resolver from a form that
I no longer needed.  Problem is "How do I get rid of the error?  The answer
is what I have been unable to find.

Jamie

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread JesterXL
Have you tried this with JavaScript's alert method?

- Original Message - 
From: "Darron J. Schall" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 12:16 PM
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


JesterXL wrote:
> Nope, not viable, just the only way.
Sorry to contradict you bro, but ExternalInterface can block the player.

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2200.html

When you call an external method via ExternalInterface, the Player has
to wait for a response to be returned.  In the meantime, all animation
and code execution stops until the external method returns.

-d

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

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

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Making the text centered vertically in a combo box

2006-02-16 Thread Judah
Awesome! That did it. 

cmb.doLater(this, "reposText");
function reposText() {
cmb.text_mc.label._y = -.5
cmb.text_mc.label._height = 15
}

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel
Sent: Wednesday, February 15, 2006 7:42 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Making the text centered vertically in a combo
box

the reason it does not work on the stage is because when you are setting it
theat component is most prob not created. remember that v2 components take a
frame (in some cases 2 frames ) to be created (love this about flex, you
have a creationComplete event). i would suggest trying to poll opver frames
(you can use doLater or an onterFrame (beacon is advised) to do this.


On 2/15/06, Judah <[EMAIL PROTECTED]> wrote:
>
> That might have worked by itself but the combo box didn't like it. I could
> still use some help.
>
> I used XRAY specticles to find the label in the combobox but none of my
> changes take effect outside of using the trace/exec window in XRAY.
>
> // this code works inside XRAY exec window but not on the stage oddly???
> cmb['text_mc']['label']['_y'] = -5;
> cmb.focusTextField.label._y = -5
> cmb.text_mc.label._y = -5
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Marc
> Hoffman
> Sent: Wednesday, February 15, 2006 5:47 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Making the text centered vertically in a combo
> box
>
> I don't know how to properly fix it, but as a hack how about
> appending a couple of line returns to the text?
>
> -Marc
>
> At 03:30 PM 2/15/2006, you wrote:
> >I am using a small font and a small height in my combobox but the bottom
> of
> >the text is getting cut off. Does anyone know how to fix this? Or does
> >someone know how to access the textfield in the combobox so I can move it
> up
> >a bit?
> >
> >
> >
> >Here is how to reproduce it:
> >
> >
> >
> >1. drag a combo to the stage and name it cmb
> >
> >2. in actionscript:
> >
> >
> >
> >cmb.setSize(cmb._width, 16);
> >
> >cmb.setStyle("fontSize", 10);
> >
> >cmb.addItem({label:"10"});
> >
> >cmb.dropdown.rowHeight = 14;
> >
> >
> >
> >notice the text is cut off at the bottom!
> >
> >
> >
> >Judah
> >
> >___
> >Flashcoders@chattyfig.figleaf.com
> >To change your subscription options or search the archive:
> >http://chattyfig.figleaf.com/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
>



--
j:pn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Darron J. Schall

JesterXL wrote:

Nope, not viable, just the only way.

Sorry to contradict you bro, but ExternalInterface can block the player.

http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=2200.html

When you call an external method via ExternalInterface, the Player has 
to wait for a response to be returned.  In the meantime, all animation 
and code execution stops until the external method returns.


-d

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

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


Re: [Flashcoders] Autosave Feature in Flash?

2006-02-16 Thread JesterXL
http://www.flashguru.co.uk/new-extension-auto-save/

- Original Message - 
From: "Dwayne Neckles" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, February 16, 2006 11:51 AM
Subject: [Flashcoders] Autosave Feature in Flash?


I don't know JSFL but they say its good to create extensions with it. Is it
possible to create a feature that allows the files to be auto saved every or
2 minutes..

I ask cause Flash just crashed on me and when I am in the middle of some
heavy flashing it's possible to forget to save it.

Let me know if or if not possible.

Thanks

Dwayne Neckles
dnecklesportfolio.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] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread JesterXL
Nope, not viable, just the only way.  No way to remove the print dialogue 
either.

We've all asked Macromedia/Adobe many times for a publicly supported way to 
pause the thread, and no result has come of it.  Since we run in a browser 
most of the time, I don't think Adobe wants us developers locking the 
browser up since the Flash Player probably shares the browser thread.

- Original Message - 
From: "Judah" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Thursday, February 16, 2006 11:50 AM
Subject: RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is that a viable way or you just saying that is the only that stops flash
execution? If so how do you take advantage of that without popping up a
print dialog to the user?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Wednesday, February 15, 2006 6:46 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Flash Player is single threaded, including the new Flash Player 8.5 which
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: "Judah" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah

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

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

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

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

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

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

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

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


Re: [Flashcoders] Autosave Feature in Flash?

2006-02-16 Thread Rich Rodecker
there already is one...

http://www.flashguru.co.uk/extensions/



On 2/16/06, Dwayne Neckles <[EMAIL PROTECTED]> wrote:
> I don't know JSFL but they say its good to create extensions with it. Is it
> possible to create a feature that allows the files to be auto saved every or
> 2 minutes..
>
> I ask cause Flash just crashed on me and when I am in the middle of some
> heavy flashing it's possible to forget to save it.
>
> Let me know if or if not possible.
>
> Thanks
>
> Dwayne Neckles
> dnecklesportfolio.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] Autosave Feature in Flash?

2006-02-16 Thread Dwayne Neckles
I don't know JSFL but they say its good to create extensions with it. Is it 
possible to create a feature that allows the files to be auto saved every or 
2 minutes..


I ask cause Flash just crashed on me and when I am in the middle of some 
heavy flashing it's possible to forget to save it.


Let me know if or if not possible.

Thanks

Dwayne Neckles
dnecklesportfolio.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] need : multiple sine waves animating - via drawing api

2006-02-16 Thread artur
does some have code for this?

i looked everywhere.. no luck.

just want 3 waves ( lines ) to ebb and flow organically.

thanks in advance

-artur
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Judah
Is that a viable way or you just saying that is the only that stops flash
execution? If so how do you take advantage of that without popping up a
print dialog to the user? 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Wednesday, February 15, 2006 6:46 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Flash Player is single threaded, including the new Flash Player 8.5 which 
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: "Judah" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
> A simple method would just be to load it into host .swf, and then put
> the code in the host clip and target the loaded instance.
>

I'm considering that as an alternative.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] mx.controls.DataGird - hoe to edit the content of acell?

2006-02-16 Thread JesterXL
If the DataGrid is editable, the text you type in will trigger a 
modelChanged event when you focusOut/hit enter, thus changing the data.  Are 
you not seeing that?

- Original Message - 
From: "Iuliu Burtoiu" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, February 16, 2006 11:13 AM
Subject: [Flashcoders] mx.controls.DataGird - hoe to edit the content of 
acell?


Hi list,

If anyone have the slightest idea, here's my problem:
One of the columns in my DataGrid must be editable.
  Therefore:
//code

myDataGrid.editable = true
firstColumn = myDataGrid.getColumnAt(0)
firstColumn.editable = true;

//end of code

Until here, everything works fine...
When I click any of the first column cells, it becomes editable, and a an
editable textField appears above the cell. At this moment I can edit the
initial value of the cell but I need to also modify the correspondent
dataProvider entry.

Does anyone know HOW CAN I GET A REFERENCE to that TEXTFIELD, so as to
capture its value, after eventually I would have modified its value???

Thanks,
Iuliu



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
> A simple method would just be to load it into host .swf, and then put
> the code in the host clip and target the loaded instance.
>

I'm considering that as an alternative.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread Merrill, Jason
A simple method would just be to load it into host .swf, and then put
the code in the host clip and target the loaded instance.

Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com










>>-Original Message-
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of John Giotta
>>Sent: Thursday, February 16, 2006 10:04 AM
>>To: Flashcoders mailing list
>>Subject: [Flashcoders] A Tool to Inject AS to First Frame of SWF
>>
>>Hello all,
>>I'm looking for a tool that can inject a line code to the first frame
of a SWF.
>>
>>Basically, our advertising department gets SWF ads from a 3rd party
>>designer and a specific _level0 variable needs to be set in order for
>>the clickthrough to work.
>>
>>If anyone has a method or tool to do this it would be much
appreciated.
>>___
>>Flashcoders@chattyfig.figleaf.com
>>To change your subscription options or search the archive:
>>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>Brought to you by Fig Leaf Software
>>Premier Authorized Adobe Consulting and Training
>>http://www.figleaf.com
>>http://training.figleaf.com
NOTICE:
This message is for the designated recipient only and may contain privileged or 
confidential information. If you have received it in error, please notify the 
sender immediately and delete the original. Any other use of this e-mail by you 
is prohibited.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Q; Extending the media playback component

2006-02-16 Thread bitstreams
Hi
I would like to extend the media playback component, essentially adding more 
features.

Is this simply a matter of extending the class mx.controls.MediaPlayback.as  ?

Would it really matter if I use inheritance or composition?

Thanks in advance
Jim Bachalo

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

"...all improvisation is life in search of a style."
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] mx.controls.DataGird - hoe to edit the content of a cell?

2006-02-16 Thread Iuliu Burtoiu
Hi list,

If anyone have the slightest idea, here's my problem:
One of the columns in my DataGrid must be editable.
Therefore:
//code

myDataGrid.editable = true
firstColumn = myDataGrid.getColumnAt(0)
firstColumn.editable = true;

//end of code

Until here, everything works fine...
When I click any of the first column cells, it becomes editable, and a 
an
editable textField appears above the cell. At this moment I can edit the
initial value of the cell but I need to also modify the correspondent
dataProvider entry.

Does anyone know HOW CAN I GET A REFERENCE to that TEXTFIELD, so as to
capture its value, after eventually I would have modified its value???

Thanks,
Iuliu



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

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


Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
> I think in this case you need to teach a man to fish.

LOL

I'm not in the business of ultimately educating them all. I'm a 1st
party developer and I simply get bugged way too much to diagnose the
SWFs.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
> Moreover, you get :
> KineticFusion
> Flasm
> swfcombine and  from swftools

Thanks erixtekila, I'll check those out.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread Shaw, Matt (MTVN)
I think in this case you need to teach a man to fish. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Giotta
Sent: Thursday, February 16, 2006 10:28 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF

FlashVars is what we're using to set the clickthrough URL, however, the
ads system is predefined to set the variable to clickTAG and some
designers have been referring to the variable as clickTag.

clickTag doesn't equal clickTAG... so I thought I could run an injection
script to just insert a line to correct any variable name misspellings.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
I could, but the way the Ads System delivers the SWF we don't actually
control the output.

The SWF is registered to the system and is delivered with a predefined
HTML template.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread erixtekila
I'm looking for a tool that can inject a line code to the first frame 
of a SWF.

Moreover, you get :
KineticFusion
Flasm
swfcombine and  from swftools

---
erixtekila
http://blog.v-i-a.net/

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

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


Re: [Flashcoders] dispatching events at creation time?

2006-02-16 Thread Luca Candela
I resolved this issue with a callback to a function defined outside the
class that sends the Event. anyone can tell me anything about my other
problem of the day?

On 2/16/06, John Giotta <[EMAIL PROTECTED]> wrote:
>
> > You can dispatch a Event at creation time, but no listener can listen to
> > this event at creation time ;-)
>
> Yeah that would help.
>
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


RE: [Flashcoders] dispatching events at creation time?

2006-02-16 Thread Ben Smeets
Just a quicky, but why would you want to know when an object is created?
If you don't give anything back (like throwing an exception) you van
assume the contructing worked can't you?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Luca
Candela
Sent: donderdag 16 februari 2006 16:01
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] dispatching events at creation time?

--
class tryOut {

public var addEventListener:Function;
public var removeEventListener:Function;
private var dispatchEvent:Function;

function tryOut() {
mx.events.EventDispatcher.initialize(this);
trace("I am Here 1");
dispatchEvent({type:"created", target:this});

}

public function callMe():Void {
dispatchEvent({type:"created", target:this});
}
}
--
when I instantiate this class everything works except the dispatchEvent
in the constructor of the class. Why and how can I do to force an object
to call me back when he is created?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread Adrian Lynch
You could pass it in twice, clickTag=something&clickTAG=something

Not pretty though.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of John
Giotta
Sent: 16 February 2006 15:28
To: Flashcoders mailing list
Subject: Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF


FlashVars is what we're using to set the clickthrough URL, however,
the ads system is predefined to set the variable to clickTAG and some
designers have been referring to the variable as clickTag.

clickTag doesn't equal clickTAG... so I thought I could run an
injection script to just insert a line to correct any variable name
misspellings.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] dispatching events at creation time?

2006-02-16 Thread John Giotta
> You can dispatch a Event at creation time, but no listener can listen to
> this event at creation time ;-)

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

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


Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
FlashVars is what we're using to set the clickthrough URL, however,
the ads system is predefined to set the variable to clickTAG and some
designers have been referring to the variable as clickTag.

clickTag doesn't equal clickTAG... so I thought I could run an
injection script to just insert a line to correct any variable name
misspellings.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread erixtekila
I'm looking for a tool that can inject a line code to the first frame 
of a SWF.


Any reason not using FlashVars and push this variable inside the swf 
container ?


BTW, you'd able to "inject" code in swf file with mtasc -keep

HTH

---
erixtekila
http://blog.v-i-a.net/

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

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


Re: [Flashcoders] dispatching events at creation time?

2006-02-16 Thread Stefan Mees
You can dispatch a Event at creation time, but no listener can listen to
this event at creation time ;-)

What came firstThe chicken or the egg? ;-)





Luca Candela schrieb:
> --
> class tryOut {
> 
> public var addEventListener:Function;
> public var removeEventListener:Function;
> private var dispatchEvent:Function;
> 
> function tryOut() {
> mx.events.EventDispatcher.initialize(this);
> trace("I am Here 1");
> dispatchEvent({type:"created", target:this});
> 
> }
> 
> public function callMe():Void {
> dispatchEvent({type:"created", target:this});
> }
> }
> --
> when I instantiate this class everything works except the dispatchEvent in
> the constructor of the class. Why and how can I do to force an object to
> call me back when he is created?
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> 
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

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

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


Re: [Flashcoders] Flash window coming out small on some IE browsers

2006-02-16 Thread Odie Bracy PhD
I have seen this happen for users who had AOL for their internet  
provider (using the AOL browser, which I think is a modified IE)  I  
had them connect thru AOL, then drop the AOL browser to the task bar  
and open the regular IE and the SWF ran fine there.


Odie

On Feb 16, 2006, at 12:46 AM, Ramon Tayag wrote:


Hey guys,

This is really strange, and is kinda OT coz it's not actionscript
related.  It's more about the Flash Player Detection Kit.

http://test.quirkworks.net/skin/ comes out small only in some IE
browsers (15% of the people i've asked), and I can't seem to figure
out why.

If you see the source code of the site I'm using the detection kit
Macromedia made.

Client is waiting for the fix and.. gah.. I can't seem to find a fix!
Problem is that it works fine in all the computers here in the office.

If it comes out small (window looks like it shrank), what is ur IE
version and OS?

Thank you,
--
Ramon Miguel M. Tayag
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] multiuser flash games

2006-02-16 Thread Chris Allen
You could always use FMS or Red5 ( http://osflash.org/red5 ) for this
purpose as well.  I also use XMPP or Jabber for real time
communication with Flash.  There is a great open source server and
library for Flash at http://jivesoftware.org. JesterXL mentioned in an
earlier email that he's using a Jabber implementation that's hosted by
dreamhost.  From what he told me it's working fine with Flash after he
had to configure a few things with the XIFF library.

Anyway, I hope these tips help.  Good luck!

-Chris


On 2/16/06, Oleg Kolokolov <[EMAIL PROTECTED]> wrote:
> I once dealt with Oregano (www.oregano-server.org) server. Also a pretty
> good solution. I liked it.
> They state on their site that it worked ok with 250 simultaneous users. And
> besides the server could be easily clastered. Which makes it dependant only
> on the amount of the computers the server works on.
>
>
>
> 2006/2/16, Jobe Makar <[EMAIL PROTECTED]>:
> >
> > Ah, sorry for the misunderstanding. Good luck with your search and let me
> > know if I can help you figure anything out with ES.
> >
> > Jobe Makar
> > http://www.electrotank.com
> > http://www.electro-server.com
> > phone: 919-609-0408
> > mobile: 919-610-5754
> > fax: 919-341-8104
> > - Original Message -
> > From: "Rich Rodecker" <[EMAIL PROTECTED]>
> > To: "Flashcoders mailing list" 
> > Sent: Wednesday, February 15, 2006 8:55 PM
> > Subject: Re: [Flashcoders] multiuser flash games
> >
> >
> > Jobe - sorry, I meant no more than 5 users at a time in a room..i would
> > imagine that there would be more than 1 game being played at time. But
> > yeah,
> > from what little experience i did have with electroserver i loved it,
> > thought it was really easy to set up and use.  I saw some of the samples
> > up
> > on the ElectroServer site, but I need to get a couple of people in there
> > to
> > test it out.
> >
> > Mike - how many people do you have going simultaneously?
> >
> >
> >
> >
> >
> >
> > On 2/15/06, Mike Boutin < [EMAIL PROTECTED]> wrote:
> > >
> > > You might want to check out smartfox server at Http://www.gotoandplay.it
> > >
> > > I am using it for a multi-user isometric rpg and so far so good! ;)
> > >
> > >
> > >
> > > Rich Rodecker wrote:
> > >
> > > >im considering making a multiuser game in flash, which involves
> > multiple
> > > >users (no more than 5 at a time probably) chasing each other around a
> > > room.
> > > >I have dabbled with electroserver before and liked it, but only for a
> > > simple
> > > >turn-based game, but I'm not sure about how well any multiuser server
> > > would
> > > >handle latency.  Anyone have any suggestion/pointers/tips for this?
> > > >___
> > > >Flashcoders@chattyfig.figleaf.com
> > > >To change your subscription options or search the archive:
> > > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > >
> > > >Brought to you by Fig Leaf Software
> > > >Premier Authorized Adobe Consulting and Training
> > > >http://www.figleaf.com
> > > >http://training.figleaf.com
> > > >
> > > >
> > > >.
> > > >
> > > >
> > > >
> > >
> > > ___
> > > Flashcoders@chattyfig.figleaf.com
> > > To change your subscription options or search the archive:
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > > Brought to you by Fig Leaf Software
> > > Premier Authorized Adobe Consulting and Training
> > > http://www.figleaf.com
> > > http://training.figleaf.com
> > >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] dispatching events at creation time?

2006-02-16 Thread John Giotta
I've done it the same you have, but it only worked correctly in IE.

Basically, I was replacing the MovieClip.onLoad, but when I tested in
Firefox it never happened.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] dispatching events at creation time?

2006-02-16 Thread Luca Candela
--
class tryOut {

public var addEventListener:Function;
public var removeEventListener:Function;
private var dispatchEvent:Function;

function tryOut() {
mx.events.EventDispatcher.initialize(this);
trace("I am Here 1");
dispatchEvent({type:"created", target:this});

}

public function callMe():Void {
dispatchEvent({type:"created", target:this});
}
}
--
when I instantiate this class everything works except the dispatchEvent in
the constructor of the class. Why and how can I do to force an object to
call me back when he is created?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] A Tool to Inject AS to First Frame of SWF

2006-02-16 Thread John Giotta
Hello all,
I'm looking for a tool that can inject a line code to the first frame of a SWF.

Basically, our advertising department gets SWF ads from a 3rd party
designer and a specific _level0 variable needs to be set in order for
the clickthrough to work.

If anyone has a method or tool to do this it would be much appreciated.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] scrollRect

2006-02-16 Thread JesterXL
BitmapSprites extend Bitmap.  Bitmap is an internal class, and extends 
DisplayObject.  DisplayObjects' have a drawing index, just like MovieClips 
do.  So, instead of swapDepths, you'd use setChildIndex.

Now, for individual bitmaps that you are drawing, addToBitmapSprite, they 
are added to the internal array, and drawn in that order.  It would be 
probably 10 minutes to add that method and call redraw to allow bitmaps to 
change depth.

...or you could do it; I can give you Suversion access to the source if you 
wish.

Alpha is handled by your bitmap.  Bitmaps support alpha channels, so 
whatever bitmap you added should have the alpha.  In my case, the moving 
sprites example uses a circular PNG, and since PNG's have alpha channels, 
Flash draws the circle correctly on top of other circles.

MovieClip's have gotten more powerful in Flash Player 8.5, yes, mainly 
because of the DisplayList which seperates a MovieClip from existing from 
actually being rendered/drawn each frame.  It is not, however, re-inventing 
the wheel.  We have not been able to blit in the Flash Player until version 
8; instead, we've had to duplicate a tile 100 times vs. drawing onto 1 
bitmap.

Great example of why blitting is so powerful and scaleable:
http://www.gskinner.com/blog/archives/2005/08/flash_8_thought.html

Significantly less process, less RAM, and scales to infinite bitmaps.

I have no benchmarks nor numbers other than creating 100 MovieClips in Flash 
8 used 99%CPU, and 60 megs of RAM, and the framerate sucked.  Changing those 
100 MovieClips to be 1 bitmap, and scrolled via a copyPixels from a 
double-buffering used 6% CPU and full framerate.  That's what made me write 
Diesel.

When you start adding BitmapSprites, you are adding overhead however because 
they themselves are DisplayObjects, like MovieClips, only they are drawn 
into 1 bitmap vs. 30 of them drawn in 30 places in the DisplayList.

The hybrid approach is to use 1 Bitmap, load all of your tiles and draw to 
just 1.  You're actual monsters and characters that move, make Sprites (or 
MovieClips), and remove them from the DisplayList if they are not on-screen. 
Use scrollRect for the area you are scrolling, and use double-buffering 
(copyPixels from a rectangle from an off-screen bitmap).

This doesn't scale well because Sprites have more overhead, and moving them 
is sometimes more expensive then copyPixels, but it works well enough in the 
alpha, so I'm sure beta, and release it'll still be smokin'.


- Original Message - 
From: "Dimitrios Bendilas" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, February 16, 2006 6:36 AM
Subject: Re: [FlashCoders] scrollRect


Hi Jester,

Thanks for the url. It seems very interesting.
There is one thing that bothers me, aside the fact that
I'would have to re-write a lot of stuff from scratch, if I
used a model like this.

How do you know in what depth to draw everything?
How do you handle _alphas?

The movieclip model provides a very easy way to stack
images one above another with no problems. It just seems
a lot of work, it's like re-inveting the wheel.

How much can performance benefit from an approach
like this? Any benchmarks, numbers?

Is there a hybrid approach maybe? One that requires
less code but increases performance?

Thanks!


Dimitrios

- Original Message - 
From: "JesterXL" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, February 15, 2006 3:53 AM
Subject: Re: [FlashCoders] scrollRect


>I oringally wrote this in Flash 8, and ported to Flash 8.5.  There is no
> reason it couldn't go back.
>
> http://www.jessewarden.com/archives/2006/01/diesel_battlefi.html
>
> - Original Message - 
> From: "Dimitrios Bendilas" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, February 14, 2006 4:55 PM
> Subject: [FlashCoders] scrollRect
>
>
> Hi all,
>
> I'm trying to make a very basic prototype to test parallax movement with
> Flash 8.
>
> Is movieclip.scrollRect what I should be using? I tried this:
>
> var bg:MovieClip = _root.attachMovie("bg", "bg", 2);
> var y:Number = 0;
> _root.onEnterFrame = function():Void {
> bg.scrollRect = {x:0, y:y--, width:635, height:540};
> }
>
> The movieclip "bg" contains only a jpg 635x540.
> The movement is pretty jumpy. Should I be using BitmapData instead?
>
> I'm a bit lost! I've been searching for code samples online for the past 2
> hours and
> I haven't found anything useful.
>
> Does anyone have a useful link for parallax or tile-based games using
> Flash
> 8 features?
> Performance is the key issue here, since this is going for a very big and
> complex game
> and I want to optimize it as much as possible.
>
> Thanks a lot!
>
> Dimitrios
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and T

[Flashcoders] Issue with two instances on a timeline

2006-02-16 Thread Meinte van't Kruis
Hi folks,

I've had this problem for a long time and it keeps on coming back once in a
while, and allthough
I've allways found ways to work around it, I never got to a real solution,
so perhaps some of you know the
answer.

The problem is, simply put:

make a textfield, called tfield
place it inside a movieclip called mc

now we'll animate mc, one keyframe on frame 1, one keyframe on frame 10, put
a motion tween in there.
now the problem is, i have two keyframes, thus two instances of, basically,
the same thing (same instance name)
this, somehow, always brings up alot of problems, giving unexpected results.
when i, say, change the color of the movieclip, or the text of the field
inside the movieclip, it usually doesn't work at all

it seems like flash only likes to change the color or text on the first
frame and not during the animation, or on the last frame

Does anyone know a good solution to this problem, because i feel there must
be an easy solution to this (besides tweening with actionscript alone)

thanks,

Meinte
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Geoffrey Williams
Block = Pause, Sleep

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hauwert,
Ralph
Sent: Thursday, February 16, 2006 8:54 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Just out of curiosity, what does "to block" mean in this contest.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: donderdag 16 februari 2006 1:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Flash Player is single threaded, including the new Flash Player 8.5 which 
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: "Judah" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Hauwert, Ralph
Slash the "contest", and replace by "context"

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: donderdag 16 februari 2006 14:54
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Just out of curiosity, what does "to block" mean in this contest.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: donderdag 16 februari 2006 1:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Flash Player is single threaded, including the new Flash Player 8.5 which 
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: "Judah" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah

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

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

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

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

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

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


Re: [Flashcoders] Flash window coming out small on some IE browsers

2006-02-16 Thread Éric Thibault
Is it comming out small after the express install? Or always...  Do the 
15% have administrator prev.?


Just some questions... :-)

A+

Ramon Tayag wrote:


Hey guys,

This is really strange, and is kinda OT coz it's not actionscript
related.  It's more about the Flash Player Detection Kit.

http://test.quirkworks.net/skin/ comes out small only in some IE
browsers (15% of the people i've asked), and I can't seem to figure
out why.

If you see the source code of the site I'm using the detection kit
Macromedia made.

Client is waiting for the fix and.. gah.. I can't seem to find a fix! 
Problem is that it works fine in all the computers here in the office.


If it comes out small (window looks like it shrank), what is ur IE
version and OS?

Thank you,
--
Ramon Miguel M. Tayag
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

 




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

2006-02-16 Thread Hauwert, Ralph
Just out of curiosity, what does "to block" mean in this contest.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: donderdag 16 februari 2006 1:46
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5

Flash Player is single threaded, including the new Flash Player 8.5 which 
uses AS3.

The only way to block as a developer in Flash is PrintJob.send.

- Original Message - 
From: "Judah" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" 
Sent: Wednesday, February 15, 2006 7:13 PM
Subject: [Flashcoders] Multithreaded AS1 - AS2 - AS3 - AS4 - AS5


Is AS3 multithreaded? I think I've read somewhere that AS2 (or AS1) is
single threaded. Is that right? Can we use sleep commands in AS3? If not
will AS4 be multithreaded or would that prevent it from running on certain
devices or platforms?



Judah

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

2006-02-16 Thread Dimitrios Bendilas

Hi Jester,

Thanks for the url. It seems very interesting.
There is one thing that bothers me, aside the fact that
I'would have to re-write a lot of stuff from scratch, if I
used a model like this.

How do you know in what depth to draw everything?
How do you handle _alphas?

The movieclip model provides a very easy way to stack
images one above another with no problems. It just seems
a lot of work, it's like re-inveting the wheel.

How much can performance benefit from an approach
like this? Any benchmarks, numbers?

Is there a hybrid approach maybe? One that requires
less code but increases performance?

Thanks!


Dimitrios

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

To: "Flashcoders mailing list" 
Sent: Wednesday, February 15, 2006 3:53 AM
Subject: Re: [FlashCoders] scrollRect



I oringally wrote this in Flash 8, and ported to Flash 8.5.  There is no
reason it couldn't go back.

http://www.jessewarden.com/archives/2006/01/diesel_battlefi.html

- Original Message - 
From: "Dimitrios Bendilas" <[EMAIL PROTECTED]>

To: 
Sent: Tuesday, February 14, 2006 4:55 PM
Subject: [FlashCoders] scrollRect


Hi all,

I'm trying to make a very basic prototype to test parallax movement with
Flash 8.

Is movieclip.scrollRect what I should be using? I tried this:

var bg:MovieClip = _root.attachMovie("bg", "bg", 2);
var y:Number = 0;
_root.onEnterFrame = function():Void {
bg.scrollRect = {x:0, y:y--, width:635, height:540};
}

The movieclip "bg" contains only a jpg 635x540.
The movement is pretty jumpy. Should I be using BitmapData instead?

I'm a bit lost! I've been searching for code samples online for the past 2
hours and
I haven't found anything useful.

Does anyone have a useful link for parallax or tile-based games using 
Flash

8 features?
Performance is the key issue here, since this is going for a very big and
complex game
and I want to optimize it as much as possible.

Thanks a lot!

Dimitrios
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Issues while accessing a variable in a movieclip from external class

2006-02-16 Thread Luca Candela
I'm writing a little application to run a course, and the engine creates the
navigation menu putting labels in the button etc...

So, as far as I change things like a dynamic text that's on the stage with
something like

mybutton.itemText.text =
my_xml.childNodes[0].childNodes[index-1].attributes["Label"];

this works, but what If I want to change a variable declared in the button?

I would like to retrieve from an XML the movie I want to load pressing this
particular button, but seems like the scope of the "designed" objects and
the programmed object is a little different, since with

in the button movieclip

var myMovieDelegate:String = new String();
var selectedButton:Boolean = new Boolean();
---
in the engine Class

mybutton.myMovieDelegate(my_xml.childNodes[0].childNodes[index-1].attributes["MovieToLoad"]);

--

this doesn't works, as doesn't works creating a function in the button to
set the variable like

function setMovieDelegate(movie:String):Void {
myMovieDelegate = movie;
}

Where's the problem?

I'll add the complete code here

--

class courseEngine {
public var addEventListener:Function;
public var removeEventListener:Function;
private var dispatchEvent:Function;

private var ayudaOpen:Boolean = new Boolean();

function courseEngine() {
mx.events.EventDispatcher.initialize(this);
ayudaOpen = false;
}

public function initMenu(drawInIt:MovieClip, my_xml:XML) {
drawInIt.attachMovie("mcMenuUpBorder", "upBorder",
drawInIt.getNextHighestDepth());
drawInIt.attachMovie("mcMenuUnit", "menuMC1",
drawInIt.getNextHighestDepth(), {_x:0, _y:13});
initButton(drawInIt.menuMC1, my_xml, 1);
for (var i:Number = 2;
i<=my_xml.childNodes[0].attributes["NumberOfItems"]; i++) {
drawInIt.menuMC1.duplicateMovieClip("menuMC"+i, i);
var pippo:String = new
String(my_xml.childNodes[0].childNodes[i-1].attributes["Label"]);
trace(drawInIt["menuMC"+i]);
_root.drawInIt["menuMC"+i].setMovieDelegate(pippo);
initButton(drawInIt["menuMC"+i], my_xml, i);
drawInIt["menuMC"+i]._y =
drawInIt["menuMC"+(i-1)]._y+drawInIt["menuMC"+(i-1)].mcGreenBox._height;
}
var u:Number = new
Number(my_xml.childNodes[0].attributes["NumberOfItems"]);
drawInIt.attachMovie("mcMenuUnderBorder", "downBorder",
drawInIt.getNextHighestDepth(), {_x:0, _y:u*35+13});
var myDropFilter = new flash.filters.DropShadowFilter();
var myFilters:Array = drawInIt.filters;
myFilters.push(myDropFilter);
drawInIt.filters = myFilters;
}
private function initButton(button:MovieClip, my_xml:XML, index:Number)
{
button.itemText.text =
my_xml.childNodes[0].childNodes[index-1].attributes["Label"];
if (button.itemText.textHeight<16) {
button.itemText._y = button.itemText._y+6;
button.itemText._height = 16;
}
}
public function ayudaIsOpen():Boolean {
trace("passo da questa funzione");
return ayudaOpen;
}
public function callMe():Void {
dispatchEvent({type:"hearing", target:this});
}
public function closemcMenu(myx:Number, myy:Number, myButtonX:Number,
myMenu:MovieClip, myButton:MovieClip):Void {
myMenu.slideTo(myx, myy, 0.5, "easeInOutCircular");
myButton._x = myButtonX;
ayudaOpen = false;
}
public function openmcMenu(myx:Number, myy:Number, myButtonX:Number,
myMenu:MovieClip, myButton:MovieClip):Void {
myMenu.slideTo(myx, myy, 0.5, "easeInOutCircular");
myButton._x = myButtonX;
ayudaOpen = true;
}
public function menuDispatcher(butName:String){
var eventObject:Object = {target:this, type:'pressed'};
eventObject.buttonPressed = butName;
//eventObject.whereDrawn = cliptoDrawin.square_mc;
 dispatchEvent(eventObject);
}
}
--
code in the first frame

var my_xml:XML = new XML();
var myEngine:courseEngine = new courseEngine();
var oViewListener:Object = new Object();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success) {
myEngine.initMenu(mcMenuContainer, my_xml);
};
my_xml.load("Menu.xml");

oViewListener.pressed = function(oEvent:Object):Void  {
trace(oEvent.type);
trace(oEvent.buttonPressed);
};

myEngine.addEventListener("pressed", oViewListener);
--
and this is the code in the first frame of the movieclip that works as a
building block of the menu

this.useHandCursor = true;
var oResetColor:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100,
ab:0};
var oPressColor:Object = {ra:100, rb:100, ga:100, gb:100, ba:100, bb:100,
aa:100, ab:100};
var oOverColor:Object = {ra:100, rb:0, ga:100, gb:50, ba:50, bb:50, aa:100,
ab:50};
var mcGboxColor:Object = new Color(mcGreenBox);
var myMovieDelegate:String = new String();
var selectedButt

RE: [Flashcoders] Strange actionscript vs tweening problem Flash8

2006-02-16 Thread T. van Zantvoort
I just simply use

for (i=1; i<10; i++) {
this["b"+i].onRelease = function() {
play();
};
}

This is for button 1 through 9 and then on the timeline there's a tween with
all the buttons that go to an other location themselfs. But when I click on
a button, that button stays on it's place until the tween is done and then
finally flips to the position it supposed to tween to.


Met vriendelijke groeten,
 
 
Tayfun van Zantvoort
WebSculptor
---
MonTay WebArchitects
T: 040-2300898
F: 040-2954071
I: www.montay.nl
---
Check ook eens andere
onderdelen van ons uit.
---
www.vsnet.nl (je eigen webshop)
www.mlife.nl (aug '05, digi-lifestyle)
===

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Karthik
Verzonden: donderdag 16 februari 2006 9:24
Aan: Flashcoders mailing list
Onderwerp: Re: [Flashcoders] Strange actionscript vs tweening problem Flash8

> At this point it goes strangely, the tween is actually happening but 
> the button clicked stays on the same place until the tween stops and 
> then flips to the location it supposed to tween to.

How are you tweening this? You might want to show us some code.

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

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

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

2006-02-16 Thread Oleg Filipchuk
Here is the working example, without gotoAndStop etc. DO NOT USE
onLoadComplete, use onLoadInit


System.security.allowDomain ("google.com");

function onLoadStart( target:MovieClip ):Void {
trace ( "load start")
}

function onLoadError( target:MovieClip, errorCode:String ):Void {
trace( 'loadError '+ errorCode );
}

function onLoadProgress( target:MovieClip, loadedBytes:Number,
totalBytes:Number ):Void {
trace ( "progress " + Math.round ( loadedBytes/totalBytes*100) );
}

function onLoadInit( target:MovieClip ):Void {
target._width = 500;
target._height = 300;
}

var mcl:MovieClipLoader = new MovieClipLoader();
mcl.addListener(this);
mcl.loadClip( "http://www.google.com/logos/olympics06_luge.gif";,
this.createEmptyMovieClip( "contHolder", 0 ));


best wishes,
Oleg
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Strange actionscript vs tweening problem Flash8

2006-02-16 Thread Karthik
> At this point it goes strangely, the tween is actually happening but the
> button clicked stays on the same place until the tween stops and then flips
> to the location it supposed to tween to.

How are you tweening this? You might want to show us some code.

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

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


Re: [Flashcoders] multiuser flash games

2006-02-16 Thread Oleg Kolokolov
I once dealt with Oregano (www.oregano-server.org) server. Also a pretty
good solution. I liked it.
They state on their site that it worked ok with 250 simultaneous users. And
besides the server could be easily clastered. Which makes it dependant only
on the amount of the computers the server works on.



2006/2/16, Jobe Makar <[EMAIL PROTECTED]>:
>
> Ah, sorry for the misunderstanding. Good luck with your search and let me
> know if I can help you figure anything out with ES.
>
> Jobe Makar
> http://www.electrotank.com
> http://www.electro-server.com
> phone: 919-609-0408
> mobile: 919-610-5754
> fax: 919-341-8104
> - Original Message -
> From: "Rich Rodecker" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" 
> Sent: Wednesday, February 15, 2006 8:55 PM
> Subject: Re: [Flashcoders] multiuser flash games
>
>
> Jobe - sorry, I meant no more than 5 users at a time in a room..i would
> imagine that there would be more than 1 game being played at time. But
> yeah,
> from what little experience i did have with electroserver i loved it,
> thought it was really easy to set up and use.  I saw some of the samples
> up
> on the ElectroServer site, but I need to get a couple of people in there
> to
> test it out.
>
> Mike - how many people do you have going simultaneously?
>
>
>
>
>
>
> On 2/15/06, Mike Boutin < [EMAIL PROTECTED]> wrote:
> >
> > You might want to check out smartfox server at Http://www.gotoandplay.it
> >
> > I am using it for a multi-user isometric rpg and so far so good! ;)
> >
> >
> >
> > Rich Rodecker wrote:
> >
> > >im considering making a multiuser game in flash, which involves
> multiple
> > >users (no more than 5 at a time probably) chasing each other around a
> > room.
> > >I have dabbled with electroserver before and liked it, but only for a
> > simple
> > >turn-based game, but I'm not sure about how well any multiuser server
> > would
> > >handle latency.  Anyone have any suggestion/pointers/tips for this?
> > >___
> > >Flashcoders@chattyfig.figleaf.com
> > >To change your subscription options or search the archive:
> > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > >Brought to you by Fig Leaf Software
> > >Premier Authorized Adobe Consulting and Training
> > >http://www.figleaf.com
> > >http://training.figleaf.com
> > >
> > >
> > >.
> > >
> > >
> > >
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Strange actionscript vs tweening problem Flash8

2006-02-16 Thread T. van Zantvoort
Hi Guys,

I have a strange problem. I have several buttons on my canvas which I named
b1_btn untill b9_btn. In actionscript I have made the OnRelease call to them
through a For loop (also a RollOver and RollOut). On release the movie
should continue (play) and the buttons should tween to a different location.

At this point it goes strangely, the tween is actually happening but the
button clicked stays on the same place until the tween stops and then flips
to the location it supposed to tween to.

What is happening here?

I've tried several other approaches with no luck. I even tried to make an
embedded OnRelease whitin the On RollOver function. It just stays there and
only flips at the end of the tween.

Could someone help me out here, please.

 
Met vriendelijke groeten,
 
 
Tayfun van Zantvoort
WebSculptor
---
MonTay WebArchitects
T: 040-2300898
F: 040-2954071
I:   www.montay.nl
---
Check ook eens andere
onderdelen van ons uit.
---
www.vsnet.nl   (je eigen webshop)
www.mlife.nl   (aug '05, digi-lifestyle)
===
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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