Re: [Flashcoders] Streaming video (RTMP / Flash Media Server 3) load progress bar

2008-02-25 Thread Martin Klasson
var bufferPercentage = (ns.bufferLength/ns.bufferTime)

That should cover up the buffering, wouldnt that be enough since you
are working with streaming media?

/ martin


2008/2/24, Barry Hannah [EMAIL PROTECTED]:

 Is there any way to show load progress with streaming video?

 NetStream.bytesLoaded and NetStream.bytesTotal return 0,
 NetStream.bufferLength shows merely how many seconds are left to load to
 reach your previously set NetStream.bufferTime property.

 I even found an undocumented decodedFrames property which traces out
 remarkably similarly to NetStream.time.

 How do I indicate the load progress?



 Barry.



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




-- 

Martin Klasson
Flash Developer
Parkgatan 9-11
S-411 24 Göteborg
Sweden
Office +46 (0) 31 711 54 50
Cell +46 (0) 730 964 561
[EMAIL PROTECTED]
www.kokokaka.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Copypixels transparency with percentage

2008-02-25 Thread Elia Morling
How do I make a copypixels function that will copy bitmapdata with 
transparency indicated by percentage? Like the opacity setting of a layer in 
photoshop.


I have been trying different kind of angles with no success.

Thanks
Elia 
___

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


Re: [Flashcoders] Copypixels transparency with percentage

2008-02-25 Thread Hans Wichman
Hi,

have you tried public draw(source:Object, [matrix:Matrix],
[colorTransform:ColorTransform], [blendMode:Object], [clipRect:Rectangle],
[smooth:Boolean]) : Void using the colortransform?

greetz
JC



On Mon, Feb 25, 2008 at 10:48 AM, Elia Morling [EMAIL PROTECTED] wrote:

 How do I make a copypixels function that will copy bitmapdata with
 transparency indicated by percentage? Like the opacity setting of a layer
 in
 photoshop.

 I have been trying different kind of angles with no success.

 Thanks
 Elia
 ___
 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] Graphic design universities

2008-02-25 Thread Jesse Graupmann
I've had friends attend;

Vancouver Film School
http://www.vfs.com/

Western Washington
http://www.ac.wwu.edu/~artdept/degreesdetail.html#Bachelor%20of%20Arts%20Des
ign

and 

Art Institute of Seattle
http://www.artinstituteseattle.com/programs.php


Whereas I went to;

University of Washington
http://depts.washington.edu/designuw/VCD_overview.htm


While you could apply your current skills to each, you should think more
about what you want to get out of your education. Courses that teach you how
to use programs will be the fastest way to learning production skills.
Theory based courses won't teach you how to use anything, but will give you
a more knowledge of problem solving and process.

The thing that helped me decide which school to choose was actually visiting
the places I wanted to work post graduation. Asking them which universities
produced the quality they were looking for help narrow down the list.

Good luck in your search,
J|G


 Hi list.

 I have two years to choose in which univerity i'll go when my
 school
 studies
 finish. I am looking for some graphical design universitys in
 which i
 can
 apply my knowledge offlash, animation, video and audio modeling.
 So,
 mostly
 about graphics and motion. I've been googling the web, but i  
 found
 so
 many
 results that my head went bad,and they mostly all of them had  
 some
 other
 studies that i don't like such as ecomony, telecommunication
 between
 others.


 So, can someone recommend me some universites you think are good?

 Thanks

 Pedro D.K.

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


[Flashcoders] Button addEventListener is cancelled out by my Timer function.

2008-02-25 Thread Vlado Krempl
Timeline problem:

As soon as my pauseTimeline function is called on frame 65, my button 
infoONEbtn doesn't register on frame 65.
And after frame 65, my button doesn't work unless I call the addEventlistener 
again on frame 66.
Is there a way around this??

I have this code on frame 10

function pauseTimeline(howLong:Number):void {
 stop();
 var t:Timer = new Timer (howLong, 1);
 t.addEventListener(
 TimerEvent.TIMER, 
 function(evt:TimerEvent):void {
 play();
}
);
t.start();
}

then this code on frame 25

//infoONEbutton
infoONEbtn.addEventListener(MouseEvent.MOUSE_UP, infoONESCENE);

function infoONESCENE(evt:MouseEvent) {
 gotoAndPlay(infoONE);

}

this code on frame 65

pauseTimeline(3000);


Thankyou for bothering with my simple problems.

Vlado 
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Graphic design universities

2008-02-25 Thread Matt S.
On Sun, Feb 24, 2008 at 7:51 AM, Pedro Kostelec [EMAIL PROTECTED] wrote:

 Well. All those uniceersities you recommended to me are almost comlpetely
 dealing with sociology sciences(history, humanity...) or how we say to it.
 Isn't there a univerity out there which is dealing with natural
 science(maths, phisics, biology...)  which has a part of animation, flash,
 a
 bit of art so that it is not fully in the sociology part.

 Hope you understand what i am looking for.


If I understand what you're looking for, you want more of a
science/engineering school, which also has a strong animation dept. That's
going to be harder to find. Your best bet would be larger universities which
will have both a strong Art and Science school, and plenty of
cross-hybridization between the two. You could look at the University of
California system as one option. To some extent it sounds like you want to
go somewhere like MIT, which has invented its own unique culture where
Science and Art meet, but that aint exactly easy to get into ;)

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


RE: [Flashcoders] Graphic design universities

2008-02-25 Thread Rob Emenecker
You might also look at Drexel University. They have an excellent
design/media, information technologies, and computer science programs.

Rob

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


[Flashcoders] freelancer needed (2+ weeks, Boston or Providence area)

2008-02-25 Thread Mendelsohn, Michael
The project is a document creation/customization tool, allowing users to
create documents that are rendered based on XML data.  The code (AS2) is
complicated and there are a variety of issues needing to be debugged,
and overall structure polished up.

Location: Must be on site, but that can be either Brighton, MA or
Johnston, RI.
 
Please contact Michael Mendelsohn with your availability and rate:
MichaeldotMendelsohnatfmglobaldotcom.

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


RE: [Flashcoders] Gaia 2.0 Flash Framework

2008-02-25 Thread Merrill, Jason
Do you have any info on what advantages this framework would have over
Cairngorm?

Jason Merrill
Bank of America  
GTO LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog and  subscribe.


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


Re: [Flashcoders] Graphic design universities

2008-02-25 Thread Matt S.
Are you thinking of CalArts? http://www.calarts.edu/

On Mon, Feb 25, 2008 at 10:52 AM, Merrill, Jason
[EMAIL PROTECTED] wrote:
 I keep wanting to chime in here with a suggestion, but I forget the
  name.  There is a really high-end very-hard-to-get-into and rather
  expensive art/design school in L.A., but I can't remember the name.
  They focus exclusively on art/multimedia/product design, but it's not
  one of those places like the Art Institute, it's more of a Harvard of
  graphic and product design schools. Anyone know what I'm talking about?

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


RE: [Flashcoders] Graphic design universities

2008-02-25 Thread Merrill, Jason
I keep wanting to chime in here with a suggestion, but I forget the
name.  There is a really high-end very-hard-to-get-into and rather
expensive art/design school in L.A., but I can't remember the name.
They focus exclusively on art/multimedia/product design, but it's not
one of those places like the Art Institute, it's more of a Harvard of
graphic and product design schools. Anyone know what I'm talking about?

Jason Merrill
Bank of America  
GTO LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog and  subscribe.


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


RE: [Flashcoders] Graphic design universities

2008-02-25 Thread Merrill, Jason
I don't think so... but thanks

Jason Merrill
Bank of America  
GTO LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog and  subscribe.




 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of Matt S.
Sent: Monday, February 25, 2008 11:26 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Graphic design universities

Are you thinking of CalArts? http://www.calarts.edu/

On Mon, Feb 25, 2008 at 10:52 AM, Merrill, Jason 
[EMAIL PROTECTED] wrote:
 I keep wanting to chime in here with a suggestion, but I 
forget the  
 name.  There is a really high-end very-hard-to-get-into and rather  
 expensive art/design school in L.A., but I can't remember the name.
  They focus exclusively on art/multimedia/product design, 
but it's not  
 one of those places like the Art Institute, it's more of a 
Harvard of  
 graphic and product design schools. Anyone know what I'm 
talking about?

___
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] Looking to fill a Flash position immediately

2008-02-25 Thread Troy Benesch

Hello,

We are looking to fill an immediate opening for an experienced Flash  
designer with good action script ability.  Knowledge of CSS/Java  
Script would be ideal as well.  This will be a full time position  
working on our NASA contract in Crystal City, creating online Flash  
games, etc.  The position offers great pay and benefits.  Please have  
interested parties forward their resume and link of online samples to  
[EMAIL PROTECTED]


Thanks,

Troy

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


RE: [Flashcoders] Button addEventListener is cancelled out by my Timerfunction.

2008-02-25 Thread Robert Leisle
Hi Vlado,

It looks like your button is probably on the timeline rather than make
instantiated with code. Make sure your button exists before you do the
addEventListener() on frame 25. Also, do you maybe have a key frame in the
button layer at frame 65? If so, each key frame creates a new instance of
the button and any properties of the new instance will have the default
values until you reset them. To avoid the problem you described, just remove
the key frames and give your button a continuous, uninterrupted layer for
the whole length of the time line that you need it.

hth

Bob Leisle

Headsprout Software  Engineering

www.headsprout.com

Where kids learn to read!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vlado Krempl
Sent: Monday, February 25, 2008 5:13 AM
To: Flash Coders List
Subject: [Flashcoders] Button addEventListener is cancelled out by my
Timerfunction.

Timeline problem:

As soon as my pauseTimeline function is called on frame 65, my button
infoONEbtn doesn't register on frame 65.
And after frame 65, my button doesn't work unless I call the
addEventlistener again on frame 66.
Is there a way around this??

I have this code on frame 10

function pauseTimeline(howLong:Number):void {
 stop();
 var t:Timer = new Timer (howLong, 1);
 t.addEventListener(
 TimerEvent.TIMER, 
 function(evt:TimerEvent):void {
 play();
}
);
t.start();
}

then this code on frame 25

//infoONEbutton
infoONEbtn.addEventListener(MouseEvent.MOUSE_UP, infoONESCENE);

function infoONESCENE(evt:MouseEvent) {
 gotoAndPlay(infoONE);

}

this code on frame 65

pauseTimeline(3000);


Thankyou for bothering with my simple problems.

Vlado 
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is
addressed.
If you have received this email in error please notify the sender. If you
are not the named addressee you should not disseminate, distribute or copy
this e-mail. 
___
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] Gaia 2.0 Flash Framework

2008-02-25 Thread Steven Sacks
It's apples and oranges.  Cairngorm is a back-end framework, Gaia is a 
front-end framework (back and front as they relate to inside of Flash).  
You can use Cairngorm with Gaia if you wanted to.  :)



Merrill, Jason wrote:

Do you have any info on what advantages this framework would have over
Cairngorm?

Jason Merrill
Bank of America  
GTO LLD Solutions Design  Development 
eTools  Multimedia 


Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog and  subscribe.



___
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] Flash Video Gallery Problem

2008-02-25 Thread anuj sharma
Hi All
I am developing a video Gallery in AS 3.0.

   -  I am providing thumbnails and XML is loading external FLvs in those
   thumbnails .
   -  The user can either double click or click and drag thumbnail to
   play the main video above the particular line.
   - I am calling external SWFs in the UIloader component for playing the
   main video. That UIloader will be called when the user either double clicks
   on thumbnail or click and drag the thumbnail.
   - Also user can drag the main video wherever he wants, and he can drop
   the main  back to the thumbnails too( which will unload the video player).


My problem is that everything is working fine when i run the FLA file, but
when i closed my application and try to run the individual SWF file, the
file does not work ( its just crashing).
There are no frames I am using so that's for sure that i did not forget to
put stop frame.
All of my code is in the main time line and I haven't used any custom
classes yet, which means everything is in the actions window.
Am i using the right tool for such a big application? Should I switch to
FLEX for compiling this file. i am not that familiar with FLEX working
environment too.
Please help me out what i am doing wrong and i apologize that I could not
mail you the code because the file is very very big. Also if any better tool
is available for this please let me know.
Any kind of help will be highly appreciated.
Thanks a lot
Anuj
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Video Gallery Problem

2008-02-25 Thread Glen Pike

Hi,

   Your standalone Flash Player may be different from the one used by 
the IDE...


   If you are on Windows, you can install Kewbee's Plugin Switcher to 
see which versions of each are running.  Download from here:


   http://www.pluginswitcher.de/

   If you install it, start the program, wait for it to disappear, then 
double click the icon that appears in your taskbar, you can see what 
players are installed.


   If you want, you can also use this to switch versions of Flash 
Player for testing in browsers, etc.  This is a bit tricky to set up - 
you have to install a version of the Flash player for your browser, then 
start each browser that uses it, then close the browser, then uninstall 
the player for the browser and repeat for each version of the player you 
want to use.
  
   You can download old flash players from the adobe site - when you 
get upto version 8  9, there are different sub-versions for different 
browsers - this confused me for a while...


   http://www.adobe.com/support/flashplayer/  The Archived versions 
link is on the RHS, it was temporarily unavailable when I just looked, 
but try later - direct link here:


   http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14266
  
   Uninstall information here (broken again) 
http://www.adobe.com/go/tn_14157


   Glen

  


anuj sharma wrote:

Hi All
I am developing a video Gallery in AS 3.0.

   -  I am providing thumbnails and XML is loading external FLvs in those
   thumbnails .
   -  The user can either double click or click and drag thumbnail to
   play the main video above the particular line.
   - I am calling external SWFs in the UIloader component for playing the
   main video. That UIloader will be called when the user either double clicks
   on thumbnail or click and drag the thumbnail.
   - Also user can drag the main video wherever he wants, and he can drop
   the main  back to the thumbnails too( which will unload the video player).


My problem is that everything is working fine when i run the FLA file, but
when i closed my application and try to run the individual SWF file, the
file does not work ( its just crashing).
There are no frames I am using so that's for sure that i did not forget to
put stop frame.
All of my code is in the main time line and I haven't used any custom
classes yet, which means everything is in the actions window.
Am i using the right tool for such a big application? Should I switch to
FLEX for compiling this file. i am not that familiar with FLEX working
environment too.
Please help me out what i am doing wrong and i apologize that I could not
mail you the code because the file is very very big. Also if any better tool
is available for this please let me know.
Any kind of help will be highly appreciated.
Thanks a lot
Anuj
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

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


RE: [Flashcoders] Flash Video Gallery Problem

2008-02-25 Thread Merrill, Jason
If you are on Windows, you can install Kewbee's Plugin 
Switcher to see which versions of each are running.  Download 
from here:

Man, use that thing with caution though, it was pretty buggy when I used
it last (about a year ago) and it didn't account for all versions, and
it messed up my install somehow.   Cool tool though, if they fixed the
problems with it, worth checking into. 

Jason Merrill
Bank of America  
GTO LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog and  subscribe.

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


Re: [Flashcoders] Flash Video Gallery Problem

2008-02-25 Thread anuj sharma
Thanks a lot
I will do that and let you know if problem has been fixed


On Mon, Feb 25, 2008 at 10:49 AM, Merrill, Jason 
[EMAIL PROTECTED] wrote:

 If you are on Windows, you can install Kewbee's Plugin
 Switcher to see which versions of each are running.  Download
 from here:

 Man, use that thing with caution though, it was pretty buggy when I used
 it last (about a year ago) and it didn't account for all versions, and
 it messed up my install somehow.   Cool tool though, if they fixed the
 problems with it, worth checking into.

 Jason Merrill
 Bank of America
 GTO LLD Solutions Design  Development
 eTools  Multimedia

 Bank of America Flash Platform Developer Community


 Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal  GTO Innovative Learning Blog and  subscribe.

 ___
 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] Flash Video Gallery Problem

2008-02-25 Thread anuj sharma
Hi Glenn
I am currently focussed on running SWF but not Browser version beacuse in
the end i have to publish an exe of FLA file and give it to the management
for analysis. Also I checked the Kewbee's Plugin Switcher and it shows i
have 3 player versions installed 8.0 r22, 9.0 r115 amd 6.0r21. What i did I
right click on the SWF and try to run with all the players but none of them
work. I am not expert in flash but isn't that true that if Fla file is
working by hitting ctrl+enter, the independent SWF file should also work.
And I used Action Script 3.0, shouldn't my file just work with player
9.0.r115 which is the most updated player. Please help me out in figuring
out where I am wrong.
I will highly appreciate your help.
Thanks a lot
Anuj


On Mon, Feb 25, 2008 at 10:36 AM, Glen Pike [EMAIL PROTECTED]
wrote:

 Hi,

Your standalone Flash Player may be different from the one used by
 the IDE...

If you are on Windows, you can install Kewbee's Plugin Switcher to
 see which versions of each are running.  Download from here:

http://www.pluginswitcher.de/

If you install it, start the program, wait for it to disappear, then
 double click the icon that appears in your taskbar, you can see what
 players are installed.

If you want, you can also use this to switch versions of Flash
 Player for testing in browsers, etc.  This is a bit tricky to set up -
 you have to install a version of the Flash player for your browser, then
 start each browser that uses it, then close the browser, then uninstall
 the player for the browser and repeat for each version of the player you
 want to use.

You can download old flash players from the adobe site - when you
 get upto version 8  9, there are different sub-versions for different
 browsers - this confused me for a while...

http://www.adobe.com/support/flashplayer/  The Archived versions
 link is on the RHS, it was temporarily unavailable when I just looked,
 but try later - direct link here:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14266

Uninstall information here (broken again)
 http://www.adobe.com/go/tn_14157

Glen



 anuj sharma wrote:
  Hi All
  I am developing a video Gallery in AS 3.0.
 
 -  I am providing thumbnails and XML is loading external FLvs in
 those
 thumbnails .
 -  The user can either double click or click and drag thumbnail to
 play the main video above the particular line.
 - I am calling external SWFs in the UIloader component for playing
 the
 main video. That UIloader will be called when the user either double
 clicks
 on thumbnail or click and drag the thumbnail.
 - Also user can drag the main video wherever he wants, and he can
 drop
 the main  back to the thumbnails too( which will unload the video
 player).
 
 
  My problem is that everything is working fine when i run the FLA file,
 but
  when i closed my application and try to run the individual SWF file, the
  file does not work ( its just crashing).
  There are no frames I am using so that's for sure that i did not forget
 to
  put stop frame.
  All of my code is in the main time line and I haven't used any custom
  classes yet, which means everything is in the actions window.
  Am i using the right tool for such a big application? Should I switch to
  FLEX for compiling this file. i am not that familiar with FLEX working
  environment too.
  Please help me out what i am doing wrong and i apologize that I could
 not
  mail you the code because the file is very very big. Also if any better
 tool
  is available for this please let me know.
  Any kind of help will be highly appreciated.
  Thanks a lot
  Anuj
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 

 --

 Glen Pike
 01736 759321
 www.glenpike.co.uk http://www.glenpike.co.uk
 ___
 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] Flash Video Gallery Problem

2008-02-25 Thread anuj sharma
Thanks a lot
I will do that and let you know if problem has been fixed
Anuj

On Mon, Feb 25, 2008 at 10:36 AM, Glen Pike [EMAIL PROTECTED]
wrote:

 Hi,

Your standalone Flash Player may be different from the one used by
 the IDE...

If you are on Windows, you can install Kewbee's Plugin Switcher to
 see which versions of each are running.  Download from here:

http://www.pluginswitcher.de/

If you install it, start the program, wait for it to disappear, then
 double click the icon that appears in your taskbar, you can see what
 players are installed.

If you want, you can also use this to switch versions of Flash
 Player for testing in browsers, etc.  This is a bit tricky to set up -
 you have to install a version of the Flash player for your browser, then
 start each browser that uses it, then close the browser, then uninstall
 the player for the browser and repeat for each version of the player you
 want to use.

You can download old flash players from the adobe site - when you
 get upto version 8  9, there are different sub-versions for different
 browsers - this confused me for a while...

http://www.adobe.com/support/flashplayer/  The Archived versions
 link is on the RHS, it was temporarily unavailable when I just looked,
 but try later - direct link here:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14266

Uninstall information here (broken again)
 http://www.adobe.com/go/tn_14157

Glen



 anuj sharma wrote:
  Hi All
  I am developing a video Gallery in AS 3.0.
 
 -  I am providing thumbnails and XML is loading external FLvs in
 those
 thumbnails .
 -  The user can either double click or click and drag thumbnail to
 play the main video above the particular line.
 - I am calling external SWFs in the UIloader component for playing
 the
 main video. That UIloader will be called when the user either double
 clicks
 on thumbnail or click and drag the thumbnail.
 - Also user can drag the main video wherever he wants, and he can
 drop
 the main  back to the thumbnails too( which will unload the video
 player).
 
 
  My problem is that everything is working fine when i run the FLA file,
 but
  when i closed my application and try to run the individual SWF file, the
  file does not work ( its just crashing).
  There are no frames I am using so that's for sure that i did not forget
 to
  put stop frame.
  All of my code is in the main time line and I haven't used any custom
  classes yet, which means everything is in the actions window.
  Am i using the right tool for such a big application? Should I switch to
  FLEX for compiling this file. i am not that familiar with FLEX working
  environment too.
  Please help me out what i am doing wrong and i apologize that I could
 not
  mail you the code because the file is very very big. Also if any better
 tool
  is available for this please let me know.
  Any kind of help will be highly appreciated.
  Thanks a lot
  Anuj
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 

 --

 Glen Pike
 01736 759321
 www.glenpike.co.uk http://www.glenpike.co.uk
 ___
 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] Copypixels transparency with percentage

2008-02-25 Thread Elia Morling

Hi,
No I havent. Thanks

Elia
- Original Message - 
From: Hans Wichman [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Monday, February 25, 2008 12:45 PM
Subject: Re: [Flashcoders] Copypixels transparency with percentage



Hi,

have you tried public draw(source:Object, [matrix:Matrix],
[colorTransform:ColorTransform], [blendMode:Object], [clipRect:Rectangle],
[smooth:Boolean]) : Void using the colortransform?

greetz
JC



On Mon, Feb 25, 2008 at 10:48 AM, Elia Morling [EMAIL PROTECTED] 
wrote:



How do I make a copypixels function that will copy bitmapdata with
transparency indicated by percentage? Like the opacity setting of a layer
in
photoshop.

I have been trying different kind of angles with no success.

Thanks
Elia
___
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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Video Gallery Problem

2008-02-25 Thread Glen Pike

Hi,

   You should have a flash player plugin for each browser, maybe one 
standalone  one IDE version.  You can't change the IDE version, but if 
this is different from the standalone one you may have problems.


   Ctrl + Enter will be the IDE one (Test Movie).

   If you double click a SWF outside of Flash, you are probably using 
the standalone.
  
   As an aside / for Jason - Kewbee Plugin Switcher is still a bit 
funny / a pain installing stuff, but it seems to be okay with everything 
but IE7 occasionally when it can't seem to install the latest version of 
the player properly...


   This may also be a problem with security - depending on your file 
locations and how you are viewing them.


   Have a look at the information here about security as you may have 
different settings for local, online and testing:


   
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html


   You can use the Manager to configure your player.

   Glen
  


anuj sharma wrote:

Hi Glenn
I am currently focussed on running SWF but not Browser version beacuse in
the end i have to publish an exe of FLA file and give it to the management
for analysis. Also I checked the Kewbee's Plugin Switcher and it shows i
have 3 player versions installed 8.0 r22, 9.0 r115 amd 6.0r21. What i did I
right click on the SWF and try to run with all the players but none of them
work. I am not expert in flash but isn't that true that if Fla file is
working by hitting ctrl+enter, the independent SWF file should also work.
And I used Action Script 3.0, shouldn't my file just work with player
9.0.r115 which is the most updated player. Please help me out in figuring
out where I am wrong.
I will highly appreciate your help.
Thanks a lot
Anuj


On Mon, Feb 25, 2008 at 10:36 AM, Glen Pike [EMAIL PROTECTED]
wrote:

  

Hi,

   Your standalone Flash Player may be different from the one used by
the IDE...

   If you are on Windows, you can install Kewbee's Plugin Switcher to
see which versions of each are running.  Download from here:

   http://www.pluginswitcher.de/

   If you install it, start the program, wait for it to disappear, then
double click the icon that appears in your taskbar, you can see what
players are installed.

   If you want, you can also use this to switch versions of Flash
Player for testing in browsers, etc.  This is a bit tricky to set up -
you have to install a version of the Flash player for your browser, then
start each browser that uses it, then close the browser, then uninstall
the player for the browser and repeat for each version of the player you
want to use.

   You can download old flash players from the adobe site - when you
get upto version 8  9, there are different sub-versions for different
browsers - this confused me for a while...

   http://www.adobe.com/support/flashplayer/  The Archived versions
link is on the RHS, it was temporarily unavailable when I just looked,
but try later - direct link here:

   http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14266

   Uninstall information here (broken again)
http://www.adobe.com/go/tn_14157

   Glen



anuj sharma wrote:


Hi All
I am developing a video Gallery in AS 3.0.

   -  I am providing thumbnails and XML is loading external FLvs in
  

those


   thumbnails .
   -  The user can either double click or click and drag thumbnail to
   play the main video above the particular line.
   - I am calling external SWFs in the UIloader component for playing
  

the


   main video. That UIloader will be called when the user either double
  

clicks


   on thumbnail or click and drag the thumbnail.
   - Also user can drag the main video wherever he wants, and he can
  

drop


   the main  back to the thumbnails too( which will unload the video
  

player).


My problem is that everything is working fine when i run the FLA file,
  

but


when i closed my application and try to run the individual SWF file, the
file does not work ( its just crashing).
There are no frames I am using so that's for sure that i did not forget
  

to


put stop frame.
All of my code is in the main time line and I haven't used any custom
classes yet, which means everything is in the actions window.
Am i using the right tool for such a big application? Should I switch to
FLEX for compiling this file. i am not that familiar with FLEX working
environment too.
Please help me out what i am doing wrong and i apologize that I could
  

not


mail you the code because the file is very very big. Also if any better
  

tool


is available for this please let me know.
Any kind of help will be highly appreciated.
Thanks a lot
Anuj
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



  

--

Glen Pike
01736 759321
www.glenpike.co.uk http://www.glenpike.co.uk

Re: [Flashcoders] Button addEventListener is cancelled out by myTimerfunction.

2008-02-25 Thread Vlado Krempl

Thanks Bob!
Appreciate your time.
Have a great day.

v
- Original Message - 
From: Robert Leisle [EMAIL PROTECTED]

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Tuesday, February 26, 2008 4:40 AM
Subject: RE: [Flashcoders] Button addEventListener is cancelled out by 
myTimerfunction.




Hi Vlado,

It looks like your button is probably on the timeline rather than make
instantiated with code. Make sure your button exists before you do the
addEventListener() on frame 25. Also, do you maybe have a key frame in the
button layer at frame 65? If so, each key frame creates a new instance of
the button and any properties of the new instance will have the default
values until you reset them. To avoid the problem you described, just 
remove

the key frames and give your button a continuous, uninterrupted layer for
the whole length of the time line that you need it.

hth

Bob Leisle

Headsprout Software  Engineering

www.headsprout.com

Where kids learn to read!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vlado 
Krempl

Sent: Monday, February 25, 2008 5:13 AM
To: Flash Coders List
Subject: [Flashcoders] Button addEventListener is cancelled out by my
Timerfunction.

Timeline problem:

As soon as my pauseTimeline function is called on frame 65, my button
infoONEbtn doesn't register on frame 65.
And after frame 65, my button doesn't work unless I call the
addEventlistener again on frame 66.
Is there a way around this??

I have this code on frame 10

function pauseTimeline(howLong:Number):void {
stop();
var t:Timer = new Timer (howLong, 1);
t.addEventListener(
TimerEvent.TIMER,
function(evt:TimerEvent):void {
play();
}
);
t.start();
}

then this code on frame 25

//infoONEbutton
infoONEbtn.addEventListener(MouseEvent.MOUSE_UP, infoONESCENE);

function infoONESCENE(evt:MouseEvent) {
gotoAndPlay(infoONE);

}

this code on frame 65

pauseTimeline(3000);


Thankyou for bothering with my simple problems.

Vlado
Please consider the environment before printing this e-mail.
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it 
is

addressed.
If you have received this email in error please notify the sender. If you
are not the named addressee you should not disseminate, distribute or copy
this e-mail.
___
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 mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] How do you do this?

2008-02-25 Thread Jim Robson
Hello all,

There's a neat 3D CS3 demo from a Japanese tour. I'd like to know how to go
about creating this kind of effect; my (few and rare) attempts at 3D
animation in Flash have not performed nearly this well:

http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf

Any ideas/hints/urls/etc?

- Jim

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


Re: [Flashcoders] How do you do this?

2008-02-25 Thread eric e. dolecki
tons of math and some papervision3d.



On Mon, Feb 25, 2008 at 4:40 PM, Jim Robson [EMAIL PROTECTED]
wrote:

 Hello all,

 There's a neat 3D CS3 demo from a Japanese tour. I'd like to know how to
 go
 about creating this kind of effect; my (few and rare) attempts at 3D
 animation in Flash have not performed nearly this well:

 http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf

 Any ideas/hints/urls/etc?

 - Jim

 ___
 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] How do you do this?

2008-02-25 Thread Dwayne Neckles
I firmly believe  its not as hard as it seems... check out mr d00b's site..
he has something pretty similiar.. and the source code

all hails Mr d00b



 Date: Mon, 25 Feb 2008 16:52:45 -0500
 From: [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] How do you do this?
 
 tons of math and some papervision3d.
 
 
 
 On Mon, Feb 25, 2008 at 4:40 PM, Jim Robson [EMAIL PROTECTED]
 wrote:
 
  Hello all,
 
  There's a neat 3D CS3 demo from a Japanese tour. I'd like to know how to
  go
  about creating this kind of effect; my (few and rare) attempts at 3D
  animation in Flash have not performed nearly this well:
 
  http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf
 
  Any ideas/hints/urls/etc?
 
  - Jim
 
  ___
  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

_
Helping your favorite cause is as easy as instant messaging. You IM, we give.
http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RangeError: Error #2006: The supplied index is out of bounds.

2008-02-25 Thread Cory Petosky
Judging by the error message, your container doesn't have 11 children added.

Consider using a for loop instead of manually coding all that.

On 2/25/08, anuj sharma [EMAIL PROTECTED] wrote:
 Hi Guys
  I am making an Auto-Arrange button and clicking on which arranges all the
  children of the container( which are on the main stage) in the tile format.
  Basically on clicking, I manually move those child on the stage to
  particular coordinates as shown in my code. I have pasted my code below. My
  problem is that as soon as i click on the auto arrange button I am getting
  error RangeError: Error #2006: The supplied index is out of bounds..
  Please let me know what i am doing wrong and i will appreciate if you let me
  know how would i fix this
  Thanks a lot guys
  Anuj

  **CODE**
  var aa:Number=0;
  var xcoord:Number=-300;
  var ycoord:Number=-200;
  var xcoord1:Number=450;
   var xcoord2:Number=850;
   var xcoord3:Number=1250;
  var ycoord1:Number=350;
   var ycoord2:Number=650;
  //Button Listener
  btn_AA.addEventListener(MouseEvent.CLICK,autoArrange);
  function autoArrange(event:MouseEvent):void
  {
 if(container.getChildAt(aa)!=null)
 {
 container.getChildAt(aa).x=xcoord;
 container.getChildAt(aa).y=ycoord;
 //Arrange Second
 container.getChildAt(aa+1).x=xcoord+xcoord1;
 container.getChildAt(aa+1).y=ycoord;
 //Arrange Third
 container.getChildAt(aa+2).x=xcoord+ xcoord2;
 container.getChildAt(aa+2).y=ycoord;
 //Arrange Forth
 container.getChildAt(aa+3).x=xcoord+xcoord3;
 container.getChildAt(aa+3).y=ycoord;
 //Arrange Fifth
 container.getChildAt(aa+4).x=xcoord;
 container.getChildAt(aa+4).y=ycoord+ycoord1;
 //Arrange Sixth
 container.getChildAt(aa+5).x=xcoord+xcoord1;
 container.getChildAt(aa+5).y=ycoord+ycoord1;
 //Arrange Seventh
 container.getChildAt(aa+6).x=xcoord+ xcoord2;
 container.getChildAt(aa+6).y=ycoord+ycoord1;
 //Arrange Eight
 container.getChildAt(aa+7).x=xcoord+xcoord3;
 container.getChildAt(aa+7).y=ycoord+ycoord1;
 //Arrange Ninth
 container.getChildAt(aa+8).x=xcoord;
 container.getChildAt(aa+8).y=ycoord+ycoord2;
 //Arrange Tenth
 container.getChildAt(aa+9).x=xcoord+xcoord1;
 container.getChildAt(aa+9).y=ycoord+ycoord2;
 //Arrange Eleventh
 container.getChildAt(aa+10).x=xcoord+ xcoord2;
 container.getChildAt(aa+10).y=ycoord+ycoord2;
 }
  }
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



-- 
Cory Petosky : Lead Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] RangeError: Error #2006: The supplied index is out ofbounds.

2008-02-25 Thread Robert Leisle
Hi Anuj,

According to Flash Help files for getChildAt(), this error is generated by
getChildAt() when, RangeError - Throws if the index does not exist in the
child list. Either your aa variable is not evaluating correctly inside
the function or there is no child object at depth index 0 when the function
is called.

Hth,
Bob Leisle

Headsprout Software  Engineering

www.headsprout.com

Where kids learn to read!


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of anuj sharma
Sent: Monday, February 25, 2008 1:20 PM
To: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] RangeError: Error #2006: The supplied index is out
ofbounds.

Hi Guys
I am making an Auto-Arrange button and clicking on which arranges all the
children of the container( which are on the main stage) in the tile format.
Basically on clicking, I manually move those child on the stage to
particular coordinates as shown in my code. I have pasted my code below. My
problem is that as soon as i click on the auto arrange button I am getting
error RangeError: Error #2006: The supplied index is out of bounds..
Please let me know what i am doing wrong and i will appreciate if you let me
know how would i fix this
Thanks a lot guys
Anuj

**CODE**
var aa:Number=0;
var xcoord:Number=-300;
var ycoord:Number=-200;
var xcoord1:Number=450;
 var xcoord2:Number=850;
 var xcoord3:Number=1250;
var ycoord1:Number=350;
 var ycoord2:Number=650;
//Button Listener
btn_AA.addEventListener(MouseEvent.CLICK,autoArrange);
function autoArrange(event:MouseEvent):void
{
if(container.getChildAt(aa)!=null)
{
container.getChildAt(aa).x=xcoord;
container.getChildAt(aa).y=ycoord;
//Arrange Second
container.getChildAt(aa+1).x=xcoord+xcoord1;
container.getChildAt(aa+1).y=ycoord;
//Arrange Third
container.getChildAt(aa+2).x=xcoord+ xcoord2;
container.getChildAt(aa+2).y=ycoord;
//Arrange Forth
container.getChildAt(aa+3).x=xcoord+xcoord3;
container.getChildAt(aa+3).y=ycoord;
//Arrange Fifth
container.getChildAt(aa+4).x=xcoord;
container.getChildAt(aa+4).y=ycoord+ycoord1;
//Arrange Sixth
container.getChildAt(aa+5).x=xcoord+xcoord1;
container.getChildAt(aa+5).y=ycoord+ycoord1;
//Arrange Seventh
container.getChildAt(aa+6).x=xcoord+ xcoord2;
container.getChildAt(aa+6).y=ycoord+ycoord1;
//Arrange Eight
container.getChildAt(aa+7).x=xcoord+xcoord3;
container.getChildAt(aa+7).y=ycoord+ycoord1;
//Arrange Ninth
container.getChildAt(aa+8).x=xcoord;
container.getChildAt(aa+8).y=ycoord+ycoord2;
//Arrange Tenth
container.getChildAt(aa+9).x=xcoord+xcoord1;
container.getChildAt(aa+9).y=ycoord+ycoord2;
//Arrange Eleventh
container.getChildAt(aa+10).x=xcoord+ xcoord2;
container.getChildAt(aa+10).y=ycoord+ycoord2;
}
}
___
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] How do you do this?

2008-02-25 Thread Dwayne Neckles
this is the site im talking about

http://mrdoob.com/#/46/


all hail mr doob



 Date: Mon, 25 Feb 2008 16:52:45 -0500
 From: [EMAIL PROTECTED]
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] How do you do this?
 
 tons of math and some papervision3d.
 
 
 
 On Mon, Feb 25, 2008 at 4:40 PM, Jim Robson [EMAIL PROTECTED]
 wrote:
 
  Hello all,
 
  There's a neat 3D CS3 demo from a Japanese tour. I'd like to know how to
  go
  about creating this kind of effect; my (few and rare) attempts at 3D
  animation in Flash have not performed nearly this well:
 
  http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf
 
  Any ideas/hints/urls/etc?
 
  - Jim
 
  ___
  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

_
Climb to the top of the charts! Play the word scramble challenge with star 
power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RangeError: Error #2006: The supplied index is out of bounds.

2008-02-25 Thread eric e. dolecki
or a while loop

On Mon, Feb 25, 2008 at 5:04 PM, Cory Petosky [EMAIL PROTECTED]
wrote:

 Judging by the error message, your container doesn't have 11 children
 added.

 Consider using a for loop instead of manually coding all that.

 On 2/25/08, anuj sharma [EMAIL PROTECTED] wrote:
  Hi Guys
   I am making an Auto-Arrange button and clicking on which arranges all
 the
   children of the container( which are on the main stage) in the tile
 format.
   Basically on clicking, I manually move those child on the stage to
   particular coordinates as shown in my code. I have pasted my code
 below. My
   problem is that as soon as i click on the auto arrange button I am
 getting
   error RangeError: Error #2006: The supplied index is out of bounds..
   Please let me know what i am doing wrong and i will appreciate if you
 let me
   know how would i fix this
   Thanks a lot guys
   Anuj
 
   **CODE**
   var aa:Number=0;
   var xcoord:Number=-300;
   var ycoord:Number=-200;
   var xcoord1:Number=450;
var xcoord2:Number=850;
var xcoord3:Number=1250;
   var ycoord1:Number=350;
var ycoord2:Number=650;
   //Button Listener
   btn_AA.addEventListener(MouseEvent.CLICK,autoArrange);
   function autoArrange(event:MouseEvent):void
   {
  if(container.getChildAt(aa)!=null)
  {
  container.getChildAt(aa).x=xcoord;
  container.getChildAt(aa).y=ycoord;
  //Arrange Second
  container.getChildAt(aa+1).x=xcoord+xcoord1;
  container.getChildAt(aa+1).y=ycoord;
  //Arrange Third
  container.getChildAt(aa+2).x=xcoord+ xcoord2;
  container.getChildAt(aa+2).y=ycoord;
  //Arrange Forth
  container.getChildAt(aa+3).x=xcoord+xcoord3;
  container.getChildAt(aa+3).y=ycoord;
  //Arrange Fifth
  container.getChildAt(aa+4).x=xcoord;
  container.getChildAt(aa+4).y=ycoord+ycoord1;
  //Arrange Sixth
  container.getChildAt(aa+5).x=xcoord+xcoord1;
  container.getChildAt(aa+5).y=ycoord+ycoord1;
  //Arrange Seventh
  container.getChildAt(aa+6).x=xcoord+ xcoord2;
  container.getChildAt(aa+6).y=ycoord+ycoord1;
  //Arrange Eight
  container.getChildAt(aa+7).x=xcoord+xcoord3;
  container.getChildAt(aa+7).y=ycoord+ycoord1;
  //Arrange Ninth
  container.getChildAt(aa+8).x=xcoord;
  container.getChildAt(aa+8).y=ycoord+ycoord2;
  //Arrange Tenth
  container.getChildAt(aa+9).x=xcoord+xcoord1;
  container.getChildAt(aa+9).y=ycoord+ycoord2;
  //Arrange Eleventh
  container.getChildAt(aa+10).x=xcoord+ xcoord2;
  container.getChildAt(aa+10).y=ycoord+ycoord2;
  }
   }
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 


 --
 Cory Petosky : Lead Developer : PUNY
 1618 Central Ave NE Suite 130
 Minneapolis, MN 55413
 Office: 612.216.3924
 Mobile: 240.422.9652
 Fax: 612.605.9216
 http://www.punyentertainment.com
 ___
 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] How do you do this?

2008-02-25 Thread Kerry Thompson
Dwayne Neckles wrote:
 
 I firmly believe  its not as hard as it seems... check out mr d00b's
site..

And where might that be? A Google search turned up nothing that looks
relevant.

Cordially,

Kerry Thompson


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


Re: [Flashcoders] How do you do this?

2008-02-25 Thread Cory Petosky
Can you verify that this is Papervision? I'd think Papervision would
be far too slow for something like this. A simple homebrew 3D engine
optimized for this particular use-case seems more likely considering
that this app is designed as a performance benchmark.

On 2/25/08, eric e. dolecki [EMAIL PROTECTED] wrote:
 tons of math and some papervision3d.



  On Mon, Feb 25, 2008 at 4:40 PM, Jim Robson [EMAIL PROTECTED]
  wrote:


   Hello all,
  
   There's a neat 3D CS3 demo from a Japanese tour. I'd like to know how to
   go
   about creating this kind of effect; my (few and rare) attempts at 3D
   animation in Flash have not performed nearly this well:
  
   http://www.adobe.com/jp/events/cs3_web_edition_tour/swfs/perform.swf
  
   Any ideas/hints/urls/etc?
  
   - Jim
  
   ___
   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



-- 
Cory Petosky : Lead Developer : PUNY
1618 Central Ave NE Suite 130
Minneapolis, MN 55413
Office: 612.216.3924
Mobile: 240.422.9652
Fax: 612.605.9216
http://www.punyentertainment.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: RangeError: Error #2006: The supplied index is out of bounds.

2008-02-25 Thread anuj sharma
I will loop it and see what will happen
Thanks a lot for all your help
Anuj

On Mon, Feb 25, 2008 at 1:19 PM, anuj sharma [EMAIL PROTECTED] wrote:

 Hi Guys
 I am making an Auto-Arrange button and clicking on which arranges all the
 children of the container( which are on the main stage) in the tile format.
 Basically on clicking, I manually move those child on the stage to
 particular coordinates as shown in my code. I have pasted my code below. My
 problem is that as soon as i click on the auto arrange button I am getting
 error RangeError: Error #2006: The supplied index is out of bounds..
 Please let me know what i am doing wrong and i will appreciate if you let me
 know how would i fix this
 Thanks a lot guys
 Anuj

 **CODE**
 var aa:Number=0;
 var xcoord:Number=-300;
 var ycoord:Number=-200;
 var xcoord1:Number=450;
  var xcoord2:Number=850;
  var xcoord3:Number=1250;
 var ycoord1:Number=350;
  var ycoord2:Number=650;
 //Button Listener
 btn_AA.addEventListener(MouseEvent.CLICK,autoArrange);
 function autoArrange(event:MouseEvent):void
 {
 if(container.getChildAt(aa)!=null)
 {
 container.getChildAt(aa).x=xcoord;
 container.getChildAt(aa).y=ycoord;
 //Arrange Second
 container.getChildAt(aa+1).x=xcoord+xcoord1;
 container.getChildAt(aa+1).y=ycoord;
 //Arrange Third
 container.getChildAt(aa+2).x=xcoord+ xcoord2;
 container.getChildAt(aa+2).y=ycoord;
 //Arrange Forth
 container.getChildAt(aa+3).x=xcoord+xcoord3;
 container.getChildAt(aa+3).y=ycoord;
 //Arrange Fifth
 container.getChildAt(aa+4).x=xcoord;
 container.getChildAt(aa+4).y=ycoord+ycoord1;
 //Arrange Sixth
 container.getChildAt(aa+5).x=xcoord+xcoord1;
 container.getChildAt(aa+5).y=ycoord+ycoord1;
 //Arrange Seventh
 container.getChildAt(aa+6).x=xcoord+ xcoord2;
 container.getChildAt(aa+6).y=ycoord+ycoord1;
 //Arrange Eight
 container.getChildAt(aa+7).x=xcoord+xcoord3;
 container.getChildAt(aa+7).y=ycoord+ycoord1;
 //Arrange Ninth
 container.getChildAt(aa+8).x=xcoord;
 container.getChildAt(aa+8).y=ycoord+ycoord2;
 //Arrange Tenth
 container.getChildAt(aa+9).x=xcoord+xcoord1;
 container.getChildAt(aa+9).y=ycoord+ycoord2;
 //Arrange Eleventh
 container.getChildAt(aa+10).x=xcoord+ xcoord2;
 container.getChildAt(aa+10).y=ycoord+ycoord2;
 }
 }

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


Re: [Flashcoders] Re: lightweight AS2 combobox?

2008-02-25 Thread Corban Baxter
hey Brian I put one together a while back. Comboxes are the biggest
pain IMO but anyway. You can find the one i made on my blog at:
http://blog.projectx4.com/2008/01/31/quick-lil-combo-box/. It should
be pretty straight forward when you download it to see how it works.
And you should be able to extended very easily also. If you do will
you let me know. I'd like to see what you decided to do with it and so
would me readers! Thanks!

http://blog.projectx4.com/2008/01/31/quick-lil-combo-box/

On Sun, Feb 24, 2008 at 1:49 PM, Brian Weil [EMAIL PROTECTED] wrote:
 I realize it's not that difficult to make a simple combobox-like
  movieclip, but I do need full functionality like keyboard support,
  etc... It needs to function just like the browsers select element. The
  closest thing i've found so far are the Ghostwire AS2 component. Their
  combobox weighs 17KB  but those don't offer keyboard support either.
  If I had an extra day I'd create this myself but I don't! I wouldn't
  mid paying for the ghostwire component if it did what i needed.

  Anyone else? Maybe a class that I could borrow from another AS2
  framework?

  Thanks,

  Brian


  On Feb 23, 2008, at 7:03 AM, [EMAIL PROTECTED]
  wrote:

   Message: 16
   Date: Fri, 22 Feb 2008 17:28:05 -0500
   From: eric e. dolecki [EMAIL PROTECTED]
   Subject: Re: [Flashcoders] lightweight AS2 combobox?
   To: Flash Coders List flashcoders@chattyfig.figleaf.com
   Message-ID:
 [EMAIL PROTECTED]
   Content-Type: text/plain; charset=UTF-8


 
   It wouldn't take much to get that working, unless you needed the
   keyboard to
   work  solve any focus issues. if its a click to open, scroll 
   select, you
   can do that with a mc, your own scrollbar  a mask.
  
   depends on how much functionality you really need.
  
   On Fri, Feb 22, 2008 at 3:31 PM, Brian Weil [EMAIL PROTECTED]
   wrote:
  
   Does anybody have a good, lightweight AS2 combobox? The default flash
   AS2 combobox is around 50k in an otherwise 5k swf. I just need to
   display the 50 USA states in a flash form and the added 50K is way
   too
   much.
  
   Thanks,
   Brian
  
  
  
  
   ___
   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




-- 
Corban Baxter
http://www.projectx4.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Mailto function opens another browser?

2008-02-25 Thread Vlado Krempl
Hello everyone,

Trying to add a mailto function to a button, but everytime I click the button, 
internet explorer opens up another browser window aswell as my Outlook express. 
 I thought using the _self option would help, but it doesn't.

Code below:

var myURL:URLRequest = new URLRequest (mailto:[EMAIL PROTECTED]);
function clickButton(myevent:MouseEvent):void {
 navigateToURL(myURL, _self);
}
emailbtn.addEventListener(MouseEvent.CLICK,clickButton);



Thanks for your time.

Vlado 

Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders