Re: [Flashcoders] loadVars not initialising first

2007-05-28 Thread Muzak
- Original Message - 
From: John Trentini [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 7:23 AM
Subject: Re: [Flashcoders] loadVars not initialising first


 Thanks Mike,
 i am realising this but i haven't found a way of stopping everything else 
 from happening until my loadVars is complete.


That's because you're actually trying to do something else before data is 
loaded, which you shouldn't..
You just wait for the data to be loaded (when the onLoad event handler is 
triggered) and then do something else.
That's exactly what I showed in the example I sent earlier.

And .. sigh.. you should be asking this on the flashnewbie list..
http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie

regards,
Muzak 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [SOLVED] combobox class object not showing starting value

2007-05-28 Thread Allandt Bik-Elliott (Receptacle)

gah

it's taken all weekend but i've found out what the problem was

i add this to my as and the current selection appeared

// initialize items on stage
_global.styles.ComboBox.setStyle(fontFamily, Verdana);
_global.styles.ComboBox.setStyle(fontSize, 11);

don't know why really unless the selected item is constructed with a  
TextArea (i have the following styles set on the TextArea)


_global.styles.TextArea.setStyle(backgroundColor, transparent);
_global.styles.TextArea.setStyle(borderStyle, none);
_global.styles.TextArea.setStyle(embedFonts, true);

best
a


On 26 May 2007, at 23:11, Allandt Bik-Elliott (Receptacle) wrote:


please help -

On 25 May 2007, at 23:03, Muzak wrote:



- Original Message -
From: Allandt Bik-Elliott (Receptacle)  
[EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Friday, May 25, 2007 8:36 PM
Subject: Re: [Flashcoders] combobox class object not showing  
starting value



crikey - i've posted this in 4 places and i've not had a single  
response




Maybe that should tell you something about cross-posting ;-)


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

2007-05-28 Thread John Trentini

Muzac,

Thanks I understand that is what should happen but I implemented tyour 
code and still no luck, I'll fiddel some more with this...


I did ask the question on the falshnewbie but I got no response at all, 
go figure, hey!


Thanks for your input.

cheers
JohnT

Muzak wrote:

- Original Message - 
From: John Trentini [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 7:23 AM
Subject: Re: [Flashcoders] loadVars not initialising first


 


Thanks Mike,
i am realising this but i haven't found a way of stopping everything else from 
happening until my loadVars is complete.

   



That's because you're actually trying to do something else before data is 
loaded, which you shouldn't..
You just wait for the data to be loaded (when the onLoad event handler is triggered) 
and then do something else.
That's exactly what I showed in the example I sent earlier.

And .. sigh.. you should be asking this on the flashnewbie list..
http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie

regards,
Muzak 



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

2007-05-28 Thread Allandt Bik-Elliott (Receptacle)
i've found that the best way of dealing with this kind of thing is to  
push it onto an array (either on _root or _global) in the onLoad and  
manipulate that


but if you need to set up buttons etc using the variables at start,  
you'll need to add it all to the onLoad (create a function for that  
purpose)




On 28 May 2007, at 10:34, John Trentini wrote:


Muzac,

Thanks I understand that is what should happen but I implemented  
tyour code and still no luck, I'll fiddel some more with this...


I did ask the question on the falshnewbie but I got no response at  
all, go figure, hey!


Thanks for your input.

cheers
JohnT

Muzak wrote:

- Original Message - From: John Trentini  
[EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 7:23 AM
Subject: Re: [Flashcoders] loadVars not initialising first




Thanks Mike,
i am realising this but i haven't found a way of stopping  
everything else from happening until my loadVars is complete.





That's because you're actually trying to do something else  
before data is loaded, which you shouldn't..
You just wait for the data to be loaded (when the onLoad event  
handler is triggered) and then do something else.

That's exactly what I showed in the example I sent earlier.

And .. sigh.. you should be asking this on the flashnewbie list..
http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie

regards,
Muzak

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

2007-05-28 Thread Muzak
- Original Message - 
From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 12:03 PM
Subject: Re: [Flashcoders] loadVars not initialising first


 i've found that the best way of dealing with this kind of thing is to  push 
 it onto an array (either on _root or _global) in the 
 onLoad and  manipulate that


Using _root/_global is one way of doing things, but certainly not the best way.



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

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


Re: [Flashcoders] loadVars not initialising first

2007-05-28 Thread Allandt Bik-Elliott (Receptacle)
or wherever you store your app variables - i really meant that they  
shouldn't be stored local to the function, otherwise they would die  
with it



On 28 May 2007, at 11:42, Muzak wrote:


- Original Message -
From: Allandt Bik-Elliott (Receptacle)  
[EMAIL PROTECTED]

To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 12:03 PM
Subject: Re: [Flashcoders] loadVars not initialising first


i've found that the best way of dealing with this kind of thing is  
to  push it onto an array (either on _root or _global) in the

onLoad and  manipulate that



Using _root/_global is one way of doing things, but certainly not  
the best way.




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

2007-05-28 Thread Muzak
- Original Message - 
From: Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 2:00 PM
Subject: Re: [Flashcoders] loadVars not initialising first


 or wherever you store your app variables - i really meant that they  
 shouldn't be stored local to the function, otherwise they 
 would die  with it

They weren't stored locally, the array was declared outside of the onLoad event 
handler.

var myTxt:Array;

myMenuData.onLoad = function(success) {
   if (success) {
   myTxt = this.myVar.split(,);
   }
}

Allthough the above code is also not best-practice because of the scope 
change, it worked and the loaded variables were assigned 
to the myTxt Array.

regards,
Muzak 


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

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


Re: [Flashcoders] loadVars not initialising first

2007-05-28 Thread Allandt Bik-Elliott (Receptacle)

mybad

On 28 May 2007, at 15:30, Muzak wrote:


- Original Message -
From: Allandt Bik-Elliott (Receptacle)  
[EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 2:00 PM
Subject: Re: [Flashcoders] loadVars not initialising first


or wherever you store your app variables - i really meant that  
they  shouldn't be stored local to the function, otherwise they

would die  with it


They weren't stored locally, the array was declared outside of the  
onLoad event handler.


var myTxt:Array;

myMenuData.onLoad = function(success) {
   if (success) {
   myTxt = this.myVar.split(,);
   }
}

Allthough the above code is also not best-practice because of the  
scope change, it worked and the loaded variables were assigned

to the myTxt Array.

regards,
Muzak


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

2007-05-28 Thread Michael Boski

try this.

frame one:

//
var myMenuData = new LoadVars;
var myTxt:Array = new Array();'
//
myFile = ../textFiles/menuLabels.txt;
myMenuData.onLoad = function(success) {
 if (success) {
 trace(LoadVars loaded successfully: +this.loaded); ==this one
returns = true
 _parent.myTxt = this.myVar.split(,);
 trace(_parent.myTxt[3]); ==this trace returns the correct value
 _parent.play();
 } else {
 trace(Could not get the data);
 }
};
myMenuData._parent = this;
myMenuData.load(myFile);
stop();

frame 2:


trace(myTxt[3]);
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] [OT] desktop file searching utility

2007-05-28 Thread Hairy Dog Digital
Hi all,

Does anyone have a desktop file searching utility they can recommend that
really does search within files of any type for specific strings?

The built in Windows search utility, as well as the Google Desktop Search,
do not seem to search within file types such as external ActionScript files.
They only seem to poke around in the known text document types (DOC, PDF,
EPS, XLS, etc.)

Recommendations?

Thanks,
Rob


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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Count Schemula

.as files are obviously just text files... maybe there some way to
add/modify known types?

On 5/28/07, Hairy Dog Digital [EMAIL PROTECTED] wrote:

Hi all,

Does anyone have a desktop file searching utility they can recommend that
really does search within files of any type for specific strings?

The built in Windows search utility, as well as the Google Desktop Search,
do not seem to search within file types such as external ActionScript files.
They only seem to poke around in the known text document types (DOC, PDF,
EPS, XLS, etc.)

Recommendations?

Thanks,
Rob


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

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




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

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


RE: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Hairy Dog Digital
Possibly, but I have a sneaky suspicion that the reg modification would need
to be to the search application file types, and not something that allows me
to global specify *.as as a text file.
 

-Original Message-
From: Count Schemula [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 28, 2007 2:04 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] [OT] desktop file searching utility

.as files are obviously just text files... maybe there some way to
add/modify known types?

On 5/28/07, Hairy Dog Digital [EMAIL PROTECTED] wrote:
 Hi all,

 Does anyone have a desktop file searching utility they can recommend 
 that really does search within files of any type for specific strings?

 The built in Windows search utility, as well as the Google Desktop 
 Search, do not seem to search within file types such as external
ActionScript files.
 They only seem to poke around in the known text document types (DOC, 
 PDF, EPS, XLS, etc.)

 Recommendations?

 Thanks,
 Rob


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

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



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

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

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

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


RE: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread David Ngo
You can use a text editing program such as TextPad to search and/or replace
within text files specific strings and case-sensitivity.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hairy Dog
Digital
Sent: Monday, May 28, 2007 1:57 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] [OT] desktop file searching utility

Hi all,

Does anyone have a desktop file searching utility they can recommend that
really does search within files of any type for specific strings?

The built in Windows search utility, as well as the Google Desktop Search,
do not seem to search within file types such as external ActionScript files.
They only seem to poke around in the known text document types (DOC, PDF,
EPS, XLS, etc.)

Recommendations?

Thanks,
Rob


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

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

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

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


RE: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Hairy Dog Digital
I know that. What I need the capacity to do is to search a directory (or
directories) for files -- regardless of file type -- for specific strings,
not necessarily words or phrases.

The need for this became apparent when I inherited a large Flash 8 project
with hundreds of class files. I inherited it for debugging, so I'm searching
for needles in a haystack.

 

-Original Message-
From: David Ngo [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 28, 2007 2:16 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] [OT] desktop file searching utility

You can use a text editing program such as TextPad to search and/or replace
within text files specific strings and case-sensitivity.


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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Count Schemula

He wants to use search to go through files on the computer and look
inside the files for matches.

Google desktop will go through .doc and .xls and .ppt and search
inside them, but it won't search the contents of .as files.

On 5/28/07, David Ngo [EMAIL PROTECTED] wrote:

You can use a text editing program such as TextPad to search and/or replace
within text files specific strings and case-sensitivity.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hairy Dog
Digital
Sent: Monday, May 28, 2007 1:57 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] [OT] desktop file searching utility

Hi all,

Does anyone have a desktop file searching utility they can recommend that
really does search within files of any type for specific strings?

The built in Windows search utility, as well as the Google Desktop Search,
do not seem to search within file types such as external ActionScript files.
They only seem to poke around in the known text document types (DOC, PDF,
EPS, XLS, etc.)

Recommendations?

Thanks,
Rob


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

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

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

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




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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Count Schemula

http://www.sephiroth.it/python/classbrowser.php

Does this offer anything?

ClassBrowser is a very simple tool for inspect into flash classes,
parsing a directory (for example the First Run/Classes/ dir) and
reading all the informations in the .as files within the directory
given.

On 5/28/07, Hairy Dog Digital [EMAIL PROTECTED] wrote:


The need for this became apparent when I inherited a large Flash 8 project
with hundreds of class files. I inherited it for debugging, so I'm searching
for needles in a haystack.



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

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


RE: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread David Ngo
I understand that, but if his specific requirement is to go through .as
files, then something like TextPad should be able to do exactly what he
needs. You can search for and replace all instances of a specific string
within folders, subfolders, specifically selected files, etc. You can even
add the .as filetype within TextPad and associate it directly to TextPad or
have it open up the default program. I mean, did you guys even look up
TextPad's capabilities before shooting down my suggestion? ActionScript
files are nothing more than text files. There's no special encoding type to
show that they are 'ActionScript' files, aside from the fact that the
compiler is hard-coded to look for the specific .as extension.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Count
Schemula
Sent: Monday, May 28, 2007 2:53 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] [OT] desktop file searching utility

He wants to use search to go through files on the computer and look
inside the files for matches.

Google desktop will go through .doc and .xls and .ppt and search
inside them, but it won't search the contents of .as files.

On 5/28/07, David Ngo [EMAIL PROTECTED] wrote:
 You can use a text editing program such as TextPad to search and/or
replace
 within text files specific strings and case-sensitivity.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Hairy Dog
 Digital
 Sent: Monday, May 28, 2007 1:57 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] [OT] desktop file searching utility

 Hi all,

 Does anyone have a desktop file searching utility they can recommend that
 really does search within files of any type for specific strings?

 The built in Windows search utility, as well as the Google Desktop Search,
 do not seem to search within file types such as external ActionScript
files.
 They only seem to poke around in the known text document types (DOC, PDF,
 EPS, XLS, etc.)

 Recommendations?

 Thanks,
 Rob


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

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

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

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



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

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

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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Derek Vadneau
Not sure about TextPad but I know EditPlus will let me search entire 
directories, and subdirectories if desired, for whatever text, or even a 
regular expression, in any files found. You can specify the extensions or 
not. The files don't have to be open in the program and the results are 
returned as a list (one for each line found in each file) in a window. You 
can then double-click a line and the associated file will be displayed at 
the line in question (line will be highlighted).

Is that the kind of functionality you would be looking for?

If not, what is it you need that isn't covered in what I mentioned?


Derek Vadneau

- Original Message - 
From: Hairy Dog Digital
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 2:45 PM
Subject: RE: [Flashcoders] [OT] desktop file searching utility


I know that. What I need the capacity to do is to search a directory (or
directories) for files -- regardless of file type -- for specific strings,
not necessarily words or phrases.

The need for this became apparent when I inherited a large Flash 8 project
with hundreds of class files. I inherited it for debugging, so I'm 
searching
for needles in a haystack.



-Original Message-
From: David Ngo [mailto:[EMAIL PROTECTED]
Sent: Monday, May 28, 2007 2:16 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] [OT] desktop file searching utility

You can use a text editing program such as TextPad to search and/or 
replace
within text files specific strings and case-sensitivity.


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

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


RE: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread David Ngo
Okay, excuse my last email if this is the type of functionality you're
looking for. Perhaps I misread what was written. If what you're looking for
is a 'class browser' of sorts, then download and install Eclipse w/ either
ASDT or FDT (probably FDT) and import a new Flash project, point it to the
folder where your project sits and you'll be able to browse through all the
classes as well as being able to search through all classes/files for
specific strings.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Count
Schemula
Sent: Monday, May 28, 2007 2:58 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] [OT] desktop file searching utility

http://www.sephiroth.it/python/classbrowser.php

Does this offer anything?

ClassBrowser is a very simple tool for inspect into flash classes,
parsing a directory (for example the First Run/Classes/ dir) and
reading all the informations in the .as files within the directory
given.

On 5/28/07, Hairy Dog Digital [EMAIL PROTECTED] wrote:

 The need for this became apparent when I inherited a large Flash 8 project
 with hundreds of class files. I inherited it for debugging, so I'm
searching
 for needles in a haystack.


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

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

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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Count Schemula

Cool, I guess I should have assumed that there would be some powerful
text editors available. I just thought I saw NotePad or something,
which can't do stuff like that.

From: http://www.textpad.com/products/textpad/features.html

A powerful search/replace engine using UNIX-style regular
expressions, with the power of editor macros. Sets of files in a
directory tree can be searched, and text can be replaced in all open
documents at once.

On 5/28/07, David Ngo [EMAIL PROTECTED] wrote:

I understand that, but if his specific requirement is to go through .as
files, then something like TextPad should be able to do exactly what he
needs. You can search for and replace all instances of a specific string
within folders, subfolders, specifically selected files, etc. You can even
add the .as filetype within TextPad and associate it directly to TextPad or
have it open up the default program. I mean, did you guys even look up
TextPad's capabilities before shooting down my suggestion? ActionScript
files are nothing more than text files. There's no special encoding type to
show that they are 'ActionScript' files, aside from the fact that the
compiler is hard-coded to look for the specific .as extension.


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

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


Re: [Flashcoders] loadVars not initialising first

2007-05-28 Thread John Trentini

Thanks Michael,

that did it!

Nice and simple (for a simple mind(mine)) ... Great, much (very much) 
appreciated :) :)


and thanks to eveybody else's input as well  I am learning, I am 
learningpromise. lol


JohnT

Michael Boski wrote:


try this.

frame one:

//
var myMenuData = new LoadVars;
var myTxt:Array = new Array();'
//
myFile = ../textFiles/menuLabels.txt;
myMenuData.onLoad = function(success) {
 if (success) {
 trace(LoadVars loaded successfully: +this.loaded); ==this one
returns = true
 _parent.myTxt = this.myVar.split(,);
 trace(_parent.myTxt[3]); ==this trace returns the correct value
 _parent.play();
 } else {
 trace(Could not get the data);
 }
};
myMenuData._parent = this;
myMenuData.load(myFile);
stop();

frame 2:


trace(myTxt[3]);



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

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


RE: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Hairy Dog Digital
Thanks David,

In your initial post I misread text files as text file's... hence my
response. I'll download it and take a look at it. It still would be nice to
have a general purpose desktop app that does this, but for my most immediate
needs this might fit the bill.

...Rob

 

-Original Message-
From: David Ngo [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 28, 2007 3:04 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] [OT] desktop file searching utility

I understand that, but if his specific requirement is to go through .as
files, then something like TextPad should be able to do exactly what he
needs. You can search for and replace all instances of a specific string
within folders, subfolders, specifically selected files, etc. You can even
add the .as filetype within TextPad and associate it directly to TextPad or
have it open up the default program. I mean, did you guys even look up
TextPad's capabilities before shooting down my suggestion? ActionScript
files are nothing more than text files. There's no special encoding type to
show that they are 'ActionScript' files, aside from the fact that the
compiler is hard-coded to look for the specific .as extension.


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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Muzak
If you have Dreamweaver, it allows you to search through:
- an entire site
- selected documents in site
- folder
- open documents
- current document

regards,
Muzak


- Original Message - 
From: Hairy Dog Digital [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 7:56 PM
Subject: [Flashcoders] [OT] desktop file searching utility


 Hi all,

 Does anyone have a desktop file searching utility they can recommend that
 really does search within files of any type for specific strings?

 The built in Windows search utility, as well as the Google Desktop Search,
 do not seem to search within file types such as external ActionScript files.
 They only seem to poke around in the known text document types (DOC, PDF,
 EPS, XLS, etc.)

 Recommendations?

 Thanks,
 Rob


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

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


[Flashcoders] [OT] AMFPHP not working with PHP 5.2.2. in Safe Mode

2007-05-28 Thread JulianG

I anyone using AMFPHP with PHP 5.2.2. ?

My hosting company has updated the PHP installation and my AMFPHP just 
stopped working properly.


The error message I get everytime I attempt to call a method (using the 
browser) is the following:


Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION 
cannot be activated when in safe_mode or an open_basedir is set in 
/home/httpd/paulasedacca.com.ar/public_html/_amfphp/browser/client/AMFClient.php 
on line 119


I've been reading and the CURLOPT_FOLLOWLOCATION thing has been changed 
in PHP 5.2.2.


Any ideas?

Thanks,
JulianG




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

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


RE: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Hairy Dog Digital
Too much of a PITA going through the gyrations of defining a site then
specifying a search path in Dreamweaver. 

-Original Message-
From: Muzak [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 28, 2007 4:19 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] [OT] desktop file searching utility

If you have Dreamweaver, it allows you to search through:
- an entire site
- selected documents in site
- folder
- open documents
- current document

regards,
Muzak


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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Bojil Vassilev

Hi,

A general purpose desktop app that does this, and a lot, lot more, is 
Total Commander.

I cannot recommend enough this little app - give it a try.

Regards,
Bojil


Hairy Dog Digital wrote:

Thanks David,

In your initial post I misread text files as text file's... hence my
response. I'll download it and take a look at it. It still would be nice to
have a general purpose desktop app that does this, but for my most immediate
needs this might fit the bill.
  


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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread keith

http://keithhair.com/web/photos/searchexample.jpg
http://www.jedit.org/

If you not familiar, J-Edit's Hypersearch feature would be excellent 
for this.

It searches within all text filetypes over a whole directory.
Allows filtering and RegExp.
Not bad for writing scripts either.

-- Keith H --


Hairy Dog Digital wrote:

Hi all,

Does anyone have a desktop file searching utility they can recommend that
really does search within files of any type for specific strings?

The built in Windows search utility, as well as the Google Desktop Search,
do not seem to search within file types such as external ActionScript files.
They only seem to poke around in the known text document types (DOC, PDF,
EPS, XLS, etc.)

Recommendations?

Thanks,
Rob

  


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

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


Re: [Flashcoders] [OT] AMFPHP not working with PHP 5.2.2. in Safe Mode

2007-05-28 Thread dnk

This is a known issue. Patrick had psted a fix or workaround on his blog.
Check it out:
http://www.5etdemi.com/blog/archives/2007/05/amfphp-fix-for-php-522-compatibility-issue/




On 5/28/07, JulianG [EMAIL PROTECTED] wrote:


I anyone using AMFPHP with PHP 5.2.2. ?

My hosting company has updated the PHP installation and my AMFPHP just
stopped working properly.

The error message I get everytime I attempt to call a method (using the
browser) is the following:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION
cannot be activated when in safe_mode or an open_basedir is set in
/home/httpd/paulasedacca.com.ar/public_html/_amfphp
/browser/client/AMFClient.php
on line 119

I've been reading and the CURLOPT_FOLLOWLOCATION thing has been changed
in PHP 5.2.2.

Any ideas?

Thanks,
JulianG




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

2007-05-28 Thread Rob Romanek

Hi All,

I've been playing around with building my own components in AS3 and am  
trying to figure out if there is a way to get the live preview of the  
component to get info from the authoring environment. For example the file  
path of the fla into which the component was dropped.


Thanks,

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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Michael Boski

SEPY has a search in feature that would work perfectly for what you are doing.

you could set up a fake project that is at the root level of your
drive and search .as files for text.

On 5/28/07, keith [EMAIL PROTECTED] wrote:

http://keithhair.com/web/photos/searchexample.jpg
http://www.jedit.org/

If you not familiar, J-Edit's Hypersearch feature would be excellent
for this.
It searches within all text filetypes over a whole directory.
Allows filtering and RegExp.
Not bad for writing scripts either.

-- Keith H --


Hairy Dog Digital wrote:
 Hi all,

 Does anyone have a desktop file searching utility they can recommend that
 really does search within files of any type for specific strings?

 The built in Windows search utility, as well as the Google Desktop Search,
 do not seem to search within file types such as external ActionScript files.
 They only seem to poke around in the known text document types (DOC, PDF,
 EPS, XLS, etc.)

 Recommendations?

 Thanks,
 Rob



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

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


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Best way to control game character animations

2007-05-28 Thread Frederico Ferro Schuh

Hello list,

I've been fiddling around with character animations for use in AS3 flash
games. What's not clear to me is the animation control.

What's the best way to switch the current animation of the character? I
tried having each animation in its own MovieClip, and add/remove and
play/stop them as necessary, but this causes blinking problems in slower
machines (you can sometimes see the character disappearing and appearing
when the animation switches), which's not a good thing. I believe this is
related to the asyncronous nature of the flash player.

What I'm doing now is have a master MovieClip that contains one character
animation in each frame, and switch between them as needed. This looks a
little clumsy to me, as objects get created/destroyed unnecessarily, and
it's hard to manage them.

Is this the only way to go, or is there a better solution? Any hints on this
would be really appreciated.
Thanks.

--
Frederico Ferro Schuh
MSN [EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] IE7/Flash Player Problem

2007-05-28 Thread Jason Saelhof
Hi everyone,

 

I'm currently experiencing a weird bug that only occurs on IE7 (I've
tried flash player 8 and all revisions of 9). I'm using
XML.sendAndLoad() to send XML to a server retrieve xml back as a
response. This is code which has been running in production for years
without problem until earlier this month. The problem occurs on the XML
object's onLoad handler which gets a success parameter from the
player indicating if the message succeeded or not. Periodically, the
flash player reports the message failed (success is false) but my web
debugger shows the message was retrieved successfully (I use Charles web
debugger). This can happen on any message but generally happens quite
randomly. 50 messages may work fine and then one will exhibit this
false negative behavior from the flash player. 

 

Has anyone else experienced this kind of thing with IE7? If so, do you
have any further information?

 

Jason 

 

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

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


Re: [Flashcoders] [OT] desktop file searching utility

2007-05-28 Thread Muzak
Yeah I'm sure that looking for a tool, installing it, figuring out how it works 
is alot easier..


- Original Message - 
From: Hairy Dog Digital [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 28, 2007 10:26 PM
Subject: RE: [Flashcoders] [OT] desktop file searching utility


 Too much of a PITA going through the gyrations of defining a site then
 specifying a search path in Dreamweaver.

 -Original Message-
 From: Muzak [mailto:[EMAIL PROTECTED]
 Sent: Monday, May 28, 2007 4:19 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] [OT] desktop file searching utility

 If you have Dreamweaver, it allows you to search through:
 - an entire site
 - selected documents in site
 - folder
 - open documents
 - current document

 regards,
 Muzak


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

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