Re: [Flashcoders] Warning: 3596: Duplicate variable definition.

2008-06-30 Thread Steven Sacks
Even better, 3 lines. var clip:* = e.target; var buttons:Array = _menuButtons; if (e.target.buttonType == 1) buttons = _subMenuButtons; ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcod

RE: [Flashcoders] Warning: 3596: Duplicate variable definition.

2008-06-30 Thread Kerry Thompson
> private function resetState( e:Event ) > { > var clip; > var buttons:Array; > > switch(e.target.buttonType) > { >case 0 : > clip = e.target as MenuButtonMain; > buttons = _menuButtons; > break; >case 1 : >

Re: [Flashcoders] Warning: 3596: Duplicate variable definition.

2008-06-30 Thread Steven Sacks
You see that you're declaring clip (and buttons) twice (causing the error), and as two different types (not causing the error but will cause another shortly). Because you want one variable to act as either a Main or Sub, you need to either cast clip as an abstract version that both of those ex

RE: [Flashcoders] Warning: 3596: Duplicate variable definition.

2008-06-30 Thread Kerry Thompson
Pavel Krušek wrote: > I have written a script, here is piece of some method: > > private function resetState( e:Event ) > { > switch(e.target.buttonType) > { >case 0 : > var clip = e.target a

RE: [Flashcoders] Hebrew text

2008-06-30 Thread Kerry Thompson
natalia Vikhtinskaya wrote: > Is that correct that not possible to show Hebrew text in Flash? It > seems I can embed font but can not show right-to-left text. With the current Flash Player (9), no, bidirectional text is not supported. It will be included in Flash Player 10, though. I believe that

[Flashcoders] Warning: 3596: Duplicate variable definition.

2008-06-30 Thread Pavel Krůšek
Hi List, I have written a script, here is piece of some method: private function resetState( e:Event ) { switch(e.target.buttonType) { case 0 : var clip = e.target as MenuButtonMain

Re: [Flashcoders] Hebrew text

2008-06-30 Thread natalia Vikhtinskaya
Does that mean that in new version we can load hebrew text from xml file to dynamic text box? 2008/6/30 ekameleon <[EMAIL PROTECTED]>: > Hello :) > > In the new FlashPlayer 10 you can use the right-to-left text. For the moment > the FP10 is beta ! but you can wait the final version this summer ? >

Re: [Flashcoders] Hebrew text

2008-06-30 Thread ekameleon
Hello :) In the new FlashPlayer 10 you can use the right-to-left text. For the moment the FP10 is beta ! but you can wait the final version this summer ? EKA+ :) 2008/6/30 natalia Vikhtinskaya <[EMAIL PROTECTED]>: > Is that correct that not possible to show Hebrew text in Flash? It > seems I ca

[Flashcoders] Hebrew text

2008-06-30 Thread natalia Vikhtinskaya
Is that correct that not possible to show Hebrew text in Flash? It seems I can embed font but can not show right-to-left text. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Hebrew text

2008-06-30 Thread natalia Vikhtinskaya
Is that correct that not possible to show Hebrew text in Flash? It seems I can embed font but can not show right-to-left text. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] urgent as3 textfield scroll problem

2008-06-30 Thread Receptacle
Hi - i found a way around this (by adding a body format as a setTextFormat even though it replicates the defaultTextFormat) but i'd really like to know if anyone has had similar problems and if this is a bug in the player or if there's a problem with my implementation thanks again a On

Re: [Flashcoders] Saffron Modeler - what happened to it

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
do these frameworks use any particular design patterns or are they set up differently? a On 30 Jun 2008, at 17:11, Sidney de Koning wrote: there is loads of activity on sam's twitter account http:// twitter.com/SamuelAgesilas S. On Jun 30, 2008, at 6:05 PM, Jiri Heitlager wrote: Does som

Re: [Flashcoders] Drag and Snapping

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
without any context it's a little difficult to answer - could you post your code? On 30 Jun 2008, at 17:57, Lehr, Theodore M (N-SGIS) wrote: I have a mc that I am dragging... when I click on it - it snaps to 0,0 of the movie... I do not remember running into this before How can I make

Re: [Flashcoders] urgent as3 textfield scroll problem

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
Hi - i found a way around this (by adding a body format as a setTextFormat even though it replicates the defaultTextFormat) but i'd really like to know if anyone has had similar problems and if this is a bug in the player or if there's a problem with my implementation thanks again a On

RE: [Flashcoders] Drag and Snapping

2008-06-30 Thread Lehr, Theodore M (N-SGIS)
Nevermind - I got it... hiccup in the code... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M (N-SGIS) Sent: Monday, June 30, 2008 12:57 PM To: Flash Coders List Subject: [Flashcoders] Drag and Snapping I have a mc that I am dragging... w

[Flashcoders] Drag and Snapping

2008-06-30 Thread Lehr, Theodore M (N-SGIS)
I have a mc that I am dragging... when I click on it - it snaps to 0,0 of the movie... I do not remember running into this before How can I make it so it does not snap to a coordinate, but just stays where it is? ___ Flashcoders mailing list Flashcod

Re: [Flashcoders] Saffron Modeler - what happened to it

2008-06-30 Thread Sidney de Koning
there is loads of activity on sam's twitter account http://twitter.com/SamuelAgesilas S. On Jun 30, 2008, at 6:05 PM, Jiri Heitlager wrote: Does somebody know what happend to the saffron UML modelling tool. The site http://www.levelofindustry.com/ is not showing any update anymore. Jiri __

[Flashcoders] Saffron Modeler - what happened to it

2008-06-30 Thread Jiri Heitlager
Does somebody know what happend to the saffron UML modelling tool. The site http://www.levelofindustry.com/ is not showing any update anymore. Jiri ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/list

RE: [Flashcoders] [AS3] Framework

2008-06-30 Thread Merrill, Jason
Depends on what you want it to do - Gaia is for front end presentation, something like Cairngorm handles back end communication (when I say back-end, I don't mean all the way to server side, I mean the front end app application logic, events, data, commands, etc). Jason Merrill Bank of Ameri

[Flashcoders] [AS3] Framework

2008-06-30 Thread Fabio Pinatti
Hi all! I was using a personal framework in my company projects, and now we're migrating to AS3, and I think better now use a pre-built than build one from scratch. I saw Gaia, that looks very good, easy and well documented. Do you know some framework with these characteristics to indicate? Thank

RE: [Flashcoders] to have the same video as reflection

2008-06-30 Thread Merrill, Jason
>>Is it possible after attaching video to have the same video >>like reflectionin a water? Yes, http://pixelfumes.blogspot.com/2005/10/reflection-class-20-now-for-downl oad.html Jason Merrill Bank of America Global Technology & Operations & Global Risk L&LD eTools & Multimedia Join the

Re: [Flashcoders] Document viewer

2008-06-30 Thread Stuart Campbell
Thanks Juan that's exactly what I was looking for! On Mon, Jun 30, 2008 at 2:31 PM, Juan Pablo Califano < [EMAIL PROTECTED]> wrote: > Hi, > > The byte manipulation is possible and not too hard if you're using AS 3.0. > Basically, you can load any file and specify the dataFormat as binary. You > c

[Flashcoders] to have the same video as reflection

2008-06-30 Thread natalia Vikhtinskaya
Hi Is it possible after attaching video to have the same video like reflectionin a water? Something like this but this code does not work. theVideo.attachVideo(ns); ns.play("video.flv"); duplicateMovieClip(theVideo,"duplVideo",10); duplVideo._yscale=-100; duplVideo._y=300;

Re: [Flashcoders] urgent as3 textfield scroll problem

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
i should probably mention that the same object is used for several instances but it's just the one that doesn't use the elCreditFormat TextFormat that fails to scroll thanks a On 30 Jun 2008, at 15:10, Allandt Bik-Elliott (Receptacle) wrote: i really hope someone can help me here i have

[Flashcoders] urgent as3 textfield scroll problem

2008-06-30 Thread Allandt Bik-Elliott (Receptacle)
i really hope someone can help me here i have a textfield that is set up with a defaultTextFormat and has several setTextFormats applied to type within it but when i try to overflow it and add a scrollbar, i get no scroll result. I've looked into it and it seems that no matter how much type

[Flashcoders] problem after attaching video with enterFrame functions

2008-06-30 Thread natalia Vikhtinskaya
Can anybody help with this problem. In main swf I load "pages" – swfs in "host" mc. host=this.createEmptyMovieClip("host", 1); When I change page current page (host) and menu move and I delete menu and host mc with this function in _root.. deleteMenu=function(){ curPage=""; destX

Re: [Flashcoders] Document viewer

2008-06-30 Thread Juan Pablo Califano
Hi, The byte manipulation is possible and not too hard if you're using AS 3.0. Basically, you can load any file and specify the dataFormat as binary. You can then access the raw content of the file as a ByteArray. With it, you can do pretty much any manipulation you need. Once you have "reconstruc

[Flashcoders] Special Characters, Possible Work

2008-06-30 Thread David Benman
We need to integrate a wide range of special characters such as foreign language characters, math characters, super and subscripts, etc., into a database-driven, desktop, Flash application for the education market. I'm looking for somebody with experience doing this for possible paid consu

[Flashcoders] Various FLVplayback BUGS

2008-06-30 Thread jonas magnusson
I have come across a couple of bugs i would like to share with the Flash-community. These bugs are for AS2.0 FLVplayback component. 1) Loading live-streaming content will produce unpredictable behavior with the "play(url_str)" function, but seems to work very well when using "contentPath = url_str

Re: [Flashcoders] random drawing

2008-06-30 Thread Ashim D'Silva
If your item classes are card1, card2, card3 and so on, and your code currently works... AboutButton.addEventListener(MouseEvent.CLICK, gocard); function gocard(e:MouseEvent):void { /// var cardName:String = "card"+String(1 + uint(Math.random()*49)); // 49 is the number of clips you have var card

Re: [Flashcoders] Document viewer

2008-06-30 Thread Stuart Campbell
> > > I don't think that Adobe is especially interested in promoting > FlashPaper, > > which is essentially a competitor or substitute for PDF. > Pity about FP being deprecated. However, this is a use-once-then-throw-away project so I'm not too worried about the technology not being supported in f

Re: [Flashcoders] random drawing

2008-06-30 Thread Bassam M
Dear Ashim I didn't understanad hot to do it can you do sample for me with button on click on the button will insert the card to the stage I tryed to do it my self I user this code to insert the card from stage but I couldn't use with your code this is my code to insert card1 i don't know how t

[Flashcoders] AS3, List component - Get textwidth

2008-06-30 Thread Remco Hoff
Hi, I want to set the width of a List component to the widest Labelfield. Is there any way to get the textwidth of a label? TIA Remco Hoff http://www.fabrique.nl ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.co

[Flashcoders] right-to-left text

2008-06-30 Thread natalia Vikhtinskaya
Hi to all! I have right-to-left text in xml file (AS2). Trace shows thetext correctly but in dynamic text field I see left-to right text. Font is embedded. I did some research at this subject but cannot find solution. How can I solve this problem? Thanks in advance.