Cedric Muller wrote:
in the end, using 'this' or leaving it does make a difference, doesn't it ?
I cannot decompile to test my sayings, but 'this' adds more bytecode to
the file ??
I'm pretty sure it's just compiled into the same bytecode either way.
There are a number of ways to test that,
Unless someone has coded a very odd compiler*, for most compilers of most
languages including 'this' won't make any difference to the compiled
bytecode.
Ian
*But then, it _is_ Macromedia. You never know. ;-)
On 10/31/05, Cedric Muller [EMAIL PROTECTED] wrote:
in the end, using 'this' or
so, people not using 'this' assume something not really achievable in
terms of 'technology' ?
;)
I cannot decompile to test my sayings, but 'this' adds more bytecode
to the file ??
No, if you leave it off, it is added at compile time. Like I said,
you can't call methods that aren't
correction/confirmation:
'this' keyword is added everywhere it is needed during compile time.
Cedric Muller wrote:
in the end, using 'this' or leaving it does make a difference,
doesn't it ?
I cannot decompile to test my sayings, but 'this' adds more bytecode
to the file ??
I'm pretty sure
Run this, once in flash player6-setting, and one time in 7/8, both
compiled with as2. The Strong-typing of the parameter doesn't affect the
result.
But how come this is so indifferent results, was perhaps the output of
flsahplayer6 wrong accordingly to ecma?
trace(!isNaN(undefined))
/ martin
Chris Velevitch wrote:
I think the confusion occurs because you seem to be mixing up the
distinction between declaration and reference.
Another distinction, which isn't very clear in ActionScript, is the
distinction between declaration and definition. The declaration is where
you tell the
Martin Klasson wrote:
Run this, once in flash player6-setting, and one time in 7/8, both
compiled with as2. The Strong-typing of the parameter doesn't affect the
result.
But how come this is so indifferent results, was perhaps the output of
flsahplayer6 wrong accordingly to ecma?
Putting videos directly on the timeline (if I'm right in thinking that's
what you're doing) is not really the way to go, it's notoriously
unreliable for anything other than really small videos.
Have you tried using one of the Media Display components?
Matt Muller wrote:
Hi, I have a 360 of
Ian Thomas wrote:
Unless someone has coded a very odd compiler*, ...
*But then, it _is_ Macromedia. You never know. ;-)
Yes, it _is_ Macromedia :-) For a very odd compiler, look no further
than Lingo.
- Robert
___
Flashcoders mailing list
ryanm wrote:
I cannot decompile to test my sayings, but 'this' adds more bytecode
to the file ??
No, if you leave it off, it is added at compile time. Like I said,
you can't call methods that aren't members of an object; all functions
must be members of some object. AS1/2 allows you to
this is logical: you assign handleXML function to 'xmlDoc.onLoad'
handler which means that 'handleXML' belongs to xmlDoc from now on ...
In such cases, I do the following:
class ParseXML{
private var xmlDoc:XML;
private function handleXML(){
trace(owner);
}
function
Why? haha, sorry, but to me it looks like you just added var owner =
this just to avoid putting trace(this) for no reason other than avoiding
to use this.
What's the specific reason you did that? I'm guessing you're smarter
than me :)
- Andreas
Cedric Muller wrote:
this is logical: you
Andreas Rønning wrote:
2. What the hell is going on with this here
class ParseXML{
private var xmlDoc:XML;
private function handleXML(){
trace(this);
}
function ParseXML(url:String){
xmlDoc = new XML();
xmlDoc.ignoreWhite = true;
xmlDoc.onLoad =
I am not smarter than you, oh no! Delegate's smarter than us, and AS3
is King!! (problem solved in the future)
I am simply declaring a variable in the class which refers to the class
itself. This frees me from the scope trap (using this with 'onLoad') :
public function handleXML () {
Morten Barklund Shockwaved wrote:
Andreas Rønning wrote:
class ParseXML{private var xmlDoc:XML;private function
handleXML(){trace(this);}function
ParseXML(url:String){xmlDoc = new XML();
xmlDoc.ignoreWhite = true;xmlDoc.onLoad = handleXML;
On 10/31/05, Morten Barklund Shockwaved [EMAIL PROTECTED]
wrote:
It is amazing how we can turn back to this first-grade example of
understanding scoping in ActionScript almost daily.
True - but this highlights a flaw in the language rather than a flaw in the
questioner... if the same
Andreas Rønning wrote:
[snip]
*Yawn* here we go again, another new guy trying to understand this
OBVIOUS concept that we've been through so many times already. I
can't believe he's bothering us with this again!
[snip]
Sorry, I was in a bad mood due to other circumstances, had just
hi
maybe a silly question, but here i go anyway:
how would you write something like this in actionscript:
int matrix[3][3];
for(i=0;i3;i++)
for(j=0;j3;j++)
matrix[i][j]=0;
i've done something like this in my code, mtasc doesnt complained, but
the program doesnt work, and i have a feeling
Now it's not buried at the end of a thread - Dave (Watts), or any other list
admin - would it be possible (and desirable) to add a link to the FAQ in the
list signature? Then we might actually remember to update it, and newcomers
might know where to find it?
Cheers,
Ian
On 10/31/05, Martin Wood
what you search? A browsable map (viamichelin, mappe.libero.it etc...)
or GIS data ?
In second case the only data available at high detail are teleatlas
and navteq cartography, but are very loud and price is high.
Look at services like msn virtual earth and google maps (but from now
italy is not
On Oct 31, 2005, at 7:22 AM, cornel wrote:
hi
maybe a silly question, but here i go anyway:
how would you write something like this in actionscript:
int matrix[3][3];
for(i=0;i3;i++)
for(j=0;j3;j++)
matrix[i][j]=0;
i've done something like this in my code, mtasc doesnt complained, but
int matrix[3][3];
for(i=0;i3;i++)
for(j=0;j3;j++)
matrix[i][j]=0;
You have to create the initial array and then create any sub array. Kinda
like:
matrix = [];
for(i=0;i3;i++) {
matrix[i] = [];
for(j=0;j3;j++) {
matrix[i][j] = 0;
}
}
Ok. Since I was the 'ass' that started this junk by asking why this
was needed, maybe I can be the 'ass' that will end it.
This thread started with Andreas asking about addChild. Fair enough.
I asked about a specific example that used this on a method which was
a member of the same class
Hi guys,
I'm working on a project which involves reducing the amount of work done,
based on the client's CPU speed.
I'm wondering - does anyone have a tried tested method of doing this? I'm
thinking something along the lines of:
startTime = getTimer();
//do something timeconsuming - loop 100
maybe it would be best to do the profiling using the code that is being
performed, otherwise your results may be unreliable.
i dont know if thats possible in your case, but you could start from the
bottom and work up.
run a few loops of the doSomethingEasy() and see how fast its running,
if
I used this in my last projects...
var result : Number = 0;
for(var i : Number = 0; i 3; i++) {
var t : Number = getTimer();
while(getTimer() - t 50) {
var r : Number = random(10);
mc._x = r;
mc._y = r;
mc._xscale
Hi Amanda
This link may be of great use:
Cheers
Dom
http://www.cybergrain.com/tech/demos/flashhtml/
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Amanda Kuek
Sent: 30 October 2005 04:39
To: Flashcoders mailing list
Subject: [Flashcoders] Flash and
You must create empty arrays first, like this:
// bidimensional array in AS
var matrix2:Array = [];
for(i=0;i3;i++){
matrix2[i] = [];
for(j=0;j3;j++){
matrix2[i][j]=0;
}
}
trace(matrix2);
-- original message --
On Oct 31, 2005, at 7:22 AM, cornel wrote:
hi
On Oct 31, 2005, at 9:24 AM, Gregory wrote:
You must create empty arrays first, like this:
// bidimensional array in AS
var matrix2:Array = [];
for(i=0;i3;i++){
matrix2[i] = [];
for(j=0;j3;j++){
matrix2[i][j]=0;
}
}
trace(matrix2);
Yea, I'm a dufus. I
My other basic issue is for an application which displays approx 50 boxes
each of which i currently have formed using movie symbols, can be fully
rotated in 45 degree increments have 6 options of contents (this would
leave each box having 2 varients (8 for position, 6 for content), or 48
Hi People.
I have been reading about the JavaDoc, and that is really what I will
implement into my documentation-routine.
But now when I know all the tags and so on, I don't know what is a
general good way to use for params and how to really actually turn
javadoc into a good use within the
Try Zinc v2 for PPC.
;)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Kirkwood
Sent: segunda-feira, 31 de Outubro de 2005 14:50
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Simple serial reading application
I am a beginner
http://java.sun.com/j2se/javadoc/writingdoccomments/
On Mon, 31 Oct 2005, Martin Klasson
([EMAIL PROTECTED]) wrote:
Hi People.
I have been reading about the JavaDoc, and that is really what
I will
implement into my documentation-routine.
But now when I know all the tags and so
Hey Gang!
I've got a time dependent Flash file. When the user right-clicks on
the movie, the movie pauses.
I do understand it is possible to disable the menu, however , does
anyone know if it is possible for the Flash movie not to pause when
a right-click is registered?
Thanks!
David
This is a strange thing to want to do in Flash.
Is using Flash a requirement?
Scott
-Original Message-
From: [EMAIL PROTECTED] on behalf of Pedro Furtado
Sent: Mon 10/31/2005 10:34 AM
To: 'Flashcoders mailing list'
Cc:
Subject:RE: [Flashcoders] Simple serial reading
Nope.
my_win, the variable, is still declared (to the compiler) as a MovieClip. It
only knows about it as type MovieClip.
The object it 'points to' happens to be of type MyCustomForm, which is an
object that inherits from MovieClip. It does all the things that MovieClip
does, just does more
Amen brother... Testify!
!K
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: October 27, 2005 10:47 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash vs Flex
Admittingly, something needs to be done. Hopefully either Blaze
Hello all,
I received an email stating that the Layering problem between Flash
Content and DHTML (for example drop down menues) has been fixed in flash
player 8. And that this is a bug in flash player 7.
I dont know if this is true, so I was trying to get some insight from
some one that can
Doug Miller wrote:
http://java.sun.com/j2se/javadoc/writingdoccomments/
On Mon, 31 Oct 2005, Martin Klasson
([EMAIL PROTECTED]) wrote:
Hi People.
I have been reading about the JavaDoc, and that is really what
I will
implement into my documentation-routine.
But now when I know
You don't ever actually change anything in AS2 though; you can't. My
example is just showing you are telling the compiler that you are changing
it's type; I know full well it's type never changes. You can use Number,
int, String, parseInt, and parseFloat; but only 2 of those can be used as
I need to do a product site which is viewed in flash, but want to use a
blogging system to manage the content updates.
seems like wordpress has well documented DB apis etc to pull the post
content out of;
has anyone seen other blogging systems that someone has written a flash
presentation layer
To clarify, it changes to the type as far as the compiler is concerned, but
at runtime, yes, it's just a MovieClip.
- Original Message -
From: Ian Thomas [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 31, 2005 10:44 AM
Subject: Re:
dosn`t have to be flash, but we have a shell everything i need setup in flash
im not very good with other softwares- just thought there may be some
backdoor way to read com ports to flash. what software would you reccomend
scott ?
The application is for reading some kind of tag - displaying
http://www.as2doc.com/
I believe there are other applications out there that will do it
as well. Anyone know if there are any eclipse plugins that will
generate docs for as2, that would be nice!
Get your own 800 number
Voicemail, fax, email,
dc wrote:
I need to do a product site which is viewed in flash, but want to use a
blogging system to manage the content updates.
Do you need to update just text? or also images? or also display
structure (columns, layout etc)? or also database structure (new catalog
items, etc)?
Knowing the
I believe I hickjaked a thread. Sorry about that here is the new thread:
Hello all,
I received an email stating that the Layering problem between Flash
Content and DHTML (for example drop down menues) has been fixed in flash
player 8. And that this is a bug in flash player 7.
I dont know if
Hey Gang!
I've got a time dependent Flash file. When the user right-clicks on
the movie, the movie pauses.
Just to clarify, I do not want to uncheck the play item, I want to
ensure that the flash movie keeps playing when a right-click is
registered.
I do understand it is possible to
Hahahah.
Thanks man! Now I know I am a complete idiot.
Thanks for your patience.
On Oct 31, 2005, at 9:31 AM, Helmut Granda wrote:
You just did.
DP wrote:
Hey!
I think I might be really dumb by asking this
How do I make a new topic in this group?
I've tried posting a new topic twice.
probably worth checking out mosxml, a version of mambo that outputs xml and
has a basic flash
skin in the download
http://www.ciadd.co.uk/mosxml/index.php?option=contenttask=viewid=41
On 10/31/05, dc [EMAIL PROTECTED] wrote:
I need to do a product site which is viewed in flash, but want to use
EMAIL TIP: Try hitting New Message in your emailer when starting a new
discussion, rather than hitting Reply, to avoid becoming invisible in
emailers which thread conversations. (Right now your post is found in
the archive as a reply to Right-Click Pauses Movie!) The references
field in your
No - it _doesn't_ change the type of the variable from the compiler's PoV,
that's my point. :-)
I've probably been explaining really badly.
The statement:
var my_var:A;
defines a thing which can point to objects of type A.
This thing can only _ever_ hold references to objects of type A and
Is it possible to create a calendar application in Flash which allows
the user to click on an event and to have that event automatically added
to their MS Outlook calendar?
I know that Microsoft has done a lot to tighten up security in Outlook,
and a lot of things that used to be possible are
Summary: The New button in your emailer helps get attention for a new
thread better than the Reply button does.
DP wrote:
How do I make a new topic in this group?
I've tried posting a new topic twice.
You just did so here... you can check it in the archive too:
Has the bug been fixed in 8?
Matt
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
Sent: Monday, October 31, 2005 11:01 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Strict Datatyping Question
To clarify, it changes to the type
John,
I really feel like an idiot, but this is not the first time.
Thank you for you instructions and patience, and your reply.
I also can't cook rice to save my life!
David
On Oct 31, 2005, at 10:02 AM, John Dowdell wrote:
Summary: The New button in your emailer helps get attention for a
Matt,
See all the previous mails. It's not a bug, so won't have been fixed. It's
the way that the language is supposed to work.
Ian
On 10/31/05, Adams, Matt [EMAIL PROTECTED] wrote:
Has the bug been fixed in 8?
Matt
___
Flashcoders mailing list
So this becomes Does anyone know of WMODE support in various browsers
for Linux? If so, then I just tried some quick searches with mixed
results -- I found many incidental mentions, but no document which seems
to answer Which Linux browsers can buffer plugins offscreen?
The Flash Release
Is there a way around this?
I'm applying a mask on top of a dynamically loaded .swf. The Mask is removing
all dynamic text - why?
-Original Message-
From: Bolo Michelin [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 06, 2005 8:28 AM
To: Flashcoders mailing list
Subject: Re: SV:
Doxygen and the eclox plug-in.
Ron
Doug Miller wrote:
http://www.as2doc.com/
I believe there are other applications out there that will do it
as well. Anyone know if there are any eclipse plugins that will
generate docs for as2, that would be nice!
Thanks for all your help, not only I learned how exactly indetify the
problem but also how to post more accurate subjects to the list. I will
try to get the source info for this problem and post it back to the list.
...helmut
John Dowdell wrote:
So this becomes Does anyone know of WMODE
On 10/31/05, Noyes, Jeff [EMAIL PROTECTED] wrote:
Is there a way around this?
I'm applying a mask on top of a dynamically loaded .swf. The Mask is removing
all dynamic text - why?
1. Try doing a dynamic mask, applied at runtime. I think there's a bug
with applying masks in the authoring
Try Google. I came up with this tutorial
http://people.interaction-ivrea.it/h.barragan/flashserialinterface.html
It does not describe how to write the server but that might come from
the manufacturere of the device.
Ron
Danny Kirkwood wrote:
dosn`t have to be flash, but we have a shell
It's a method of the package.
When you create an AS 3 class you can put methods inside the package {}
block, but outside any class definitions.
I'm not sure why it works that way, but that's the way it works.
Spike
On 10/31/05, Martin Wood [EMAIL PROTECTED] wrote:
i think its just a function
Another one that looks even weird is flash.util.getTimer. Adding camel case
makes it weird, but in usage it's not so bad. If you do:
import flash.util.trace;
You can then just do:
trace(normal);
In your classes.
- Original Message -
From: Martin Wood [EMAIL PROTECTED]
To:
Hi dc,
I started a Flash UI for drupal project a while ago. After my research I
figured you could do a Flash front end to display data but it would be
difficult to do the data entry. So the option would be a mixed site with
Flash to display content and HTML to create it. I came to the conclusion
Is this flash- or actionscript-related? The only thing I can recommend as
far as flash and maps is http://www.neave.com/lab/flash_earth/
Liam
On 10/31/05, Marco Sottana [EMAIL PROTECTED] wrote:
where i can find a map of italy i wish coordinates in a database.. i like
www.mappy.com
Yeah - if I had £1 for every time I said - hmmm, I wish I could redirect all
the traces to a different function (like a screen logger) without changing
my code too much... I have at least £10. :)
Alias
On 10/31/05, Stan Vassilev [EMAIL PROTECTED] wrote:
Well that's one thing I always wanted to
I have a text field of references, like so ...
A HREF='asfunction:_root.addStory, _root.arrStorys[0]'
bBULLETIN:SPECULATION HOUNDS SEAMARK/b/A
A HREF='asfunction:_root.addStory, _root.arrStorys[1]' bHEADLINES
OCTOBER 31, 2005/b/A
A HREF='asfunction:_root.addStory, _root.arrStorys[2]' bFORBES
Hi Simon,
I think you'll need to look into the file format specification for this. Try
the H263VideoPacket tag near the end. I'd suggest using a tool that can
convert an existing tagged FLV into a XML document so you can have a look at
what's going on. You might be able to alter the XML and
So you have to set the mask through actionscript - that's the only way?
-Original Message-
From: JesterXL [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 1:54 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Why does Mask, mask dynamic text?
Not true; if you use
I need to find an example of a Flash Org Chart - preferably one that's
built off of an XML file. Has anyone seen anything like this?
-Original Message-
From: JesterXL [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 1:54 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders]
Embedding a font works, but for smaller fonts, even in Flash Player 7, it's
all blurry. Flash Player 8 looks pretty good.
Both solutions, however, add a ton of CPU RAM overhead because embedded
fonts use anti-aliasing to make them look nice so slow down animations and
use more ram. However,
:/
Something like trace should be globalized (but somehow could be overrided).
I guess I can't have everything. In MM's anti-method-globalization approach,
it seems like a whole bunch of handy methods like...
trace()
fscommand()
getTimer()
LoadVars.send()
...got kicked out of the global house
hi.
i had a similar problem casting a string to a boolean last week but
someone showed me the correct way to do it. unfortunately, it's not
working in my latest exercise. when i trace out the value i always get
false even when i change it to true. what happened to my
conditional? ( i'm publishing
Hey man.
You could create a variable outside of the function, declare it to be
global, and then assign it like you have below.
DP
On Oct 31, 2005, at 2:26 PM, jleonard wrote:
I'm using the line below inside a function to create a var using
the xml's node name tag.
But outside
apparently the problem was with the encoding of the text file. it was
originally encoded as Western Roman and as soon as i encoded it as
utf-8 it worked just fine.
-- Forwarded message --
From: Matt Ganz [EMAIL PROTECTED]
Date: Oct 31, 2005 4:23 PM
Subject: casting to a boolean
Really neat...but may I suggest that you change the name?
Scott
-Original Message-
From: [EMAIL PROTECTED] on behalf of Judah Frangipane
Sent: Mon 10/31/2005 3:14 PM
To: Flashcoders mailing list
Cc:
Subject:Re: [Flashcoders] DHTML and FLash Player 8 Bugs Fixed
Hi
Flashout is the debugging part of Eclipse
Brent Gore wrote:
Here goes my first post to flashcoders. I recently began experimenting
with the FAMES development setup. So far the IDE is really awesome, but
is there anyway to debug? I've played with the debug settings in
Eclipse but no luck.
The reason why all of this is of any concern to me is that I am attempting
to write solid AS2.0 today that has the potential to be migrated to AS3.0
tommorow. The reason why I havn't gone head first into AS3.0 is that my
present target audience is Flash Player 7.
Easy to migrate (for the
You might find the answer here:
http://www.ecma-international.org/publications/standards/Ecma-262.htm
Furthermore, in Flash 4, a colon was used to get/set a variable in a certain
timeline.
If I remember correcty, it looked something like this:
phrases/introduction:String = blah;
Where 'String'
Thanks James. It's a good idea, but I think for this project I'll go
with the Javascript sets hidden form fields idea. But thanks for
adding this idea to my spongey brain!
On 31/10/05, JOR [EMAIL PROTECTED] wrote:
I wouldn't hit the server until the location was considered final by the
user.
Thanks a heap Dominic and Richard!
You're right - that flash demo at
http://www.cybergrain.com/tech/demos/flashhtml/ was of extremely great
use.
It's always nice to do something for the first time in Flash, that you
didn't think was possible.
Cheers again.
On 01/11/05, Dominic Fee [EMAIL
I used to use FAME because MTASC is extremely fast at compiling compared to
Flash.
However, MTASC is apparently not going to support AS3, thus the whole point
of using FAME, for me anyway, is dead. While Flashout has some nicely
formatted traces, and ASDT has some neat templates, it doesn't
Learning FlexBuilder 2 can coincide with your FAMES learning because it all
happens in the same IDE (Eclipse). I don't recommend switching entirely
unless you don't plan to release anything until Flex 2 comes out (Jan?).
Flex is simply another way to develop apps on the Flash Platform. (It's
I'd like the answer to this also...
On 10/28/05, Jon Bradley [EMAIL PROTECTED] wrote:
No answer from MM on their labs forums, or anywhere else for that
matter.
Anyone locate the standalone player for OS X yet? It aint in the
FlexBuilder2 installer or in the plug-in installer. Only the PC
Im pretty sure outlook at export CSV file or something similiar..
Can't tell you for sure as I dont use either product..
On 10/31/05, Wouter Steidl [EMAIL PROTECTED] wrote:
Hi there,
Does anyone know if it is possible to import Outlook contacts or people
from
your MSN or AOL list into a
Hi, Douglas... :)
I was wondering if it is possible to see that in action or perhaps some
screenshot if it is okay... :)
Thanks...
Jason
- Original Message -
From: douglas morrison [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October
Just curious if anyone else has lost data when using Eclipse with ASDT?
e.dolecki
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
i had it clear my entire desktop. I didn't have it all in SVN at the
time. Pretty freaking scary when it happens.
On 10/31/05, JesterXL [EMAIL PROTECTED] wrote:
I've had Eclipse 3.1 delete an entire project directory when I removed a
project, and said No, please don't delete the project.
It
Great work! By any chance Do you have a list of platforms you have
tested this on? The main problem I have is with Linux.
Thanks
...helmut
Judah Frangipane wrote:
Hi Saunder,
It is possible. Until I send some example links you can look at these
screenshots here:
I have read through several JavaDocs-documents and am still not having
any clue about how to write down that a method uses dispatchEvent.
class A{
public function addToQueue(){
// code..
// dispatchEvent(...)
}
}
Is there any @anything for
91 matches
Mail list logo