Re: [Flashcoders] mtasc and prototypes?

2006-09-02 Thread aaron smith

perfect. i'll give that a look. it's been a while since I looked at fuse. a
huge makeover to the site..

smith




On 9/2/06, Chris Allen <[EMAIL PROTECTED]> wrote:


Hi Arron,

I've never tried to use MTASC using a #include that you run in the
first frame of a SWF that you then inject with code like you are
doing, so I can't really say what your problem might be. From what I
can tell it should be no problem, it's the same thing as putting code
in the frame, but who knows.

Anyway, based on the types of prototype stuff you are adding to
MovieClip, you may want to check out Fuse:
http://mosessupposes.com/Fuse/index.html It's a really great library
for doing animations with code. It's extremely easy, simple and
convenient to use and definitely works with MTASC.

-Chris

On 9/2/06, aaron smith <[EMAIL PROTECTED]> wrote:
> Hi all, quick question. I've been running into problems with mtasc. I
think
> it is because of tweening classes. Like a tween class that has a bunch
of
> prototypes added onto the movie clips. mc_tween2.as for example. (
> http://hosted.zeh.com.br/mctween/). The way you add these in is by
including
> the file. I would usually do it  on the root timeline so mtasc wouldn't
> complain about an include. but it seems even including it from the root
> timeline, then trying to mtasc to that pre existing swf that has the
tween
> prototypes in the code already. doesn't go good. I'm thinking that's the
> problem that i've been having lately with mtasc. i've always used mtasc
on
> RIA's but now trying to get it going with most of my web projects, and
my
> web projects use all these tween prototypes, for convenience of course.
>
> So my question is, has anyone experienced this with tween classes that
use
> prototypes? I'm thinking the way to fix it is to create a mc_tween swf
that
> is precompiled with just an include of the tween class, then in any of
the
> other projects that using mtasc to compile, just load the mc_tween swf
> instead of including it in the compile.. that way mtasc should be ok..
>
> I'm going to give it a try and see what I can come up with, thats the
only
> case I can think of that is giving me mtasc issues, but it hasn't been
> consistant.
>
> thanks,
>
> Aaron
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] mtasc and prototypes?

2006-09-02 Thread Chris Allen

Hi Arron,

I've never tried to use MTASC using a #include that you run in the
first frame of a SWF that you then inject with code like you are
doing, so I can't really say what your problem might be. From what I
can tell it should be no problem, it's the same thing as putting code
in the frame, but who knows.

Anyway, based on the types of prototype stuff you are adding to
MovieClip, you may want to check out Fuse:
http://mosessupposes.com/Fuse/index.html It's a really great library
for doing animations with code. It's extremely easy, simple and
convenient to use and definitely works with MTASC.

-Chris

On 9/2/06, aaron smith <[EMAIL PROTECTED]> wrote:

Hi all, quick question. I've been running into problems with mtasc. I think
it is because of tweening classes. Like a tween class that has a bunch of
prototypes added onto the movie clips. mc_tween2.as for example. (
http://hosted.zeh.com.br/mctween/). The way you add these in is by including
the file. I would usually do it  on the root timeline so mtasc wouldn't
complain about an include. but it seems even including it from the root
timeline, then trying to mtasc to that pre existing swf that has the tween
prototypes in the code already. doesn't go good. I'm thinking that's the
problem that i've been having lately with mtasc. i've always used mtasc on
RIA's but now trying to get it going with most of my web projects, and my
web projects use all these tween prototypes, for convenience of course.

So my question is, has anyone experienced this with tween classes that use
prototypes? I'm thinking the way to fix it is to create a mc_tween swf that
is precompiled with just an include of the tween class, then in any of the
other projects that using mtasc to compile, just load the mc_tween swf
instead of including it in the compile.. that way mtasc should be ok..

I'm going to give it a try and see what I can come up with, thats the only
case I can think of that is giving me mtasc issues, but it hasn't been
consistant.

thanks,

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

2006-09-02 Thread Adam Pasztory

You can get lmc_tween to work, (I used it for Samurai Kittens) but it
definitely takes some tinkering.  How about using Fuse instead?
http://www.mosessupposes.com/Fuse/index.html
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] mtasc and prototypes?

2006-09-02 Thread aaron smith

Hi all, quick question. I've been running into problems with mtasc. I think
it is because of tweening classes. Like a tween class that has a bunch of
prototypes added onto the movie clips. mc_tween2.as for example. (
http://hosted.zeh.com.br/mctween/). The way you add these in is by including
the file. I would usually do it  on the root timeline so mtasc wouldn't
complain about an include. but it seems even including it from the root
timeline, then trying to mtasc to that pre existing swf that has the tween
prototypes in the code already. doesn't go good. I'm thinking that's the
problem that i've been having lately with mtasc. i've always used mtasc on
RIA's but now trying to get it going with most of my web projects, and my
web projects use all these tween prototypes, for convenience of course.

So my question is, has anyone experienced this with tween classes that use
prototypes? I'm thinking the way to fix it is to create a mc_tween swf that
is precompiled with just an include of the tween class, then in any of the
other projects that using mtasc to compile, just load the mc_tween swf
instead of including it in the compile.. that way mtasc should be ok..

I'm going to give it a try and see what I can come up with, thats the only
case I can think of that is giving me mtasc issues, but it hasn't been
consistant.

thanks,

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

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


Re: [Flashcoders] Slighty OT: phone suggestions?

2006-09-02 Thread John Grden

yeah the wifi, is a great feature - exactly why I was looking at that model

On 9/1/06, Serge Jespers <[EMAIL PROTECTED]> wrote:


Bill Perry told me a while back that they were working on the FL2
player for S60 3rd edition phones (like the N80).
Haven't heard back from him in a while though so I have no idea on
where Adobe is with that at this point...

Having an N80 myself (bought it for the Wifi capabilities), I really
want this too...

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

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





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

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


Re: [Flashcoders] smooth MTASC/Mac workflow?

2006-09-02 Thread aaron smith

i succecssfully used TextMate and mtasc for a long time. I acatually loved
the workflow. but since switching jobs have had t ogo back to PC.. anyway,
in TextMate you can have it execute pre written command line commands and
assign it shortcuts. Thats how I did it. And with mtasc, using existant swfs
is posible. just use the -swf and give it the swf to replace out the code
with.. and use the -keep tag to keep in all the flash compiled code in.. i'd
just read some docs over at www.mtasc.org.

Sorry I don't have any examples of all this. I just know it has been done
gracefully, i've done it.. it just takes some time and research to get set
up.. look into writing either a snippet or the command line in TextMate..

or you could just keep open a terminal window and command + tab back and
forth when compiling..

later

smith




On 9/2/06, Michael Bedar <[EMAIL PROTECTED]> wrote:


Actually, could someone answer the same question in regards to Flex
on the Mac? I have been just using a shell script to compile from
bbedit, but I'd love a more integrated solution to hold me over ...

mike


On Sep 2, 2006, at 4:31 PM, John Grden wrote:

> Yeah read my reply to your message on the Flasc list
> (www.osflash.org/flasc)
>
> now that flasc can execute apple script commands, you can use mtasc
> from the
> flash ide on a mac ;)
>
> what you're doing is completely doable and is the reason why I
> created Flasc
> in the first place ;)
>
> jpg
>
> On 9/2/06, Josh Santangelo <[EMAIL PROTECTED]> wrote:
>>
>> Is anyone using MTASC on Mac in a workflow that doesn't require tons
>> of jumping through hoops? Everything I've read seems incredibly
>> complicated and brittle. I use TextMate but wouldn't be opposed to
>> Eclipse or something instead. I generally work with FLAs that have
>> all my assets in them as movieclips linked to class files. Does MTASC
>> even support working with SWFs like that? What I've read seems to say
>> that you need to have a SWF full of assets which just have linkage
>> IDs, then you inject code into that and use lots of attachmovies to
>> actually use the assets.
>>
>> I'd like to use MTASC, but don't want to change my entire way of
>> working and/or coding just to do so.
>>
>> thanks,
>> -josh
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
>
>
>
> --
> [  JPG  ]
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com

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

2006-09-02 Thread dnk

Sönke Rohde wrote:

Hi,

Thanks for clearing this up but I expected Squeeze to handle this internaly.
Does anybody know a solution where video and audio of Vob-files are
converted together?

Thanks,
Sönke

  


Well this is a little bit of a 2 step process, but you could use 
"handbrake" if you are on a mac, and convert the VOB to MP4 (with 
audio), then squeeze it into the FLV.



d



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

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


Re: [Flashcoders] smooth MTASC/Mac workflow?

2006-09-02 Thread Michael Bedar
Actually, could someone answer the same question in regards to Flex  
on the Mac? I have been just using a shell script to compile from  
bbedit, but I'd love a more integrated solution to hold me over ...


mike


On Sep 2, 2006, at 4:31 PM, John Grden wrote:

Yeah read my reply to your message on the Flasc list  
(www.osflash.org/flasc)


now that flasc can execute apple script commands, you can use mtasc  
from the

flash ide on a mac ;)

what you're doing is completely doable and is the reason why I  
created Flasc

in the first place ;)

jpg

On 9/2/06, Josh Santangelo <[EMAIL PROTECTED]> wrote:


Is anyone using MTASC on Mac in a workflow that doesn't require tons
of jumping through hoops? Everything I've read seems incredibly
complicated and brittle. I use TextMate but wouldn't be opposed to
Eclipse or something instead. I generally work with FLAs that have
all my assets in them as movieclips linked to class files. Does MTASC
even support working with SWFs like that? What I've read seems to say
that you need to have a SWF full of assets which just have linkage
IDs, then you inject code into that and use lots of attachmovies to
actually use the assets.

I'd like to use MTASC, but don't want to change my entire way of
working and/or coding just to do so.

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

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





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

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


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

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


[Flashcoders] RE: [flexcoders] > Adobe at IBC

2006-09-02 Thread David Mendels
Hi,

I can't say off the top of my head, but we do have a booth there and
there will be folks both from Adobe Europe and from HQ.

I expect our main representation will be from teams associated with our
video products: Flash Media Server, Video Production Suite, and of
course, Flash authoring as well.  I don't expect there will be anyone
there from the Flex team.

Regards,
David
Adobe

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Weyert de Boer
Sent: Saturday, September 02, 2006 3:51 PM
To: Flashcoders mailing list; flexcoders@yahoogroups.com
Subject: [flexcoders] > Adobe at IBC

Does anyone know which Adobe people will go to IBC?

Yours,
Weyert


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

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

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

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



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

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


Re: [Flashcoders] smooth MTASC/Mac workflow?

2006-09-02 Thread John Grden

Yeah read my reply to your message on the Flasc list (www.osflash.org/flasc)

now that flasc can execute apple script commands, you can use mtasc from the
flash ide on a mac ;)

what you're doing is completely doable and is the reason why I created Flasc
in the first place ;)

jpg

On 9/2/06, Josh Santangelo <[EMAIL PROTECTED]> wrote:


Is anyone using MTASC on Mac in a workflow that doesn't require tons
of jumping through hoops? Everything I've read seems incredibly
complicated and brittle. I use TextMate but wouldn't be opposed to
Eclipse or something instead. I generally work with FLAs that have
all my assets in them as movieclips linked to class files. Does MTASC
even support working with SWFs like that? What I've read seems to say
that you need to have a SWF full of assets which just have linkage
IDs, then you inject code into that and use lots of attachmovies to
actually use the assets.

I'd like to use MTASC, but don't want to change my entire way of
working and/or coding just to do so.

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

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





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

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


[Flashcoders] smooth MTASC/Mac workflow?

2006-09-02 Thread Josh Santangelo
Is anyone using MTASC on Mac in a workflow that doesn't require tons  
of jumping through hoops? Everything I've read seems incredibly  
complicated and brittle. I use TextMate but wouldn't be opposed to  
Eclipse or something instead. I generally work with FLAs that have  
all my assets in them as movieclips linked to class files. Does MTASC  
even support working with SWFs like that? What I've read seems to say  
that you need to have a SWF full of assets which just have linkage  
IDs, then you inject code into that and use lots of attachmovies to  
actually use the assets.


I'd like to use MTASC, but don't want to change my entire way of  
working and/or coding just to do so.


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

2006-09-02 Thread Weyert de Boer

Does anyone know which Adobe people will go to IBC?

Yours,
Weyert
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] newbie - FLVPlayback component and loading external FLV files via XML

2006-09-02 Thread flashcoders
Does anyone have an example of using the FLVPlayback component and loading 
external FLV files via XML?  

Right now I have a instance of the FLVPlayback component on my stage with an 
instance name of myFLVPlayback.  In my actionscript, I have this:

  _root.myFLVPlayback._visible = false;

which sets the visibility to false.  When a user selects the "Show Video" btn 
on my stage it sets _visible = true; and then I need it to load the contentPath 
from my XML file.  

This is currenlty what I have attached to my btn:

on (release) {
 this.videobkgd_mc.gotoAndPlay("2");
 _root.myFLVPlayback._visible = true;
 
import mx.video.*;
var listenerObject:Object = new Object();
listenerObject.ready = function(eventObject:Object):Void {

_root.myFLVPlayback.play();
};
myFLVPlayback.addEventListener("ready", listenerObject);
myFLVPlayback.contentPath = "http://www.helpexamples.com/flash/video/water.flv";;
}

This is the example in the help section I found.  I am trying to set the 
content path from my XML, but my video is rtmp: and even when I just type in 
the path to my flv file it won't play.  Can anyone help?  Or have an example I 
can check out that is pulling videos from an XML file??  I am in desperate need 
to get this to work!!

What I eventually need is to create a function because I will need to load 
different videos based on selection, but right now I am just attaching it to my 
button to see if I can get this FLVPlayback componenet to work.  I am not 
familiar with the FLVPlayback componenet and there is not much out there. 

Thanks!

P. Joel Pasion
www.zynergystudios.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] (no subject)

2006-09-02 Thread Marshall MacGillivray

I agree i read throught that book and was quite surprised at how useful it
is.


I really like the AdvancED  / Friends of Ed books .. another one in that
series that i enjoyed was the

Flash Application Design Solutions: The Flash Usability Handbook (Paperback)


http://www.amazon.co.uk/Flash-Application-Design-Solutions-Flash-Usability-Handbook/dp/1590595947/sr=1-1/qid=1157223928/ref=sr_1_1/202-2470814-8257456?ie=UTF8&s=books

I put the amazon link but if you purchase through the friends of ed site
it's half the price or something

i've got another book soaly on design patterns but i can't think of the name
right now i'll post it later.




**
On 9/2/06, Pete Miller <[EMAIL PROTECTED]> wrote:


I picked this book up after thumbing through it and deciding that one or
two
chapters would solve a problem I had.  Later, when I read the entire book,
I
realized that the XML layout framework described by the author is quite
useful.  I am currently using it in a next-gen version of a project that
recently finished up.

I was originally looking for details on writing my own components, and it
still came up a bit shy (although it beat all the other choices of books),
but it contains enough insight that I was able to muddle through what I
needed to do.  As I said, the application framework (which is freely
available for download) is quite useful.

P.

>
>any experience of this tome?
>
>
>AdvancED ActionScript Components: Mastering the Flash Component
>Architecture
>
><
http://www.amazon.com/AdvancED-ActionScript-Components-Component-Architecture/dp/1590595939/ref=sr_11_1/103-9985048-8171815?ie=UTF8
>
>
>James


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

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





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

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


Re: [Flashcoders] ListBox component, get Data (2nd Value)?!

2006-09-02 Thread Marshall MacGillivray

When i have to add more than one data i like to use objects rather than
arrays like so


var obj:Object = new Object();
obj.name = "foo";
obj.age = 18;
obj.weight = 500; //lbs pretty big !

lista.addItem ({label:"Shown on list",data:obj});

// then to get the data.

age = lista.selectedItem.data.age;
name = lista.selectedItem.data.name;
isFat = (lista.selectedItem.data.weight > 300); //boolean


Array's work too but i find objects easier to read but that's may just be.




On 9/1/06, Arul Prasad M L <[EMAIL PROTECTED]> wrote:


AFAIK, addItem takes only the label and ONE data element.

To save 2 data elements into the data part, you can make an array with
both
the values, and add that array as the data.

Like this:

lista.addItem(categorias[n + 1], [categorias[n + 0], categorias[n + 3]])

Now, to access the second element, you can access it as

lista.sellectedItem.data[1]

~Arul Prasad.

On 9/1/06, MJorge <[EMAIL PROTECTED]> wrote:
>
> Need a tiny help here folks,
>
> I have a listBox which i am inserting items with one label and two
values
> of
> data in it.
>
> Like this:
>
> lista.addItem (categorias[n + 1], categorias[n + 0], categorias[n + 3]);
>
> Now, how can i get the value of my data (2nd one) ?!
>
> At first i haded only one value in the data and was doing this:
>
> foto = _root.categoria1.lista.getItemAt (z).data;  (which was (is)
> working,
> but now i need to had another value, how can i get the second one?)
>
> Thanks,
>
> --
> 
> Mário Jorge
> Icq: 164987050
> Msn: [EMAIL PROTECTED]
> Blog: http://www.beedigital.net/blog
> 
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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





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

2006-09-02 Thread Pete Miller
I picked this book up after thumbing through it and deciding that one or two 
chapters would solve a problem I had.  Later, when I read the entire book, I 
realized that the XML layout framework described by the author is quite 
useful.  I am currently using it in a next-gen version of a project that 
recently finished up.


I was originally looking for details on writing my own components, and it 
still came up a bit shy (although it beat all the other choices of books), 
but it contains enough insight that I was able to muddle through what I 
needed to do.  As I said, the application framework (which is freely 
available for download) is quite useful.


P.



any experience of this tome?


AdvancED ActionScript Components: Mastering the Flash Component 
Architecture




James



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

2006-09-02 Thread PR Durand

Hi List
Is there a way to know an MC affected "export for actionscript" linkage 
id via AS code?

thx
PiR

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/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: OOP methodology and flash. I'm loosing my faith...

2006-09-02 Thread Marcelo de Moraes Serpa

Meinte, AS3 allows prototyping as far as I know.

On 8/31/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:


I'm not sure prototyping can be done in as 3.0 since it does introduce
sealed classes and such and is pretty strict oop as far as i can tell. But
perhaps I've overlooked something, it would definetely be a nice thing,
I like prototyping as well.

-Meinte

On 8/30/06, Kevin Newman <[EMAIL PROTECTED]> wrote:
>
> I really like OOP, like Javascript style prototyping and look forward to
> use a combination of both in AS3. Having said that, I really was not
> impressed with AS2.0, mostly because of some of it's bugs that made it
> work in odd ways (mostly related to scoping issues, which are only
> partially solved with the Delegate Class).
>
> So for me I usually prefer either AS1.0, or (I imagine, since I haven't
> gotten around to it yet) AS 3.0.
>
> It's nice not to be locked into either OOP, or procedural, or typed or
> untyped. It seems like AS 3.0 will let me do the one I want to at the
> moment (without being buggy like AS 2.0). :-)
>
> Kevin N.
>
>
>
> James wrote:
> > I think that the mixture of prototype based and class based OOP is
> > really interesting. I think prototype based object orientated
> > languages (such as AS1.0 and JavaScript) are really pretty cool and
> > you can do amazing things with them.
> >
> > I read somewhere (sorry can't find link but it was on sitepoint.com
> > written by Harry Fuecks)  that one of the leading technical directors
> > at google had produced a patterns book with most of the important
> > patterns completely rewritten for prototype OO languages and many of
> > them were far simpler and much less code.
> >
> > of course there is always the trade off with any dynamic language -
> > the less errors can be caught at 'compile time' the more you have to
> > test the code using 'unit testing' at run time.
> >
> > I take any comments like 'AS2 is crap' or 'PHP is crap' or whatever
> > with a huge pinch of salt. Ask them 'Do you think people at
> > Macromedia/Adobe don't know what they're doing?' usually these people
> > have a computer science degree from Wolverhampton Poly or somesuch and
> > couldn't get a job at Adobe or Macromedia if they promised to work for
> > nothing and give foot massages to all the other developers whilst
> > compiling.
> >
> > James
> >
> > At 15:12 25/08/2006, you wrote:
> >> When it comes to OOP and Flash I think an individuals opinion comes
> from
> >> their knowledge of OOP. Those that have used it swear by it and vice
> >> versa.
> >> This is pretty much how it is with everything. I remember at the
> >> release of
> >> AS2 there were quite a few developers that I had interactions with
> >> that were
> >> saying that AS2 was crap and not to use it. I wonder how well that
> >> worked
> >> out for them :)
> >>
> >> - darren
>
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] Using assets from external SWF

2006-09-02 Thread Marcelo de Moraes Serpa

Hi Tony,

There are some posts by me on the flashdevelop.org forums:

http://www.flashdevelop.org/community/viewtopic.php?t=511

This should get you started :)

The sharepoint trick was originally published on FlashKit, I don't remember
the name or the link though, sorry. Try a search there.

Good luck,

Marcelo.

On 8/28/06, Anthony Lee <[EMAIL PROTECTED]> wrote:


Marcelo de Moraes Serpa wrote:
> No you can´t unless it´s a RSL and you're using the sharepoint trick
> (if you
> don´t know what it is just do a quick search on google about rsl and
> sharepoint).
Hi Marcelo,

I did that and was not able to turn it up.

Do you have a link to anything on the 'sharepoint' trick.

Thanks,
Tony
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Creating a scrollable list: adding components tothe scrollpane contents

2006-09-02 Thread jcarlos

the problem I think is related to


var item = listContainer.createClassObject(symbolName,
instanceName,
this.getNextHighestDepth(), props);


you shoul let DepthManager manage the Depth

var item = listContainer.createClassChildAtDepth(symbolName, instanceName, 
DepthManager.kTop, props);



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

To: "Flashcoders mailing list" 
Sent: Saturday, September 02, 2006 9:38 AM
Subject: Re: [Flashcoders] Creating a scrollable list: adding components 
tothe scrollpane contents



Couldn't you put the list component in a movieclip and add attach the 
movieclip to the scrollPane (which is a lot easier).

Also, what is  your 'createUniqueInstanceName()' function ?

Matt Bennett wrote:

Hello Flashcoders,

I'm building a scrollable list, and I keep track of the list items
with a Collection. I'm having trouble adding items to it - I think I'm
overwriting some instance variables somewhere.

In the code below, listContainer is a reference to the contents of a
ScrollPane component:

var listContainer = scrollPane.content;

Here's my function to add a list item:

  function addListItem(symbolName, props)
  {
  // Create the content (instance name: _itemX)
  var instanceName = this.createUniqueInstanceName();
  var item = listContainer.createClassObject(symbolName,
instanceName,
this.getNextHighestDepth(), props);

  //add to list items
  listItems.addItem(item);

  trace("");
  trace("debugging addItem");
  var iterator = listItems.getIterator();
  while(iterator.hasNext()) {
  var thisitem = iterator.next();
  trace("this item: "+thisitem+"; type:
"+thisitem.className);
  }
  trace("");

  return item;
  }


After adding 3 items, the debug trace looks like this:


debugging addItem
this item: ; type: undefined
this item: ; type: undefined
this item: _level0.QUESTION
PAD.contentWidget.questionList.scrollPane.spContentHolder._item2;
type: View


I assumed that I was overwriting an instance name somewhere, but I
also traced the contents of listContainer with a for-in loop. This is
the output after the first item is added:


this item: 2441; type: undefined; text: undefined
...other irrelevant stuff
this item: true; type: undefined; text: undefined
this item: _level0.QUESTION
PAD.contentWidget.questionList.scrollPane.spContentHolder._item0;
type: View; text: question 1


And this the output after the second item is added:


this item: 2441; type: undefined; text: undefined
...other irrelevant stuff
this item: true; type: undefined; text: undefined
this item: _level0.QUESTION
PAD.contentWidget.questionList.scrollPane.spContentHolder._item1;
type: View; text: question 2


So it looks to me like I'm actually overwriting each _itemX instance
on listContainer - and hence the references in the Collection become
null pointers.

Does anyone have any experience with this?

Many thanks,
Matt.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Vob to FLV without Sound

2006-09-02 Thread erixtekila
I use Ulead Video Studio 10 for this. I import Vob, convert to mpeg1, 
then with the Flash Video Encoder I can convert mpeg1 to flv.

Hm, FVE is one pass CBR only.
Expect more quality with other tools.
---
erixtekila
http://blog.v-i-a.net/

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

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


Re: [Flashcoders] Creating a scrollable list: adding components to the scrollpane contents

2006-09-02 Thread Jeroen Beckers
Couldn't you put the list component in a movieclip and add attach the 
movieclip to the scrollPane (which is a lot easier).

Also, what is  your 'createUniqueInstanceName()' function ?

Matt Bennett wrote:

Hello Flashcoders,

I'm building a scrollable list, and I keep track of the list items
with a Collection. I'm having trouble adding items to it - I think I'm
overwriting some instance variables somewhere.

In the code below, listContainer is a reference to the contents of a
ScrollPane component:

var listContainer = scrollPane.content;

Here's my function to add a list item:

  function addListItem(symbolName, props)
  {
  // Create the content (instance name: _itemX)
  var instanceName = this.createUniqueInstanceName();
  var item = listContainer.createClassObject(symbolName,
instanceName,
this.getNextHighestDepth(), props);

  //add to list items
  listItems.addItem(item);

  trace("");
  trace("debugging addItem");
  var iterator = listItems.getIterator();
  while(iterator.hasNext()) {
  var thisitem = iterator.next();
  trace("this item: "+thisitem+"; type:
"+thisitem.className);
  }
  trace("");

  return item;
  }


After adding 3 items, the debug trace looks like this:


debugging addItem
this item: ; type: undefined
this item: ; type: undefined
this item: _level0.QUESTION
PAD.contentWidget.questionList.scrollPane.spContentHolder._item2;
type: View


I assumed that I was overwriting an instance name somewhere, but I
also traced the contents of listContainer with a for-in loop. This is
the output after the first item is added:


this item: 2441; type: undefined; text: undefined
...other irrelevant stuff
this item: true; type: undefined; text: undefined
this item: _level0.QUESTION
PAD.contentWidget.questionList.scrollPane.spContentHolder._item0;
type: View; text: question 1


And this the output after the second item is added:


this item: 2441; type: undefined; text: undefined
...other irrelevant stuff
this item: true; type: undefined; text: undefined
this item: _level0.QUESTION
PAD.contentWidget.questionList.scrollPane.spContentHolder._item1;
type: View; text: question 2


So it looks to me like I'm actually overwriting each _itemX instance
on listContainer - and hence the references in the Collection become
null pointers.

Does anyone have any experience with this?

Many thanks,
Matt.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Vob to FLV without Sound

2006-09-02 Thread Jim Berkey
I use Ulead Video Studio 10 for this. I import Vob, convert to mpeg1, then with 
the Flash Video Encoder I can convert mpeg1 to flv.
jimbo

*** REPLY SEPARATOR  ***

On 9/2/2006 at 1:18 PM Sönke Rohde wrote:

>Hi,
>
>Thanks for clearing this up but I expected Squeeze to handle this
>internaly.
>Does anybody know a solution where video and audio of Vob-files are
>converted together?
>
>Thanks,
>Sönke
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf
>> Of Count Schemula
>> Sent: Friday, September 01, 2006 7:49 PM
>> To: Flashcoders mailing list
>> Subject: Re: [Flashcoders] Vob to FLV without Sound
>>
>> Vob files are multiplexed.
>>
>> A lot of times I have to rip the audio out as a seperate file, rip the
>> VOB to an intermediate format like Quicktime Animation and then use a
>> video editor to export the video track and the audio track back out as
>> a single file and then go to final compression.
>>
>>
>> On 9/1/06, Sönke Rohde <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > I tried to convert a Vob to FLV using Sorenson Squeeze 4.2.
>> The preview
>> > plays audio but when I try to encode it the sound is missing.
>> >
>> > Thanks,
>> > Sönke
>> >
>> > ___
>> > Flashcoders@chattyfig.figleaf.com
>> > To change your subscription options or search the archive:
>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >
>> > Brought to you by Fig Leaf Software
>> > Premier Authorized Adobe Consulting and Training
>> > http://www.figleaf.com
>> > http://training.figleaf.com
>> >
>>
>>
>> --
>> count_schemula
>>
>> http://www.thelargeglass.com/flashNo0b/";>files for No0bs
>> ___
>> Flashcoders@chattyfig.figleaf.com
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/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

i

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

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


RE: [Flashcoders] Vob to FLV without Sound

2006-09-02 Thread Sönke Rohde
Hi,

Thanks for clearing this up but I expected Squeeze to handle this internaly.
Does anybody know a solution where video and audio of Vob-files are
converted together?

Thanks,
Sönke

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Count Schemula
> Sent: Friday, September 01, 2006 7:49 PM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Vob to FLV without Sound
> 
> Vob files are multiplexed.
> 
> A lot of times I have to rip the audio out as a seperate file, rip the
> VOB to an intermediate format like Quicktime Animation and then use a
> video editor to export the video track and the audio track back out as
> a single file and then go to final compression.
> 
> 
> On 9/1/06, Sönke Rohde <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I tried to convert a Vob to FLV using Sorenson Squeeze 4.2. 
> The preview
> > plays audio but when I try to encode it the sound is missing.
> >
> > Thanks,
> > Sönke
> >
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> 
> 
> -- 
> count_schemula
> 
> http://www.thelargeglass.com/flashNo0b/";>files for No0bs
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/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] ANN: Screenweaver HX - Version 1.0

2006-09-02 Thread Ian Thomas

On 9/2/06, Zárate <[EMAIL PROTECTED]> wrote:


Having said that, it will be a huge surprise for me if they allow us
freely adding our own plugins.


Why not? They did with Director..?

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

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


Re: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-09-02 Thread Zárate

"I assume will be gecko"

Hopefully your're right. I think this is a key point that Adobe
shouldn't wait to disclose. Because at this point is something that
they should alredy have decided.

Having said that, it will be a huge surprise for me if they allow us
freely adding our own plugins. Hopefully again you're right and I'm
wrong. But why should they keep this in secret?

Let's see.

Cheers,

On 9/2/06, hank williams <[EMAIL PROTECTED]> wrote:

but you won't be able to write it all in
> one language if you choose, nor will you be able to extend it how you
> see fit.
>

Sure you will. They are including a browser engine which I assume will
be gecko. This means they will support a plugin architecture. Its not
the same thing as neko, but on the other hand it will easily support
lots of existing compiled code.

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

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




--
Juan Delgado - Zárate
http://www.zarate.tv
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


Re: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-09-02 Thread hank williams

but you won't be able to write it all in

one language if you choose, nor will you be able to extend it how you
see fit.



Sure you will. They are including a browser engine which I assume will
be gecko. This means they will support a plugin architecture. Its not
the same thing as neko, but on the other hand it will easily support
lots of existing compiled code.

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

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