Re: [Flashcoders] Animated gif

2008-01-28 Thread ekameleon
Hello :)

You can see too the AS3 Gif Player class : http://www.bytearray.org/?p=95

EKA+ :)

2008/1/29, tommek <[EMAIL PROTECTED]>:
>
> Dynamically loading animated gif in flash and get them to play is that
> possible.
>
> I found
>
> http://dougmccune.com/blog/2007/01/19/how-to-load-animated-gifs-using-adobe-flex-20/
> it has been done in Flex.
>
> Can this be done in flash cs3 as3 code?
>
> Is it possible to the loader |to mimeType="application/octet-stream"?|
> ___
> 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


[Flashcoders] Animated gif

2008-01-28 Thread tommek
Dynamically loading animated gif in flash and get them to play is that 
possible.


I found 
http://dougmccune.com/blog/2007/01/19/how-to-load-animated-gifs-using-adobe-flex-20/ 
it has been done in Flex.


Can this be done in flash cs3 as3 code?

Is it possible to the loader |to mimeType="application/octet-stream"?|
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Zoom size restriction in flash

2008-01-28 Thread Deepanjan Das
Hi everyone,
Can anyone tell me the image zoom max limit in flash, after which there is a
memory overflow and the image cannot be seen.

Thank you

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


Re: [Flashcoders] OldSchool buttons w/NewSchool AS

2008-01-28 Thread Steven Sacks

Trick o' the day:

Make a MovieClip.  Inside it put the following frame labels:

_up
_over
_down (optional)

Assign any mouse action (onRelease, onPress, onRollOver, etc.) to the 
MovieClip and it will behave like a Button except it's a MovieClip so 
you can target stuff inside.


Steven Sacks
Flash Maestro
Los Angeles, CA
--
blog: http://www.stevensacks.net
gaia: http://www.gaiaflashframework.com

Andrew Sinning wrote:
Old school (4-frame) buttons are so nice because they give designers 
direct access to the look of the button in each of four states, but as a 
programmer they've always driven me nuts.  I want to use AS to control 
the buttons.  I want a set of templates that determine what the body of 
the button looks like and the ability to dynamically set the text and/or 
graphical "content" inside the border of the button.  While I can think 
of a few ways to do this, I don't want to reinvent the wheel and I'm 
looking for some friendly wisdom.  I see the world through the eyes of a 
programmer, and I've been a soloist for a very, very long time.  New 
opportunities call for me to lead and direct artists, and to provide a 
framework that won't hinder their creativity.

___
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] Event Handling in ActionScript 3

2008-01-28 Thread Guybrush Threepwood
Thank you again!
I can't think of a reason not to extend EventDispatcher. I think most
classes in AS3 seem to be a subclass of it.
I'm sure there must be cases where you can't just extend EventDispatcher. I
just can't think of one now.

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


Re: [Flashcoders] Event Handling in ActionScript 3

2008-01-28 Thread Hans Wichman
Hi,
basically you look at every method in the interface, and write a method in
your own class with the exact same signature and then you declare the class
as an implemenation of that interface.

Say you'd have an interface ISerializable which would allow you to convert
an object to xml , the interface would have a method:
public function serialize():XML;

And each class that implemented it would have to write the actual method to
do so.

And about the monkey island thing, I'm not sure myself now and then:)

greetz
JC

On Mon, Jan 28, 2008 at 3:43 AM, Guybrush Threepwood <
[EMAIL PROTECTED]> wrote:

> Hans/JC/Glen,Thanks for your great advice.
>
> I understand the new event mechanism is far better than the callback thing
> I
> used to do.
> I think I'll do as you say. Just wanted to know if it was possible at all.
>
> Any URLs on how to implement IEventDispatcher? I'm not used to implement
> interfaces. I'm used to extend classes (using inheritance) but not sure
> how
> to implement interfaces in AS3.
>
> Thanks!!
> Guybrush
>
> PS: How do you know I'm not in Monkey Island?
>  ___
> 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] OldSchool buttons w/NewSchool AS

2008-01-28 Thread Glen Pike

Hi,

   That's the same approach I have taken - create basic rollover button 
code and give the designers a template.  It is not a hugely different 
with AS3; extend MovieClip, add event handlers for mouse over, etc.  
then fill in the functionality as you see fit.  It's a good exercise too 
if you are finding your way around new code, so re-inventing the wheel 
has benefits and maybe enables you to refactor some old code to update it.


   HTH

   Glen

Matthew James Poole wrote:

A number of companies I've worked for have had solutions for this along
a similar vein.

Basically you have labeled states in a MovieClip and that MovieClip has
a AS class linkage and you have code that manages the states. It does
mean that the desingers have to remember to use the class linkage, but
I've never found a problem explaining that to them - just a small
learning curve on their part.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Sinning
Sent: 28 January 2008 15:28
To: Flash Coders
Subject: [Flashcoders] OldSchool buttons w/NewSchool AS

Old school (4-frame) buttons are so nice because they give designers
direct access to the look of the button in each of four states, but as a
programmer they've always driven me nuts.  I want to use AS to control
the buttons.  I want a set of templates that determine what the body of
the button looks like and the ability to dynamically set the text and/or
graphical "content" inside the border of the button.  While I can think
of a few ways to do this, I don't want to reinvent the wheel and I'm
looking for some friendly wisdom.  I see the world through the eyes of a
programmer, and I've been a soloist for a very, very long time.  New
opportunities call for me to lead and direct artists, and to provide a
framework that won't hinder their creativity.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  


Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If you are not the named addressee of this e-mail, you may not copy or use it, or forward or otherwise disclose it to anyone else. If you have received this e-mail in error, please e-mail the sender by replying to this message and then fully delete it from your system. 


Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


  


--

Glen Pike
01736 759321
www.glenpike.co.uk 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] OldSchool buttons w/NewSchool AS

2008-01-28 Thread Matthew James Poole
A number of companies I've worked for have had solutions for this along
a similar vein.

Basically you have labeled states in a MovieClip and that MovieClip has
a AS class linkage and you have code that manages the states. It does
mean that the desingers have to remember to use the class linkage, but
I've never found a problem explaining that to them - just a small
learning curve on their part.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Sinning
Sent: 28 January 2008 15:28
To: Flash Coders
Subject: [Flashcoders] OldSchool buttons w/NewSchool AS

Old school (4-frame) buttons are so nice because they give designers
direct access to the look of the button in each of four states, but as a
programmer they've always driven me nuts.  I want to use AS to control
the buttons.  I want a set of templates that determine what the body of
the button looks like and the ability to dynamically set the text and/or
graphical "content" inside the border of the button.  While I can think
of a few ways to do this, I don't want to reinvent the wheel and I'm
looking for some friendly wisdom.  I see the world through the eyes of a
programmer, and I've been a soloist for a very, very long time.  New
opportunities call for me to lead and direct artists, and to provide a
framework that won't hinder their creativity.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

__
This e-mail has been scanned for viruses by the Virtual Universe e-mail
security system - powered by MessageLabs.
http://www.virtual-universe.net

__

Virtual Universe Ltd, 28-39 The Quadrant, 135 Salusbury Road, London  NW6 6RJ

Tel:  +44 (0) 870 788 6000  

Fax: +44 (0) 870 788 6689

Web:www.virtual-universe.net

-

CONFIDENTIALITY NOTICE

This e-mail may contain information which is confidential and privileged. If 
you are not the named addressee of this e-mail, you may not copy or use it, or 
forward or otherwise disclose it to anyone else. If you have received this 
e-mail in error, please e-mail the sender by replying to this message and then 
fully delete it from your system. 

Any views or opinions presented in this e-mail are solely those of the author 
and do not necessarily represent those of Amplefuture Group. Amplefuture Group 
reserves the right to monitor e-mail communications from both external and 
internal sources for the purposes of ensuring correct and appropriate use of 
our communication equipment.



__
This e-mail has been scanned for viruses by the Virtual Universe e-mail 
security system - powered by MessageLabs. http://www.virtual-universe.net

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


[Flashcoders] OldSchool buttons w/NewSchool AS

2008-01-28 Thread Andrew Sinning
Old school (4-frame) buttons are so nice because they give designers 
direct access to the look of the button in each of four states, but as a 
programmer they've always driven me nuts.  I want to use AS to control 
the buttons.  I want a set of templates that determine what the body of 
the button looks like and the ability to dynamically set the text and/or 
graphical "content" inside the border of the button.  While I can think 
of a few ways to do this, I don't want to reinvent the wheel and I'm 
looking for some friendly wisdom.  I see the world through the eyes of a 
programmer, and I've been a soloist for a very, very long time.  New 
opportunities call for me to lead and direct artists, and to provide a 
framework that won't hinder their creativity.

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


Re: [Flashcoders] Flash and Database Issue - Need Advice

2008-01-28 Thread Omar Fouad
Thank You very Much ppl :D

On Jan 27, 2008 10:39 PM, Glen Pike <[EMAIL PROTECTED]> wrote:

> Hi,
>
>I currently have the Beta of ASV 6 which decompiles my AS3 SWF's
> without too many problems.
>
>Regarding Flash vs Flex debates, I have not got CS3 yet, but have
> been developing in AS3 using Flash Develop and importing graphics
> created in Flash 8, but following a very code oriented way of
> development.  I like this and will probably keep working in this way as
> I do a lot of stuff with animations, etc.  For pure business stuff, I
> would certainly consider using Flex and saying that I have been
> developing some prototype systems for very simple website ideas in Flex
> to see if I can get a nice workflow going.
>
> The tutorials that Adobe put with Flex Builder are a great starting
> point as someone mentioned and I also took advantage of the free trials
> from Adobe/Total Training that were pretty good:
>
>http://www.totaltraining.com/prod/adobe/flex2_ria.asp - this is a
> really good introduction - a refresher for me - to using Flex and
> thinking in terms of RIA's.  I liked the presenters style and it
> contrasted a lot with the one below.
>
>http://www.totaltraining.com/prod/adobe/flex2_avp.asp - this was
> okay, but I found the presenter very dull - his voice did not help and I
> am sure they sped it up in the intros.  I got quite irritated watching a
> lot of basics in a training package that specified you needed to have
> these skills beforehand.  It does however provide some very helpful
> information about making Flex applications look a lot better than the
> default.
>
>If you are a visual developer, Flex will probably be a bit scary
> because you need to start learning how to code the visual parts using
> MXML to get what you want.
>
>As far as CMS stuff goes - if you are looking to connect to an
> existing back-end system like Drupal, Wordpress, etc.  There are already
> a lot of components written to handle all the back-end stuff, which
> saves a lot of pain writing your own.  This is particularly important if
> you are not experienced in server side coding - MySQL, PHP and the
> security issues that tend to affect these things.
>
>For Flash, if you like coding in AS2, you could look at SWX,
> http://swxformat.org/, which is really easy to get started with.  They
> are porting it to AS3 at the moment, but it is very straightforward and
> also has the benefit of being very lightweight when compared with XML
> methods - this is important if you plan to work with mobiles, etc.
>
>SWX is like a nice halfway between XML & AMF remoting - it has the
> ease of getting data into your app, with the streamlined nature of AMF
>
>The good thing is that there are lots of ways for you to talk to the
> server(s) from the SWF player now and they have all improved
> dramatically with a lot of support from various people, so experiment a
> lot if you have time and read lots of info - the devnet site on Adobe is
> invaluable as well as Google.
>
>There is a lot of stuff out there to learn and I am no expert, but I
> have been trying out a lot of stuff in Flash, Flex & related
> technologies and will say one is outright better than the other - it
> depends on your experience & the problem you are trying to solve.
> Hopefully, I will be able to keep up with both strands of development
> and do some cool stuff with them.
>
>Glen
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] 2 fonts different results

2008-01-28 Thread Hans Wichman
Hi list,

ive got 2 fonts, both non standard that I'm playing with.

While doing:
ta_test.setStyle ("fontFamily", [font1here]);
ta_test.setStyle ("fontSize", 20);

i see the font in the textarea, although its not aliased.

If I do:
ta_test.setStyle ("fontFamily", [font2here]);
ta_test.setStyle ("fontSize", 20);

i see nothing.

Now the last result is exactly what I expect:), what baffles me, is that
some fonts still display, even though they're non standard.
If it because they are installed on my system, then why does it work for
font1 but not for font2.

Note that my fla is empty for a textarea called ta_test on stage.

Any ideas?

The only difference is that one is installed through adobe type manager
(font 1), and the other is a standard ttf font (font2)

Flash 8, windows.

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