Yeah it is backwards for me. I would have to change every swf loaded for
this to work.
The byteArray suggestion is the best suggestion so far, gotta try that out
:-)
I've actually solved my problem in an unorthodox way currently. I've written
a check method
that does a describeType on the content
Oh, of course - describeType. Good solution. :-)
Ian
On Fri, Apr 25, 2008 at 9:14 AM, John Eriksson [EMAIL PROTECTED] wrote:
I've actually solved my problem in an unorthodox way currently. I've written
a check method
that does a describeType on the content of the Loader and if it sees
The easiest way? Put the name of the SWF in the filename node of the
AIR application descriptor file. See
http://livedocs.adobe.com/air/1/devappshtml/help.html?content=HTMLHelloWorld_1.html
Note - this example is an HTML based 'hello world' but the information
about the application descriptor file
Describe type is quite a heavy operation. I am not sure if it would affect
this application though. It indeed is an easy solution :) Another solution
would be to call the
loader.contentLoaderInfo.applicationDomain.hasDefinition(name:String):Boolean
method.
As far as the original problem is
Hi list...
I have a class (pixViewer extends MovieClip) and an empty MovieClip
(linkage:emptyMC, not registered to any class in the linkage dialog). I
want attached this emptyMC to the stage and I want it to be an instance
of pixViewer.
__proto__ works, but why won't prototype or registerClass?
Hello :)
Use this code :
var pv:MovieClip = _root.createEmptyMovieClip( pixViewer, 180);
pv.__proto__ = PixViewer.prototype ; // change inherit
PixViewer.call( pv ) ; // launch the constructor over the new instance.
PS1 : i uppercase the first character of your class.. is a better notation
if
Hi,
Slightly OT question, but someone may have an answer.
I have made a Mac projector using Flash CS3 - so have a
projector.app folder.
This shows up like a windows exe icon if I look at the folder on a Mac.
The question is, I am trying to make an ISO image using CDEverywhere,
Don't know how it applies to auto-run on Mac from a cd, but I was told some
time ago that the best delivery method of projectors to a mac user was to
win-zip the app folder and contents - Mac can natively un-zip and run zipped
files. Might be something to try.
hth,
jimbo
*** REPLY
Hi,
I think registerClass is an oldskool AS1 workaround before you could
extend classes in AS2...
Object.registerClass(myLinkageName, MyClassName);
Applying classes at runtime in AS2..
you may also need to use the apply, etc to cast a MovieClip to an
instance of your class,
From the documentation here is what they say about prototype :
prototype (Object.prototype property)
public static prototype : Object
A reference to the superclass of a class or function object. The prototype
property is automatically created and attached to any class or function
object you
Hi,
Thanks for that - I think the HQX file was something similar - it
was a compressed archive, but not sure if you could WinZip, I also
vaguely remembering some articles saying that you had to be careful
doing this because it was not guaranteed to work, but I am not 100% on this.
By
I am trying to make apply the reflection class to my coverflow code...
I emailed the creator of the reflection class
(http://pixelfumes.blogspot.com/2007/03/reflection-class-v3-with-source.html)
and he said to
Try not applying the reflections until after the clip is attached and fully
There is no autorun on OS X, and disabling it is advisable on OS 9.
Mac users generally know how to launce an app from a CD-ROM - this
statement usually follows the statement above, and it's so true. But I'd
bake the CD with the folder open revealing the app.
Hybrid CD-ROM is usually (if not
this is for as 2 by the way
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Date: Fri, 25 Apr 2008 14:19:21 +
CC:
Subject: [Flashcoders] Access a clip when it's attached to the stage
I am trying to make apply the reflection class to my coverflow
this is for as 2 by the way
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; flashcoders@chattyfig.figleaf.com
Date: Fri, 25 Apr 2008 14:19:21 +
CC:
Subject: [Flashcoders] Access a clip when it's attached to the stage
I am trying to make apply the reflection class to my coverflow
Hi there,
Is there a way to check if my recursive function is finished and exited? so
I could call another function once it finished. As an example below, it
could be any number instead of 5 in my program,
I am wondering there is a listener can be use for monitoring a Recursive
Function. Is that
Hi,
Recursive functions will block execution - they are not
Asynchronous, so when they have finished your program code will continue
to execute, so if your code after the function is not executing, you are
probably stuck in the recursive function...
Best to have a limit that you keep
Glen,
Autorun on the Mac virtually does not exist. Even when it was a QuickTime
feature (a long time ago) it was never embraced by the Mac community. As far
as I know, it's not possible on contemporary systems. That doesn't mean that
there's not a workaround, such as a third-party app that
Hi,
Cool, thanks for the info, that's really useful.
CD Everywhere does the hiding element so I have a CD with an app
folder for Mac's and an exe + autorun.inf for Windoze - it's easy to use
too.
The program creates an ISO image, so you can burn with your software
of choice...
When you call a recursive function from outside of itself and the function
returns, then it's finished.
//definition
function traceMe(n) { if (n=5) { trace(This is the +n+th time that the
function is run.); traceMe(n+1); trace(End of the +n+th function.); } }
// call
traceMe(1);
// It's
Good question. I haven't tried that yet.
What you could try to do, off the top of my head, is use the
SWFLoader and load up the SWF file into a simple Flex application. I
believe the profiler will also profile the content loaded through
SWFLoader, but I'm not certain of it.
good luck!
Hello,
Is there a way to use the Flexbuilder3 profiler with a FlashCS3 file? I
just want to take a swf and run it through the profiler. Is it possible?
Martin t.
LVL
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
I occasionally place code at the end of the function to detect when it's
not being invoked by itself.
function someCallingFunction():Void
{
this.recursiveFunction(val_1, val_2, val_3);
}
function recursiveFunction(arg_1, arg_2, arg_3):Void
{
while (some condition exists)
{
//
Thanks ekameleon, Glen and Alain for the great answers!
- MM
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Flashcoders: I'm a recruiter at MTV Networks and support all our
digital properties. We have an opening (Full Time) for a Sr. Flash
Developer at our Spike.com property. It's a really great group of
people, and a dynamic product. I have attached a job description for
your review. Please e-mail
- Original Message -
From: Jason Lutes [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, April 25, 2008 6:09 PM
Subject: Re: [Flashcoders] How to check Recursive Function is finished
I occasionally place code at the end of the function to detect
We have been using the Advanced Datagrid located here:
http://demo.tufat.com/datagrid/flash6/index.html
I am currently trying to get the CS3 Datagrid component to function the same
way, but I am having difficulty figuring out how to resize rows based on the
amount of content and getting html
This was working, but now it's not.
var pv:MovieClip = c.sp.content.createEmptyMovieClip(pixViewer, 180);
pv.__proto__ = PixViewer.prototype;
PixViewer.call(pv);
Error message:
There is no method with the name call.
What is that error caused by?
- MM
Hi,
Look at the apply method - that might solve it.
I think call was a method on Object, but not sure...
Glen
Mendelsohn, Michael wrote:
This was working, but now it's not.
var pv:MovieClip = c.sp.content.createEmptyMovieClip(pixViewer, 180);
pv.__proto__ = PixViewer.prototype;
great! tones of solutions.
Thanks dudes!
On Fri, Apr 25, 2008 at 2:10 PM, Paul Andrews [EMAIL PROTECTED] wrote:
- Original Message - From: Jason Lutes [EMAIL PROTECTED]
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Friday, April 25, 2008 6:09 PM
Subject: Re:
I've been messing around with the ByteArray for some time now, and I wonder
if there isa way to convert the ByteArray to a string (ie using toString())
and then converting that string
back into a ByteArray which would then be the same as the original
ByteArray.
This would mean I could include an
A more compact and standard way to store binary data as text is using Base64
encoding (http://en.wikipedia.org/wiki/Base64).
You can find some AS 3.0 encoders around (try googling it).
Here's an implementation I wrote some months ago. So far, it has worked
smoothly (I've used to send binary data
I have read over your entire document and I have to tell ya, those
requirements are pie!
;)
B.
p.s. may wanna copy paste the info, hth!
On Fri, Apr 25, 2008 at 10:58 AM, Bright, Michael
[EMAIL PROTECTED] wrote:
Flashcoders: I'm a recruiter at MTV Networks and support all our
digital
Bob Wohl wrote:
I have read over your entire document and I have to tell ya, those
requirements are pie!
Yeah, and the position is in Santa Monica, too. Who wouldn't want to live
there? Great town!
Cordially,
Kerry Thompson
___
Flashcoders mailing
Bob: I had difficulty posting to this site. Basically we're looking
for a Sr. Flash Developer with ActionScript v3 experience.
Regards, Michael Bright
Recruiter, MTV Networks
(310) 752-8641
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Flex has a Base64Decoder and Base64Encoder class.
http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/
The Base64Decoder class however depends on/uses mx.resources.ResourceManager,
which in turn imports a few flex specific classes.
regards,
I figured, just thought I'd poke a little Friday end of the hectic work week
fun at ya =)
B.
On Fri, Apr 25, 2008 at 4:40 PM, Bright, Michael [EMAIL PROTECTED]
wrote:
Bob: I had difficulty posting to this site. Basically we're looking
for a Sr. Flash Developer with ActionScript v3
Thanks...It's been a long week. As I look to source potential
candidates it appears as if 50% of the Flash Community is freelance.
Have a nice weekend.
Regards, Michael Bright
Recruiter, MTV Networks
(310) 752-8641
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
That describes me to a tee! I'll take the job. How much are you going to pay me?
On 4/25/08, Bright, Michael [EMAIL PROTECTED] wrote:
Bob: I had difficulty posting to this site. Basically we're looking
for a Sr. Flash Developer with ActionScript v3 experience.
Regards, Michael Bright
Hi All,
I have a problem that I cannot seem to solve. The problem is that I deleted
three small symbol buttons from the main interface of a flash document
template. Now, I visibly see their placeholder, but I cannot find the
location of the placeholder for deletion. I need to delete the
40 matches
Mail list logo