Hi All,
I am adding two textfields dynamically using the code written below and
after that i am trying to set the tabindex for the two textfields. But i am
not able to set the tabIndex for the textfields added dynamically. Can
anyone please guide what am i doing wrong here? Here is the code
I'm importing an AS3 class into my Flex app. It imports fine and the
trace message in the constructor works ok.
However, when I try to create additional functions (Hello) I get the
message :
1114: The public attribute can only be used inside a package.
This is despite the fact that I have
Ignore this message. I've just seen the error of my ways. I shouldn't
be nesting the function inside the constructor function. Knew it must be
something obvious.
-Original Message-
From: Cheetham, Marcus
Sent: 24 July 2009 11:17
To: 'Flash Coders List'
Subject: Package problem in Flex
Hello,
this should work:
package com.pearson.utils
{
public class PlaceItemsInSeries
{
public function PlaceItemsInSeries()
{
trace(Place Items in Series Class);
}
Hi list,
I need to find the coordinates of a mouseclick within a plane in
actionscript 2 papervision and I can't figure out how to do it.
Has anyone got any pointers for me, my 3d math skills are vry rusty?
regards,
JC
___
Flashcoders mailing list
Hi,
I thought that PaperVision provided that information for you - check
the docs...
Glen
Hans Wichman wrote:
Hi list,
I need to find the coordinates of a mouseclick within a plane in
actionscript 2 papervision and I can't figure out how to do it.
Has anyone got any pointers for me,
Hi,
yes the as3 version does:)
But I'm very lucky to be stuck on the same as2 project for 5 years in a
row...
However I chose the easy way out, I've drawn the hotspot in a separate layer
and now I can click.
Not sure how this is going to add up performance wise, but time will tell!
tnx
JC
On
Hello ! I'm trying to build a 2 level menu, and its submenus are quite big,
they contain a lot of sub-items.
I'm trying to find a simple way to do it (actually I just want that it work)
, but I'm having lots of problems.
As you will be able to see in the code below, I'm placing the dynamically
Actually this is no lockroot problem, like I thought it was for a moment.
A friend told me it might be that but after a little thinking its clear that
it isn´t . cause this gets the same movieclip. it is then really weird
for me why does it returns different number of children
ok
i´ve
I'm migrating an AS2 project to AS3. I'm not sure how to approach this part of
the migration. I have a MovieClip called us_states_mc. It contains 50
MovieClips, one of each US state. us_states_mc has this code inside it:
for (var item in this)
{
this[item].id = item.toString();
Hello :)
Read the reference AS3 of the MovieClip class :
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/MovieClip.html
The new display list implementation of the DisplayObjects is different in
AS3.
The MovieClip class inherit the DisplayObjectContainer class and you
register the click listener to top MC and make it capture phase
true.. and keep checking the event.currentTarget.
hope this help.
On Fri, Jul 24, 2009 at 12:22 PM, Schnurgle Schnurgle
schnur...@yahoo.comwrote:
I'm migrating an AS2 project to AS3. I'm not sure how to approach this part
of the
I think many on the list would say This isn't Flex Coders but the answer
to this one is fairly simple:
Is there a reason you're not using InputText Class rather than wrapping a
TextField in a UIComponent. I'm fairly sure neither TextField nor
UIComponent implement IFocusManagerComonent nor
13 matches
Mail list logo