Hello,
Anyone have a starting point or advice in terms of stripping down flash
native/intrinsic AS3 classes - with a goal of file optimization?
For example, in an application I'm building, I need less than half the
attributes and capabilities of the Sprite class - so any pointers for how to
strip
I've often seen people trying to highly optimise file sizes and IMHO it's a
wasted exercise unless there are very strict guidelines for file size or
existing file sizes are highly excessive. I can't help but think that
stripping away parts of core classes is overkill. There's has to be a better
Hi,
I got this loop that creates some MovieClips one under another.
for (var i:uint = 0; i < data.length; i++) {
var R1:ResultLink = new ResultLink(data[i].CompanyName,
data[i].CompanyId); //
R1.addEventListener(MouseEvent.CLICK, function():void
{trace(R1.Label)});
BlackBox.addChild(R1)
SJF,
Native/intrinsic classes such as Sprite are compiled into the Flash
_Player_, not into your .swf file. There's no way to strip them, and
they don't bloat your .swf file.
HTH,
Ian
On Wed, Sep 17, 2008 at 2:38 PM, SJF <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Anyone have a starting point or
one easy way :
function fn(i:uint)
{
var R1:ResultLink = new ResultLink(data[i].CompanyName,
data[i].CompanyId); //
R1.addEventListener(MouseEvent.CLICK, function():void
{trace(R1.Label)});
BlackBox.addChild(R1);
//x and y here
}
}
for (var i:uint = 0; i < data.length; i++) {
Hi, the problem is that by the time the event fires and your inline function
is called, R1 points to the last object created in the loop.
However, an event object is passed to the handler function. The target
property of that object cointains a reference to the object that fired it,
so you can do
one easy way :
function fn(i:uint)
{
var R1:ResultLink = new ResultLink(data[i].CompanyName,
data[i].CompanyId); //
R1.addEventListener(MouseEvent.CLICK, function():void
{trace(R1.Label)});
BlackBox.addChild(R1);
//x and y here
}
}
--- On Wed, 9/17/08, Omar Fouad <[EMAIL PROTECTE
In advance, I apologize for crossposting!!!
Please don't answer to this crosspost, because your answer could be
crosspost as well ;)
A month ago, Mike Chambers from Adobe created a new chat on his server
for the flash playtform community. Mike is working on a standalone AIR
client for that XMPP/Ja
Hi all!
I'm preloading some swf's and images, and I want use some same loaded
instances for some movieclips. For example, I load a file img.jpg. and
on complete of it, I want add the loaded bitmap to 10 movieclips. When
I addChild, all movieclips are overrided and just the last one has the
loaded
Thanks Juan... That was so useful.
Cheers
On Wed, Sep 17, 2008 at 6:40 PM, Juan Pablo Califano <
[EMAIL PROTECTED]> wrote:
> Hi, the problem is that by the time the event fires and your inline
> function
> is called, R1 points to the last object created in the loop.
>
> However, an event object
Paul - I once worked with a guy who was building components for a large
teen-focused community site (Coca-Cola if I recall - it was a few years back
now), anyway, he gave the impression that he always stripped out Flash
intrinsic classes before creating a release build. To be honest, I don't
know w
- Original Message -
From: "SJF" <[EMAIL PROTECTED]>
To:
Sent: Thursday, September 18, 2008 12:12 AM
Subject: [Flashcoders] RE: Optimising file size - stripping down
intrinsics...
Paul - I once worked with a guy who was building components for a large
teen-focused community site (Co
Hi,
i have created a mp3 player using AS 2.0 that controls the playlist using
xml .Everything is working properly . My only issue is that i want the music
to stream instead of waiting until the song is fully downloaded to play .
This player works fine locally but in browser it creates problem when
13 matches
Mail list logo