You'd need to instantiate the other class and then access it, like this:
package test {
public class test2 extends Sprite {
public function test2(){
var testInstance:test = new test();
trace(testInstance.hello);
}
}
}
Also, it's good
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Viktor
Hesselbom
Sent: 12 June 2008 10:01
To: Flash Coders List
Subject: Re: [Flashcoders] AS3: How can I target an object from
adot-sytaxstring?
One dirty way would be like this:
var sTarget:String
You'd need to instantiate the other class and then access it,
like this:
That's one way, the other way is to use static variables:
package com
{
class MyClass
{
public static var name:String = Johnny;
//or declare as a public
Ah thanks for all the help everyone.
I'm slowly coming around to classes, as has been confused about when
and when not to use classes and how to access the information from
each other. interesting.
Thanks again :)
On Thu, Jun 12, 2008 at 3:38 PM, Merrill, Jason
[EMAIL PROTECTED] wrote:
You'd
Ali Drongo wrote:
Hello, I'm being passed a string that has a reference to an object in
dot-syntax like this: myOb.property.property2.property3
The object targeted may be a varying number of levels inside of the
top-level object.
I have tried to write this by turning the string into an
I would recommend using event.currentTarget instead of event.target at all
times.
the event.currentTarget property contains a reference to the instance at
which you registered the event listener. event.target refers to the class
that dispatches the event.
In this case there is no difference
I use event.target in the current application I'm developing.
It's nice in MouseEvents for determing what is currently under the mouse
and not what dispatches the event.
On Thu, 05 Jun 2008 14:17:43 +0200, EECOLOR [EMAIL PROTECTED] wrote:
I would recommend using event.currentTarget instead
Hi Guys a simple questions for you
Basically I want to produce similar code that creates 3 TextFields and when
clicked (or focused) they need to say Hi I'm TextField [num], I would like to
avoid putting the TextFields in MovieClips if possible.
//
// Creates 3 new MovieClips and adds a
Hiya, I can't seem to get the JSON.decode() method to work. I have
read a couple of blog tutorials and the string is tracing fine but
when I pass it I get the message:
Error: Unexpected j encountered
at com.adobe.serialization.json::JSONTokenizer/parseError()
at
for (var i:int = 0; i 3; i++) {
var txtFld:TextField = new TextField();
txtFld.name = TextField + i;
txtFld.border = true;
txtFld.x = i*120;
addChild(txtFld);
txtFld.addEventListener(MouseEvent.CLICK, onClick, false, 0, true);
}
function onClick(evt:Event):void {
try this one
http://maliboo.riaforge.org/
it is open source, and working (very early version, as written)
hth,
Cedric
Are there any FTP clients that run in AS3 for sale?
Elia
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
: [Flashcoders] AS3 FTP Client?
did you look the project's home ?
http://projects.maliboo.pl/FlexFTP/
Do you think I can use this in an AS3 project in Flex2?
I went to the link but the SVN appears empty to me
Elia
- Original Message - From: Cedric Muller [EMAIL PROTECTED]
To: Flash
Are there any FTP clients that run in AS3 for sale?
Elia
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
: [Flashcoders] AS3 FTP Client?
try this one
http://maliboo.riaforge.org/
it is open source, and working (very early version, as written)
hth,
Cedric
Are there any FTP clients that run in AS3 for sale?
Elia
___
Flashcoders mailing list
Flashcoders
@chattyfig.figleaf.com
Sent: Monday, June 02, 2008 12:56 PM
Subject: Re: [Flashcoders] AS3 FTP Client?
try this one
http://maliboo.riaforge.org/
it is open source, and working (very early version, as written)
hth,
Cedric
Are there any FTP clients that run in AS3 for sale?
Elia
PROTECTED] On Behalf Of Ali Drongo
Sent: 28 May 2008 16:28
To: Flash Coders List
Subject: [Flashcoders] AS3 GModeler?
Hiya, I'm starting planning an AS3 project and have previously used
Gmodeler to plan my classes.
Are there any similar apps that will generate my stub classes in the
same way
Another one for you...
I am having some trouble with dynamic variables, basically I expect
this['xmlClass.xmlData.RecImageW' + 1] to mean xmlClass.xmlData.RecImageW1, but
it seems it does not?
// VALUES
xmlClass.xmlData.RecImageW1 = 120;
xmlClass.xmlData.RecImageW2 = 1220;
for (var i=1; i=5; i++) {
trace(this.xmlClass.xmlData[RecImageW+i]);
}
should work
hth,
cedric
Another one for you...
I am having some trouble with dynamic variables, basically I expect
this['xmlClass.xmlData.RecImageW' + 1] to mean
xmlClass.xmlData.RecImageW1, but it seems it
Hiya, I'm starting planning an AS3 project and have previously used
Gmodeler to plan my classes.
Are there any similar apps that will generate my stub classes in the
same way GModeler did for AS2?
Or can anyone recommend other AS3 // OOP planning apps they find useful?
Cheers
Ali
/violetumleditor/page.php
cross-platform:
http://staruml.sourceforge.net/en/
Romu
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ali Drongo
Sent: 28 May 2008 16:28
To: Flash Coders List
Subject: [Flashcoders] AS3 GModeler?
Hiya, I'm starting planning an AS3
Another way to make the URLRequest is like this:
*var urlVariables:URLVariables = new URLVariables(var1=1var2=10);
var request:URLRequest = new URLRequest(http://url.com/;);
request.data = urlVariables;*
Greetz Erik
On 5/27/08, Søren Christensen [EMAIL PROTECTED] wrote:
Hi Viktor
This
Is there anyway for a static function within a class to fire off an event?
assuming the static function exists within a class that has no constructor (ie:
is never instantiated).
As I understand it, for another object to be listening for the event, said
object must have a local refence to the
I just ran into this the other day, and I created a public static variable
in the class called instance. When the static class is initialized via
some sort of init() function, I create a sole, empty instance of the class
whose only role is to dispatch events. Thus, when I have to assign a
Grant Skinner has created a nice solution for it:
http://www.gskinner.com/blog/archives/2007/07/building_a_stat_1.html
On Thu, May 22, 2008 at 1:56 PM, jonathan howe [EMAIL PROTECTED] wrote:
I just ran into this the other day, and I created a public static variable
in the class called
Hi guys im having problems with uploading an image, i cant seam to get it to
work! Most of the code is from the help files but still no joy! Any ideas...
public function uploadImage( ev:MouseEvent ):void
{
uploadURL = new URLRequest();
uploadURL.url = _mainClass._imgUploadURL;
http://www.tink.ws/blog/a-round-trip-with-filereference/
SJM - Flash wrote:
Hi guys im having problems with uploading an image, i cant seam to get it to
work! Most of the code is from the help files but still no joy! Any ideas...
public function uploadImage( ev:MouseEvent ):void
{
Glen is that not for AS2?
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Tuesday, May 20, 2008 12:30 PM
Subject: Re: [Flashcoders] AS3 - Upload image problem
http://www.tink.ws/blog/a-round-trip-with-filereference/
SJM - Flash wrote:
Hi guys im
-
From: Glen Pike
To: Flash Coders List
Sent: Tuesday, May 20, 2008 12:30 PM
Subject: Re: [Flashcoders] AS3 - Upload image problem
http://www.tink.ws/blog/a-round-trip-with-filereference/
SJM - Flash wrote:
Hi guys im having problems with uploading an image, i cant seam to get
is that not for AS2?
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Tuesday, May 20, 2008 12:30 PM
Subject: Re: [Flashcoders] AS3 - Upload image problem
http://www.tink.ws/blog/a-round-trip-with-filereference/
SJM - Flash wrote:
Hi guys im having problems
I am looking to take a DO (movieclip), and stretch just the side edges,
leaving the middle unstretched... so take an image, cut in 4 vertical
pieces, and stretch the outside pieces out horizontally by like 15%.
I could use DisplayObjects above the main one and just stretch those
horizontally, but
Thanks Glen ive added listener and seams to be ok! Need to test a live version
now tho!
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Tuesday, May 20, 2008 12:53 PM
Subject: Re: [Flashcoders] AS3 - Upload image problem
Apologies, it is.
You need
Cheers Jimbo, i downloaded this file to see what i was missing from mine, added
the listenor Glen was taling about and alls well! :o)
- Original Message -
From: Jimbo
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, May 20, 2008 1:02 PM
Subject: Re: [Flashcoders] AS3
: Glen Pike
To: Flash Coders List
Sent: Tuesday, May 20, 2008 12:53 PM
Subject: Re: [Flashcoders] AS3 - Upload image problem
Apologies, it is.
You need to add listeners for all the events that FileReference dispatches.
At a minimum you need to listen for the select event to begin
Eric, if you're saying you want to manipulate the first and last 15% of a
display object without creating anything else, I don't think that's
possible. The closest I can think of that will accomplish that is using a
displacement map filter in conjunction with resizing. That might get you
what you
While I don't seem to be able to do this easily, I am applying scale9grid to
sorta do what I want. I was hoping for incremental stretching on the
sides... maybe that is something I'll be able to do using a hydra filter or
something in FP10.
On Tue, May 20, 2008 at 12:47 PM, Rich Shupe [EMAIL
Maybe this will work?
Make two copies of the original MovieClip (if you're loading an image,
load it once into the first clip, then when it's done loading, load it
into the two others) for a total of three.
Mask the left and right pieces to the width you want to show. Mask the
middle
That was going to be an approach... and I would apply the stretch to the
sides loaded in on top by hand in Photoshop (cementing the effect -- bad
voodoo there). Then I thought it might be cool to do it using the BitmapData
class somehow instead so I didn't need to worry about any cleanup, etc. as
You can almost certainly write a Hydra filter for this. You can do it
AS-native with BitmapData.
9-slice scaling can't do what you're hoping for, as I understand it. It will
only scale the top and bottom centers when scaling left and right, the
left and right centers when scaling up and down, the
crud. anyone remember how to load a filter? ;)
On Tue, May 20, 2008 at 2:27 PM, Rich Shupe [EMAIL PROTECTED] wrote:
You can almost certainly write a Hydra filter for this. You can do it
AS-native with BitmapData.
9-slice scaling can't do what you're hoping for, as I understand it. It
will
Eric, I know this isn't the root of what you were asking, but here's a class
by Thibault Imbert that brings 9-slice scaling to bitmaps. Not on point, but
related:
http://www.bytearray.org/?p=118
And if anyone is interested, donate to his book. And if there are any fluent
French speakers willing
Hi Stephen,
On the Export for Actionscript dialog there is a pencil which brings up
your class if you click it. But if you haven't written a class yet then the
dialog says it will create one for you (when compiled), based on MovieClip.
If you have written a class then you get what you want
Example: I've drawn a 50x50 red square in the Flash IDE, and converted it to a
new MovieClip, giving it a name of Box. I've then selected Export for
Actionscript, at which point said clip is given the default Base Class of:
flash.display.MovieClip
So I then create a Class file, Box.as. Within
Hi Guys
i know about embeding fonts using the 'embed' button in the textfields property
inspector within in the ide. Can anyone point me to some definitive solutions
for embeding fonts into flash using actionscript (v3),!
Thanks
SJM
___
Flashcoders
Second link on google: http://www.tink.ws/blog/embedding-fonts-in-as3/
Greetz Erik
On 5/15/08, SJM - Flash [EMAIL PROTECTED] wrote:
Hi Guys
i know about embeding fonts using the 'embed' button in the textfields
property inspector within in the ide. Can anyone point me to some definitive
Coders List
Sent: Thursday, May 15, 2008 8:19 PM
Subject: Re: [Flashcoders] AS3 - Embeding Fonts
Second link on google: http://www.tink.ws/blog/embedding-fonts-in-as3/
Greetz Erik
On 5/15/08, SJM - Flash [EMAIL PROTECTED] wrote:
Hi Guys
i know about embeding fonts using
??
SJM
- Original Message -
From: EECOLOR
To: Flash Coders List
Sent: Thursday, May 15, 2008 8:19 PM
Subject: Re: [Flashcoders] AS3 - Embeding Fonts
Second link on google: http://www.tink.ws/blog/embedding-fonts-in-as3/
Greetz Erik
On 5/15/08, SJM - Flash
-
From: EECOLOR
To: Flash Coders List
Sent: Thursday, May 15, 2008 8:19 PM
Subject: Re: [Flashcoders] AS3 - Embeding Fonts
Second link on google: http://www.tink.ws/blog/embedding-fonts-in-as3/
Greetz Erik
On 5/15/08, SJM - Flash [EMAIL PROTECTED] wrote:
Hi Guys
To: Flash Coders List
Subject: Re: [Flashcoders] as3 namespace question
And now the attachment, hehe.
Greetz Erik
On 5/13/08, EECOLOR [EMAIL PROTECTED] wrote:
I posted about this before and didn't receive and answer but it is
still
causing
me issues so I am trying again.
There were some
I posted about this before and didn't receive and answer but it is still
causing
me issues so I am trying again.
There were some concrete answers posted to your question. Anyway, let's see
if we can solve it again.
Before I will try and help with your problem, I want to point out something
about
And now the attachment, hehe.
Greetz Erik
On 5/13/08, EECOLOR [EMAIL PROTECTED] wrote:
I posted about this before and didn't receive and answer but it is still
causing
me issues so I am trying again.
There were some concrete answers posted to your question. Anyway, let's
see if we can
I posted about this before and didn't receive and answer but it is still
causing me issues so I am trying again. I need to load an swf from one
server that is a member of some class. For example:
http://server1.mydomain.com/load_me.swf that uses the Document class
I have not tryed this, but check this:
http://livedocs.adobe.com/flex/201/langref/flash/display/LoaderInfo.html
Because the instance of the main class of the SWF file has no Loader
object, the loaderInfo property is the only way to access the LoaderInfo for
the instance of the main class of the
Does anybody have any code that sets the cells in a DataGrid so they
display text content to automatically word wrap instead of displaying
single line? This is for Flash CS3/ Actionscript 3.
___
Flashcoders mailing list
Since you have not set x,y for the MovieClips, might the others be
underneath the top one (last loaded)?
John
- Original Message -
From: [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, May 06, 2008 5:54 PM
Subject: [Flashcoders] AS3 For loop proplem
This code
Hi all,
I am having a very strange behavior with the Sound object.
I will try to describe the problem as accurate as possible.
I have a mp3 which I have embedded in class like this
[Embed(source='../../../../../embedded_assets/mp3/loop.mp3')]
private var Loop:Class;
This mp3 plays when the
Hi Quinrou,
I have exactly the same with an AIR project i'm building.
I have not found a fix, there is an explanation i'm reading right now,
it is in dutch, however the code should help you.
http://nederflash.nl/blog/as3-tips%3A-error-2029-uitgelegt#comment-42
Hope this helps you,
Sidney
Sidney,
Thanks for this but I think i will need to get the explaination coz the code
isn't fully there. i.e. There no method
completeHandler
which is used in the last example which is i think the one I am the
most interested in since it
looks very similar to the on I have.
Anyone else who has
Hi Glen,
I know I need to invoke the stop method to stop a sound object but what I am
looking for is to have my mp3 and the sound in the swf playing at the same
time. what is happening at the moment is that the sound in the swf overrides
the mp3 soundchannel and therefore causes the mp3 to stop
Apologies, I misunderstood what you wanted to do.
If you google around for sound and embedded flv people seem to be
having a few problems so I am guessing this may be a bigger issue and
would not surprise me if there is a bug in there somewhere or maybe a
feature of the player. I had one a
Hi,
If you want to stop the Embedded sound playing you need to save the
SoundChannel object returned from calling play() on the Sound object:
I guess you need to call stop() on your sound channel when your SWF
loads.
Here is a snippet of my code for a game - I stored my sound
no problem,
I think i have sort of managed to locate the bug to when and where it
occures My mp3 stops playing everytime a swf gets loaded regardless of it
containing a flv or not.
this pure madness...
thanks
On Tue, May 6, 2008 at 2:08 PM, Glen Pike [EMAIL PROTECTED] wrote:
Apologies, I
the completeHandler is only to re dispatch the channels SOUND_COMPLETE
private function completeHandler(event: Event): void
{
dispatchEvent(new Event(Event.SOUND_COMPLETE));
}
The Application (the mp3 player in this case) listens to the
SOUND_COMPLETE and then starts a
This code should load a MovieClip from the library 5 times, place
each on the stage and then load a different image into each one
Instead it loads the 5 MovieClips from the library, places them on
the stage and then only loads the image into the last (5th)
MovieClip, whats going wrong?
is your loadLibrary function is returning the same thing each time??
[EMAIL PROTECTED] wrote:
This code should load a MovieClip from the library 5 times, place
each on the stage and then load a different image into each one
Instead it loads the 5 MovieClips from the library, places them on
the addChild).
Hth,
Bob
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, May 06, 2008 9:54 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] AS3 For loop proplem
This code should load a MovieClip from
Hi SJM
I am trying to reproduce it for you.
Whats in : locationInfo.item
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
This function should loop through 5 times creating 5 different MovieClips, each
one with a mouse click event attached, which should trace the value of i
either 1, 2, 3, 4 or 5. So the first movieclip should output 1, second should
output 2 and so on...
for (var i = 0; i
var summaryClick = function (ev:Event)
{
trace(i); // Outputs incorrectly (Outputs 5 on each MovieClip
click) ???
}
Outputs correctly: 5 *is* the value of i when clicked.
Regards,
-Keith
http://keithreinfeld.home.comcast.net
var summaryClick = function (ev:Event)
{
trace(i); // Outputs incorrectly (Outputs 5 on each MovieClip click)
???
}
i does not exist within your loaded MovieClip. You need to trace a variable
that is specific to the MovieClip.
Charles P.
On Fri, May 2, 2008 at 10:58 AM, SJM -
Try the change I've added below and see if it works for you.
On 2-May-08, at 10:58 AM, SJM - Flash wrote:
This function should loop through 5 times creating 5 different
MovieClips, each one with a mouse click event attached, which should
trace the value of i either 1, 2, 3, 4 or 5. So the
{
_mcName.addChild(ev.target.content); // This should add the loaded image
into the placeholder movieclip for each of the 5 MovieClips
}
SJM
- Original Message -
From: Rob Romanek
To: Flash Coders List
Sent: Friday, May 02, 2008 4:23 PM
Subject: Re: [Flashcoders] [AS3
Hi Guys
Im in need of finding out how or even if its possible to convert an object to
an array?
Basically I am trying to output some vars from flash to an PHP script, yet when
PHP recieves the $_POST['textVars'] as [object Object] which is a string and
not an array so I can't access it with
Hi,
You could create a loop to look through each object and then make up
your arrays a bit like this - untested:
sendVars.textVars = new Array();
var numVars:int = textVars.length;
for(var i:int = 0;i numVars;i++) {
var obj:Object = textVars[i];
for(item:String
use remoting:
http://www.amfphp.org/
- Original Message -
From: SJM - Flash [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 29, 2008 2:19 PM
Subject: [Flashcoders] (AS3) Object to an Array
Hi Guys
Im in need of finding out how or even
Or SWX format
http://www.swxformat.org/
Pete
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: 29 April 2008 14:09
To: Flash Coders List
Subject: Re: [Flashcoders] (AS3) Object to an Array
use remoting:
http://www.amfphp.org
(
[textVars] = [object Object]
)
Thanks
SM
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Tuesday, April 29, 2008 1:43 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
Hi
Unfortunalty we are only testing in PHP, the application is going to be on an
ASP coded website so we really need to fix this from flash! :o(
- Original Message -
From: Muzak
To: Flash Coders List
Sent: Tuesday, April 29, 2008 2:09 PM
Subject: Re: [Flashcoders] (AS3) Object
Object]
)
Thanks
SM
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Tuesday, April 29, 2008 1:43 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
Hi,
You could create a loop to look through each
Coders List
Sent: Tuesday, April 29, 2008 1:43 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
Hi,
You could create a loop to look through each object and then make up
your arrays a bit like this - untested:
sendVars.textVars = new Array();
var numVars:int
ASP .NET ?
use remoting ;-)
http://www.themidnightcoders.com/weborb/dotnet/
- Original Message -
From: SJM - Flash [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Tuesday, April 29, 2008 3:52 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
Thanks for your help guys i went down the JSON route and won! :o)
- Original Message -
From: Muzak
To: Flash Coders List
Sent: Tuesday, April 29, 2008 3:35 PM
Subject: Re: [Flashcoders] (AS3) Object to an Array
ASP .NET ?
use remoting ;-)
http
Hi i need some help reading position info X, Y, H W of a desired object. Now
i know some of you are going to jump streight in with answeres like...
instanceName.y, instanceName.x etc... but i would like you to take a look at
the following link first, you will see a number of lines drawn to
Do you know the rotation?
2 ways to do this:
Either rotate the image back to 0 if it can be done - if you do this you
will need to call validateNow() on the instance after changing values,
read the new w2, etc. then rotate it back...
Or do some pythagoras
w2 is the hypotenuse of one
List
Subject: [Flashcoders] { AS3 } Reading position info X, Y, H W
Hi i need some help reading position info X, Y, H W of a desired
object. Now i know some of you are going to jump streight in with
answeres like... instanceName.y, instanceName.x etc... but i would like
you to take a look
Message -
From: Glen Pike
To: Flash Coders List
Sent: Monday, April 28, 2008 2:55 PM
Subject: Re: [Flashcoders] { AS3 } Reading position info X, Y, H W
Do you know the rotation?
2 ways to do this:
Either rotate the image back to 0 if it can be done - if you do this you
to figure out how its used!
SM
- Original Message -
From: Glen Pike
To: Flash Coders List
Sent: Monday, April 28, 2008 2:55 PM
Subject: Re: [Flashcoders] { AS3 } Reading position info X, Y, H W
Do you know the rotation?
2 ways to do this:
Either rotate the image
I'm in the process of switching some of my apps over to AS3, with one class
used to access and XML object giving me a fits.
The class is used to navigate through a serious of pages, with the XML
acting like the table of contents (chapter/topic/page). Applications using
this class would make calls
When porting from AS2, you might find it more direct to use
XMLDocument instead of XML. This behaves exactly like the AS2 XML
object.
Having said that, I tried your code and it seemed to work (I assumed
where you put node.childIndex() it was a typo and you meant to write
yeah, typo (copied code without changing the names to make any sense in the
context of this post).
If that code is working, I may have a more subtle bug working
somewhere...I'm going to guess that it may be from running a filter and
setting the XMLList directly to an XML object -- Either way,
And the problem becomes obvious... once I think about it.
AS2's to attempt to execute code on a variable containing null was used over
and over to determine when I reached the end of a set of pages in a
particular topic.
Code like
switch(node.nodeName)
...
case undefined:
Happily executes
Can anyone explain the logic for this feature? It seems like an
unloadMovie or deleteMovie built in function would be an absolute
no-brainer, and even essential. But I say this as a
designer-turned-coder so I'm probably missing something that real
programmers already know. And I can understand the
slide.mouseChildren = false;
On Mon, Apr 14, 2008 at 11:43 AM, Corban Baxter [EMAIL PROTECTED] wrote:
Hey guys I am having some issues with understanding AS3 and how all my
scope etc works. Can I get some type of explanation on this. Below is
some code I am trying to use in my first AS3
hi All,
Our app is designed to load Flash content examples and widgets from outside
servers - anyone on the web can enter a URL.swf into the demo list and those
.swf's are loaded as visitors view different areas of the site.
Many of the examples we've experimented with setup processes
Hi Dave,
http://www.gskinner.com/blog/archives/2008/04/failure_to_unlo.html
Grant Skinner recently blogged about this. Major issue. What's worse is
Adobe really has no intention of fixing it. I believe Grant's blog post
was an intention to put mucho pressure on Adobe by exposing how bad the
Dave,
One thing, though. The documentation states that you absolutely must
remove ALL references inside the swf, including timers, enter frame
listeners, stop playback of sounds, etc., basically do a complete
cleanup, before you can even remove a loaded swf. The issue that Grant
brings up
How easy is it to deselect a textbox when clicking on anything other than the
textbox using actionscript?
SM
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Take a look at the FocusManager class.
B.
On Mon, Apr 7, 2008 at 9:07 AM, Stuart (FunkDaWeb) [EMAIL PROTECTED]
wrote:
How easy is it to deselect a textbox when clicking on anything other than
the textbox using actionscript?
SM
___
Flashcoders
: [Flashcoders] AS3 MouseEvent target?
Extending DisplayObject to access some of its native
functionality (e.g.
event bubbling) seems fine to me, especially if you look at
it from the perspective of EventDispatcher has events and
DisplayObject extends EventDispatcher and adds bubbling
which is mouseChildren = false.
In my humble opinion I do not think this is what he needs. He should not be
referencing target, but instead he should reference currentTarget.
If you are adding a listener, the handlers e.currentTarget will point to the
object that you added the listener to,
This behaviour can not emulated precisely because there is no way for us to
set the target and currentTarget properties. This is done by internal
EventDispatcher code.
The EventDispatcher code works something like this:
- check if the target property of the event has been set, if not set it
-
701 - 800 of 1482 matches
Mail list logo