Re: [Flashcoders] XML Parsing

2006-05-05 Thread Mars Spider - Upgrade Multimediale Srl

David Rorex wrote:

On 5/4/06, Mars Spider - Upgrade Multimediale Srl 
[EMAIL PROTECTED] wrote:


Jason Lutes wrote:
 I'm experiencing some recursion limit problem with a large XML...


 How are you currently reading in the XML -- what kind of code
structures,
 etc?

 What specifically is the recursion limit problem you're having? Are 
you

 getting an error message of some kind? Do you think it's a question of
the
 nesting depth for nodes in your XML document, or could it be the sheer
 quantity of nodes causing the problem?

 Reason for the questions: I could go into a lengthy explanation about
what
 I've done in the way of XML parsing, but I think it best to first find
out
 if my suggestions can actually apply.


i'm using a recursive function to parse the XML
and i'm getting an error about 256 limit of recursion parsin a 1600
nodes XML with some childNodes...
The problem is function recursion for sure...

Splitting XML in two and than 'concat' the resulting parsed Array works
fine, but that's not the solution...



Are you saying the xml is 1600 levels deep?? that's a bit odd to me.
Otherwise, it might be your code which is the problem. Try using a for 
loop

instead of recursion for example.

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

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


Maybe i write wrong...
i'm not working with a 1600 depth XML
is a 1600 'item' XML with an average depth of 5/6... not costant...

Mars Spider 
www.marsspider.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] XML Parsing

2006-05-05 Thread Mars Spider - Upgrade Multimediale Srl

GregoryN wrote:

Mars,
The only (well) known solution is about editing SWF bytecode to change
256 limit of recursion. Broadly used, btw.
  

Any link or suggestion about this solution?

Mars Spider 
http://www.marsspider.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


[Flashcoders] Private variables visible?

2006-05-05 Thread Spiral Universe
Hi. I'm having an issue that might be because of my error but can't figure out 
what am I doing wrong. It's very simple.. i have a class with private vars and 
they are visible outside the class.. everywhere.. in other movieclips, in the 
root timeline :)


class MyClass {

private var _hidden:Number;

function MyClass() {
_hidden = 100;
}

}

attach this code to a movieclip in the ide (likage) and do a trace anywhere 
outside the class to _root.mc._hidden 


What is wrong here ??


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] PHP parse_url()-equivalent in ActionScript2

2006-05-05 Thread Morten Barklund

Hi list,

Has anyone created a simple class for parsing an URI into scheme, user, 
pass, host, ... like the PHP-function parse_url[1]?


If not, I'll simply create one, but if someone has something thoroughly 
tested, it would be nice :)


[1] http://php.net/parse_url

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

2006-05-05 Thread Eskil Janson
private variables are only recognized by the compiler for checking in 
AS2, unfortunantley.




/Eskil


Spiral Universe skrev:

Hi. I'm having an issue that might be because of my error but can't figure out 
what am I doing wrong. It's very simple.. i have a class with private vars and 
they are visible outside the class.. everywhere.. in other movieclips, in the 
root timeline :)


class MyClass {

private var _hidden:Number;

function MyClass() {

_hidden = 100;
}

}


attach this code to a movieclip in the ide (likage) and do a trace anywhere outside the class to _root.mc._hidden 



What is wrong here ??


-
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Private variables visible?

2006-05-05 Thread Spiral Universe
wicked... :)) i knew that but tought it should be detected by compiler that i 
try to use private var ...


Eskil Janson [EMAIL PROTECTED] wrote: private variables are only recognized 
by the compiler for checking in 
AS2, unfortunantley.



/Eskil


Spiral Universe skrev:
 Hi. I'm having an issue that might be because of my error but can't figure 
 out what am I doing wrong. It's very simple.. i have a class with private 
 vars and they are visible outside the class.. everywhere.. in other 
 movieclips, in the root timeline :)


 class MyClass {
 
 private var _hidden:Number;
 
 function MyClass() {
 _hidden = 100;
 }
 
 }

 attach this code to a movieclip in the ide (likage) and do a trace anywhere 
 outside the class to _root.mc._hidden 


 What is wrong here ??

   
 -
 New Yahoo! Messenger with Voice. Call regular phones from your PC and save 
 big.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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



-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1cent;/min.

-
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ 
countries) for 2¢/min or less.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] Inverting colours of the menu

2006-05-05 Thread Weyert de Boer
Hi all,

I probably have a really simple question.. I have a movieclip which
containts the menu items (each button is a movieclip), and know one
section has a white background so the white buttons become invisible. Now
I would like to invert/change the colours of the buttons. Only when I use
setRGB() of the Color-class everything gets changed, so also the little
color differences when you rollover etc.

Anyone know how I can solve this problem the easiest way?

-- 
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Inverting colours of the menu

2006-05-05 Thread Alfredo Laguia

you have many ways to do that,
class tween
   colorTo() method
   brightnessTo() method
or also with AnimationPackage of alex_uhlmann

i hope that helps you
- Original Message - 
From: Weyert de Boer [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Friday, May 05, 2006 12:14 PM
Subject: [Flashcoders] Inverting colours of the menu



Hi all,

I probably have a really simple question.. I have a movieclip which
containts the menu items (each button is a movieclip), and know one
section has a white background so the white buttons become invisible. Now
I would like to invert/change the colours of the buttons. Only when I use
setRGB() of the Color-class everything gets changed, so also the little
color differences when you rollover etc.

Anyone know how I can solve this problem the easiest way?

--
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

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

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

__ Información de NOD32, revisión 1.1441 (20060313) __

Este mensaje ha sido analizado con  NOD32 antivirus system
http://www.nod32.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] FDT weirdness

2006-05-05 Thread Seb L

FDT has suddenly stopped doing its code parsing for new classes...
anyone else had this? It's still parsing and checking on the
pre-existing classes. Weird!

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

2006-05-05 Thread Weyert de Boer
Hi

 you have many ways to do that,
 class tween
 colorTo() method

The Tween doesn't seem to have this method, but I found a ColorTransform
class in Flash 8. I will see if I can use that to invert colours.

The button movieclip contains of a white text for the initial state,
orange for the hover, and gray for the disabled state. I want to change
this too whit e- black, gray - white and orange - blue (invert of
orange).

-- 
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Inverting colours of the menu

2006-05-05 Thread MBDI ICSC Rodrigo E. Curiel Salazar

Hi, you can download a tween class here:

http://hosted.zeh.com.br/mctween/

this class does this and more

Rodrigo


On 5/5/06, Weyert de Boer [EMAIL PROTECTED] wrote:


Hi

 you have many ways to do that,
 class tween
 colorTo() method

The Tween doesn't seem to have this method, but I found a ColorTransform
class in Flash 8. I will see if I can use that to invert colours.

The button movieclip contains of a white text for the initial state,
orange for the hover, and gray for the disabled state. I want to change
this too whit e- black, gray - white and orange - blue (invert of
orange).

--
Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

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

2006-05-05 Thread Sönke Rohde
Did you try to restart Eclipse?

Cheers,
Sönke 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Seb L
 Sent: Friday, May 05, 2006 12:35 PM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] FDT weirdness
 
 FDT has suddenly stopped doing its code parsing for new classes...
 anyone else had this? It's still parsing and checking on the
 pre-existing classes. Weird!
 
 Seb
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] FDT weirdness

2006-05-05 Thread Sönke Rohde
And is the path with your classes added to the classpath? 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Seb L
 Sent: Friday, May 05, 2006 12:35 PM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] FDT weirdness
 
 FDT has suddenly stopped doing its code parsing for new classes...
 anyone else had this? It's still parsing and checking on the
 pre-existing classes. Weird!
 
 Seb
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] FDT weirdness

2006-05-05 Thread Michael Klishin

Seb L wrote:

FDT has suddenly stopped doing its code parsing for new classes...
anyone else had this? It's still parsing and checking on the
pre-existing classes. Weird!
Check if your classes name starts with uppercase letter. FDT parser 
ignores it otherwise.


--
Michael Antares Klishin,

Blog: http://www.novemberain.com/blog/
Email: [EMAIL PROTECTED]

Non progredi est regredi

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

2006-05-05 Thread Seb L

of course, that's always the first thing to try! :-)

On 05/05/06, Sönke Rohde [EMAIL PROTECTED] wrote:

Did you try to restart Eclipse?

Cheers,
Sönke

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Seb L
 Sent: Friday, May 05, 2006 12:35 PM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] FDT weirdness

 FDT has suddenly stopped doing its code parsing for new classes...
 anyone else had this? It's still parsing and checking on the
 pre-existing classes. Weird!

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

2006-05-05 Thread Seb L

Yeah it seems to be, the new classes are just in the same folder as the old one!

On 05/05/06, Sönke Rohde [EMAIL PROTECTED] wrote:

And is the path with your classes added to the classpath?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Seb L
 Sent: Friday, May 05, 2006 12:35 PM
 To: Flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] FDT weirdness

 FDT has suddenly stopped doing its code parsing for new classes...
 anyone else had this? It's still parsing and checking on the
 pre-existing classes. Weird!

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

2006-05-05 Thread Seb L

Ah that'll be the one! doh! Thanks Michael.

On 05/05/06, Michael Klishin [EMAIL PROTECTED] wrote:

Seb L wrote:
 FDT has suddenly stopped doing its code parsing for new classes...
 anyone else had this? It's still parsing and checking on the
 pre-existing classes. Weird!
Check if your classes name starts with uppercase letter. FDT parser
ignores it otherwise.

--
Michael Antares Klishin,

Blog: http://www.novemberain.com/blog/
Email: [EMAIL PROTECTED]

Non progredi est regredi

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

2006-05-05 Thread Francesco

if I got correctly the point, you're asking:
can I access children of an external swf loaded at any level into my 
project via MovieClip.loadMovie() or MovieClipLoader.loadClip()?

If not, sorry for bothering
If yes, I think: sure you can, as long as you know their instance name. 
If you don't, you'll have to work them out:


loadedMovie.loadMovie(externalSwf.swf);

/*
* now loadedMovie and externalSwf timelines overlap; if you know the 
child's instance name the work is done.
* if you don't I'll do like this (but chances are ways are better than 
this one):
* try to provide some test_code that lets you find in a not ambiguos 
way the desired child mc among other children mcs

*/

var desiredChildMovieClip:MovieClip;
for (var i in loadedMovie) {
   if(test_code) {
  desiredChildMovieClip = loadedMovie[i];
   }
}

/*
*   so desiredChildMovieClip is the child you were looking for.
* if there's no such test_code thing, sorry I have no idea..
*/

HTH
francesco.p

Jim Tann wrote:

You need to import one movieclip from the child swf into the parent
swf's library  have it placed on the stage / inside a movieclip that is
exported for actionscript to have access to all of the elements in the
child swf's library.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of August
Gresens
Sent: 05 May 2006 02:43
To: Flashcoders mailing list
Subject: [Flashcoders] newbie: nested clips and LoadMovie

Hello

Is it possible to access (duplicate and use) clips nested inside another
clip you've loaded into a movie via LoadMovie (or using the
MovieClipLoader).

For example, if I want to maintain a clip external to my main flash
project
that has a bunch of misc graphics - after I've loaded this external
clip,
can I duplicate these graphics somehow and attach them to clips in the
main
project? The purpose of this would be to load all of these graphics all
in
one shot, as opposed to loading them individually.

From playing around with it - it seems as though the loaded clip is
treated
as an independent media element, with no access to it's children. Is
this
correct?

Thanks,

August
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Has an SWF file any influence over the file system??????

2006-05-05 Thread Marcelo de Moraes Serpa

Hello,

SWF alone is contained into the player space, and the player (neither the
default flash projector) hasn´t any functions (and can´t have if you think
about it) to handle the file system. However, through fscommand and other
techniques (such as the new ExternalInterface API), you can access features
(functions and methods) from a external application, that would for instance
access the file system for you and return the data to the swf, and you would
be doing that if you were using Zing for example.

- Marcelo Serpa.

On 5/5/06, Serge Jespers [EMAIL PROTECTED] wrote:


Not directly from the SWF but if you use something like Zinc (http://
www.multidmedia.com/) you can do a lot with Flash projectors.

Serge


 Hi comunity, i'm looking for an answer. Is there any way to acces
 to my
 file system from Flash (an SWF) 

 Thanks anyway.

 Jorge

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Has an SWF file any influence over the file system??????

2006-05-05 Thread Martin Weiser

you mean Zinc.

or other swf2exe, like screenweaver

MW


- Original Message - 
From: Marcelo de Moraes Serpa [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, May 05, 2006 1:41 PM
Subject: Re: [Flashcoders] Has an SWF file any influence over the file 
system??




Hello,

SWF alone is contained into the player space, and the player (neither the
default flash projector) hasn´t any functions (and can´t have if you think
about it) to handle the file system. However, through fscommand and other
techniques (such as the new ExternalInterface API), you can access 
features
(functions and methods) from a external application, that would for 
instance
access the file system for you and return the data to the swf, and you 
would

be doing that if you were using Zing for example.

- Marcelo Serpa.

On 5/5/06, Serge Jespers [EMAIL PROTECTED] wrote:


Not directly from the SWF but if you use something like Zinc (http://
www.multidmedia.com/) you can do a lot with Flash projectors.

Serge


 Hi comunity, i'm looking for an answer. Is there any way to acces
 to my
 file system from Flash (an SWF) 

 Thanks anyway.

 Jorge

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

2006-05-05 Thread August Gresens

I guess what I'm looking for is an alternative to the clunky Shared
Library thing they've got set up. Im seeing now, however, that even if I
get this working, there would be no way to duplicate the externally loaded
swf's child to a clip in my main project (right?). In essence, I want to be
able to use the externally loaded clip as a library - but it is starting to
dawn on me that this is not possible (?).

(By the way, I'm mystified that the Shared Library has been implemented
the way that it has - the url requirement would seem to make it difficult to
arbitrarily load external libraries into a movie without manually changing
the URL properties in the IDE. It would be great if you could just load an
external library the way we do external clips).

Thanks,

August

On 5/5/06, Francesco [EMAIL PROTECTED] wrote:


if I got correctly the point, you're asking:
can I access children of an external swf loaded at any level into my
project via MovieClip.loadMovie() or MovieClipLoader.loadClip()?
If not, sorry for bothering
If yes, I think: sure you can, as long as you know their instance name.
If you don't, you'll have to work them out:

loadedMovie.loadMovie(externalSwf.swf);

/*
* now loadedMovie and externalSwf timelines overlap; if you know the
child's instance name the work is done.
* if you don't I'll do like this (but chances are ways are better than
this one):
* try to provide some test_code that lets you find in a not ambiguos
way the desired child mc among other children mcs
*/

var desiredChildMovieClip:MovieClip;
for (var i in loadedMovie) {
if(test_code) {
   desiredChildMovieClip = loadedMovie[i];
}
}

/*
*   so desiredChildMovieClip is the child you were looking for.
* if there's no such test_code thing, sorry I have no idea..
*/

HTH
francesco.p

Jim Tann wrote:
 You need to import one movieclip from the child swf into the parent
 swf's library  have it placed on the stage / inside a movieclip that is
 exported for actionscript to have access to all of the elements in the
 child swf's library.

 Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of August
 Gresens
 Sent: 05 May 2006 02:43
 To: Flashcoders mailing list
 Subject: [Flashcoders] newbie: nested clips and LoadMovie

 Hello

 Is it possible to access (duplicate and use) clips nested inside another
 clip you've loaded into a movie via LoadMovie (or using the
 MovieClipLoader).

 For example, if I want to maintain a clip external to my main flash
 project
 that has a bunch of misc graphics - after I've loaded this external
 clip,
 can I duplicate these graphics somehow and attach them to clips in the
 main
 project? The purpose of this would be to load all of these graphics all
 in
 one shot, as opposed to loading them individually.

 From playing around with it - it seems as though the loaded clip is
 treated
 as an independent media element, with no access to it's children. Is
 this
 correct?

 Thanks,

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





--
-


August Gresens
Technical Director
Black Hammer Productions, NYC
[EMAIL PROTECTED]

-

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

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


Re: [Flashcoders] Inverting colours of the menu

2006-05-05 Thread Zeh Fernando

I probably have a really simple question.. I have a movieclip which
containts the menu items (each button is a movieclip), and know one
section has a white background so the white buttons become invisible. Now
I would like to invert/change the colours of the buttons. Only when I use
setRGB() of the Color-class everything gets changed, so also the little
color differences when you rollover etc.
Anyone know how I can solve this problem the easiest way?


Weyert,

When you use setRGB, the whole object is tinted (replaced) with a given 
color. What you're looking for is setTransform, which can do more advanced 
color manipulation. It's like the Advanced option when editing movieclip 
color options on its properties on the Flash IDE.


Check setTransform on the help docs. But briefly, to invert a movieclip 
(make it 'negative', you can do:


new Color(myMC).setTransform({ra:-100, rb:255, ga:-100, gb:255, ba:-100, 
bb:255});




- Zeh 


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

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


Re: [Flashcoders] Inverting colours of the menu

2006-05-05 Thread Weyert de Boer
Hi Zeh,

 Check setTransform on the help docs. But briefly, to invert a movieclip
 (make it 'negative', you can do:

 new Color(myMC).setTransform({ra:-100, rb:255, ga:-100, gb:255, ba:-100,
 bb:255});

Yes, I found some similar code too, only doesn't seem to work. You can't
invert it again to get white back. I think I will just recreate the
buttons each time you switch from section. This part is handled by code
anyways, the client want different colors when background is white...
sucks lol.

Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

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

2006-05-05 Thread Merrill, Jason
Dunno, try out Xpath instead?  Is the recursion happening in the XML
load in Flash or in the parser code you are using after the XML file is
loaded?  If it's in the parser code, try Xpath instead to see if that
helps, as XPath doesn't work the same way- as I understand it, you
access node values on the fly instead of looping through to create new
objects like other parsers do.

Jason Merrill   |   E-Learning Solutions   |  ICF International










-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Mars Spider - Upgrade
Multimediale
Srl
Sent: Friday, May 05, 2006 3:02 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] XML Parsing

GregoryN wrote:
 Mars,
 The only (well) known solution is about editing SWF bytecode to
change
 256 limit of recursion. Broadly used, btw.

Any link or suggestion about this solution?

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

2006-05-05 Thread Ben Smeets
Yeah I like FlashDevelop too. If it would have a VSS plugin (like
Eclipse has) I would drop all other tools asap :D



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tyler
Wright
Sent: vrijdag 5 mei 2006 15:39
To: Flashcoders mailing list
Subject: Re: [Flashcoders] FDT weirdness

FlashDevelop won't give you any trouble. ;)

I have tried most of the major editors and FDT and FlashDevelop are my
favorite.

FlashDevelop just happens to be free, though I haven't yet seen it do
real-time error checking yet.

Tyler

On 5/5/06, Seb L [EMAIL PROTECTED] wrote:

 Ah that'll be the one! doh! Thanks Michael.

 On 05/05/06, Michael Klishin [EMAIL PROTECTED] wrote:
  Seb L wrote:
   FDT has suddenly stopped doing its code parsing for new classes...
   anyone else had this? It's still parsing and checking on the 
   pre-existing classes. Weird!
  Check if your classes name starts with uppercase letter. FDT parser 
  ignores it otherwise.
 
  --
  Michael Antares Klishin,
 
  Blog: http://www.novemberain.com/blog/
  Email: [EMAIL PROTECTED]
 
  Non progredi est regredi
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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] XML Parsing

2006-05-05 Thread GregoryN
Mars,

Look at Flasm (http://www.nowrap.de/flasm.html)

In this long file, see scriptLimits tag sub-section.

Good luck.

  

-- 
Best regards,
 GregoryN

http://GOusable.com
Flash components development.
Usability services.

 -- Mars Spider wrote:
 Mars,
 The only (well) known solution is about editing SWF bytecode to change
 256 limit of recursion. Broadly used, btw.
   
 Any link or suggestion about this solution?
 
 Mars Spider 
 http://www.marsspider.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] Inverting colours of the menu

2006-05-05 Thread Zeh Fernando

Check setTransform on the help docs. But briefly, to invert a movieclip
(make it 'negative', you can do:

new Color(myMC).setTransform({ra:-100, rb:255, ga:-100, gb:255, ba:-100,
bb:255});


Yes, I found some similar code too, only doesn't seem to work. You can't
invert it again to get white back. I think I will just recreate the
buttons each time you switch from section. This part is handled by code
anyways, the client want different colors when background is white...
sucks lol.


Well, it is an absolute color transformation, so if you apply it again it 
won't invert 'again', it will just set it to that inverted version. To 
invert again, you actually have to reset its color transform, as in...


new Color(myMC).setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});


- Zeh 


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

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


Re: [FlashCoders] Build Flash8 installer

2006-05-05 Thread Dimitrios Bendilas

Thank you guys.
Dimitrios Bendilas


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

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, May 04, 2006 9:46 PM
Subject: Re: [FlashCoders] Build Flash8 installer



Dimitrios Bendilas wrote:

I need to distribute the Player along with an application I have built
and I could use some guidelines/tutorial etc.


As Peter noted, web distribution is single-source only... Players are 
available on the Adobe site, and if you've got web access, that's the 
place to go.


If you're developing for a closed intranet, however, then you can 
register for a free license to distribute this behind those closed walls:

http://www.adobe.com/licensing/distribution/

(Why? Because things that carry the Adobe brand need to actually be the 
Adobe bits, and various strange websites which carry Adobe-branded 
materials may or may not install the actual Adobe bits. That's why 
there's a single point of web distribution, and contracts with known 
redistributors off the web.)


jd





--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

2006-05-05 Thread Francesco
Really don't know if is there a way to load a .fla asset (such as a 
Library) into an swf..


but sure you can use an external swf as a content library, as long as 
all library items (children mcs):
- can be referenced by instance name (which is to be set on the external 
.fla)
- are not referenced by instance name, but can be univocally retrieved 
by any other means (e.g. property values)


once acquired desiredChildMovieClip, you can duplicate it on your project.
HTH
francesco




August Gresens wrote:

I guess what I'm looking for is an alternative to the clunky Shared
Library thing they've got set up. Im seeing now, however, that even 
if I
get this working, there would be no way to duplicate the externally 
loaded
swf's child to a clip in my main project (right?). In essence, I want 
to be
able to use the externally loaded clip as a library - but it is 
starting to

dawn on me that this is not possible (?).

(By the way, I'm mystified that the Shared Library has been implemented
the way that it has - the url requirement would seem to make it 
difficult to
arbitrarily load external libraries into a movie without manually 
changing
the URL properties in the IDE. It would be great if you could just 
load an

external library the way we do external clips).

Thanks,

August

On 5/5/06, Francesco [EMAIL PROTECTED] wrote:


if I got correctly the point, you're asking:
can I access children of an external swf loaded at any level into my
project via MovieClip.loadMovie() or MovieClipLoader.loadClip()?
If not, sorry for bothering
If yes, I think: sure you can, as long as you know their instance name.
If you don't, you'll have to work them out:

loadedMovie.loadMovie(externalSwf.swf);

/*
* now loadedMovie and externalSwf timelines overlap; if you know the
child's instance name the work is done.
* if you don't I'll do like this (but chances are ways are better than
this one):
* try to provide some test_code that lets you find in a not ambiguos
way the desired child mc among other children mcs
*/

var desiredChildMovieClip:MovieClip;
for (var i in loadedMovie) {
if(test_code) {
   desiredChildMovieClip = loadedMovie[i];
}
}

/*
*   so desiredChildMovieClip is the child you were looking for.
* if there's no such test_code thing, sorry I have no idea..
*/

HTH
francesco.p

Jim Tann wrote:
 You need to import one movieclip from the child swf into the parent
 swf's library  have it placed on the stage / inside a movieclip 
that is

 exported for actionscript to have access to all of the elements in the
 child swf's library.

 Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of August
 Gresens
 Sent: 05 May 2006 02:43
 To: Flashcoders mailing list
 Subject: [Flashcoders] newbie: nested clips and LoadMovie

 Hello

 Is it possible to access (duplicate and use) clips nested inside 
another

 clip you've loaded into a movie via LoadMovie (or using the
 MovieClipLoader).

 For example, if I want to maintain a clip external to my main flash
 project
 that has a bunch of misc graphics - after I've loaded this external
 clip,
 can I duplicate these graphics somehow and attach them to clips in the
 main
 project? The purpose of this would be to load all of these graphics 
all

 in
 one shot, as opposed to loading them individually.

 From playing around with it - it seems as though the loaded clip is
 treated
 as an independent media element, with no access to it's children. Is
 this
 correct?

 Thanks,

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





--
-


August Gresens
Technical Director
Black Hammer Productions, NYC
[EMAIL PROTECTED]

-

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the 

RE: [Flashcoders] Has an SWF file any influence over the filesystem??????

2006-05-05 Thread Tom Lee
Using Flash 8's FileReference class (flash.net.FileReference), you can get a
reference to a local file and upload it to a server.  However, Flash cannot
access the bytes of the file due to security restrictions.

If you have a Flash movie in the remote sandbox (the SWF file is hosted on
the internet) and you want to use it to play another SWF which is on your
local computer, you would: 

1) Upload the file to the server using FileReference
2) Download the file from the server into Flash using loadMovie

If you are using AS3, you can also use the URLLoader class to load the swf
as binary data, modify it, and then:

3) Upload it back to the server
4) Download the file back to the client

Kind of round-about, but doable as long as the files aren't too large.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Weiser
Sent: Friday, May 05, 2006 8:05 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Has an SWF file any influence over the
filesystem??

you mean Zinc.

or other swf2exe, like screenweaver

MW


- Original Message - 
From: Marcelo de Moraes Serpa [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, May 05, 2006 1:41 PM
Subject: Re: [Flashcoders] Has an SWF file any influence over the file 
system??


 Hello,

 SWF alone is contained into the player space, and the player (neither the
 default flash projector) hasn´t any functions (and can´t have if you think
 about it) to handle the file system. However, through fscommand and other
 techniques (such as the new ExternalInterface API), you can access 
 features
 (functions and methods) from a external application, that would for 
 instance
 access the file system for you and return the data to the swf, and you 
 would
 be doing that if you were using Zing for example.

 - Marcelo Serpa.

 On 5/5/06, Serge Jespers [EMAIL PROTECTED] wrote:

 Not directly from the SWF but if you use something like Zinc (http://
 www.multidmedia.com/) you can do a lot with Flash projectors.

 Serge


  Hi comunity, i'm looking for an answer. Is there any way to acces
  to my
  file system from Flash (an SWF) 
 
  Thanks anyway.
 
  Jorge

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

2006-05-05 Thread PR Durand

Hi Mars,

last time I had such a big xml to parse and got an error while the loop 
blocked the flash movie, I just changed my 'for' loop with an 
onEnterFrame based method.
this allowed me at same time to display a counter to inform the user 
about the progression of my parsing process.

maybe not the best technical solution, but it was smoother ;)
++
PiR


Mars Spider - Upgrade Multimediale Srl a écrit :

GregoryN wrote:

Mars,
The only (well) known solution is about editing SWF bytecode to change
256 limit of recursion. Broadly used, btw.
  

Any link or suggestion about this solution?

Mars Spider http://www.marsspider.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





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

2006-05-05 Thread August Gresens

Thanks much for your previous responses, very helpful.

One more question - how can I duplicate or attach a child clip of one clip
into another clip?

For example, if I have two clips on the timeline, can I somehow copy the
first child of one clip into another?

DuplicateMovieClip does not seem to provide this functionality. It seems
only allow you to create a duplicate that is attached to the same parent
clip. I want to be able to copy child clips from my loaded external clip,
into various clips in my project.

Thanks,

August

On 5/5/06, Francesco [EMAIL PROTECTED] wrote:


Really don't know if is there a way to load a .fla asset (such as a
Library) into an swf..

but sure you can use an external swf as a content library, as long as
all library items (children mcs):
- can be referenced by instance name (which is to be set on the external
.fla)
- are not referenced by instance name, but can be univocally retrieved
by any other means (e.g. property values)

once acquired desiredChildMovieClip, you can duplicate it on your project.
HTH
francesco




August Gresens wrote:
 I guess what I'm looking for is an alternative to the clunky Shared
 Library thing they've got set up. Im seeing now, however, that even
 if I
 get this working, there would be no way to duplicate the externally
 loaded
 swf's child to a clip in my main project (right?). In essence, I want
 to be
 able to use the externally loaded clip as a library - but it is
 starting to
 dawn on me that this is not possible (?).

 (By the way, I'm mystified that the Shared Library has been
implemented
 the way that it has - the url requirement would seem to make it
 difficult to
 arbitrarily load external libraries into a movie without manually
 changing
 the URL properties in the IDE. It would be great if you could just
 load an
 external library the way we do external clips).

 Thanks,

 August

 On 5/5/06, Francesco [EMAIL PROTECTED] wrote:

 if I got correctly the point, you're asking:
 can I access children of an external swf loaded at any level into my
 project via MovieClip.loadMovie() or MovieClipLoader.loadClip()?
 If not, sorry for bothering
 If yes, I think: sure you can, as long as you know their instance name.
 If you don't, you'll have to work them out:

 loadedMovie.loadMovie(externalSwf.swf);

 /*
 * now loadedMovie and externalSwf timelines overlap; if you know the
 child's instance name the work is done.
 * if you don't I'll do like this (but chances are ways are better than
 this one):
 * try to provide some test_code that lets you find in a not ambiguos
 way the desired child mc among other children mcs
 */

 var desiredChildMovieClip:MovieClip;
 for (var i in loadedMovie) {
 if(test_code) {
desiredChildMovieClip = loadedMovie[i];
 }
 }

 /*
 *   so desiredChildMovieClip is the child you were looking for.
 * if there's no such test_code thing, sorry I have no idea..
 */

 HTH
 francesco.p

 Jim Tann wrote:
  You need to import one movieclip from the child swf into the parent
  swf's library  have it placed on the stage / inside a movieclip
 that is
  exported for actionscript to have access to all of the elements in
the
  child swf's library.
 
  Jim
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
August
  Gresens
  Sent: 05 May 2006 02:43
  To: Flashcoders mailing list
  Subject: [Flashcoders] newbie: nested clips and LoadMovie
 
  Hello
 
  Is it possible to access (duplicate and use) clips nested inside
 another
  clip you've loaded into a movie via LoadMovie (or using the
  MovieClipLoader).
 
  For example, if I want to maintain a clip external to my main flash
  project
  that has a bunch of misc graphics - after I've loaded this external
  clip,
  can I duplicate these graphics somehow and attach them to clips in
the
  main
  project? The purpose of this would be to load all of these graphics
 all
  in
  one shot, as opposed to loading them individually.
 
  From playing around with it - it seems as though the loaded clip is
  treated
  as an independent media element, with no access to it's children. Is
  this
  correct?
 
  Thanks,
 
  August
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/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 

[Flashcoders] Trouble with Downloading Flash Player

2006-05-05 Thread Asai



Is anyone having trouble downloading the Flash Player right now?  I'm 
testing the Express Install Feature but every time I try to go to the 
fpdownload.macromedia.com page, I get a server not found message.  My 
paths are correct I know, because once I was able to successfully 
test last night, but that was erratic and in between not found messages. 


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

2006-05-05 Thread Geoff Stearns
there were some hiccups last monday / tuesday when they switched to  
the adobe server, but they were all fixed up as of wednesday i think.


you could use this page as another test:
http://blog.deconcept.com/swfobject/expressinstall.html



On May 5, 2006, at 12:02 PM, Asai wrote:




Is anyone having trouble downloading the Flash Player right now?   
I'm testing the Express Install Feature but every time I try to go  
to the fpdownload.macromedia.com page, I get a server not found  
message.  My paths are correct I know, because once I was able to  
successfully test last night, but that was erratic and in between  
not found messages.

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

2006-05-05 Thread Mike Chambers
Well, wait no more. We have had the Flex 2 Beta for Mac for a month or 
two now:


http://www.macromedia.com/go/labs_flex2_downloads

Just click the link on that page for

Flex SDK 2.0

mike chambers

[EMAIL PROTECTED]

Troy Rollins wrote:


On May 4, 2006, at 1:01 PM, Mike Chambers wrote:

  Also, I am doing this in AS3, not AS2.

You wouldn't happen to be doing this in AS3 on a Mac, would you 
Mike?  ;-)


(Still waiting for a flex beta for Mac...)
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


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

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


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

2006-05-05 Thread Asai
It seems like indigestion.  I still can't connect.  This can't be 
internet wide can it?  Perhaps its only my neck of the woods, who at 
Adobe can I report this to?


At 09:11 AM 5/5/2006, you wrote:

there were some hiccups last monday / tuesday when they switched to
the adobe server, but they were all fixed up as of wednesday i think.

you could use this page as another test:
http://blog.deconcept.com/swfobject/expressinstall.html



On May 5, 2006, at 12:02 PM, Asai wrote:




Is anyone having trouble downloading the Flash Player right now?
I'm testing the Express Install Feature but every time I try to go
to the fpdownload.macromedia.com page, I get a server not found
message.  My paths are correct I know, because once I was able to
successfully test last night, but that was erratic and in between
not found messages.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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


---asai 


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

2006-05-05 Thread elibol

I think what you want is _focusrect.

It's a MovieClip property, so you would have to target the movieclip
instances that are recieving focus.

myMC._focusrect = false;

M.

On 5/3/06, John Giotta [EMAIL PROTECTED] wrote:


 datagrid.rollOverColor = yourBackgroundColor;
 datagrid.textRollOverColor = yourTextColor;

I want to get rid of the light green glow around the Datagrid when
ever the ScrollBar is focused.
Not the row roll over.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Q:del.icio.us API

2006-05-05 Thread elibol

It can be done with AS2.

The easiest way would be to build an API around the query strings.

_xml.load(http://del.icio.us/api/posts/get?tag=humor);

This technique is a bit sketchy though.

M.

On 5/4/06, Mike Britton [EMAIL PROTECTED] wrote:


Mike, can it be done with AS2?

Mike Britton



On 5/4/06, Troy Rollins [EMAIL PROTECTED] wrote:

 On May 4, 2006, at 1:01 PM, Mike Chambers wrote:

  Also, I am doing this in AS3, not AS2.

 You wouldn't happen to be doing this in AS3 on a Mac, would you
 Mike?  ;-)

 (Still waiting for a flex beta for Mac...)
 --
 Troy
 RPSystems, Ltd.
 http://www.rpsystems.net


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

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



--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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] Q:del.icio.us API

2006-05-05 Thread elibol

Sorry to answer a question that was asked of someone else.

On 5/5/06, elibol [EMAIL PROTECTED] wrote:


It can be done with AS2.

The easiest way would be to build an API around the query strings.

_xml.load( http://del.icio.us/api/posts/get?tag=humor);

This technique is a bit sketchy though.

M.


On 5/4/06, Mike Britton  [EMAIL PROTECTED] wrote:

 Mike, can it be done with AS2?

 Mike Britton



 On 5/4/06, Troy Rollins [EMAIL PROTECTED] wrote:
 
  On May 4, 2006, at 1:01 PM, Mike Chambers wrote:
 
   Also, I am doing this in AS3, not AS2.
 
  You wouldn't happen to be doing this in AS3 on a Mac, would you
  Mike?  ;-)
 
  (Still waiting for a flex beta for Mac...)
  --
  Troy
  RPSystems, Ltd.
  http://www.rpsystems.net
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 


 --
 Mike
 --
 http://www.mikebritton.com
 http://www.mikenkim.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] automatic datagrid?

2006-05-05 Thread Éric Thibault
Is there a way to select without any user interaction the first line of 
data inside a datagrid component and thus trigger the change event 
(highlight, code on change event,...)?


Like the selectedNode of the tree component...

Thanks a million

--
===

É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 http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

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

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


Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread Mike Chambers
Actually, that is a little different. That would work if running the 
browser, as the browser would handle the HTTP auth (it would pop up a 
user / pass dialog).


However, running in standalone would not work. You would have to 
manually write the appropriate headers in the request.


mike chambers

[EMAIL PROTECTED]

elibol wrote:

It can be done with AS2.

The easiest way would be to build an API around the query strings.

_xml.load(http://del.icio.us/api/posts/get?tag=humor);

This technique is a bit sketchy though.

M.

On 5/4/06, Mike Britton [EMAIL PROTECTED] wrote:


Mike, can it be done with AS2?

Mike Britton



On 5/4/06, Troy Rollins [EMAIL PROTECTED] wrote:

 On May 4, 2006, at 1:01 PM, Mike Chambers wrote:

  Also, I am doing this in AS3, not AS2.

 You wouldn't happen to be doing this in AS3 on a Mac, would you
 Mike?  ;-)

 (Still waiting for a flex beta for Mac...)
 --
 Troy
 RPSystems, Ltd.
 http://www.rpsystems.net


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

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



--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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] Trouble with Downloading Flash Player

2006-05-05 Thread Geoff Stearns
i just tested it, and the download part worked fine, but when the  
install was finished, it didn't redirect me back to the original page...


they said they were still working on that part on wednesday, so  
hopefully it will be all fixed soon.



On May 5, 2006, at 12:19 PM, Asai wrote:

It seems like indigestion.  I still can't connect.  This can't be  
internet wide can it?  Perhaps its only my neck of the woods, who  
at Adobe can I report this to?


At 09:11 AM 5/5/2006, you wrote:

there were some hiccups last monday / tuesday when they switched to
the adobe server, but they were all fixed up as of wednesday i think.

you could use this page as another test:
http://blog.deconcept.com/swfobject/expressinstall.html



On May 5, 2006, at 12:02 PM, Asai wrote:




Is anyone having trouble downloading the Flash Player right now?
I'm testing the Express Install Feature but every time I try to go
to the fpdownload.macromedia.com page, I get a server not found
message.  My paths are correct I know, because once I was able to
successfully test last night, but that was erratic and in between
not found messages.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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


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

2006-05-05 Thread Asai
Dang, I can't even get it to download.  It just sits there.  But the 
thing is that even when I go to the actual download Flash Player page 
at Adobe, I get the can't find server error message. So there's some 
problem accessing the server from where I'm at.


At 09:47 AM 5/5/2006, you wrote:

i just tested it, and the download part worked fine, but when the
install was finished, it didn't redirect me back to the original page...

they said they were still working on that part on wednesday, so
hopefully it will be all fixed soon.


On May 5, 2006, at 12:19 PM, Asai wrote:


It seems like indigestion.  I still can't connect.  This can't be
internet wide can it?  Perhaps its only my neck of the woods, who
at Adobe can I report this to?

At 09:11 AM 5/5/2006, you wrote:

there were some hiccups last monday / tuesday when they switched to
the adobe server, but they were all fixed up as of wednesday i think.

you could use this page as another test:
http://blog.deconcept.com/swfobject/expressinstall.html



On May 5, 2006, at 12:02 PM, Asai wrote:




Is anyone having trouble downloading the Flash Player right now?
I'm testing the Express Install Feature but every time I try to go
to the fpdownload.macromedia.com page, I get a server not found
message.  My paths are correct I know, because once I was able to
successfully test last night, but that was erratic and in between
not found messages.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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


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


---asai 


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

2006-05-05 Thread Mark Winterhalder

On 5/5/06, Asai [EMAIL PROTECTED] wrote:

Dang, I can't even get it to download.  It just sits there.  But the
thing is that even when I go to the actual download Flash Player page
at Adobe, I get the can't find server error message. So there's some
problem accessing the server from where I'm at.


Doesn't work here, either. I can ping it, though (84.53.150.70), and
if I go over a proxy in another network it works.

I couldn't download the Flex 2 SDK Beta off the labs site the day
before yesterday (couldn't find server trials.adobe.com). 24h later
it still didn't work, but when I pinged the server was there and all
of a sudden it worked when a few minutes earlier it hadn't.

Try again tomorrow, or use a proxy.

Mark


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

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


Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread Mike Britton

This technique is a bit sketchy though.


True, and their API isn't finalized.  There are few things more
soul-shattering than having your XML-parsing wrapper rendered obsolete
without warning.

Mike



On 5/5/06, elibol [EMAIL PROTECTED] wrote:

It can be done with AS2.

The easiest way would be to build an API around the query strings.

_xml.load(http://del.icio.us/api/posts/get?tag=humor);

This technique is a bit sketchy though.

M.

On 5/4/06, Mike Britton [EMAIL PROTECTED] wrote:

 Mike, can it be done with AS2?

 Mike Britton



 On 5/4/06, Troy Rollins [EMAIL PROTECTED] wrote:
 
  On May 4, 2006, at 1:01 PM, Mike Chambers wrote:
 
   Also, I am doing this in AS3, not AS2.
 
  You wouldn't happen to be doing this in AS3 on a Mac, would you
  Mike?  ;-)
 
  (Still waiting for a flex beta for Mac...)
  --
  Troy
  RPSystems, Ltd.
  http://www.rpsystems.net
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 


 --
 Mike
 --
 http://www.mikebritton.com
 http://www.mikenkim.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




--
Mike
--
http://www.mikebritton.com
http://www.mikenkim.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] newbie: nested clips and LoadMovie

2006-05-05 Thread Marcelo de Moraes Serpa

Hello August,

These all are common doubt indeed, they also made me lots of headaches (and
still do) when I started developing on the flash platform.

The problem is that the way the player works is not obvious (for me at
least). You have to do tricks such as import a clip from the externally
loaded swf to have access to its library DOM through actionscript, for
example (the infamous shared library trick, someone correct-me if I said
something wrong).

And regarding your duplicateMovieClip question. If I understood your case,
you can´t, for example, duplicate movieclip A from movieclip B TO
movieclip C, if you would like movieclip A to be duplicated into C,
you would have to call duplicateMovieClip from the context of movieclip C
and movieclip A would have to be a child of movieclip C (again,
corret-me if I´m wrong :P)

Hope this helps,

- Marcelo Serpa.

On 5/5/06, August Gresens [EMAIL PROTECTED] wrote:


Thanks much for your previous responses, very helpful.

One more question - how can I duplicate or attach a child clip of one clip
into another clip?

For example, if I have two clips on the timeline, can I somehow copy the
first child of one clip into another?

DuplicateMovieClip does not seem to provide this functionality. It seems
only allow you to create a duplicate that is attached to the same parent
clip. I want to be able to copy child clips from my loaded external clip,
into various clips in my project.

Thanks,

August

On 5/5/06, Francesco [EMAIL PROTECTED] wrote:

 Really don't know if is there a way to load a .fla asset (such as a
 Library) into an swf..

 but sure you can use an external swf as a content library, as long as
 all library items (children mcs):
 - can be referenced by instance name (which is to be set on the external
 .fla)
 - are not referenced by instance name, but can be univocally retrieved
 by any other means (e.g. property values)

 once acquired desiredChildMovieClip, you can duplicate it on your
project.
 HTH
 francesco




 August Gresens wrote:
  I guess what I'm looking for is an alternative to the clunky Shared
  Library thing they've got set up. Im seeing now, however, that even
  if I
  get this working, there would be no way to duplicate the externally
  loaded
  swf's child to a clip in my main project (right?). In essence, I want
  to be
  able to use the externally loaded clip as a library - but it is
  starting to
  dawn on me that this is not possible (?).
 
  (By the way, I'm mystified that the Shared Library has been
 implemented
  the way that it has - the url requirement would seem to make it
  difficult to
  arbitrarily load external libraries into a movie without manually
  changing
  the URL properties in the IDE. It would be great if you could just
  load an
  external library the way we do external clips).
 
  Thanks,
 
  August
 
  On 5/5/06, Francesco [EMAIL PROTECTED] wrote:
 
  if I got correctly the point, you're asking:
  can I access children of an external swf loaded at any level into my
  project via MovieClip.loadMovie() or MovieClipLoader.loadClip()?
  If not, sorry for bothering
  If yes, I think: sure you can, as long as you know their instance
name.
  If you don't, you'll have to work them out:
 
  loadedMovie.loadMovie(externalSwf.swf);
 
  /*
  * now loadedMovie and externalSwf timelines overlap; if you know the
  child's instance name the work is done.
  * if you don't I'll do like this (but chances are ways are better
than
  this one):
  * try to provide some test_code that lets you find in a not
ambiguos
  way the desired child mc among other children mcs
  */
 
  var desiredChildMovieClip:MovieClip;
  for (var i in loadedMovie) {
  if(test_code) {
 desiredChildMovieClip = loadedMovie[i];
  }
  }
 
  /*
  *   so desiredChildMovieClip is the child you were looking for.
  * if there's no such test_code thing, sorry I have no idea..
  */
 
  HTH
  francesco.p
 
  Jim Tann wrote:
   You need to import one movieclip from the child swf into the parent
   swf's library  have it placed on the stage / inside a movieclip
  that is
   exported for actionscript to have access to all of the elements in
 the
   child swf's library.
  
   Jim
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
 August
   Gresens
   Sent: 05 May 2006 02:43
   To: Flashcoders mailing list
   Subject: [Flashcoders] newbie: nested clips and LoadMovie
  
   Hello
  
   Is it possible to access (duplicate and use) clips nested inside
  another
   clip you've loaded into a movie via LoadMovie (or using the
   MovieClipLoader).
  
   For example, if I want to maintain a clip external to my main flash
   project
   that has a bunch of misc graphics - after I've loaded this external
   clip,
   can I duplicate these graphics somehow and attach them to clips in
 the
   main
   project? The purpose of this would be to load all of these graphics
  all
   in
   one shot, as opposed to loading them 

Re: [Flashcoders] Focus Highlight with Components

2006-05-05 Thread John Giotta

Thanks elibol, but not it.

You'd have to see it for yourself if I'm not making any sense.

I have a Datagrid in on SWF and another SWF is loading it.
Whenever the ScrollBar of the Datagrid is focused, a light green halo
forms around the entire Datagrid. That's what I want gone.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] automatic datagrid?

2006-05-05 Thread John Giotta

DataGrid.selectedIndex = x;

Will select the row 'x'.


On 5/5/06, Éric Thibault [EMAIL PROTECTED] wrote:

Is there a way to select without any user interaction the first line of
data inside a datagrid component and thus trigger the change event
(highlight, code on change event,...)?

Like the selectedNode of the tree component...

Thanks a million

--
===

É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 http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

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

2006-05-05 Thread John Giotta

You could also do:
DataGrid.dispatchEvent({type:change});

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

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


Re: [Flashcoders] Q:del.icio.us API

2006-05-05 Thread elibol

Right on about standalone.

I was thinking you could work the auth into the url,

http://username:[EMAIL PROTECTED]/api/posts/get?tag=humor

M.

On 5/5/06, Mike Chambers [EMAIL PROTECTED] wrote:


Actually, that is a little different. That would work if running the
browser, as the browser would handle the HTTP auth (it would pop up a
user / pass dialog).

However, running in standalone would not work. You would have to
manually write the appropriate headers in the request.

mike chambers

[EMAIL PROTECTED]

elibol wrote:
 It can be done with AS2.

 The easiest way would be to build an API around the query strings.

 _xml.load(http://del.icio.us/api/posts/get?tag=humor);

 This technique is a bit sketchy though.

 M.

 On 5/4/06, Mike Britton [EMAIL PROTECTED] wrote:

 Mike, can it be done with AS2?

 Mike Britton



 On 5/4/06, Troy Rollins [EMAIL PROTECTED] wrote:
 
  On May 4, 2006, at 1:01 PM, Mike Chambers wrote:
 
   Also, I am doing this in AS3, not AS2.
 
  You wouldn't happen to be doing this in AS3 on a Mac, would you
  Mike?  ;-)
 
  (Still waiting for a flex beta for Mac...)
  --
  Troy
  RPSystems, Ltd.
  http://www.rpsystems.net
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 


 --
 Mike
 --
 http://www.mikebritton.com
 http://www.mikenkim.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] Focus Highlight with Components

2006-05-05 Thread Dimitrios Bendilas

John,

I get rid of the green halo border with this:
 _root._focusrect = _global.useFocusRect = false;
It has effect on every element on the flash movie.

I hope this will help you.

Regards,
Dimitrios Bendilas

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

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, May 05, 2006 8:37 PM
Subject: Re: [Flashcoders] Focus Highlight with Components


Thanks elibol, but not it.

You'd have to see it for yourself if I'm not making any sense.

I have a Datagrid in on SWF and another SWF is loading it.
Whenever the ScrollBar of the Datagrid is focused, a light green halo
forms around the entire Datagrid. That's what I want gone.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] newbie: nested clips and LoadMovie

2006-05-05 Thread Francesco

Provided you know the child-to-copy instance name, that's a workaround:

say you have 2 mcs, one (a) created in your project and one (b) loaded 
externally.

say you know the desired b-child instance name (b_child):

//create a copy of the desired child
var b_copy_child:MovieClip = 
b_child.duplicateMovieClip(copy,b.getNextHighestDepth());


/*
*then 2 ways:
*a) if you simply want a reference to use in your project, work with 
b_copy_child;
*b) if you really want b_child instance to be a child of a, 
reference it from within,

*   thanks to the fact MovieClip is dynamic:
*/

a.a_child = b_copy_child;

This, unless I'm missing some more-DOM-like AS2 interfaces - and then 
I'd love to hear about..

HTH
francesco.p

August Gresens wrote:

Thanks much for your previous responses, very helpful.

One more question - how can I duplicate or attach a child clip of one 
clip

into another clip?

For example, if I have two clips on the timeline, can I somehow copy the
first child of one clip into another?

DuplicateMovieClip does not seem to provide this functionality. It seems
only allow you to create a duplicate that is attached to the same parent
clip. I want to be able to copy child clips from my loaded external clip,
into various clips in my project.

Thanks,

August

On 5/5/06, Francesco [EMAIL PROTECTED] wrote:


Really don't know if is there a way to load a .fla asset (such as a
Library) into an swf..

but sure you can use an external swf as a content library, as long as
all library items (children mcs):
- can be referenced by instance name (which is to be set on the external
.fla)
- are not referenced by instance name, but can be univocally retrieved
by any other means (e.g. property values)

once acquired desiredChildMovieClip, you can duplicate it on your 
project.

HTH
francesco




August Gresens wrote:
 I guess what I'm looking for is an alternative to the clunky Shared
 Library thing they've got set up. Im seeing now, however, that even
 if I
 get this working, there would be no way to duplicate the externally
 loaded
 swf's child to a clip in my main project (right?). In essence, I want
 to be
 able to use the externally loaded clip as a library - but it is
 starting to
 dawn on me that this is not possible (?).

 (By the way, I'm mystified that the Shared Library has been
implemented
 the way that it has - the url requirement would seem to make it
 difficult to
 arbitrarily load external libraries into a movie without manually
 changing
 the URL properties in the IDE. It would be great if you could just
 load an
 external library the way we do external clips).

 Thanks,

 August

 On 5/5/06, Francesco [EMAIL PROTECTED] wrote:

 if I got correctly the point, you're asking:
 can I access children of an external swf loaded at any level into my
 project via MovieClip.loadMovie() or MovieClipLoader.loadClip()?
 If not, sorry for bothering
 If yes, I think: sure you can, as long as you know their instance 
name.

 If you don't, you'll have to work them out:

 loadedMovie.loadMovie(externalSwf.swf);

 /*
 * now loadedMovie and externalSwf timelines overlap; if you know the
 child's instance name the work is done.
 * if you don't I'll do like this (but chances are ways are better 
than

 this one):
 * try to provide some test_code that lets you find in a not 
ambiguos

 way the desired child mc among other children mcs
 */

 var desiredChildMovieClip:MovieClip;
 for (var i in loadedMovie) {
 if(test_code) {
desiredChildMovieClip = loadedMovie[i];
 }
 }

 /*
 *   so desiredChildMovieClip is the child you were looking for.
 * if there's no such test_code thing, sorry I have no idea..
 */

 HTH
 francesco.p

 Jim Tann wrote:
  You need to import one movieclip from the child swf into the parent
  swf's library  have it placed on the stage / inside a movieclip
 that is
  exported for actionscript to have access to all of the elements in
the
  child swf's library.
 
  Jim
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of
August
  Gresens
  Sent: 05 May 2006 02:43
  To: Flashcoders mailing list
  Subject: [Flashcoders] newbie: nested clips and LoadMovie
 
  Hello
 
  Is it possible to access (duplicate and use) clips nested inside
 another
  clip you've loaded into a movie via LoadMovie (or using the
  MovieClipLoader).
 
  For example, if I want to maintain a clip external to my main flash
  project
  that has a bunch of misc graphics - after I've loaded this external
  clip,
  can I duplicate these graphics somehow and attach them to clips in
the
  main
  project? The purpose of this would be to load all of these graphics
 all
  in
  one shot, as opposed to loading them individually.
 
  From playing around with it - it seems as though the loaded 
clip is

  treated
  as an independent media element, with no access to it's 
children. Is

  this
  correct?
 
  Thanks,
 
  August
  ___
  

Re: [Flashcoders] Focus Highlight with Components

2006-05-05 Thread elibol

Oh sorry, I don't have much experience with the v2 data grid.

I think though you can pinpoint what is happening by overriding the scroll
bars onRollOver event. Maybe if you could examine the source you would find
out what the onRollOver may be delegated to. You might be able to see which
event causes the effect, and maybe from there find an externalized method to
disable it. From here though if there is no external method, you could
always just override the function.

Another way would be to just get rid of the movieclip that shows the effect,
if it's dynamically drawn though you might not be able to do this.

M.

On 5/5/06, John Giotta [EMAIL PROTECTED] wrote:


Thanks elibol, but not it.

You'd have to see it for yourself if I'm not making any sense.

I have a Datagrid in on SWF and another SWF is loading it.
Whenever the ScrollBar of the Datagrid is focused, a light green halo
forms around the entire Datagrid. That's what I want gone.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] newbie: nested clips and LoadMovie

2006-05-05 Thread August Gresens

Francesco - I'll give that a try. It actually occurred to me, but I didn't
try it because I wasn't sure how the depth would be handled and what issues
would be associated with having a single clip instance be the child of two
parents. (When you move b, does it also move in a, even if a is not
moved?)

Thanks,

August

On 5/5/06, Francesco [EMAIL PROTECTED] wrote:


Provided you know the child-to-copy instance name, that's a workaround:

say you have 2 mcs, one (a) created in your project and one (b) loaded
externally.
say you know the desired b-child instance name (b_child):

//create a copy of the desired child
var b_copy_child:MovieClip =
b_child.duplicateMovieClip(copy,b.getNextHighestDepth());

/*
*then 2 ways:
*a) if you simply want a reference to use in your project, work with
b_copy_child;
*b) if you really want b_child instance to be a child of a,
reference it from within,
*   thanks to the fact MovieClip is dynamic:
*/

a.a_child = b_copy_child;

This, unless I'm missing some more-DOM-like AS2 interfaces - and then
I'd love to hear about..
HTH
francesco.p

August Gresens wrote:
 Thanks much for your previous responses, very helpful.

 One more question - how can I duplicate or attach a child clip of one
 clip
 into another clip?

 For example, if I have two clips on the timeline, can I somehow copy the
 first child of one clip into another?

 DuplicateMovieClip does not seem to provide this functionality. It seems
 only allow you to create a duplicate that is attached to the same parent
 clip. I want to be able to copy child clips from my loaded external
clip,
 into various clips in my project.

 Thanks,

 August

 On 5/5/06, Francesco [EMAIL PROTECTED] wrote:

 Really don't know if is there a way to load a .fla asset (such as a
 Library) into an swf..

 but sure you can use an external swf as a content library, as long as
 all library items (children mcs):
 - can be referenced by instance name (which is to be set on the
external
 .fla)
 - are not referenced by instance name, but can be univocally retrieved
 by any other means (e.g. property values)

 once acquired desiredChildMovieClip, you can duplicate it on your
 project.
 HTH
 francesco




 August Gresens wrote:
  I guess what I'm looking for is an alternative to the clunky Shared
  Library thing they've got set up. Im seeing now, however, that even
  if I
  get this working, there would be no way to duplicate the externally
  loaded
  swf's child to a clip in my main project (right?). In essence, I want
  to be
  able to use the externally loaded clip as a library - but it is
  starting to
  dawn on me that this is not possible (?).
 
  (By the way, I'm mystified that the Shared Library has been
 implemented
  the way that it has - the url requirement would seem to make it
  difficult to
  arbitrarily load external libraries into a movie without manually
  changing
  the URL properties in the IDE. It would be great if you could just
  load an
  external library the way we do external clips).
 
  Thanks,
 
  August
 
  On 5/5/06, Francesco [EMAIL PROTECTED] wrote:
 
  if I got correctly the point, you're asking:
  can I access children of an external swf loaded at any level into my
  project via MovieClip.loadMovie() or MovieClipLoader.loadClip()?
  If not, sorry for bothering
  If yes, I think: sure you can, as long as you know their instance
 name.
  If you don't, you'll have to work them out:
 
  loadedMovie.loadMovie(externalSwf.swf);
 
  /*
  * now loadedMovie and externalSwf timelines overlap; if you know the
  child's instance name the work is done.
  * if you don't I'll do like this (but chances are ways are better
 than
  this one):
  * try to provide some test_code that lets you find in a not
 ambiguos
  way the desired child mc among other children mcs
  */
 
  var desiredChildMovieClip:MovieClip;
  for (var i in loadedMovie) {
  if(test_code) {
 desiredChildMovieClip = loadedMovie[i];
  }
  }
 
  /*
  *   so desiredChildMovieClip is the child you were looking for.
  * if there's no such test_code thing, sorry I have no idea..
  */
 
  HTH
  francesco.p
 
  Jim Tann wrote:
   You need to import one movieclip from the child swf into the
parent
   swf's library  have it placed on the stage / inside a movieclip
  that is
   exported for actionscript to have access to all of the elements in
 the
   child swf's library.
  
   Jim
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of
 August
   Gresens
   Sent: 05 May 2006 02:43
   To: Flashcoders mailing list
   Subject: [Flashcoders] newbie: nested clips and LoadMovie
  
   Hello
  
   Is it possible to access (duplicate and use) clips nested inside
  another
   clip you've loaded into a movie via LoadMovie (or using the
   MovieClipLoader).
  
   For example, if I want to maintain a clip external to my main
flash
   project
   that has a bunch of misc graphics - after I've loaded this
external
   clip,
   

Re: [Flashcoders] Conversion to Flash 8 renders MP3 player useless

2006-05-05 Thread Duncan Reid

Hi Jonathan,

I plugged this into the F8 IDE and set the publish setting to 7 / as2 and it
seemed to work for me.  The only thing that i can see in your code that
stands out is the space after the url but i don't think that really matters
much as it still seems to work...

radio.loadSound(http://www.live365.com/play/signonsandiego/pro ,true);

not much help I am guessing...

Dunc


On 5/4/06, Jonathan Berry [EMAIL PROTECTED] wrote:


Hello all, I posted this a few days ago and just wanted to know if you
could
load it, but I found a problem that I do not understand. I just saved this
file, which was previously MX2004, as Flash 8 in the authoring
environment.
I have exported for Player 7/AS 2.0, but for some reason it will no longer
play in player 7. Can you see if there is anything in my code that would
cause this? Thanks in advance.

System.security.allowDomain(www.live365.com);
var up:Boolean = false;
var reloadInt:Number;
function createLoaderText(output){
_root.createEmptyMovieClip(loader_mc,1000);
loader_mc.createTextField(p_txt,1100,60,6,160,20);
loader_mc.p_txt.text = output;
var loadingFmt:TextFormat = new TextFormat();
loadingFmt.font = My Font;
loadingFmt.color = 0xFF9900;
loadingFmt.bold = true;
loader_mc.p_txt.embedFonts = true;
loader_mc.p_txt.setTextFormat(loadingFmt);
loader_mc.onEnterFrame = function(){
if(up == false){
this.p_txt._alpha -= 5;
if(this.p_txt._alpha = 0){
up = true;
}
}else{
this.p_txt._alpha += 5;
if(this.p_txt._alpha = 100){
up = false;
}
}
}
}
var radio:Sound = new Sound();
var volume:Number = 50;
var marker:MovieClip = volume_mc.slider_mc;
var volTrackFactor = volume_mc.track_mc._width/100;
var stopped:Boolean = false;
var trackLoaded:Boolean;
var stopped:Boolean = false;
vumeter_mc.stop();
function playRadio(){
if(!loader_mc){
createLoaderText(loading);
}
mute_mc.gotoAndStop(1);
volume_mc.slider_mc._x = volume_mc.track_mc._x +
volume_mc.track_mc._width/2 - 10;
if (typeof radio == object) {
radio.stop();
delete radio;
}
stopped = false;
radio = new Sound(this);
radio.setVolume(volume);
radio.loadSound(http://www.live365.com/play/signonsandiego/pro,true);
stop1_btn.enabled = true;
stop1_btn._alpha = 100;
play1_btn.enabled = false;
play1_btn._alpha = 30;
var lastPosition = 0;
vumeter_mc.onEnterFrame = function(){
if(radio.position  1  stopped==false  radio.position 
lastPosition){
lastPosition = radio.position;
clearInterval(reloadInt);
loader_mc.removeMovieClip();
vumeter_mc.play();
//delete this.onEnterFrame;
}else{
if(!loader_mc){
createLoaderText(buffering);
}
vumeter_mc.gotoAndStop(1);
}
}
reload();
}
play1_btn.onRelease = playRadio;
stop1_btn.onRelease = stopPlay;
function stopPlay(){
delete vumeter_mc.onEnterFrame;
clearInterval(reloadInt);
loader_mc.removeMovieClip();
mute_mc.gotoAndStop(1);
vumeter_mc.gotoAndStop(1);
stopped = true;
radio.stop();
play1_btn.enabled = true;
play1_btn._alpha = 100;
stop1_btn.enabled = false;
stop1_btn._alpha = 30;
}
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Re: Newbie + New subject: Vista

2006-05-05 Thread John Dowdell

Audry Taylor wrote:
So is anyone here worried about what the hyper-secure Windows Vista 
might do to Flash accessibility for the average user, especially since 
Microsoft hates Adobe?


The companies work together in some areas, compete in some areas, and 
are in totally different businesses in most areas... from what I've 
seen, hate is more in the press and Slashdot than in the world.


For accessibility, if we mean screenreaders, then it's hard for me to 
see Microsoft breaking the Active Accessibility APIs, and if they did, 
the screenreaders would likely have trouble with such a change too.


(If accessibility means distributing Flash Player with Vista, then I 
haven't anticipated that they would (Flash Player was the only non-MS 
software bundled with WinXP because it showed their welcome screen, and 
when it ships Vista will likely have a richer media layer of its own), 
and I wouldn't care much either way... Flash Player 7 and 8 had far 
larger adoption rates than any version of Windows ever did. OS bundling 
is nice, but not as useful overall anymore.)


Is the above the type of info you were seeking...?

jd






--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] newbie: nested clips and LoadMovie

2006-05-05 Thread Marcelo de Moraes Serpa

Francesco: I think that, by creating a new property on movieclip a and
referencing it to the b_copy_child (which in turn references copy in
movieclip b) would only allow you to control the copy movieclip located
into movieclip b.

I don´t have flash here so I can´t test anything and I´m just curious about
(as it has been quite some time since the last time I used
duplicateMovieClip) if this would work:

_root.duplicateMovieClip(_root.movieclip_b.mymc,mycopiedclip,1);

Would this code create a instance of the movieclip mymc into _root?

- Marcelo.

On 5/5/06, August Gresens [EMAIL PROTECTED] wrote:


Francesco - I'll give that a try. It actually occurred to me, but I didn't
try it because I wasn't sure how the depth would be handled and what
issues
would be associated with having a single clip instance be the child of two
parents. (When you move b, does it also move in a, even if a is not
moved?)

Thanks,

August

On 5/5/06, Francesco [EMAIL PROTECTED] wrote:

 Provided you know the child-to-copy instance name, that's a workaround:

 say you have 2 mcs, one (a) created in your project and one (b) loaded
 externally.
 say you know the desired b-child instance name (b_child):

 //create a copy of the desired child
 var b_copy_child:MovieClip =
 b_child.duplicateMovieClip(copy,b.getNextHighestDepth());

 /*
 *then 2 ways:
 *a) if you simply want a reference to use in your project, work with
 b_copy_child;
 *b) if you really want b_child instance to be a child of a,
 reference it from within,
 *   thanks to the fact MovieClip is dynamic:
 */

 a.a_child = b_copy_child;

 This, unless I'm missing some more-DOM-like AS2 interfaces - and then
 I'd love to hear about..
 HTH
 francesco.p

 August Gresens wrote:
  Thanks much for your previous responses, very helpful.
 
  One more question - how can I duplicate or attach a child clip of one
  clip
  into another clip?
 
  For example, if I have two clips on the timeline, can I somehow copy
the
  first child of one clip into another?
 
  DuplicateMovieClip does not seem to provide this functionality. It
seems
  only allow you to create a duplicate that is attached to the same
parent
  clip. I want to be able to copy child clips from my loaded external
 clip,
  into various clips in my project.
 
  Thanks,
 
  August
 
  On 5/5/06, Francesco [EMAIL PROTECTED] wrote:
 
  Really don't know if is there a way to load a .fla asset (such as a
  Library) into an swf..
 
  but sure you can use an external swf as a content library, as long as
  all library items (children mcs):
  - can be referenced by instance name (which is to be set on the
 external
  .fla)
  - are not referenced by instance name, but can be univocally
retrieved
  by any other means (e.g. property values)
 
  once acquired desiredChildMovieClip, you can duplicate it on your
  project.
  HTH
  francesco
 
 
 
 
  August Gresens wrote:
   I guess what I'm looking for is an alternative to the clunky
Shared
   Library thing they've got set up. Im seeing now, however, that
even
   if I
   get this working, there would be no way to duplicate the externally
   loaded
   swf's child to a clip in my main project (right?). In essence, I
want
   to be
   able to use the externally loaded clip as a library - but it is
   starting to
   dawn on me that this is not possible (?).
  
   (By the way, I'm mystified that the Shared Library has been
  implemented
   the way that it has - the url requirement would seem to make it
   difficult to
   arbitrarily load external libraries into a movie without manually
   changing
   the URL properties in the IDE. It would be great if you could just
   load an
   external library the way we do external clips).
  
   Thanks,
  
   August
  
   On 5/5/06, Francesco [EMAIL PROTECTED] wrote:
  
   if I got correctly the point, you're asking:
   can I access children of an external swf loaded at any level into
my
   project via MovieClip.loadMovie() or MovieClipLoader.loadClip()?
   If not, sorry for bothering
   If yes, I think: sure you can, as long as you know their instance
  name.
   If you don't, you'll have to work them out:
  
   loadedMovie.loadMovie(externalSwf.swf);
  
   /*
   * now loadedMovie and externalSwf timelines overlap; if you know
the
   child's instance name the work is done.
   * if you don't I'll do like this (but chances are ways are better
  than
   this one):
   * try to provide some test_code that lets you find in a not
  ambiguos
   way the desired child mc among other children mcs
   */
  
   var desiredChildMovieClip:MovieClip;
   for (var i in loadedMovie) {
   if(test_code) {
  desiredChildMovieClip = loadedMovie[i];
   }
   }
  
   /*
   *   so desiredChildMovieClip is the child you were looking for.
   * if there's no such test_code thing, sorry I have no idea..
   */
  
   HTH
   francesco.p
  
   Jim Tann wrote:
You need to import one movieclip from the child swf into the
 parent
swf's library  have it placed on 

[Flashcoders] disable datagrid

2006-05-05 Thread Rodrigo Guerra
hi 
i´m trying to disabe a datagrid items

(from flash help)
my_dg.setSize(140, 100);

// Set up sample data.
var myDP_array:Array = new Array();
myDP_array.push({name:Clark, score:3135});
myDP_array.push({name:Bruce, score:403});
myDP_array.push({name:Peter, score:25});
my_dg.dataProvider = myDP_array;

my_dg.selectable = false; 


i just can't make it work(the items still highlight and are selectable) what 
i'm missing?

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

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

Re: [Flashcoders] disable datagrid

2006-05-05 Thread eric dolecki

did you try .enabled = false; ?
Never tried to disable a dg before...

On 5/5/06, Rodrigo Guerra [EMAIL PROTECTED] wrote:


hi
i´m trying to disabe a datagrid items

(from flash help)
my_dg.setSize(140, 100);

// Set up sample data.
var myDP_array:Array = new Array();
myDP_array.push({name:Clark, score:3135});
myDP_array.push({name:Bruce, score:403});
myDP_array.push({name:Peter, score:25});
my_dg.dataProvider = myDP_array;

my_dg.selectable = false;


i just can't make it work(the items still highlight and are selectable)
what i'm missing?

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

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



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

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


[Flashcoders] OS PSP RSS Reader

2006-05-05 Thread John Giotta

I whipped up a RSS Reader for the PSP Flash Player in just 2 hours.
It's open source so it's free anyone.
One thing I've notice is that the performance for parsing an XML
document is super slow and surprisingly XFactorStudios did the job
quicker with my first integration.

This is actually by first Mobile application, it proves very
difficult when you're so use to full player support.

So far RSS 2.0 is only supported.

Zip [http://jdgiotta.googlepages.com/PSPReader.zip]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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