As Johanness already mentioned, __hasInitialized is used to check if the
instance has initialized.
This is to avoid unnecessary method calls from the setter, as the setter is
called before the constructor.
Without the check, set bgColor would call SetBgColor before anything else.
regards,
I've no idea what i did but it works now, think it was something to do with
the attachMovie. Very frustrating for a while tho.
Thanks for the suggestions guys.
On 22/03/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote:
it could also be that your server doesn't have the right mime settings
I have a really weird bug going on in a game I am making. Game is
developed in Flash 8 PC. (Published Flash 8 Actionscript 2)
My game was crashing the second time I played it so I have spent the last
day and a half tracking down the cause.
I have narrowed it down to a text input field. This is
Slightly complicated and not terribly important but annoying:
It's possible for a class to compile while self-referring:
class Clarss {
var pParent:Clarss;
function Clarss(tParent:Clarss) {
if (tParent != undefined) {
pParent = tParent;
Hi Robert,
You should look into shared librairies for your fonts as it will spread
the weight of the fonts over multiple files.
For possible solution I'd recommend going over
http://www.muzakdeezign.com/flashcoders/ and search for font shared
library
Lots of discussion on the subject !
Good
Hi
Plz tell me how to change the format of last character of a word.
LikeWorld
I want Worl in Arial Font and d in Digital Readout Thick Upright Font.
Thanks in Advance...
HMD
__
Yahoo! India Answers: Share what you
Check more on the JavaScript Side, It might be a problem accessing the
DOM objects in IE6.
Check out document.documentElement in javascript, sometimes this is
where the solution lies in such problems.
put some alerts() at the key places and try to find the value of the
Flash object for IE6
Steven,
I had a similar problem when loading external xml files. The java
servlet I was using to create and save the files on the server was
saving them with UTF-8 encoding but when I imported them into Flash,
some of the special characters did not show properly. I removed the
encoding
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Mark Winterhalder
Sent: 21 March 2007 23:41
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Problem extending inherited function
Importance: High
snip big explanation
Mark,
Looks wrong to me because the drawing code (the setBgColor())
is called outside of the draw() method. Flash Help says to call
invalidate() from the set methods instead...
On 3/21/07, Johannes Nel [EMAIL PROTECTED] wrote:
he checks if the component is init'd
On 3/21/07, Alexander Farber [EMAIL
someone said that flash newbies was not longer available...is that true?
regards
Gustavo Duenas
On Mar 21, 2007, at 4:29 PM, Merrill, Jason wrote:
to read the xml. just loadVars()
the code in xml :
link a href=1.swf?id=nada//link
actionscript: ???
and how could I have this processed in
http://www.gettheglass.com
How much time for this game project? How much developer?
C'est magnifique!
--
Laurent Untereiner
skype : laurentuntereiner
aim : luntereiner
icq : 294429730
msn : [EMAIL PROTECTED]
http://www.untereiner.com
mes photos sur fotolia:
En/na Steve Abaffy ha escrit:
I tried loading the swf file as well
and loads ok, except that the second swf file needs to look at a folder and
load a bunch of jpg, and other data. I have looked at the data being loaded
and it is all there, however the pictures do not load that data does not put
interestingly, NO single FLASHCODER can say what it is about...
meaning, we all lack of understanding of our environnement :P
have a nice day all of you who doesn't understand what is going on
with the EventDispatcher class ...
a true study case this one ... a true!
Cedric
Hi,
this
class Clarss {
var pRoot:Clarss2
function Clarss() {
}
}
class Clarss2 extends Clarss {
function Clarss2() {
}
}
looks like a design error to me. One of the reasons you would use
inheritance is polymorphism, and reducing complexity. A super class having
to
ps if you still need to do what you are trying, compiling twice or thrice
might help:)
On 3/22/07, Hans Wichman [EMAIL PROTECTED] wrote:
Hi,
this
class Clarss {
var pRoot:Clarss2
function Clarss() {
}
}
class Clarss2 extends Clarss {
function Clarss2() {
}
}
Hi,
i just finished an app with the same characters in it. It contains no header
and is a unicode file.
The file was generated from a database to ascii (which is stupid but
whatever) so I used a commandline vbscript for the conversion from my
buildfile.
If you like I can send you the xml file and
Getting my feet wet with AS3, I just bought the AS3 cookbook and have
learned a lot already - great book. I feel like an idiot asking this as
I'm pretty good in AS2, but with AS3, I'm not getting a simple script
working. I have the Flash 9 AS3 preview, trying to write a simple
HelloWorld class
If your flash object is inside a form element, that´s the problem.
Check
http://www.extremefx.com.ar/blog/fixing-flash-external-interface-inside-form-on-internet-explorer
for more information.
On Thu, 22 Mar 2007 09:08:49 -0300, Alain Rousseau [EMAIL PROTECTED]
wrote:
Check more on the
Fellow Flash Coders,
You might be interested in this free project:
http:///www.nottingham.ac.uk
I'd be interested in what you think,
Regards,
Julian
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your
Oops - I forgot to post the whole link:
http://www.nottingham.ac.uk/xerte/
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications
Thanks Alain.
Le 22/03/07 07:50, « Alain Rousseau » [EMAIL PROTECTED] a écrit :
Hi Robert,
You should look into shared librairies for your fonts as it will spread
the weight of the fonts over multiple files.
For possible solution I'd recommend going over
hi francis,
here my result on a DELL dimension AMD64 X2 Dual Core 3800+
2 GHz, 1 GB RAM:
EventBroadcaster: 3563
EventDispatcher: 2210
WIN 9,0,28,0
best,
til
Francis Bourre schrieb:
Hello list !
I noticed something weird about EventDispatcher execution speed in my
mac player.
Is there any way to do it? (And yes, I know I'd be better off with an
external editor, but sometimes it's easiest just to work in the IDE).
Danny
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
No, it's working... I just posted a response to a question last night.
Jason Merrill
Bank of America
GTO Learning Leadership Development
eTools Multimedia Team
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Gustavo Duenas
Sent: Thursday, March
Danny Kodicek wrote:
Slightly complicated and not terribly important but annoying:
It's possible for a class to compile while self-referring:
class Clarss {
var pParent:Clarss;
function Clarss(tParent:Clarss) {
if (tParent != undefined) {
Here's a really weird one: I created a Flash 8 swf -- using
Actionscript 2.0 -- compiled it as a Flash 8 swf, but it doesn't work
in the Flash 8 player. It does, however, work in the Flash 9 player.
The file loads data in from multiple xml files. It actually works
fine, even in Flash 8, if I
it is great
On Mar 22, 2007, at 3:44 AM, laurent untereiner wrote:
http://www.gettheglass.com
How much time for this game project? How much developer?
C'est magnifique!
--
Laurent Untereiner
skype : laurentuntereiner
aim : luntereiner
icq : 294429730
msn : [EMAIL PROTECTED]
Hi Danny,
Maybe make it a
public var pParent:Clarss;
or if you don't want your var to be accessed directly outside the class
(best practice)
class Clarss {
private var _pParent:Clarss;
function Clarss(tParent:Clarss) {
pParent = (tParent != undefined) ?
first set the TextField to scrollable. Select the TextField and on the menu
click text and scrollable.
If this wont work than try loading a picture and not an swf.. See if it
works, if not than you'll have to create a costum scroller that, in this
case scrolls a movieClip and not text, as in, I
WOW!
http://www.gettheglass.com
How much time for this game project? How much developer?
C'est magnifique!
--
Laurent Untereiner
skype : laurentuntereiner
aim : luntereiner
icq : 294429730
msn : [EMAIL PROTECTED]
http://www.untereiner.com
mes photos sur fotolia:
Hi,
You can use setTextFormat(startIndex,endIndex,textFormat):
// start
var TF1:TextFormat = new TextFormat()
TF1.font=Arial;
//
var TF2:TextFormat = new TextFormat()
TF2.font=Courier New;
//
this.createTextField(txt,1,0,0,200,30);
//
this.txt.text = Ein, Zwei, Drei;
//
var end1Idx =
Hi buddy,
isnt the format ARGB ?
HEX = 0x AA RR GG BB ?
Just a suggestion :) But I think what you think are your blues ar ein
reality your Greens :)
Also dependant on the version of flash you are working with...
Best of Luck and successfull clicking
Amir
Am 07:21 PM 3/21/2007 schrieben
Someone already mentioned what it is - the for in loop vs the straight for
loop.
for (var i in array) ends up pushing all the keys of the array on the stack,
and then popping those off.
for (var i =0; i array.length; i++) doesn't.
The test attaches 500 listeners to each dispatcher, so when you
I just wanted to extend my gratitude towards the people that helped me
understand the scope issue when extending a function inside a class that
is triggered by a text field, and tipping me off about the Delegate
class. Thanks!
--
Johan Nyberg
Web Guide Partner
Sergels Torg 12, 8 tr
111 57
Hi,
There a presentation related to garbage collection (effective
deleting/removing) and some performance related stuff. All in relation
to AS3, but applicable in many situations:
http://www.gskinner.com/talks/resource-management/
Carl Welch Hi Coders,
Carl Welch I've been having problem with
That is if you're extending UIComponent, which 99.9% of the time I don't ;)
regards,
Muzak
- Original Message -
From: Alexander Farber [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, March 22, 2007 9:04 AM
Subject: Re: [Flashcoders] Entering hex number (a color)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Hans Wichman
Sent: 22 March 2007 12:39
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Compiling with self-reference
Importance: High
Hi,
this
class Clarss {
var
Hello,
I have written my own component (please see Bubble.*
in http://preferans.de/flash/ ) which works ok - but only
if I pull its instance onto the stage manually.
If I try to instantiate it during runtime with -
bubble_mc = createClassObject(Bubble,
'bubble_mc', 10, { _width: 80,
Hi,
there's no code to work with here, but i would guess it's a
recursive/infinite loop problem.
Are there any handlers hooked up to that particular text field?
On 3/22/07, Paul Steven [EMAIL PROTECTED] wrote:
I have a really weird bug going on in a game I am making. Game is
developed in
Hey off the top of my head, I think I see the problem.
So, you add the text field child to the HelloWorld Sprite. Adding the
child in the hello world sprite, does not add it to the stage. When you
use add child alone, you have to pretend it's this.addChild. If you
chose to import
Hi Carl,
I understand the problem. Can be a real pain in the *ss to figure it
out. Especially because so many things can cause the problem.
You should double check you actually do clear your intervals +
enterframes, but in my experience, the thing that kills the cpu the most
is the effort flash
Hi Jason,
I'm just guessing here but how about:
addChild(hw);
Anthony
On 3/22/07, Merrill, Jason [EMAIL PROTECTED] wrote:
Getting my feet wet with AS3, I just bought the AS3 cookbook and have
learned a lot already - great book. I feel like an idiot asking this as
I'm pretty good in AS2,
Hi,
In your fla add:
import MyPackage.*
var hw:HelloWorld = new HelloWorld();
//You need to add the Child to the Stage
addChild(hw);
Other way to do it is set as 'Main Class 'of the fla file Helloworld.as, you
can do it in Publish settings in ActionScript option (the same where you set
the
Hi all,
I need (want) to get myself up to speed with PHP 4.x/5.x and MySQL. I'm
experienced with ActionScript (1 and 2), JavaScript, and Lingo (Director),
and have dabbled with Java.
I don't need a text that goes into basic programming techniques, rather I am
looking for something that is a good
Actually, Flash Player 7 can play Flash 8 swfs. Textfields with Flash 8
featuers (like advanced anti-aliasing) will just not render. Make sure you
have no Flash 8 features applied to your textfield, or the movieclip
containing it, and it will render as it should.
I'm not sure why it was
Hi,
Do additional addChild(hw) in your .fla file. Also, the
DisplayObjectContainer isn't needed.
Cheers,
Petro
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Merrill, Jason
Sent: Thursday, March 22, 2007 3:09 PM
To:
The constructor traces fine in the output window, but the TextField does
not show. What have I done wrong? My Export settings in F9 As3 preview
are for AS 3.0 and FP9. In later scripts, I tried moving the textfield,
changing the color, changing the stage color to be sure it wasn't
matching the
Hi Jason,
Try setting the width and the height of the Textfield.
www.pierinc.com
On 3/22/07, Merrill, Jason [EMAIL PROTECTED] wrote:
Getting my feet wet with AS3, I just bought the AS3 cookbook and have
learned a lot already - great book. I feel like an idiot asking this as
I'm pretty good
In case it matters, the problems occur after 11 xml files, not 10.
On 3/22/07, me myself [EMAIL PROTECTED] wrote:
Here's a really weird one: I created a Flash 8 swf -- using
Actionscript 2.0 -- compiled it as a Flash 8 swf, but it doesn't work
in the Flash 8 player. It does, however, work in
Hey Jason,
If I remember correctly, I believe you also have to attach your HelloWorld
class to the stage (or was it display list?) via addChild. Instantiating it
via the constructor will only create it in memory and not automatically
attach to the display. I don't have the exact syntax, but I'm
I see,
You need to add HelloWorld to the main DisplayList.
import MyPackage.*
var hw:HelloWorld = new HelloWorld();
addChild(hw);
On 3/22/07, elibol [EMAIL PROTECTED] wrote:
Hi Jason,
Try setting the width and the height of the Textfield.
http://www.pierinc.com
On 3/22/07, Merrill,
Anyone have any experience in this area? We're developing a Flash site for a
new client, who keeps all their own web servers in-house. They are MS house
using .net and such. They are setting up a new server just for their new
site, and since they are not familiar with PHP or MySQL (which is
I should mention why I thought it was a width/height issue.
UITextField and extending components (and some other components) in the Flex
framework initialize to a width/height of 0... It really took me by surprise
.
On 3/22/07, elibol [EMAIL PROTECTED] wrote:
I see,
You need to add
If you are doing a lot of createEmptyMovieClip() and attachMovie(), then
make sure that those movieclips are getting removed when you are done with
them. If you are fading those clips away, but never removing them from the
stage with removeMovieClip() (*not* delete), CPU performance will surely
Give this a shot
function getRGB(c:Number):Array {
return [c16, c8~0xFF00, c~0xF00];
}
On 3/21/07, Alias™ [EMAIL PROTECTED] wrote:
Hi guys,
This is annoying me - I'm just trying to get the seperate RGB
component values out of a hex number, then manipulate and reconstruct
them.
var
Hm. I haven't used ExternalInterface at al (I'm stuck with Flash 7),
so I'm not really sure what the problem could be. Though you might be
able to do it as a callback (have the javascript function call some
function in your Flash movie to give it the value). The control flow
for that would be
Danny Kodicek wrote:
It's a shame: My object structure has a bunch of objects in a tree
structure, all of which inherit the same base class. I'd
like them all
to have a reference to the top-level node object, but I
have to refer
to it as an Object instead of its actual class name
Here are my results :
EventBroadcaster: 19899
EventDispatcher: 18322
WIN 9,0,28,0
Mozilla Firefox 2.01
EventBroadcaster: 18031
EventDispatcher: 18697
WIN 9,0,28,0
Internet Explorer 6
And here is
Hi List..
I am writing a class and inside this class, i got a this method
private function wheel() {
mList.onMouseWheel = function (delta) {
trace(Using wheel);
}
Mouse.addListener(mList);
//mList is declared as an object outside the Method
}
I dont know why but it iseems
EventBroadcaster: 5036
EventDispatcher: 16257
mac 9,0,28,0
On 3/22/07, Tilmann Grüll [EMAIL PROTECTED] wrote:
hi francis,
here my result on a DELL dimension AMD64 X2 Dual Core 3800+
2 GHz, 1 GB RAM:
EventBroadcaster: 3563
EventDispatcher: 2210
WIN 9,0,28,0
best,
til
Francis Bourre
What do you mean specifically?
BLITZ | Steven Sacks - 310-551-0200 x209
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Danny Kodicek
Sent: Thursday, March 22, 2007 6:30 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Using
//Script In the Flash IDE:
MMExecute('alert(Hello World);');
-- Keith H --
Danny Kodicek wrote:
Is there any way to do it? (And yes, I know I'd be better off with an
external editor, but sometimes it's easiest just to work in the IDE).
Danny
I'm using ActionScript3 in Flash 9 alpha... I've got a great Socket
setup working, but when the network traffic gets high, TCP's nature is
to combine and/or break up packets... The problem with this is that the
incoming data event gets fired before a complete object has
transmitted...
I see no
listen to that! the v2 components are sheet in flash unfortunately when
compared to flex 1.5. if however you are hell bent on using the v2
framework, invalidate will be the thing to use, i would (residual memory
kicking in) still have your own init flag.
On 3/22/07, Muzak [EMAIL PROTECTED]
Sorry if this ends up coming through twice, but I sent it 2.5 hours ago and
it hasn't reached the list yet.
Anyone have any experience in this area? We're developing a Flash site for a
new client, who keeps all their own web servers in-house. They are MS house
using .net and such. They are
Have you tried manually placing your component on the stage in the first
frame and then deleting it?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander
Farber
Sent: Thursday, March 22, 2007 6:53 AM
To: Flashcoders mailing list
Subject:
I am really struggling to get to the bottom of this bug and I have now spent
over 2 days desparately trying everything including recreating the entire
game in a new flash file in case anything was corrupt.
Basically the game crashes if I type into a text input field. If I do not
then it doesn't.
Really amazing game but i dont think there is hard programming behind it.
Maximum 2 developer can handle the coding. I think graphics and 3d's are so
cool. It takes a lot of time to get these kind of qualified and optimized
renders. Its beautiful.
Respect!! :)
Kerem.
-Original Message-
Try adding this to your fla
addChild(hw);
In your HelloWorld class you've added your textField inside but since you
have added you HelloWorld() object to the display list of the movie it
will never get drawn.
I have a question back at you along this example. I'm running on windows
and
anyone of you guys have a mac with sandy library running.
how is the path? becuase at this time I've tried many variations and
nothing so far, I can't have this installed...any ideas.
my path is.
macintosh HD: applications:macromedia flash 8:sandy
but so far when I try to run the simple
I am building a photo slideshow and I want to add a next/back button to
the mouse cursor. If the mouse is on the right half of the screen, it
displays a right arrow (indicating that onclick, it will load the next
photo). When on the left half, it displays a left arrow (onclick loads
the previous
On 3/22/07, Hairy Dog Digital [EMAIL PROTECTED] wrote:
Hi all,
I need (want) to get myself up to speed with PHP 4.x/5.x and MySQL. I'm
experienced with ActionScript (1 and 2), JavaScript, and Lingo (Director),
and have dabbled with Java.
I don't need a text that goes into basic programming
That's weird that you also have to addChild() the class instance to the stage,
but makes sense I guess - I thought addChild(textField) in the class would be
enough, but I can see it now. Works. Thanks.
Jason Merrill
Bank of America
GTO Learning Leadership Development
eTools Multimedia Team
http://www.apachefriends.org/en/xampp.html
Dave Mennenoh wrote:
Anyone have any experience in this area? We're developing a Flash site
for a new client, who keeps all their own web servers in-house. They
are MS house using .net and such. They are setting up a new server
just for their new
Hi there - I use Sony Vegas, have a 16:9 HDD camcorder that imports mpeg2
video, and want the same results to run really smooth on a website. I
realise there are a few stages that need to be done right from origin. I
have edited a 2 minute sequence that will be my first step to getting it
u can install an emulator on windows that acts as a server,,, something
like IIS but for PHP
There is a wonderful tool i am using to test php and mysql offline here
http://www.uniformserver.com/
Good Luck!!!
On 3/22/07, Dave Mennenoh [EMAIL PROTECTED] wrote:
Anyone have any experience in
I've installed them on a few of my own machines at
home, and it's not difficult at all.
Installing in on IIS was actually a bit easier than
installing it on Apache.
--- Dave Mennenoh [EMAIL PROTECTED] wrote:
Anyone have any experience in this area? We're
developing a Flash site for a
new
Thanks for the ideas. Unfortunately after further investigation it
appears that communication from JavaScript - Flash is working fine,
but making calls from Flash to JavaScript are getting lost. So the
Flash code runs, then attempts to do a callback into JavaScript and
nothing happens (no
jsfl files can be externalised as .jsfl and executed via commandsrun
command
if that is what you are asking
Arse
www.snepo.com
www.arseiam.com
On 23/03/2007, at 12:30 AM, Danny Kodicek wrote:
Is there any way to do it? (And yes, I know I'd be better off with an
external editor, but
80 matches
Mail list logo