Re: [Flashcoders] Question about the AIR security model...

2008-04-25 Thread John Eriksson
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 of the Loader and if it sees that it
implements the proper interface
and also has all the proper methods it oks the swf.

To actually call the methods of the loaded swf I had to use an untyped var -
then it doesn't complain. I
only do this after my check method has ok'd it.


Thanks,
John

2008/4/24 Ian Thomas [EMAIL PROTECTED]:

 Hi Peter,

   It's the first time I've come across sandbox bridging. It's a nifty idea.

 The Flash documentation for it is here:

 http://livedocs.adobe.com/flex/3/langref/flash/display/LoaderInfo.html#childSandboxBridge

 But... unfortunately I think it's backwards for John's problem. It
 allows a parent SWF to expose properties to a child SWF, rather than
 the other way around...

 Ian

 On Thu, Apr 24, 2008 at 9:58 AM, Peter B [EMAIL PROTECTED] wrote:
  Could sandbox bridging help here?
 
   http://www.adobe.com/devnet/air/ajax/quickstart/sandbox_bridge.html
 
   This example descibes loading local HTML files, but the same rules
 apply...
 
   Pete
 
 
  ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Question about the AIR security model...

2008-04-25 Thread Ian Thomas
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 that it
  implements the proper interface
  and also has all the proper methods it oks the swf.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash + Air

2008-04-25 Thread Peter B
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 applies to SWF based AIR apps
too

2008/4/24 Helmut Granda [EMAIL PROTECTED]:
 Does anyone knows the best way to embed Flash into an adobe Air application?
  The standard way of doing it (using SWFObject, FUO, Adobe AC_R) doesnt seem
  to work when testing the air applications. I have done some research but
  nothing substantial that proves the best (or working) method.

  TIA...
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Question about the AIR security model...

2008-04-25 Thread EECOLOR
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 concerned, my thoughts about it:

When you load content from another domain (which is the case when loading
swf's in AIR from another location) they will automatically be loaded into a
child application domain. This means that both parent (the domain of the AIR
application) and child domain (the domain of the
swf) contain an definition of IAnimatedItem.

If you then check if the swf implements the parent definition it will return
false. The parent definition is not the same as the child definition.


Greetz Erik

On 4/25/08, Ian Thomas [EMAIL PROTECTED] wrote:

 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
 that it
   implements the proper interface
   and also has all the proper methods it oks the swf.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] __proto__ but not prototype?

2008-04-25 Thread Mendelsohn, Michael
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?

//works:
var pv:MovieClip = _root.createEmptyMovieClip(pixViewer, 180);
pv.__proto__ = new pixViewer();
pv.onLoad();

/*
Why doesn't this work:
pv.prototype = new pixViewer();
pv.registerClass(pixViewer);
*/


Thanks,
- MM

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] __proto__ but not prototype?

2008-04-25 Thread ekameleon
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 you respect the ECMAScript/ActionScript notation ;)

PS2 : In my opensource framework you can use the class ConstructorUtil :
http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/vegas/util/ConstructorUtil.as

you can use now the method createVisualInstance :

{{{

import vegas.util.ConstructorUtil ;

var pv:PixViewer = ConstructrorUtil.createVisualInstance( PixViewer ,
createEmptyMovieClip( pixViewer, 180) , { _x : 25 , _y : 25 } ) ;

}}}

or you can use my vegas.util.factory.DisplayFactory class :
http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/src/vegas/util/factory/DisplayFactory.as

Examples :

1 - with movieclip :

import vegas.util.factory.DisplayFactory ;

var pv:PixViewer = DisplayFactory .createChild( PixViewer , pixViewer, 180
, this ,  { _x : 25 , _y : 25 } ) ;

2 - with textfield :

import vegas.util.factory.DisplayFactory ;

var myField:CustomTextField = DisplayFactory .createChild( CustomTextField ,
myField, 180 , this ,  { _width : 400 , _height : 150 } ) ;

PS : This class can change to the depth of all visual instances in AS2
(Video, TextField, MovieClip in the Stage or your code)

More information about my framework :
http://code.google.com/p/vegas/
http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN

EKA+ :)




2008/4/25 Mendelsohn, Michael [EMAIL PROTECTED]:

 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?

 //works:
 var pv:MovieClip = _root.createEmptyMovieClip(pixViewer, 180);
 pv.__proto__ = new pixViewer();
 pv.onLoad();

 /*
 Why doesn't this work:
 pv.prototype = new pixViewer();
 pv.registerClass(pixViewer);
 */


 Thanks,
 - MM

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Mac CD Autorunning - slightly OT

2008-04-25 Thread Glen Pike

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, 
following some old Hybrid CD instructions that will autorun the Mac 
projector.


  CD Everywhere lets me specify a file to autorun for the Mac, but 
won't let me choose the app folder, so I just typed projector in the 
box in the hope it may work: 


   if(true == Mact.itJustWorks()) {
  8-)
   }

  Not sure if this will work as I don't have access to a Mac at the 
moment, does anyone have any tips?


  Thanks

  Glen
--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Mac CD Autorunning - slightly OT

2008-04-25 Thread Jimbo
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 SEPARATOR  ***

On 4/25/2008 at 2:42 PM Glen Pike wrote:

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, 
following some old Hybrid CD instructions that will autorun the Mac 
projector.

   CD Everywhere lets me specify a file to autorun for the Mac, but 
won't let me choose the app folder, so I just typed projector in the 
box in the hope it may work: 

if(true == Mact.itJustWorks()) {
   8-)
}

   Not sure if this will work as I don't have access to a Mac at the 
moment, does anyone have any tips?

   Thanks

   Glen
-- 

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

r


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] __proto__ but not prototype?

2008-04-25 Thread Glen Pike

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, here is one I made earlier to cast a loaded SWF 
to an instance of Animation class.


  
   myClip.__proto__ = Animation.prototype;  //myClip is a MovieClip

   myClip.__constructor__ = Animation;
   myClip.__constructor__.apply(mHolder);
   myClip._lockroot = true;
  
   //You also have to have a dummy instance of your class to assign 
your newly casted instance to.

   var dummy:Animation = Animation(myClip);

   //Then you can call methods of the Animation class on that clip...

   dummy.play();
   dummy.specialNonMovieClipFunction();

   It's a tricky one to get the hang of, but this has proved rock-solid 
since I learnt it and has been a godsend for loading in huge timeline 
animations created by designers / animators when I was just sent a load 
of assets to deal with...


   Glen

Mendelsohn, Michael wrote:

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?

//works:
var pv:MovieClip = _root.createEmptyMovieClip(pixViewer, 180);
pv.__proto__ = new pixViewer();
pv.onLoad();

/*
Why doesn't this work:
pv.prototype = new pixViewer();
pv.registerClass(pixViewer);
*/


Thanks,
- MM

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] __proto__ but not prototype?

2008-04-25 Thread Alain Rousseau
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 create. This property is static in that it is specific to the
class or function you create. For example, if you create a custom class, the
value of the prototype property is shared by all instances of the class, and
is accessible only as a class property. Instances of your custom class
cannot directly access the prototype property, but can access it through the
__proto__ property.

Which means prototype is read only and that if you want to change it's value
you do so through __proto__

Another way to achieve what you want would be to add the following to your
class

 

class PixView extends MovieClip {

static var symbolName:String = __Packages.PixView ;
static var symbolOwner:Function = PixView ;

var className:String = PixView ;

function PixView {
// constructor code
}

// do your stuff

static var symbolLinked = Object.registerClass(symbolName, symbolOwner);

}

Then you can do the following anywhere, on stage or in another class:

import PixView;
var pv:PixView = PixView(this.attachMovie(PixView.symbolName, pv,
this.getNextHighestDepth()));

and that's it. You have a MovieClip of the class PixView on stage.

 

Alain


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mendelsohn,
Michael
Sent: April 25, 2008 8:13 AM
To: Flash Coders List
Subject: [Flashcoders] __proto__ but not prototype?

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?

//works:
var pv:MovieClip = _root.createEmptyMovieClip(pixViewer, 180);
pv.__proto__ = new pixViewer(); pv.onLoad();

/*
Why doesn't this work:
pv.prototype = new pixViewer();
pv.registerClass(pixViewer);
*/


Thanks,
- MM

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Mac CD Autorunning - slightly OT

2008-04-25 Thread Glen Pike

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 the look of it Macs  OSX could autorun if you had autoplay 
facilities - requires QuickTime 2.0, but they disabled any autorunning 
with OSX, a bit dumb from some perspectives, but for the paranoid / 
security conscious, it's probably a good thing...


   Glen

  


Jimbo wrote:

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 SEPARATOR  ***

On 4/25/2008 at 2:42 PM Glen Pike wrote:

  

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, 
following some old Hybrid CD instructions that will autorun the Mac 
projector.


  CD Everywhere lets me specify a file to autorun for the Mac, but 
won't let me choose the app folder, so I just typed projector in the 
box in the hope it may work: 


   if(true == Mact.itJustWorks()) {
  8-)
   }

  Not sure if this will work as I don't have access to a Mac at the 
moment, does anyone have any tips?


  Thanks

  Glen
--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



r


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Access a clip when it's attached to the stage

2008-04-25 Thread Dwayne Neckles
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 
inited..

and I wasn't sure how to detect for when its attached and accessible to 
actionscript...
I know there is an event for when things are loaded in etc.. but how about when 
its attached and accesible to actionscript

I saw somewhere that you can set the attached clips onEnterframe with a 
function I tried that with no success..
If you want to see the fla let me know...
Dwayne







Date: Fri, 25 Apr 2008 09:17:36 -0400
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Coverflow Issue

Dwyane,I
took an initial look and it appears it may be related to the levels
being used.  Try not applying the reflections until after the clip is
attached and fully inited.  Then make sure that the reflection is
looking good too - you probably will want to test on something static.
 A dropoff of 7 may be too much.  I started going into the Reflection
class and checking where the reflections are added.  They are using
getNextHighestDepth so you would think it would be appearing.  You can
hardcode a value in there if you like if you know that your gradient
and album art are on levels 1 and 2.  Sorry I don't have more time to
check it out right now. 
Thanks!-Ben

On Thu, Apr 24, 2008 at 9:35 PM, Dwayne Neckles [EMAIL PROTECTED] wrote:





Thank you so much Sarge..
I've been trying for a few hours to get your reflection class to work with a 
code i found on reflecktions.com


Attached is the FLA and your class...

Here is the breakdown:


In
the coverflow as you know those clips scale horizontally.. now even
though i put all of the clips in a parent clip called holder ( on stage
) it still didnt work.

Now I know I'm not allowed to reflect a clip that scales but I am scaling the 
holder clip and not the invidual planes..

Maybe its because I'm trying to reflect a clip thats attached to the stage...

Dwayne






Back to work after baby– how do you know when you're ready?



-- 
www.pixelfumes.com
www.pixelfumes.com/blog
www.pittmfug.org/



_
Make i'm yours.  Create a custom banner to support your cause.
http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=TXT_TAGHM_MSN_Make_IM_Yours___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Mac CD Autorunning - slightly OT

2008-04-25 Thread Kenneth Kawamoto

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 always) created on Mac using Toast.

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Glen Pike wrote:

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, 
following some old Hybrid CD instructions that will autorun the Mac 
projector.


  CD Everywhere lets me specify a file to autorun for the Mac, but won't 
let me choose the app folder, so I just typed projector in the box in 
the hope it may work:

   if(true == Mact.itJustWorks()) {
  8-)
   }

  Not sure if this will work as I don't have access to a Mac at the 
moment, does anyone have any tips?


  Thanks

  Glen

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Access a clip when it's attached to the stage

2008-04-25 Thread Dwayne Neckles
 
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 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 
 inited..
 
 and I wasn't sure how to detect for when its attached and accessible to 
 actionscript...
 I know there is an event for when things are loaded in etc.. but how about 
 when its attached and accesible to actionscript
 
 I saw somewhere that you can set the attached clips onEnterframe with a 
 function I tried that with no success..
 If you want to see the fla let me know...
 Dwayne
 
 
 
 
 
 
 
 Date: Fri, 25 Apr 2008 09:17:36 -0400
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Coverflow Issue
 
 Dwyane,I
 took an initial look and it appears it may be related to the levels
 being used.  Try not applying the reflections until after the clip is
 attached and fully inited.  Then make sure that the reflection is
 looking good too - you probably will want to test on something static.
  A dropoff of 7 may be too much.  I started going into the Reflection
 class and checking where the reflections are added.  They are using
 getNextHighestDepth so you would think it would be appearing.  You can
 hardcode a value in there if you like if you know that your gradient
 and album art are on levels 1 and 2.  Sorry I don't have more time to
 check it out right now. 
 Thanks!-Ben
 
 On Thu, Apr 24, 2008 at 9:35 PM, Dwayne Neckles [EMAIL PROTECTED] wrote:
 
 
 
 
 
 Thank you so much Sarge..
 I've been trying for a few hours to get your reflection class to work with a 
 code i found on reflecktions.com
 
 
 Attached is the FLA and your class...
 
 Here is the breakdown:
 
 
 In
 the coverflow as you know those clips scale horizontally.. now even
 though i put all of the clips in a parent clip called holder ( on stage
 ) it still didnt work.
 
 Now I know I'm not allowed to reflect a clip that scales but I am scaling the 
 holder clip and not the invidual planes..
 
 Maybe its because I'm trying to reflect a clip thats attached to the stage...
 
 Dwayne
 
 
 
 
 
 
 Back to work after baby– how do you know when you're ready?
 
 
 
 -- 
 www.pixelfumes.com
 www.pixelfumes.com/blog
 www.pittmfug.org/
 
 
 
 _
 Make i'm yours.  Create a custom banner to support your cause.
 http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=TXT_TAGHM_MSN_Make_IM_Yours___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_
In a rush? Get real-time answers with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_realtime_042008___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Access a clip when it's attached to the stage

2008-04-25 Thread Dwayne Neckles
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 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 
 inited..
 
 and I wasn't sure how to detect for when its attached and accessible to 
 actionscript...
 I know there is an event for when things are loaded in etc.. but how about 
 when its attached and accesible to actionscript
 
 I saw somewhere that you can set the attached clips onEnterframe with a 
 function I tried that with no success..
 If you want to see the fla let me know...
 Dwayne
 
 
 
 
 
 
 
 Date: Fri, 25 Apr 2008 09:17:36 -0400
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: Coverflow Issue
 
 Dwyane,I
 took an initial look and it appears it may be related to the levels
 being used.  Try not applying the reflections until after the clip is
 attached and fully inited.  Then make sure that the reflection is
 looking good too - you probably will want to test on something static.
  A dropoff of 7 may be too much.  I started going into the Reflection
 class and checking where the reflections are added.  They are using
 getNextHighestDepth so you would think it would be appearing.  You can
 hardcode a value in there if you like if you know that your gradient
 and album art are on levels 1 and 2.  Sorry I don't have more time to
 check it out right now. 
 Thanks!-Ben
 
 On Thu, Apr 24, 2008 at 9:35 PM, Dwayne Neckles [EMAIL PROTECTED] wrote:
 
 
 
 
 
 Thank you so much Sarge..
 I've been trying for a few hours to get your reflection class to work with a 
 code i found on reflecktions.com
 
 
 Attached is the FLA and your class...
 
 Here is the breakdown:
 
 
 In
 the coverflow as you know those clips scale horizontally.. now even
 though i put all of the clips in a parent clip called holder ( on stage
 ) it still didnt work.
 
 Now I know I'm not allowed to reflect a clip that scales but I am scaling the 
 holder clip and not the invidual planes..
 
 Maybe its because I'm trying to reflect a clip thats attached to the stage...
 
 Dwayne
 
 
 
 
 
 
 Back to work after baby– how do you know when you're ready?
 
 
 
 -- 
 www.pixelfumes.com
 www.pixelfumes.com/blog
 www.pittmfug.org/
 
 
 
 _
 Make i'm yours.  Create a custom banner to support your cause.
 http://im.live.com/Messenger/IM/Contribute/Default.aspx?source=TXT_TAGHM_MSN_Make_IM_Yours___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_
Express yourself wherever you are. Mobilize!
http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=en-US?ocid=TAG_APRIL___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] How to check Recursive Function is finished

2008-04-25 Thread ACE Flash
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 possible?

Thank You

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.); } }
traceMe(1);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to check Recursive Function is finished

2008-04-25 Thread Glen Pike

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 track of in your recursive 
function - this can also be a property of the thing you are recursing.


   param = 1;
   limit = 100;

   function recursive(param):Boolean {

  if(param == limit) {
 return false;
  }
 param++;
 return recursive(param);
   }

   HTH

   Glen


ACE Flash wrote:

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 possible?

Thank You

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.); } }
traceMe(1);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Mac CD Autorunning - slightly OT

2008-04-25 Thread Rich Shupe
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 somehow detects
that the CD has been inserted and launches something from the CD, etc., but
I hedge out of ignorance.

I personally think autorun is terrible and significantly intrusive and
disable it on all my machines. I do an enormous amount of educational CDs,
and producers favor autorun for Windows about half the time. To each his
own.

In any case, autorun for the Mac is not a reality.

Re: how-to, the app and exe files are distinct. When making a hybrid, you
can hide each from the other platform. Considering the lifetime of hybrid
CDs to date, Win creation of hybrids is relatively recent. Typically, they
are usually created using Toast on a Mac. However, these are gross
generalities. I've been enthused by Win apps that can make hybrids over the
past several years, but have no experience with them.

To answer your other questions, any OS X installation can unzip, and
supporting OS 9 is an extreme degree of support these days. I say that as a
lifetime Mac user that wants Mac support to continue. Even in the
educational markets I work in (higher ed) OS 9 is no longer supported.

In fact, I've moved away from Stuffit formats because zipping/unzipping is
built into the Mac OS and you need to have Stuffit Expander to decompress a
BinHex. (The expander is free, but you have to get it if you don't have it,
and the way it's distributed these days is massive--no longer a tiny
download.)

However, that's not a very useful hybrid and is 180 degrees from autorun.
This is because you can't just double-click the app. You must first
decompress to your hard drive and then double click. The better way to
create the hybrid is to have all shared data on one volume (on the Mac, it's
the HFS volume), have the Windows-specific files on an ISO partition, and
the Mac-specific files on an HFS (HFS+, etc.) partition.

I inferred from your email that you had those instructions, but it further
implies that you should offer the app, not the zip, so the user can
double-click from the CD.

I wish I could direct your more specifically on the Win creation of hybrids,
but it's not my platform.

Rich
http://www.LearningActionScript3.com


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Mac CD Autorunning - slightly OT

2008-04-25 Thread Glen Pike

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...  ... so now I feel much more confident that I can offer a 
tested solution, rather than sending swf's exe's and app folders off 
untested...
  
   I remember the zipped / compressed issue from a previous project - 
so it looks like Adobe did a good thing with the app replacement - 
although this threw me a bit when I first published my projector for the 
Mac - I was able to get hold of a mate to test, but he is not around 
today, so I am hunting for other people with Mac's in the vicinity.  May 
have to pester the art college across the road...


   Thanks again for your time  for the printing tips too.

   Will have to do a big blog write up I think because this has been an 
interesting project covering a lot of challenges and potential issues - 
may have to do a bit more refactoring first though :)


   And I don't have to worry too much about bandwidth issues either, 
although the CD drive in my laptop is particularly noisy when running 
the app, but then my desktop is whisper quiet, so I guess it's the cheap 
laptop hardware thing there.


   At least my CD runs on Vista, which is the new problem child...

   Glen

Rich Shupe wrote:

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 somehow detects
that the CD has been inserted and launches something from the CD, etc., but
I hedge out of ignorance.

I personally think autorun is terrible and significantly intrusive and
disable it on all my machines. I do an enormous amount of educational CDs,
and producers favor autorun for Windows about half the time. To each his
own.

In any case, autorun for the Mac is not a reality.

Re: how-to, the app and exe files are distinct. When making a hybrid, you
can hide each from the other platform. Considering the lifetime of hybrid
CDs to date, Win creation of hybrids is relatively recent. Typically, they
are usually created using Toast on a Mac. However, these are gross
generalities. I've been enthused by Win apps that can make hybrids over the
past several years, but have no experience with them.

To answer your other questions, any OS X installation can unzip, and
supporting OS 9 is an extreme degree of support these days. I say that as a
lifetime Mac user that wants Mac support to continue. Even in the
educational markets I work in (higher ed) OS 9 is no longer supported.

In fact, I've moved away from Stuffit formats because zipping/unzipping is
built into the Mac OS and you need to have Stuffit Expander to decompress a
BinHex. (The expander is free, but you have to get it if you don't have it,
and the way it's distributed these days is massive--no longer a tiny
download.)

However, that's not a very useful hybrid and is 180 degrees from autorun.
This is because you can't just double-click the app. You must first
decompress to your hard drive and then double click. The better way to
create the hybrid is to have all shared data on one volume (on the Mac, it's
the HFS volume), have the Windows-specific files on an ISO partition, and
the Mac-specific files on an HFS (HFS+, etc.) partition.

I inferred from your email that you had those instructions, but it further
implies that you should offer the app, not the zip, so the user can
double-click from the CD.

I wish I could direct your more specifically on the Win creation of hybrids,
but it's not my platform.

Rich
http://www.LearningActionScript3.com


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to check Recursive Function is finished

2008-04-25 Thread Paul Andrews
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 finished here


Paul
- Original Message - 
From: ACE Flash [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Friday, April 25, 2008 3:59 PM
Subject: [Flashcoders] How to check Recursive Function is finished



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 possible?

Thank You

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.); } }

traceMe(1);
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Using FlexBuilder3 profiler with FlashCS3

2008-04-25 Thread Jon Bradley

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!

jon

On Apr 25, 2008, at 12:59 PM, Martin Tremblay wrote:



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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Using FlexBuilder3 profiler with FlashCS3

2008-04-25 Thread Martin Tremblay

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
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to check Recursive Function is finished

2008-04-25 Thread Jason Lutes
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)
  {
// Recursion.
// Self-reference passed as final argument.
arguments.callee(val_1, val_2, val_3, arguments.callee);
  }
  if (arguments[arguments.length - 1] != arguments.callee)
  {
// Special tasks.
  }
}

Note: I used to simply check using if (arguments.callee != 
arguments.caller) but arguments.caller is now deprecated, and I needed 
to work around that.




-
Jason
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] __proto__ but not prototype?

2008-04-25 Thread Mendelsohn, Michael
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] Sr. Flash Developer Position

2008-04-25 Thread Bright, Michael
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 me if interested.  Regards, Michael Bright:
[EMAIL PROTECTED]


Regards, Michael Bright
Recruiter, MTV Networks
(310) 752-8641
[EMAIL PROTECTED]


 Sr. Flash Developer.doc 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to check Recursive Function is finished

2008-04-25 Thread Paul Andrews
- 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 when it's 
not being invoked by itself.


Then you are just avoiding creating two functions by adding special 
conditions to one function.


You are essentially doing the following kind of thing but inside one 
function :


function A(somevalue:Number):void {
   B(somevalue);
   // do something else here
}

function B(somevalue::Number):void {
   if (somevalue  0){
   B(--somevalue);
}

A(10);

To my mind it would be better not to complicate the recursive function just 
for the sake of avoiding writing what's really going on.


Paul

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] CS3 Datagrid p

2008-04-25 Thread Burns, Rusty
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 links to work.


Has anyone done anything like this with actionscript 3?





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] __proto__ but not prototype?

2008-04-25 Thread Mendelsohn, Michael
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

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] __proto__ but not prototype?

2008-04-25 Thread Glen Pike

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;
PixViewer.call(pv);


Error message:
There is no method with the name call.

What is that error caused by?

- MM

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] How to check Recursive Function is finished

2008-04-25 Thread ACE Flash
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: [Flashcoders] How to check Recursive Function is finished


  I occasionally place code at the end of the function to detect when it's
 not being invoked by itself.


 Then you are just avoiding creating two functions by adding special
 conditions to one function.

 You are essentially doing the following kind of thing but inside one
 function :

 function A(somevalue:Number):void {
   B(somevalue);
   // do something else here
 }

 function B(somevalue::Number):void {
   if (somevalue  0){
   B(--somevalue);
 }

 A(10);

 To my mind it would be better not to complicate the recursive function just
 for the sake of avoiding writing what's really going on.

 Paul


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Converting a ByteArray to string and back again...

2008-04-25 Thread John Eriksson
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 AMF serialized object in an xml document
and later deserialize
it from that string in the xml...

Is this possible? ByteArray doesn't have a fromString method and I've
tried writeUTF and writeUTFBytes but that
doesn't seem to be right.

I did manage to get the bytes one by one from the byte array, creating a
string like 10,245,343,12.,
and later doing some split() join() stuff to finally assemble the ByteArray
- but this seems a bit complex and
maybe even slow. Am I missing something? Can it be done much faster?


Kind regards,
John
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Converting a ByteArray to string and back again...

2008-04-25 Thread Juan Pablo Califano
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 to php and .NET backends). Feel free
to use it as you see fit if you find it useful.

http://pastebin.be/10837

Cheers
Juan Pablo Califano

2008/4/25, John Eriksson [EMAIL PROTECTED]:

 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 AMF serialized object in an xml document
 and later deserialize
 it from that string in the xml...

 Is this possible? ByteArray doesn't have a fromString method and I've
 tried writeUTF and writeUTFBytes but that
 doesn't seem to be right.

 I did manage to get the bytes one by one from the byte array, creating a
 string like 10,245,343,12.,
 and later doing some split() join() stuff to finally assemble the ByteArray
 - but this seems a bit complex and
 maybe even slow. Am I missing something? Can it be done much faster?


 Kind regards,
 John
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Sr. Flash Developer Position

2008-04-25 Thread Bob Wohl
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 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 me if interested.  Regards, Michael Bright:
 [EMAIL PROTECTED]


 Regards, Michael Bright
 Recruiter, MTV Networks
 (310) 752-8641
 [EMAIL PROTECTED]


  Sr. Flash Developer.doc

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Sr. Flash Developer Position

2008-04-25 Thread Kerry Thompson
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 list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Sr. Flash Developer Position

2008-04-25 Thread Bright, Michael
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 Behalf Of Bob Wohl
Sent: Friday, April 25, 2008 4:24 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Sr. Flash Developer Position

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 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 me if interested.  Regards, Michael Bright:
 [EMAIL PROTECTED]


 Regards, Michael Bright
 Recruiter, MTV Networks
 (310) 752-8641
 [EMAIL PROTECTED]


  Sr. Flash Developer.doc

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Converting a ByteArray to string and back again...

2008-04-25 Thread Muzak

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,
Muzak

- Original Message - 
From: Juan Pablo Califano [EMAIL PROTECTED]

To: Flash Coders List flashcoders@chattyfig.figleaf.com
Sent: Saturday, April 26, 2008 12:15 AM
Subject: Re: [Flashcoders] Converting a ByteArray to string and back again...



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 to php and .NET backends). Feel free
to use it as you see fit if you find it useful.

http://pastebin.be/10837

Cheers
Juan Pablo Califano

2008/4/25, John Eriksson [EMAIL PROTECTED]:


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 AMF serialized object in an xml document
and later deserialize
it from that string in the xml...

Is this possible? ByteArray doesn't have a fromString method and I've
tried writeUTF and writeUTFBytes but that
doesn't seem to be right.

I did manage to get the bytes one by one from the byte array, creating a
string like 10,245,343,12.,
and later doing some split() join() stuff to finally assemble the ByteArray
- but this seems a bit complex and
maybe even slow. Am I missing something? Can it be done much faster?


Kind regards,
John


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Sr. Flash Developer Position

2008-04-25 Thread Bob Wohl
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 experience.



 Regards, Michael Bright
 Recruiter, MTV Networks
 (310) 752-8641
 [EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl
 Sent: Friday, April 25, 2008 4:24 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Sr. Flash Developer Position

 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 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 me if interested.  Regards, Michael Bright:
  [EMAIL PROTECTED]
 
 
  Regards, Michael Bright
  Recruiter, MTV Networks
  (310) 752-8641
  [EMAIL PROTECTED]
 
 
   Sr. Flash Developer.doc
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Sr. Flash Developer Position

2008-04-25 Thread Bright, Michael
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]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl
Sent: Friday, April 25, 2008 4:53 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Sr. Flash Developer Position

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 experience.



 Regards, Michael Bright
 Recruiter, MTV Networks
 (310) 752-8641
 [EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Bob 
 Wohl
 Sent: Friday, April 25, 2008 4:24 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Sr. Flash Developer Position

 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 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 me if interested.  Regards, Michael
Bright:
  [EMAIL PROTECTED]
 
 
  Regards, Michael Bright
  Recruiter, MTV Networks
  (310) 752-8641
  [EMAIL PROTECTED]
 
 
   Sr. Flash Developer.doc
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Sr. Flash Developer Position

2008-04-25 Thread Steve Mathews
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
 Recruiter, MTV Networks
 (310) 752-8641
 [EMAIL PROTECTED]


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl
 Sent: Friday, April 25, 2008 4:24 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] Sr. Flash Developer Position

 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 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 me if interested.  Regards, Michael Bright:
  [EMAIL PROTECTED]
 
 
  Regards, Michael Bright
  Recruiter, MTV Networks
  (310) 752-8641
  [EMAIL PROTECTED]
 
 
   Sr. Flash Developer.doc
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Need Help from Techies

2008-04-25 Thread candsvincent
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 placeholder 
because it is visibly unappealing.  

Any suggestions?  All responses are greatly appreciated.

Thanx,

Shara 
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders