You're looking for infinite recursion.
Generally speaking, your application might be better served with a for()
loop to iterate through the command queue within a single function call.
There are times when recursive functions (i.e., functions that call
themselves) are more elegant, though.
Since Flash is event-driven, how about setting it up in such a way that
whatever part of your script adds the command to the queue dispatches an
event to a listener that then executes that command? That way you avoid
recursion, and you also avoid a for() loop that's outside the internal Flash
The vulnerabilities were reported on Bugtraq
(http://search.securityfocus.com/swsearch?query=macromediasbm=%2Fsubmit=Se
arch%21metaname=alldocsort=swishlastmodified) a couple weeks ago. The
vulnerabilities involve an attacker creating a malicious .swf file and
tricking a user into downloading it,
For the first problem, how about adding a number of blank lines to the end
of the news story so the total number of lines is a multiple of the
TextArea's visible page size to allow a full scroll?
-Chris
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
I think you'll have to use an interval, but you don't have to constantly
check the mouse. Pseudo-code below:
this.onMouseMove = function(){
// When the mouse is moved, clear any pending not moved timeout
// interval so the callback *isn't* called (Note
// clearMouseNotMoveTimeout isn't a
var scaling_factor:Number = Math.min(357 / image_mc.width, 394 /
image_mc.height);
loader_mc._xscale = scaling_factor;
loader_mc._yscale = scaling_factor;
-Chris
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lehr,
Theodore M.
Sent: Thursday, November
Why should a public constructor prevent the creation of a Singleton? All
you need is a static getInstance() method and a private attribute to hold
the created instance. Sure, the public constructor means someone else could
instantiate the class on their own without using getInstance(), but if
programming patterns such as Singleton.
Supporting design patterns in a language, to me is iffy, but there are a
enough business use cases in my opinion to support it.
- Original Message -
From: Chris Wilson [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
I don't know of a way to do that, but what's the point? All the competitor
needs is a screen capture utility (or just ctrl-Print Screen in Windows)
and the image is theirs...
-Chris
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Maxime
Sent: Monday,
png
The goal of the client is to customize an image with a lot of 3d
rendered png alpha layers. They don't care if the competitors do a
screen capture, they don't want their competitors to know how they treat
the image(alpha) for the layering of images.
Chris Wilson a écrit :
I don't know
: [Flashcoders] secure png
raw data: that IS possible ! Only compression get's lost, but you could
write your own serverside and clientside
compression and decompression algorithm. Good luck.
Chris Wilson wrote:
I see. Thanks for clarifying. I'm not sure how to disable the caching,
unfortunately
Without having to change the skin entirely, you can change the halo color to
a light grey with the following:
_global.style.setStyle(themeColor, 0xee);
-Chris
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Warren
Sent: Friday, November 04,
?
Thanks Chris.
-steve
On 11/4/05, Chris Wilson [EMAIL PROTECTED] wrote:
Without having to change the skin entirely, you can change the halo color
to
a light grey with the following:
_global.style.setStyle(themeColor, 0xee);
-Chris
If I understand the locations of your dynamic clips correctly, then
_root[sSelected]._mc.hresizer.setSize...
should work. Basically, access the dynamic clip by treating _root as an
associative array. If the clips aren't created in _root, then substitute
the parent movie clip's name for _root
14 matches
Mail list logo