Re: [Flashcoders] Re:Trying to set multiple images to 'export for AS' with JSFL

2009-12-14 Thread Konrad Grzegorzewicz
Thanks, it looks nice.
I'm really happy I finally got into jsfl, I just keep finding that js is not
exactly actionscript :-)
best
k


2009/12/9 Greg Ligierko 

> If you haven't seen this already:
> http://code.google.com/p/fueljsfl/
> There is a set of interesting JSFL scripts for various purposes. Also
> manipulation of bitmap items. But I cannot bet there is the exact case.
> g
>
>
> Wednesday, December 09, 2009 (12:48:52 AM) napisano:
>
> > Thanks guys.
> > I found a partial solution, which is changing all bitmap names with JSFL
> and
> > then clicking 600 times to assign a class name which by default is the
> > symbol name. Easier than setting the name by hand for each symbol, but
> still
> > a bit dumb.
>
>
> > 2009/12/2 Cedric Muller 
>
> >> but it isn't a MovieClip, is it ?
> >> A MovieClip can contain a (or multiple) Bitmaps, but a Bitmap cannot
> >> contain a MovieClip, so are these really the same ?
> >> and if you take lots of them: lots of Bitmaps are better than lots of
> >> MovieClips.
> >> ... or you can convert a MovieClip to Bitmap, but the opposite would be
> >> quite hard.
> >>
> >> But I may be caught in a landslide, and I don't know where I'll end 
> I
> >> answer without knowing what the inital question was. Pun me!
> >>
> >>
> >>  Craig Bowman wrote:
> >>>
>  It's NOT a bug. A bitmap can't be assigned the attributes you want
>  directly
>  and never has. It must be wrapped inside a symbol, like a MovieClip.
> 
> >>>
> >>> Not true, there is a fully working Bitmap symbol type just for this.
> >>>
> >>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re:Trying to set multiple images to 'export for AS' with JSFL

2009-12-09 Thread Greg Ligierko
If you haven't seen this already:
http://code.google.com/p/fueljsfl/
There is a set of interesting JSFL scripts for various purposes. Also
manipulation of bitmap items. But I cannot bet there is the exact case.
g


Wednesday, December 09, 2009 (12:48:52 AM) napisano:

> Thanks guys.
> I found a partial solution, which is changing all bitmap names with JSFL and
> then clicking 600 times to assign a class name which by default is the
> symbol name. Easier than setting the name by hand for each symbol, but still
> a bit dumb.


> 2009/12/2 Cedric Muller 

>> but it isn't a MovieClip, is it ?
>> A MovieClip can contain a (or multiple) Bitmaps, but a Bitmap cannot
>> contain a MovieClip, so are these really the same ?
>> and if you take lots of them: lots of Bitmaps are better than lots of
>> MovieClips.
>> ... or you can convert a MovieClip to Bitmap, but the opposite would be
>> quite hard.
>>
>> But I may be caught in a landslide, and I don't know where I'll end  I
>> answer without knowing what the inital question was. Pun me!
>>
>>
>>  Craig Bowman wrote:
>>>
 It's NOT a bug. A bitmap can't be assigned the attributes you want
 directly
 and never has. It must be wrapped inside a symbol, like a MovieClip.

>>>
>>> Not true, there is a fully working Bitmap symbol type just for this.
>>>
>>


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re:Trying to set multiple images to 'export for AS' with JSFL

2009-12-08 Thread Konrad Grzegorzewicz
Thanks guys.
I found a partial solution, which is changing all bitmap names with JSFL and
then clicking 600 times to assign a class name which by default is the
symbol name. Easier than setting the name by hand for each symbol, but still
a bit dumb.


2009/12/2 Cedric Muller 

> but it isn't a MovieClip, is it ?
> A MovieClip can contain a (or multiple) Bitmaps, but a Bitmap cannot
> contain a MovieClip, so are these really the same ?
> and if you take lots of them: lots of Bitmaps are better than lots of
> MovieClips.
> ... or you can convert a MovieClip to Bitmap, but the opposite would be
> quite hard.
>
> But I may be caught in a landslide, and I don't know where I'll end  I
> answer without knowing what the inital question was. Pun me!
>
>
>  Craig Bowman wrote:
>>
>>> It's NOT a bug. A bitmap can't be assigned the attributes you want
>>> directly
>>> and never has. It must be wrapped inside a symbol, like a MovieClip.
>>>
>>
>> Not true, there is a fully working Bitmap symbol type just for this.
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re:Trying to set multiple images to 'export for AS' with JSFL

2009-12-02 Thread Cedric Muller

but it isn't a MovieClip, is it ?
A MovieClip can contain a (or multiple) Bitmaps, but a Bitmap cannot  
contain a MovieClip, so are these really the same ?
and if you take lots of them: lots of Bitmaps are better than lots of  
MovieClips.
... or you can convert a MovieClip to Bitmap, but the opposite would  
be quite hard.


But I may be caught in a landslide, and I don't know where I'll  
end  I answer without knowing what the inital question was. Pun me!



Craig Bowman wrote:
It's NOT a bug. A bitmap can't be assigned the attributes you want  
directly

and never has. It must be wrapped inside a symbol, like a MovieClip.


Not true, there is a fully working Bitmap symbol type just for this.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re:Trying to set multiple images to 'export for AS' with JSFL

2009-12-01 Thread Henrik Andersson

Craig Bowman wrote:

It's NOT a bug. A bitmap can't be assigned the attributes you want directly
and never has. It must be wrapped inside a symbol, like a MovieClip.


Not true, there is a fully working Bitmap symbol type just for this.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re:Trying to set multiple images to 'export for AS' with JSFL

2009-11-30 Thread Craig Bowman
It's NOT a bug. A bitmap can't be assigned the attributes you want directly
and never has. It must be wrapped inside a symbol, like a MovieClip. If you
are in the Flash IDE and place a bitmap on the stage in frame one you'd
notice this immediately. So in JSFL :

 

 

// given a library of bitMaps turn them into movieClip symbols and then

// link them to "SomeClass" and export all for AS on first frame

var lib = fl.getDocumentDOM().library, dom = fl.getDocumentDOM();

var itemCount=lib.items.length, prefix="mc_", it, loopName, i;

for(i=0;ihttp://chattyfig.figleaf.com/mailman/listinfo/flashcoders