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
> 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 :
>
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
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
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
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
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 ?
>
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
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
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
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
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
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
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
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
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
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
__
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
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
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
>>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
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
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;
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
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
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
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
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
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
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
>
> > 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
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
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
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.
34 matches
Mail list logo