Re: [Flashcoders] OT: Design patterns

2006-02-23 Thread Stéphane Bebrone
Hi Anggie,

Take a look at this interesting interview of Erich Gamma about Design
Patters (How to use):

http://blog.itpub.net/post/1087/48817

Greets,
Stéphane.

2006/2/23, Troy Rollins [EMAIL PROTECTED]:


 On Feb 23, 2006, at 1:07 AM, Manuel Saint-Victor wrote:

  Aangie- I'm a noob also and I 've been trying to figure out the
  role of
  design pattterns.

 Not too long ago, I couldn't see it either. But as you go along with
 a few advanced projects, you begin to realize where they would be
 useful. I'm only beginning out with them but I'm already seeing
 improvements in technique... now I KNOW where to place (and later
 find) various types of functionality. I KNOW that if I want to add
 additional functionality, I know where to tap in to my code.

 --
 Troy
 RPSystems, Ltd.
 http://www.rpsystems.net


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
Regards,
Stéphane Bebrone
--
Flash | ASP.NET | Web Developer
http://weblog.shaoken.be
--
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] WebService - simple example

2006-02-23 Thread franto
Hello,

i'm trying to make my 1st WebService, but im looking for simple example...
i've found this:
http://www.macromedia.com/devnet/flash/articles/mxna_sample.html
looding content from MXNA, but there are 2 problems,

- in that page, content never loaded in FF flash 8 playe
- there is link for MXNA ActionScript 2.0 Library
(http://www.markme.com/mxna/tools.cfm#a3) but it seems broken. Does
anyone has downloaded already MXNA ActionScript 2.0 Library? is it
possible for sharing?

Or does anyone have simple working example with any WebService?

Thanks

-
Franto

http://blog.franto.com
http://www.flashcoders.sk
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] how to make single cell in the grid non editable?

2006-02-23 Thread Oleg Filipchuk
I hope it would be better. It's nothing else left. :(

So does anyone know any smart solution about making individual cell
non/editable?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Key.addListener and the escape key for flash player8

2006-02-23 Thread Igor Vasiliev
When you normally publish the file in Flash IDE using Ctrl+Enter, go to main 
menu control  disable keyboard shortcuts and you'll see your trace :)

Igor V. a.k.a. The Helmsman
www.mixtv.tv

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan Matsikas
Sent: Thursday, February 23, 2006 5:44 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Key.addListener and the escape key for flash player8

You disabled Keyboard shortcuts right?
cltr+enter.. then..
Control  Disable Keyboard shortcuts

On 2/22/06, blists [EMAIL PROTECTED] wrote:

 I am trying to capture the escape key and have been able to do so in 
 the past with this code. But when I publish for flash player 8, the 
 Escape key no longer  registers an event, while other keys work fine. 
 I couldn't find anything about this is the docs. Anybody know why?

 this.KeyListener = new Object();
 this.KeyListener.owner = this;
 this.KeyListener.onKeyUp = function () {
 trace(Key.getCode())
 }
 Key.addListener(this.KeyListener);


 brookd


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training 
 http://www.figleaf.com http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com 
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [FlashCoders] scrollRect

2006-02-23 Thread Dimitrios Bendilas

Hello Jester,

I apologize for taking S long to reply.

Thank you very much for the information you provided!

When I was asking you how you handle alpha I meant alpha values.
Like when having a few movieclips on top of another, with _alpha = 40 or any 
value100.

Can you do that with BitmapData? (sorry if this is a very basic question, I
didn't have the chance to work with bitmaps a lot yet).

I think I'll see how performance goes and maybe I'll bother you and the list
again if I need to start digging more into your approach.

Thanks a lot.

Regards,
Dimitrios

- Original Message - 
From: JesterXL [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 16, 2006 5:11 PM
Subject: Re: [FlashCoders] scrollRect



BitmapSprites extend Bitmap.  Bitmap is an internal class, and extends
DisplayObject.  DisplayObjects' have a drawing index, just like MovieClips
do.  So, instead of swapDepths, you'd use setChildIndex.

Now, for individual bitmaps that you are drawing, addToBitmapSprite, they
are added to the internal array, and drawn in that order.  It would be
probably 10 minutes to add that method and call redraw to allow bitmaps to
change depth.

...or you could do it; I can give you Suversion access to the source if 
you

wish.

Alpha is handled by your bitmap.  Bitmaps support alpha channels, so
whatever bitmap you added should have the alpha.  In my case, the moving
sprites example uses a circular PNG, and since PNG's have alpha channels,
Flash draws the circle correctly on top of other circles.

MovieClip's have gotten more powerful in Flash Player 8.5, yes, mainly
because of the DisplayList which seperates a MovieClip from existing from
actually being rendered/drawn each frame.  It is not, however, 
re-inventing
the wheel.  We have not been able to blit in the Flash Player until 
version

8; instead, we've had to duplicate a tile 100 times vs. drawing onto 1
bitmap.

Great example of why blitting is so powerful and scaleable:
http://www.gskinner.com/blog/archives/2005/08/flash_8_thought.html

Significantly less process, less RAM, and scales to infinite bitmaps.

I have no benchmarks nor numbers other than creating 100 MovieClips in 
Flash
8 used 99%CPU, and 60 megs of RAM, and the framerate sucked.  Changing 
those

100 MovieClips to be 1 bitmap, and scrolled via a copyPixels from a
double-buffering used 6% CPU and full framerate.  That's what made me 
write

Diesel.

When you start adding BitmapSprites, you are adding overhead however 
because

they themselves are DisplayObjects, like MovieClips, only they are drawn
into 1 bitmap vs. 30 of them drawn in 30 places in the DisplayList.

The hybrid approach is to use 1 Bitmap, load all of your tiles and draw to
just 1.  You're actual monsters and characters that move, make Sprites (or
MovieClips), and remove them from the DisplayList if they are not 
on-screen.

Use scrollRect for the area you are scrolling, and use double-buffering
(copyPixels from a rectangle from an off-screen bitmap).

This doesn't scale well because Sprites have more overhead, and moving 
them
is sometimes more expensive then copyPixels, but it works well enough in 
the

alpha, so I'm sure beta, and release it'll still be smokin'.


- Original Message - 
From: Dimitrios Bendilas [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 16, 2006 6:36 AM
Subject: Re: [FlashCoders] scrollRect


Hi Jester,

Thanks for the url. It seems very interesting.
There is one thing that bothers me, aside the fact that
I'would have to re-write a lot of stuff from scratch, if I
used a model like this.

How do you know in what depth to draw everything?
How do you handle _alphas?

The movieclip model provides a very easy way to stack
images one above another with no problems. It just seems
a lot of work, it's like re-inveting the wheel.

How much can performance benefit from an approach
like this? Any benchmarks, numbers?

Is there a hybrid approach maybe? One that requires
less code but increases performance?

Thanks!


Dimitrios

- Original Message - 
From: JesterXL [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, February 15, 2006 3:53 AM
Subject: Re: [FlashCoders] scrollRect



I oringally wrote this in Flash 8, and ported to Flash 8.5.  There is no
reason it couldn't go back.

http://www.jessewarden.com/archives/2006/01/diesel_battlefi.html

- Original Message - 
From: Dimitrios Bendilas [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, February 14, 2006 4:55 PM
Subject: [FlashCoders] scrollRect


Hi all,

I'm trying to make a very basic prototype to test parallax movement with
Flash 8.

Is movieclip.scrollRect what I should be using? I tried this:

var bg:MovieClip = _root.attachMovie(bg, bg, 2);
var y:Number = 0;
_root.onEnterFrame = function():Void {
bg.scrollRect = {x:0, y:y--, width:635, 

Re: [Flashcoders] How can I display a tall document?

2006-02-23 Thread Janis Radins
I've done JS resize for www.pastkartes.lv and i thnk it works good and looks
good too

2006/2/23, Josh McDonald [EMAIL PROTECTED]:

 I've got to say that the first link is much nicer than the resize the
 flash solution they've got here, so perhaps it's not so bad an idea.
 And the second link, that's a cool idea done fairly badly. They're not
 proper scroll areas, since the mouse wheel doesn't work. Just some sort
 of dodgey home-made look-alike.

 -Josh

 --

 His comrades fought beside him, Van Owen and the rest...
But of all the thompson gunners- Roland was the best.

 Josh McDonald
 Analyst Programmer
 Information Technology
 Ph: 61 7 3006 6460
 Email: [EMAIL PROTECTED]


  [EMAIL PROTECTED] 23/02/2006 9:21:34 am 

 I don't think it sucks that bad

 Take a look for yourself.  You have two choices that I can see:

 Container Resize:
 http://www.salttown.com/vrutah/
 (click on the left side links to load different length text)

 Flash Scrollbars:
 http://www.jasonkimura.com/
 (click anywhere on the screen)
 (not for slow computers)

 Change the size of the flash window (doesn't allow multiple regions to
 scroll, can be a bit, flickery)
 or
 Use a scroll bar in flash (less usable)

 They both have their tradeoffs.

 Phil: I would be glad to send you the source if you want it.

 Further reading:
 http://www.hossgifford.com/downloads.htm




 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Josh
 McDonald
 Sent: Wednesday, February 22, 2006 3:41 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: Re: [Flashcoders] How can I display a tall document?

 I've seen the JS thing done, and it's terrible. It's jerky and
 annoying
 to use, and just doesn't feel right. It definitely breaks the
 flash-as-an-app feel, and it all just goes instantly back to being a
 shiny webpage from the 90s.

 -Josh

 --

 His comrades fought beside him, Van Owen and the rest...
But of all the thompson gunners- Roland was the best.

 Josh McDonald
 Analyst Programmer
 Information Technology
 Ph: 61 7 3006 6460
 Email: [EMAIL PROTECTED]


  [EMAIL PROTECTED] 23/02/2006 6:23:18 am 

 Make a ScrollPane width and height equal to Stage.width and
 Stage.height of a fullscreen app and load a clip containing your text
 field into the ScrollPane.

 You could also send the new textfield height to JavaScript and
 dynamically resize the object and embed (I think, though I'd probably
 never do it this way).

 Mike
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com







 
 ***
 Messages included in this e-mail and any of its attachments are those
 of the author unless specifically stated to represent WorkCover
 Queensland. The contents of this message are to be used for the
 intended
 purpose only and are to be kept confidential at all times.
 This message may contain privileged information directed only to the
 intended addressee/s. Accidental receipt of this information should be
 deleted promptly and the sender notified.
 This e-mail has been scanned by Sophos for known viruses.
 However, no warranty nor liability is implied in this respect.
 
 

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com








 ***
 Messages included in this e-mail and any of its attachments are those
 of the author unless specifically stated to represent WorkCover
 Queensland. The contents of this message are to be used for the intended
 purpose only and are to be kept confidential at all times.
 This message may contain privileged information directed only to the
 intended addressee/s. Accidental receipt of this information should be
 deleted promptly and the sender notified.
 This e-mail has been scanned by Sophos for known viruses.
 However, no warranty nor liability is implied in this respect.

 

Re: [Flashcoders] OT: Design patterns

2006-02-23 Thread Martin Wood

Take a look at this interesting interview of Erich Gamma about Design
Patters (How to use):

http://blog.itpub.net/post/1087/48817


thats really good.

definitely worth reading for anyone with questions about design patterns.


:)

Martin.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] addEventListener -- removeAllListeners EventDispatcher class

2006-02-23 Thread lieven.cardoen
The problem is this : 

 

...

correctButton.addEventListener(onRelease, Delegate.create(controller,
controller.correctButton_OnRelease));

solutionButton.addEventListener(onRelease, Delegate.create(controller,
controller.solutionButton_OnRelease));

nextButton.addEventListener(onRelease, Delegate.create(controller,
controller.nextButton_OnRelease));

...

 

later on, I need to remove the listeners and for that it seems I need an
instance of each Delegate I created.

correctButton.removeEventListener(onRelease, controller) won't work.
I've been trying to change the EventDispatcher class and add

a function removeAllEventListeners, but I can't seem to make it work.
What I would want is to say : 

 

correctButton.removeAllListeners   -- removes all listeners from
correctButton for all events

 

 

ArpForm : 

 

class org.osflash.arp.ArpForm extends MovieClip

{

//

// Properties

//

private static var eventDispatcherInitialized =
EventDispatcher.initialize(ArpForm.prototype);

 




// Constructor




public function ArpForm()

{



}

...

function addEventListener() 

{

// Used by EventDispather mixin

}

 

function removeEventListener()

{

// Used by EventDispather mixin

}

 

function dispatchEvent()

{

// Used by EventDispather mixin

}

 

function dispatchQueue()

{

// Used by EventDispather mixin

}

 

function removeAllListeners()

{

}

 

EventDispatcher : 

...

static function initialize(object:Object):Void

{

if (_fEventDispatcher == undefined)

{

_fEventDispatcher = new EventDispatcher();

}

object.addEventListener =
_fEventDispatcher.addEventListener;

object.removeEventListener =
_fEventDispatcher.removeEventListener;

object.dispatchEvent = _fEventDispatcher.dispatchEvent;

object.dispatchQueue = _fEventDispatcher.dispatchQueue;

object.removeAllListeners =
_fEventDispatcher.removeAllListeners;

}   

...

function removeAllListeners():Void{

for(var i in this){

trace(i :  + i);

this[i] = new Array();

}

}  

 

Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] addEventListener -- removeAllListenersEventDispatcher class

2006-02-23 Thread Miguel Angel Sánchez

Try this:

var dcb:Function = Delegate.create(controller, 
controller.correctButton_OnRelease);
correctButton.addEventListener(onRelease, dcb);

...

correctButton.removeEventListener(onRelease, dcb);



[EMAIL PROTECTED] escribió:
The problem is this : 

 


...

correctButton.addEventListener(onRelease, Delegate.create(controller,
controller.correctButton_OnRelease));

solutionButton.addEventListener(onRelease, Delegate.create(controller,
controller.solutionButton_OnRelease));

nextButton.addEventListener(onRelease, Delegate.create(controller,
controller.nextButton_OnRelease));

...

 


later on, I need to remove the listeners and for that it seems I need an
instance of each Delegate I created.

correctButton.removeEventListener(onRelease, controller) won't work.
I've been trying to change the EventDispatcher class and add

a function removeAllEventListeners, but I can't seem to make it work.
What I would want is to say : 

 


correctButton.removeAllListeners   -- removes all listeners from
correctButton for all events

 

 

ArpForm : 

 


class org.osflash.arp.ArpForm extends MovieClip

{

//

// Properties

//

private static var eventDispatcherInitialized =
EventDispatcher.initialize(ArpForm.prototype);

 





// Constructor




public function ArpForm()

{




}

...

function addEventListener() 


{

// Used by EventDispather mixin

}

 


function removeEventListener()

{

// Used by EventDispather mixin

}

 


function dispatchEvent()

{

// Used by EventDispather mixin

}

 


function dispatchQueue()

{

// Used by EventDispather mixin

}

 


function removeAllListeners()

{

}

 

EventDispatcher : 


...

static function initialize(object:Object):Void

{

if (_fEventDispatcher == undefined)

{

_fEventDispatcher = new EventDispatcher();

}

object.addEventListener =
_fEventDispatcher.addEventListener;

object.removeEventListener =
_fEventDispatcher.removeEventListener;

object.dispatchEvent = _fEventDispatcher.dispatchEvent;

object.dispatchQueue = _fEventDispatcher.dispatchQueue;

object.removeAllListeners =
_fEventDispatcher.removeAllListeners;

}   


...

function removeAllListeners():Void{

for(var i in this){

trace(i :  + i);

this[i] = new Array();

}

}  

 


Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97

// communicatie bij voorkeur op [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 

 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] addEventListener -- removeAllListenersEventDispatcher class

2006-02-23 Thread Michael Nisi
This delegate implementation sends a reference to the receiver.
http://dynamicflash.com/2005/02/delegate-class-refined/

Maybe you could store references to all your delegations somewhere.
Something like a DelegateLocator . ;) Just a thought...

Regards,
Michael

On 2/23/06, Miguel Angel Sánchez [EMAIL PROTECTED] wrote:
 Try this:

 var dcb:Function = Delegate.create(controller, 
 controller.correctButton_OnRelease);
 correctButton.addEventListener(onRelease, dcb);

 ...

 correctButton.removeEventListener(onRelease, dcb);



 [EMAIL PROTECTED] escribió:
  The problem is this :
 
 
 
  ...
 
  correctButton.addEventListener(onRelease, Delegate.create(controller,
  controller.correctButton_OnRelease));
 
  solutionButton.addEventListener(onRelease, Delegate.create(controller,
  controller.solutionButton_OnRelease));
 
  nextButton.addEventListener(onRelease, Delegate.create(controller,
  controller.nextButton_OnRelease));
 
  ...
 
 
 
  later on, I need to remove the listeners and for that it seems I need an
  instance of each Delegate I created.
 
  correctButton.removeEventListener(onRelease, controller) won't work.
  I've been trying to change the EventDispatcher class and add
 
  a function removeAllEventListeners, but I can't seem to make it work.
  What I would want is to say :
 
 
 
  correctButton.removeAllListeners   -- removes all listeners from
  correctButton for all events
 
 
 
 
 
  ArpForm :
 
 
 
  class org.osflash.arp.ArpForm extends MovieClip
 
  {
 
  //
 
  // Properties
 
  //
 
  private static var eventDispatcherInitialized =
  EventDispatcher.initialize(ArpForm.prototype);
 
 
 
  
  
 
  // Constructor
 
  
  
 
  public function ArpForm()
 
  {
 
 
 
  }
 
  ...
 
  function addEventListener()
 
  {
 
  // Used by EventDispather mixin
 
  }
 
 
 
  function removeEventListener()
 
  {
 
  // Used by EventDispather mixin
 
  }
 
 
 
  function dispatchEvent()
 
  {
 
  // Used by EventDispather mixin
 
  }
 
 
 
  function dispatchQueue()
 
  {
 
  // Used by EventDispather mixin
 
  }
 
 
 
  function removeAllListeners()
 
  {
 
  }
 
 
 
  EventDispatcher :
 
  ...
 
  static function initialize(object:Object):Void
 
  {
 
  if (_fEventDispatcher == undefined)
 
  {
 
  _fEventDispatcher = new EventDispatcher();
 
  }
 
  object.addEventListener =
  _fEventDispatcher.addEventListener;
 
  object.removeEventListener =
  _fEventDispatcher.removeEventListener;
 
  object.dispatchEvent = _fEventDispatcher.dispatchEvent;
 
  object.dispatchQueue = _fEventDispatcher.dispatchQueue;
 
  object.removeAllListeners =
  _fEventDispatcher.removeAllListeners;
 
  }
 
  ...
 
  function removeAllListeners():Void{
 
  for(var i in this){
 
  trace(i :  + i);
 
  this[i] = new Array();
 
  }
 
  }
 
 
 
  Met vriendelijke groeten,
  Lieven Cardoen
  MULTIMEDIALOFT | POINT X
  Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97
 
  // communicatie bij voorkeur op [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] rotate gradient fill

2006-02-23 Thread Janis Radins
Hello people!

Just noticed that beginGradientFill matrix r property doesn't have any
effect on radial fills.
That might be my mistake as well, though i tested it with MM sample code and
still no luck.
this.createEmptyMovieClip(gradient_mc, this.getNextHighestDepth());
with (gradient_mc) {
colors = [0xFF, 0xFF];
fillType = radial;
alphas = [100, 100];
ratios = [0, 0xFF];
matrix = {matrixType:box, x:100, y:125, w:200, h:150, r:(90/180)*
Math.PI};
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(100, 100);
lineTo(100, 300);
lineTo(300, 300);
lineTo(300, 100);
lineTo(100, 100);
endFill();
}

In this code changing 90 degrees to anything else has no effect at all.
Anyone noticed this one before, maybe somebody have ideas how to make
workaround?
I know about Matrix object in flash player 8 that might help me with this
problem but I'd like to avoid it and stay flash player 7 compatible as long
as possible.

Janis
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Cool Navigation

2006-02-23 Thread eric dolecki
http://promotion.yepp.co.kr/j70/main.html

does anyone have anything similar to this they would like to share? Its a
pretty interesting way of navigating.

- edolecki
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] flash.net.FileReference: no way to return selected path after browse?

2006-02-23 Thread lars

is it me, or is it impossible to return the selected path after
a browse? for me it returns the selected filename but i cant find
the path anywhere? thanks: lars


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] onActivity for SOUND object?

2006-02-23 Thread Dennis - I Sioux
Hey Guys,

I need something as the microphone.onActivity on the sound object.. so i can 
get the current output of my volume.

Any thoughts?

Many thanks!

Dennis
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] custom menus in projectors (dndTree)

2006-02-23 Thread grimmwerks
Hey all - I've got dndTree from Drumbeat Insight in an application;
when it's in authoring and .swf mode the custom menus work, but when
it's in projector mode they don't; what am I missing?

Thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] flash.net.FileReference: no way to return selected path after browse?

2006-02-23 Thread lars
well, if i allow access to local folders via the settings manager it would
be ok to return paths, too... doesnt make sense imho not to pass the path
after the browse dialog, does it?


Am 23.02.2006 15:49 Uhr schrieb Michael Stuhr unter
[EMAIL PROTECTED]:

 lars schrieb:
 is it me, or is it impossible to return the selected path after
 a browse? for me it returns the selected filename but i cant find
 the path anywhere? thanks: lars
 
 
 seems like no. i'd like to hear an official word about that. is it left out
 for 
 security reasons, and if so please explain !?
 
 
 micha
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] onActivity for SOUND object?

2006-02-23 Thread Dennis - I Sioux
Hmm i've already got a program that spits out an array for each frame.. but 
i was actually looking for a solution within flash..


Any thoughts?

- Original Message - 
From: eric dolecki [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 23, 2006 3:29 PM
Subject: Re: [Flashcoders] onActivity for SOUND object?



checkout swiftmp3.

- edolecki

On 2/23/06, Dennis - I Sioux [EMAIL PROTECTED] wrote:


Hey Guys,

I need something as the microphone.onActivity on the sound object.. so i
can get the current output of my volume.

Any thoughts?

Many thanks!

Dennis
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] flash.net.FileReference: no way to return selected path after browse?

2006-02-23 Thread bryan.rice
Nope - security violation.  You can only get a pointer to the file  
and upload it.  That is it.


blue skies,
bryan

On Feb 23, 2006, at 9:09 AM, lars wrote:


is it me, or is it impossible to return the selected path after
a browse? for me it returns the selected filename but i cant find
the path anywhere? thanks: lars


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] getting the actual width of a scaled child clip

2006-02-23 Thread Lanny McNie
good point

On 2/22/06, Grant Cox [EMAIL PROTECTED] wrote:

 Except you would have to iterate through every _parent level until you
 hit the _root anyway, in case any ancestor clip is scaled...  I've done
 that before for visibility ( parent was _visible=false, grandchild was
 _visible=true but of course not seen).


 Lanny McNie wrote:

 Also, you could just multiply the width/height by the scale..
 
 var w = subClip._width * subClip._parent._xscale / 100;
 var h = subClip._height * subClip._parent._yscale / 100;
 
 Sorry for the psuedo code.
 
 On 2/22/06, Rich Rodecker [EMAIL PROTECTED] wrote:
 
 
 ah, nice one.
 
 On 2/22/06, Grant Cox [EMAIL PROTECTED] wrote:
 
 
 If you use localToGlobal you can find the dimensions in root
 
 
 coordinates.
 
 
 ///
 var topleft = {x: inner._x, y: inner._y};
 var bottomright = {x: inner._x + inner._width, y: inner._y +
 inner._height};
 
 inner._parent.localToGlobal(topleft);
 inner._parent.localToGlobal(bottomright);
 
 trace(inner from:  + topleft.x + , + topleft.y +
to:  + bottomright.x + , + bottomright.y );
 ///
 
 
 Rich Rodecker wrote:
 
 
 
 wierd that i've never hit this before, but I'm running into an issue
 
 
 with
 
 
 getting the width of a clip's children after the parent clip has been
 
 
 scaled
 
 
 down.
 
 So, I say parent clip name holder_mc.  I create 4 movieclips inside
 holder_mc and load movie into them.  Each of the loaded clips are 600
 
 
 x600.
 
 
 If i scale holder_mc down 50%, each of the loaded clips still reports
 
 
 their
 
 
 size as 600x600.
 
 Somebody's HAD to have dealt with this one already...any suggestions?
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 
 
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 
 
 
 
 
 --
 -
 Lanny McNie
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
-
Lanny McNie
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] flash.net.FileReference: no way to return selected path after browse?

2006-02-23 Thread eric dolecki
anyone know if using an amazon webservice for something like album art,
using zinc, whether one can save off the resulting jpgs after loading?

On 2/23/06, bryan.rice [EMAIL PROTECTED] wrote:

 Nope - security violation.  You can only get a pointer to the file
 and upload it.  That is it.

 blue skies,
 bryan

 On Feb 23, 2006, at 9:09 AM, lars wrote:

  is it me, or is it impossible to return the selected path after
  a browse? for me it returns the selected filename but i cant find
  the path anywhere? thanks: lars

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-23 Thread Roman Blöth

Anggie Bratadinata schrieb:
Stephane, that's a good article. 

[..]
Take a look at this interesting interview of Erich Gamma about Design 
Patters (How to use):

http://blog.itpub.net/post/1087/48817


And - if not already mentioned here - think about buying the book Head 
First - Design Patterns by O'Reilly - definitely THE book for learning 
and fully understanding Design Patterns; there's nothing like this one 
out there (except maybe the other Head First-books). Get a free sample 
chapter (PDF) at ora.com.



Best regards,
Roman.

--

---
gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
---

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flash connecting to a database - all running on a DVD-ROM

2006-02-23 Thread nik crosina
*Flash connecting to a database - all running on a DVD-ROM?
*
Is it possible? I am looking into doing exactly that for a massive trainig
programme that needs to access and display a large number of modules in
treeView (Flash Tree component) where each node connects to a record in the
database that contains information the content (pointer to powerpoint,
video, excel, doc, etc file) as well as subtitles (if the content is a
video)

If that description is too confusing then an answer to my basic question
owuld be fantastic!!

--
Nik C
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Installing Custom Ant Tasks in Eclipse

2006-02-23 Thread John Mark Hawley
There doesn't seem to be a simple tutorial for actually getting custom Ant 
tasks installed and running. Even as2Ant leaves you out to dry when it comes to 
actually getting it to work the first time. Any help?

Has anyone else on the list experimented with the Prebob preprocessing Ant 
task, or custom Ant tasks in general in Eclipse? I can't seem to get mine to 
work...I have a feeling it's because I don't have the java SDK installed, and 
no one else is running into this because mot of the Flash devs fooling around 
with Ant and Eclipse in the first place are also developing Java occasionally. 
(UPDATE: well, installing the SDK, and making sure Ant could see tools.jar did 
squat.)

In Eclipse-Preferences-Ant I can see the preprocessor task is defined.

Vanilla Ant builds are working 100%, but ant tasks installed as Eclipse plugins 
don't work when built, they just croak and give a massive, unhelpful Ant error.

--snip from build.xml---

!-- adding this does nothing
taskdef name=preprocess classname=com.objfac.prebop.ant.PreprocessorTask/
 --

target name=preprocess description=Run preprocessor
!-- perform preprocessing steps here --
echo message=Allegedly running preprocessor/
preprocess indir=${src_dir} outdir=${targetdir} out=merge 
except=${skip}
   !-- testing junk --
   var name=smell value=rose/
   filetype commentend=*/ commentbegin=/* extensions=as/--
/preprocess
/target

--end snip---

--partial output---

preprocess:
 [echo] Allegedly running cpp or equivalent

BUILD FAILED
C:\PATH_HIDDEN_TO_PROTECT_THE_INNOCENT\buildPreprocess.xml:24: Could not create 
task or type of type: preprocess.

Ant could not find the task or a class this task relies upon.

(GIANT ERROR MESSAGE SNIPPED)


Any suggestions?

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash connecting to a database - all running on a DVD-ROM

2006-02-23 Thread Ron Wheeler

Are all of the data and referenced files on the DVD?

We have done a database of Personal Protective Equipment for first 
responder with pictures of each piece of equipment and full descriptions 
on a CD. Built a search engine in Flash to select items based on several 
criteria.

The pictures where stored as files and the database was just an XML file.

Ron

nik crosina wrote:


*Flash connecting to a database - all running on a DVD-ROM?
*
Is it possible? I am looking into doing exactly that for a massive trainig
programme that needs to access and display a large number of modules in
treeView (Flash Tree component) where each node connects to a record in the
database that contains information the content (pointer to powerpoint,
video, excel, doc, etc file) as well as subtitles (if the content is a
video)

If that description is too confusing then an answer to my basic question
owuld be fantastic!!

--
Nik C
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Installing Custom Ant Tasks in Eclipse

2006-02-23 Thread Martin Wood

this article has a small section on using custom ant tasks in eclipse :

http://www-128.ibm.com/developerworks/opensource/library/os-ecant/

it might help..

martin


John Mark Hawley wrote:

There doesn't seem to be a simple tutorial for actually getting custom Ant 
tasks installed and running. Even as2Ant leaves you out to dry when it comes to 
actually getting it to work the first time. Any help?

Has anyone else on the list experimented with the Prebob preprocessing Ant 
task, or custom Ant tasks in general in Eclipse? I can't seem to get mine to 
work...I have a feeling it's because I don't have the java SDK installed, and 
no one else is running into this because mot of the Flash devs fooling around 
with Ant and Eclipse in the first place are also developing Java occasionally. 
(UPDATE: well, installing the SDK, and making sure Ant could see tools.jar did 
squat.)

In Eclipse-Preferences-Ant I can see the preprocessor task is defined.

Vanilla Ant builds are working 100%, but ant tasks installed as Eclipse plugins 
don't work when built, they just croak and give a massive, unhelpful Ant error.

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Installing Custom Ant Tasks in Eclipse

2006-02-23 Thread Ron Wheeler
You might as this in the Ant forum. Lots of good Eclipse and Ant guys 
there who can probably see where you have gone wrong.



user@ant.apache.org

Ron
John Mark Hawley wrote:


There doesn't seem to be a simple tutorial for actually getting custom Ant 
tasks installed and running. Even as2Ant leaves you out to dry when it comes to 
actually getting it to work the first time. Any help?

Has anyone else on the list experimented with the Prebob preprocessing Ant 
task, or custom Ant tasks in general in Eclipse? I can't seem to get mine to 
work...I have a feeling it's because I don't have the java SDK installed, and 
no one else is running into this because mot of the Flash devs fooling around 
with Ant and Eclipse in the first place are also developing Java occasionally. 
(UPDATE: well, installing the SDK, and making sure Ant could see tools.jar did 
squat.)

In Eclipse-Preferences-Ant I can see the preprocessor task is defined.

Vanilla Ant builds are working 100%, but ant tasks installed as Eclipse plugins 
don't work when built, they just croak and give a massive, unhelpful Ant error.

--snip from build.xml---

!-- adding this does nothing
taskdef name=preprocess classname=com.objfac.prebop.ant.PreprocessorTask/
--

target name=preprocess description=Run preprocessor
   !-- perform preprocessing steps here --
   echo message=Allegedly running preprocessor/
   preprocess indir=${src_dir} outdir=${targetdir} out=merge 
except=${skip}
  !-- testing junk --
  var name=smell value=rose/
  filetype commentend=*/ commentbegin=/* extensions=as/--
   /preprocess
/target

--end snip---

--partial output---

preprocess:
[echo] Allegedly running cpp or equivalent

BUILD FAILED
C:\PATH_HIDDEN_TO_PROTECT_THE_INNOCENT\buildPreprocess.xml:24: Could not create 
task or type of type: preprocess.

Ant could not find the task or a class this task relies upon.

(GIANT ERROR MESSAGE SNIPPED)


Any suggestions?

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] dynamic text field whoas

2006-02-23 Thread James Deakin

Hi Guys,

I'm having a few issues with html formatted text-fields.

I have embedded the following fonts in the library and given them  
linkage names Helvetica 55 Roman, 75 Helvetica Bold, Helvetica 56  
Italic. Then I am using the code below to try to dynamically produce  
a textfield which can be populated with text marked up with simple  
html tags ( in the real application the text will come from an XML  
file). My client wishes to use html as their copy writers know how to  
use it.


My problem is this the tags are ignored. What is the best course of  
action/ best practice in this situation? I was thinking of creating a  
function to assign a bold textformat (theBold) to the characters in  
the textfield. I could get the index of the text using pattern  
matching in the string but that just seems a bit like over kill isn't  
there a better way?


theRoman = new TextFormat(Helvetica 55 Roman, 15, 0x33, true,  
false, false, null, null, center);
theBold = new TextFormat(75 Helvetica Bold, 15, 0x33, true,  
false, false, null, null, center);
theItalic = new TextFormat(Helvetica 56 Italic, 15, 0x33, true,  
false, false, null, null, center);

// create a text feild
this.createTextField('txtMain', 0, 10, 10, 300, 300);
//
txtMain.html = true;
txtMain.background = true;
txtMain.backgroundColor = 0xFF6600;
txtMain.wordWrap = true;
txtMain.embedFonts = true;
txtMain.setNewTextFormat(theRoman);
txtMain.htmlText =  Last Updated: Wednesday, b15 February 2006/b,;
txtMain.htmlText += 23:48 GMT iE-mail/i this to a friend  
Printable version US attacks Iraq abuse images leak;

// set another text format
txtMain.setTextFormat(0, 6, theBold);
txtMain.setTextFormat(6, 15, theItalic);

James Deakin



On 7 Feb 2006, at 22:56, Nathan Derksen wrote:

Damn, I always thought that seemed a silly way to do it. After all  
this time of re-calling that bloody thing every time I changed it.


Thanks for the correction, I'll go back and fix my old code :-)

Nathan
http://www.nathanderksen.com


On Feb 7, 2006, at 2:49 PM, Ian Thomas wrote:


Or call setNewTextFormat() instead.

setTextFormat() applies to the _existing_ text within the field.

setNewTextFormat() applies to any text that will be put into the  
field.


This is why (Nathan) you're having to call setTextFormat()  
multiple times -
calling setNewTextFormat() just once, before putting anything into  
the

field, should solve that issue.

HTH,
  Ian

On 2/7/06, Nathan Derksen [EMAIL PROTECTED] wrote:


You need to re-apply setTextFormat() every time you change the .text
or .htmlText properties of a text field:

snip
percent.text = percentNum;
percent.setTextFormat(ldrFormat);
snip

I tried this out with your code, and it worked fine afterwards.



___
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@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] sound problem

2006-02-23 Thread Thomas Arnoldi
Hi all, 
 
I wonder if anyone found a solution: The problem is that I have a loaded a
external soundfile in a swf file and if the user leaves the page, the sound
keeps playing. 
 
Thanks Thomas. 
 
 
Thomas Arnoldi
[EMAIL PROTECTED]
www.syntheticdesign.dk http://www.syntheticdesign.dk/ 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] sound problem

2006-02-23 Thread Jim Berkey
Do you mean in a 'tabbed' browser, so that the tab with the sound on it 
stays active after moving to another tab? That's the only time I've 
encountered that.
- Original Message - 
From: Thomas Arnoldi [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 23, 2006 12:20 PM
Subject: [Flashcoders] sound problem



Hi all,

I wonder if anyone found a solution: The problem is that I have a loaded a
external soundfile in a swf file and if the user leaves the page, the 
sound

keeps playing.

Thanks Thomas.


Thomas Arnoldi
[EMAIL PROTECTED]
www.syntheticdesign.dk http://www.syntheticdesign.dk/


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] sound problem

2006-02-23 Thread Marc Hoffman
In all my experience, when the swf's host page closes, the sound 
stops within a second or less. In which browser configuration(s) are 
you having this problem? If you're using Flash to call a new page, 
call stopAllSounds() at the same time.


- Marc

At 09:20 AM 2/23/2006, you wrote:


I wonder if anyone found a solution: The problem is that I have a loaded a
external soundfile in a swf file and if the user leaves the page, the sound
keeps playing.

Thanks Thomas.


Thomas Arnoldi
[EMAIL PROTECTED]
www.syntheticdesign.dk http://www.syntheticdesign.dk/



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] I.E. won't play MP3 (sometimes)

2006-02-23 Thread Marc Hoffman
If you have 10 seconds, please test this so if this problem is only 
on my laptop.


This movie streams short MP3's when the user clicks a button. Works 
fine in I.E. on 3 of my machines, but on my laptop the MP3 never 
plays, although it does get loaded into I.E.'s cache.


I'd appreciate knowing if any of you get the same results. Go to 
http://www.dartfrogmedia.com/birdgame. Click on the bird photo and 
please let me know if you don't hear the bird name announced. Note: 
the intro sound is NOT streamed, so you'll hear it for sure.


thanks,
Marc


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: Installing Custom Ant Tasks in Eclipse

2006-02-23 Thread John Mark Hawley
UPDATE: After a lot of flailing and forcing Ant to specifically include the 
jars for Prebob, I actually got it to run. However, all it does it copy things 
from one directory to another, and no amount of manual flogging and guesswork 
can get it to actually preprocess anything. Has anyone tried Prebop and gotten 
it working, or does anyone have an IDE-friendly preprocessing solution 
themselves?

--

Mark Hawley said:

There doesn't seem to be a simple tutorial for actually getting custom Ant 
tasks installed and running. Even as2Ant leaves you out to dry when it comes to 
actually getting it to work the first time. Any help?

Has anyone else on the list experimented with the Prebob preprocessing Ant 
task, or custom Ant tasks in general in Eclipse? I can't seem to get mine to 
work...I have a feeling it's because I don't have the java SDK installed, and 
no one else is running into this because mot of the Flash devs fooling around 
with Ant and Eclipse in the first place are also developing Java occasionally. 
(UPDATE: well, installing the SDK, and making sure Ant could see tools.jar did 
squat.)

In Eclipse-Preferences-Ant I can see the preprocessor task is defined.

Vanilla Ant builds are working 100%, but ant tasks installed as Eclipse plugins 
don't work when built, they just croak and give a massive, unhelpful Ant 
error.

--snip from build.xml---

!-- adding this does nothing
taskdef name=preprocess classname=com.objfac.prebop.ant.PreprocessorTask/
 --

target name=preprocess description=Run preprocessor
!-- perform preprocessing steps here --
echo message=Allegedly running preprocessor/
preprocess indir=${src_dir} outdir=${targetdir} out=merge 
except=${skip}
   !-- testing junk --
   var name=smell value=rose/
   filetype commentend=*/ commentbegin=/* extensions=as/--
/preprocess
/target

--end snip---

--partial output---

preprocess:
 [echo] Allegedly running cpp or equivalent

BUILD FAILED
C:\PATH_HIDDEN_TO_PROTECT_THE_INNOCENT\buildPreprocess.xml:24: Could not create 
task or type of type: preprocess.

Ant could not find the task or a class this task relies upon.

(GIANT ERROR MESSAGE SNIPPED)


Any suggestions?

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash connecting to a database - all running on a DVD-ROM

2006-02-23 Thread clark slater
Hi Nik,

Check out SWFStudio, it offers ADO connectivity. Downside is ADO has to be
installed on the machine.

Alternatively check out the Catalog plugin for SWFStudio - offers search
functions through a flat tab delimited file. We used it to do exactly what
you describe for a HUGE floor tile manufacturer's sample CD.

Clark


On 2/23/06, nik crosina [EMAIL PROTECTED] wrote:

 *Flash connecting to a database - all running on a DVD-ROM?
 *
 Is it possible? I am looking into doing exactly that for a massive trainig
 programme that needs to access and display a large number of modules in
 treeView (Flash Tree component) where each node connects to a record in
 the
 database that contains information the content (pointer to powerpoint,
 video, excel, doc, etc file) as well as subtitles (if the content is a
 video)

 If that description is too confusing then an answer to my basic question
 owuld be fantastic!!

 --
 Nik C
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] I.E. won't play MP3 (sometimes)

2006-02-23 Thread Helmut Granda
The name of the bird plays but the arrows don't work on WIN XP IE7. It works
fine in FF.

...helmut
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of Marc Hoffman
 Sent: Thursday, February 23, 2006 11:38 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] I.E. won't play MP3 (sometimes)
 
 If you have 10 seconds, please test this so if this problem is only
 on my laptop.
 
 This movie streams short MP3's when the user clicks a button. Works
 fine in I.E. on 3 of my machines, but on my laptop the MP3 never
 plays, although it does get loaded into I.E.'s cache.
 
 I'd appreciate knowing if any of you get the same results. Go to
 http://www.dartfrogmedia.com/birdgame. Click on the bird photo and
 please let me know if you don't hear the bird name announced. Note:
 the intro sound is NOT streamed, so you'll hear it for sure.
 
 thanks,
 Marc
 
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] sound problem

2006-02-23 Thread Nick Gerig

I think you need to set the scope of the sound when you do new Sound(scope)


cheers

Nick

Thomas Arnoldi wrote:


I don't know about tabbed browser, but when I back click on explorer, the
sound keeps playing. It doesn't in firefox.


Thomas Arnoldi
[EMAIL PROTECTED]
www.syntheticdesign.dk
tlf. 36 44 99 98


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Berkey
Sent: 23. februar 2006 18:29
To: Flashcoders mailing list
Subject: Re: [Flashcoders] sound problem


Do you mean in a 'tabbed' browser, so that the tab with the sound on it 
stays active after moving to another tab? That's the only time I've 
encountered that.
- Original Message - 
From: Thomas Arnoldi [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 23, 2006 12:20 PM
Subject: [Flashcoders] sound problem


 


Hi all,

I wonder if anyone found a solution: The problem is that I have a 
loaded a external soundfile in a swf file and if the user leaves the 
page, the sound keeps playing.


Thanks Thomas.


Thomas Arnoldi
[EMAIL PROTECTED]
www.syntheticdesign.dk http://www.syntheticdesign.dk/


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive: 
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training 
http://www.figleaf.com http://training.figleaf.com
   



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 






___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] sound problem

2006-02-23 Thread Thomas Arnoldi
I've done that, and it works fine (stopAllSounds()); but it is when go to
completely new site the problem occur - only in explorer. I've experienced
it in other flash sites, but it seems most of them solved the problem. 

Thomas Arnoldi
[EMAIL PROTECTED]
www.syntheticdesign.dk
tlf. 36 44 99 98


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Hoffman
Sent: 23. februar 2006 18:32
To: Flashcoders mailing list
Subject: Re: [Flashcoders] sound problem


In all my experience, when the swf's host page closes, the sound 
stops within a second or less. In which browser configuration(s) are 
you having this problem? If you're using Flash to call a new page, 
call stopAllSounds() at the same time.

- Marc

At 09:20 AM 2/23/2006, you wrote:

I wonder if anyone found a solution: The problem is that I have a 
loaded a external soundfile in a swf file and if the user leaves the 
page, the sound keeps playing.

Thanks Thomas.


Thomas Arnoldi
[EMAIL PROTECTED]
www.syntheticdesign.dk http://www.syntheticdesign.dk/


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] I.E. won't play MP3 (sometimes)

2006-02-23 Thread Marc Hoffman
Thanks for checking, Helmut. Do you mean the  arrows aren't visible 
or they don't do anything? Very strange since there's nothing odd 
about them that I can think of --  just movie clips with _Up _Over 
and _Down labels and callback functions assigned to them for onRelease.


I've had more stuff breaking in Flash this month than I can remember, 
all stuff that used to work ;(


Marc

At 09:51 AM 2/23/2006, you wrote:


The name of the bird plays but the arrows don't work on WIN XP IE7. It works
fine in FF.

...helmut



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] server sends a fault, flash receives an unable to connect to endpoint

2006-02-23 Thread PR Durand

Hi List
I still can't find any help neither solution and my client needs me to 
find it quickly...
In a webservice connected flash application, when the server sends an 
exception, (working, verified when fill the address directly in a 
browser), flash doesn't receive it, but throws a onFault event, with 
only an unable to connect to endpoint

pendingCall.response is empty
I have no way to receive the error code

please where does it come from, what should I do to catch the error key??

the received soap verified in a browser, but that flash doesn't read, is:

soapenv:Envelope
   soapenv:Body
   soapenv:Fault
   faultcodesoapenv:Server/faultcode
   faultstringhereTheErrorCodeAsANumber/faultstring
   faultactorAPI Web Service IHM PRO/faultactor
detail
   ns1:hostnameg-Host/ns1:hostname
   /detail
   /soapenv:Fault
   /soapenv:Body
/soapenv:Envelope



thanks

PiR
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Q: FlashPluginSwitcher

2006-02-23 Thread bitstreams
Hi
has anyone used the flash plugin switcher?
http://www.kewbee.de/

Haveing an issue setting it up since in the help it refers to the cab files, 
but all that's available for download are exe installers.

Dows anyone know if current and older flash player(cab) files are available for 
downloading or are there only installers?

Thanks
Jim Bachalo

[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] I.E. won't play MP3 (sometimes)

2006-02-23 Thread Éric Thibault

Everything is OK here : WinXP pro sp2 + IE 6.0.2900 sp2

Marc Hoffman wrote:

I'd still appreciate hearing if others with I.E. 6 have trouble with 
this.


Helmut, your findings are interesting, too. If the problem I 
experience is related to your experience, why would I.E. be taking 
longer than other browsers to download? I think they may be unrelated. 
Also, even after the mp3's are in my I.E. 6 cache, the sound still 
won't play. If I type in the mp3 URL directly, it plays in Windows 
MediaPlayer. Then, very rarely, the same sound will successfully play 
in the swf, but usually not. I may try regenerating the MP3 files in 
Audition -- I think I set them for MP3Pro and maybe the standard MP3 
would have more success.


As for download time, I'm on cable connection, so the images appear 
within a second or two. The images average 20 KB. Unfortunately the 
second image is 54 KB, so I should probably reduce it to half the 
size, or have a loading indicator so the user isn't confused by the 
wait. The MP3 files average 9.8KB and none is larger than 15 KB. They 
don't compete for bandwidth, since they are available only after the 
associated image has loaded.


Thanks,
Marc


At 10:08 AM 2/23/2006, you wrote:


 -Original Message-
 [EMAIL PROTECTED] On Behalf Of Helmut Granda
 Sent: Thursday, February 23, 2006 11:51 AM
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] I.E. won't play MP3 (sometimes)

 The name of the bird plays but the arrows don't work on WIN XP IE7. It
 works
 fine in FF.

 ...helmut

Hold that thought, it works on WIN XP IE7 the problem is that the images
take too long to load and there is not a built in preloader, so it is 
hard
to know that something is happening in the background, after I sent 
my email

I opened your page again and everything was there and working properly.

...helmut


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:flashcoders-
  [EMAIL PROTECTED] On Behalf Of Marc Hoffman
  Sent: Thursday, February 23, 2006 11:38 AM
  To: Flashcoders mailing list
  Subject: [Flashcoders] I.E. won't play MP3 (sometimes)
 
  If you have 10 seconds, please test this so if this problem is only
  on my laptop.
 
  This movie streams short MP3's when the user clicks a button. Works
  fine in I.E. on 3 of my machines, but on my laptop the MP3 never
  plays, although it does get loaded into I.E.'s cache.
 
  I'd appreciate knowing if any of you get the same results. Go to
  http://www.dartfrogmedia.com/birdgame. Click on the bird photo and
  please let me know if you don't hear the bird name announced. Note:
  the intro sound is NOT streamed, so you'll hear it for sure.
 
  thanks,
  Marc
 
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
===

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia de 
confidencialidad http://www.rec.ulaval.ca/lce/securite/confidentialite.htm

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] simple FUSE question

2006-02-23 Thread artur
i actually really need to do this with Fuse so that i can use some 
more of it sequencing methods.

thanks though..

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] simple FUSE question

2006-02-23 Thread Zeh Fernando

I would use zmc_tween:
http://hosted.zeh.com.br/mctween/using.html
#include zmc_tween.as
...
Of course I'm using his old stuff.


Just remember that, in this case, the filename would be mc_tween2.as, and 
it's not so old. Just oldschool. :)




i want to create a tween that loops the _y value of an mc.
( so that it goes from point A -- B -- A and loop infinitely)
and upon its rollover i want the loop to stop and for the mc to
scale 120%.
im sure this is a no brainer ..i just cant figure it out..
thanks in advance.


Artur, I can't actually help you much because I'm not that much into Fuse, 
but it should be somethign like this, executed at the same time:


1. make a tween for _y to go to A;
2. make a tween for _y to go to B, but add a delay so it will only start 
after it has reached A;


All of this should be on a function. The second tween should also have a 
callback - when it's finished, it run that same function again.


On rollover on the button, it should stop all tweens, and call a scale 
tween. Then, on rollout, just call the funtion again and continue from 
there.


Maybe they have a different way of running this, since Fuse has a few 
different ways to do stuff, but I think this is the most straightfoward way.


It should be quite easy, but I don't know the syntax specifically. If no one 
can reply to your question here (I think Moses will see it soon) then you 
can check on Fuse's documentation on the site, or ask on their forum.



- Zeh 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] simple FUSE question

2006-02-23 Thread Roger Braunstein
try using this:
(new com.mosesSupposes.fuse.Fuse(
 {label: start, target: blah, _y: yend, seconds: 1, ease: easeInOutQuad},
 {target: blah, _y: ystart, seconds: 1, ease: easeInOutQuad},
 {command: skipTo, commandargs: [start]}
)).start();

//roger
//partlyhuman.com

On 2/23/06, artur [EMAIL PROTECTED] wrote:
 i cant seem to figure this one out:

 i want to create a tween that loops the _y value of an mc.
 ( so that it goes from point A -- B -- A and loop infinitely)

 and upon its rollover i want the loop to stop and for the mc to
 scale 120%.

 im sure this is a no brainer ..i just cant figure it out..
 thanks in advance.

 artur


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Q: FlashPluginSwitcher

2006-02-23 Thread Jörg Müller

Hi!

I'm using FlashPluginSwitcher. I think when they wrote the readme file 
about extracting the cabs Macromedia had them still up in that format. I 
just checked, you're right: I guess if no one else has the players 
archived in a different format, you have to install them all using the 
exes and then use the switcher to uninstall and archive them. Maybe we 
can share the work and put up an archive with all the right files for 
Plugin Switcher?


Cheers,

Jörg.

[EMAIL PROTECTED] schrieb:

Hi
has anyone used the flash plugin switcher?
http://www.kewbee.de/

Haveing an issue setting it up since in the help it refers to the cab files, 
but all that's available for download are exe installers.

Dows anyone know if current and older flash player(cab) files are available for 
downloading or are there only installers?

Thanks
Jim Bachalo

[e] jbach at bitstream.ca
[c] 416.668.0034
[w] www.bitstream.ca

...all improvisation is life in search of a style.
 - Bruce Mau,'LifeStyle'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

  



--



Get Firefox! Safer, Faster, Better! http://www.getfirefox.com

_
joerg.mueller  TEL +49.89.36092940 | 00101100
guerickestr. 21 MOBILE +49.177.2763132 | 01011000
80805 muenchen  E-MAIL [EMAIL PROTECTED] | 11101101
germany| 00010100
¯ 
(1) mathematics is the language of nature. 

  (2) everything around us can be represented
  and understood through numbers. 
  (3) if you graph these numbers, patterns emerge. 
  therefore: there are patterns everywhere in nature.  


- Max Cohen in the motion picture PI.

6002735243859695900984383847384738493549540494854985854954343
8153849612424579962314521362548659362125145554785112332546927
9530206508381538496124245799623145213625485066002735243850098
8473849354954049485498585495854395499953020650838153849612312
6254850660027352438596959009843838473847384935495404948543323


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Building my application

2006-02-23 Thread Patrick Matte
I usually put all my movieclips on stage with a linkage to an as2 class
extending MovieClip. The problem I have with this technique is that
sometimes, nested movieclips are not loaded when I try to call a function
from their parent. 
Does anyone have an idea for a workaround this?

I know that if I use attachMovie everytimes, I won¹t get this problem
because the attached movie¹s constructor is instantly initiated. But I
really like to put all my movieclips on stage already at the right place and
then display them in any order I like.

How can I be sure that everything on stage is loaded and initiated?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] datagrid schema

2006-02-23 Thread Rodrigo Guerra
Can anyone help me understanding how i use the datagrid schema, i know it helps 
a lot in the parsing but i couldn't much info about it.

i think the principle it's the same for others components that has this 
function too
for what i see it will describe, or validate , or facilitate the parsing of the 
data tha comes for the specific component, something like that.


thanks in advice.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] I.E. won't play MP3 (sometimes)

2006-02-23 Thread Byron Canfield
Worked fine for me: XP/sp2, IE 6.0.2900.2180.xpsp_sp2_gdr_050301-1519


-- 
Byron Barn Canfield


 If you have 10 seconds, please test this so if this problem is only
 on my laptop.

 This movie streams short MP3's when the user clicks a button. Works
 fine in I.E. on 3 of my machines, but on my laptop the MP3 never
 plays, although it does get loaded into I.E.'s cache.

 I'd appreciate knowing if any of you get the same results. Go to
 http://www.dartfrogmedia.com/birdgame. Click on the bird photo and
 please let me know if you don't hear the bird name announced. Note:
 the intro sound is NOT streamed, so you'll hear it for sure.

 thanks,
 Marc


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Opening SWF in Flash via command line

2006-02-23 Thread jim
Can you do it with flashcommand, that mike chambers command line tool?

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Grden
Sent: 23 February 2006 21:32
To: Flashcoders mailing list
Subject: [Flashcoders] Opening SWF in Flash via command line

D:/installed programs/Macromedia/Flash 8/Flash.exe d:/test.swf

I get this error:
Error opening URL file:///d|/test.swftest.swf

and it opens up the IDE player with the title test.swftest.swf

does anyone know the proper way to open a swf in the flash IDE via
command
line?

--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] rotate gradient fill

2006-02-23 Thread Josh McDonald
Dude is this a joke? What do you get when you rotate a circle? Or are
you just trying to say something else? If it's not, what are you
expecting to happen when you change r for a radial gradient?
 
-Josh
 
-- 
 
His comrades fought beside him, Van Owen and the rest...
   But of all the thompson gunners- Roland was the best.
 
Josh McDonald
Analyst Programmer
Information Technology
Ph: 61 7 3006 6460
Email: [EMAIL PROTECTED]


 [EMAIL PROTECTED] 23/02/2006 11:58:42 pm 

Hello people!

Just noticed that beginGradientFill matrix r property doesn't have any
effect on radial fills.
That might be my mistake as well, though i tested it with MM sample
code and
still no luck.
this.createEmptyMovieClip(gradient_mc, this.getNextHighestDepth());
with (gradient_mc) {
colors = [0xFF, 0xFF];
fillType = radial;
alphas = [100, 100];
ratios = [0, 0xFF];
matrix = {matrixType:box, x:100, y:125, w:200, h:150,
r:(90/180)*
Math.PI};
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(100, 100);
lineTo(100, 300);
lineTo(300, 300);
lineTo(300, 100);
lineTo(100, 100);
endFill();
}

In this code changing 90 degrees to anything else has no effect at
all.
Anyone noticed this one before, maybe somebody have ideas how to make
workaround?
I know about Matrix object in flash player 8 that might help me with
this
problem but I'd like to avoid it and stay flash player 7 compatible as
long
as possible.

Janis
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com







***
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland. The 
contents of this message are to be used for the intended purpose only and are 
to be kept confidential at all times.
This message may contain privileged information directed only to the intended 
addressee/s. Accidental receipt of this information should be deleted promptly 
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Opening SWF in Flash via command line

2006-02-23 Thread Ryan Matsikas
flip your slashes?

C:\Program Files\Macromedia\Flash 8\Flash.exe D:\logo.swf works for me..

On 2/23/06, jim [EMAIL PROTECTED] wrote:

 Can you do it with flashcommand, that mike chambers command line tool?

 Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of John
 Grden
 Sent: 23 February 2006 21:32
 To: Flashcoders mailing list
 Subject: [Flashcoders] Opening SWF in Flash via command line

 D:/installed programs/Macromedia/Flash 8/Flash.exe d:/test.swf

 I get this error:
 Error opening URL file:///d|/test.swftest.swf

 and it opens up the IDE player with the title test.swftest.swf

 does anyone know the proper way to open a swf in the flash IDE via
 command
 line?

 --
 John Grden - Blitz
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Key.addListener and the escape key for flash player8

2006-02-23 Thread Ryan Matsikas
works for me from 7 and 8 in IE and Firefox

On 2/23/06, blists [EMAIL PROTECTED] wrote:

 No, this is outside of the IDE. Try it yourself and tell me what you get.
 Dump that code into a new empty fla, then publish it for flash 7 player
 and
 you will see a trace when you hit escape. Then republish for flash player
 8
 and tell me if you see the trace for the escape key. Maybe its something
 local, but thats the results I see - no trace on the escape key when
 published for flash player 8...

 Brookd

 At 12:55 AM 2/23/2006, you wrote:
 When you normally publish the file in Flash IDE using Ctrl+Enter, go to
 main menu control  disable keyboard shortcuts and you'll see your trace
 :)
 
 Igor V. a.k.a. The Helmsman
 www.mixtv.tv
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ryan
 Matsikas
 Sent: Thursday, February 23, 2006 5:44 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Key.addListener and the escape key for flash
 player8
 
 You disabled Keyboard shortcuts right?
 cltr+enter.. then..
 Control  Disable Keyboard shortcuts
 
 On 2/22/06, blists [EMAIL PROTECTED] wrote:
  
   I am trying to capture the escape key and have been able to do so in
   the past with this code. But when I publish for flash player 8, the
   Escape key no longer  registers an event, while other keys work fine.
   I couldn't find anything about this is the docs. Anybody know why?
  
   this.KeyListener = new Object();
   this.KeyListener.owner = this;
   this.KeyListener.onKeyUp = function () {
   trace(Key.getCode())
   }
   Key.addListener(this.KeyListener);
  
  
   brookd
  
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com http://training.figleaf.com
  
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OT: Design patterns

2006-02-23 Thread Anggie Bratadinata

I'm still waiting for that book (from a nearby bookstore).
Maybe next month :(

--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com



Roman Blöth wrote:

Anggie Bratadinata schrieb:

Stephane, that's a good article. 


[..]

Take a look at this interesting interview of Erich Gamma about Design 
Patters (How to use):



http://blog.itpub.net/post/1087/48817



And - if not already mentioned here - think about buying the book Head 
First - Design Patterns by O'Reilly - definitely THE book for learning 
and fully understanding Design Patterns; there's nothing like this one 
out there (except maybe the other Head First-books). Get a free sample 
chapter (PDF) at ora.com.



Best regards,
Roman.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] OT: Design patterns

2006-02-23 Thread Bjorn Schultheiss
One way to describe design patterns is to separate the responsibility of
classes in your application, therefore making decoupling possible.
Eg MVC separates the model, view and controller, potentially promoting
reusability, and the ability to work on either model, view or controller
independently of one another.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roman Blöth
Sent: Friday, 24 February 2006 3:06 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] OT: Design patterns

Anggie Bratadinata schrieb:
 Stephane, that's a good article. 
[..]
 Take a look at this interesting interview of Erich Gamma about Design 
 Patters (How to use):
 http://blog.itpub.net/post/1087/48817

And - if not already mentioned here - think about buying the book Head 
First - Design Patterns by O'Reilly - definitely THE book for learning 
and fully understanding Design Patterns; there's nothing like this one 
out there (except maybe the other Head First-books). Get a free sample 
chapter (PDF) at ora.com.


Best regards,
Roman.

-- 

---
 gosub communications gmbh | fredersdorfer str. 10  | 10243 berlin
t [030] 29 36 39 1 - 43 | f [030] 29 66 88 84 | http://www.gosub.de
---

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] method to authenticate/license a flash app?

2006-02-23 Thread lars
hi all. i have a little vj app i'm developing. it'll be a flash projector
app i'm developing for a club. i'm looking for ideas on how to protect
this projector (protect against copying to other machines than the one in
the club). is there anyway to get some unique machine id or anything
else to makes sure this projector will only run on the machine it is
intended to run on? any ideas are welcome. thanks: lars


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Building my application

2006-02-23 Thread Aaron Smith

clip.onLoad();

usually works fine for me. Unless your attaching a substantial amount  
of clips at run time. Then what you need to do is attach one. wait  
for a load event to be fired. then load the next clip. loading a  
substantial amount of clips at one time will get varied results when  
it comes to calling methods on them. Then once all of them have been  
loaded call like a finalInit method or something to set up the rest  
of the app.


SMITH




On Feb 23, 2006, at 1:44 PM, Patrick Matte wrote:

I usually put all my movieclips on stage with a linkage to an as2  
class

extending MovieClip. The problem I have with this technique is that
sometimes, nested movieclips are not loaded when I try to call a  
function

from their parent.
Does anyone have an idea for a workaround this?

I know that if I use attachMovie everytimes, I won’t get this problem
because the attached movie’s constructor is instantly initiated. But I
really like to put all my movieclips on stage already at the right  
place and

then display them in any order I like.

How can I be sure that everything on stage is loaded and initiated?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Multiple videos

2006-02-23 Thread Manuel Saint-Victor
I am setting up an app with multiple videos and wanted to find a simple
multivideo tutorial.  Not an elaborate gallery but something I can break
apart to see some basic rules and answer some questions that I have.

Thanks,

Mani
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] simple FUSE question

2006-02-23 Thread artur
im getting the following errors:

Fuse#0Item#0 invalid value encountered:undefined
Fuse#0Item#1 invalid value encountered:undefined


here is the code:

(new com.mosesSupposes.fuse.Fuse(
 {label: start, target: kiss0, _y: yend, seconds: 1, ease: 
easeInOutQuad},
 {target: kiss0, _y: ystart, seconds: 1, ease: easeInOutQuad},
 {command: skipTo, commandargs: [start]}
)).start();
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] simple FUSE question // solved

2006-02-23 Thread artur
woops- i forgot to put values in for yEnd and yStart

thanks!!

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Borders 30% off--Re: [Flashcoders] OT: Object-Oriented ActionScript For Flash 8 thebook

2006-02-23 Thread Manuel Saint-Victor
Okay hopefully this doesn't constitute spam- and I won't get rotisserie'd
for it

There is a 30% borders coupon I just spent 30 minutes googling for -good
until the 26th  LINK http://f.chtah.com/i/9/276579820/item0222.htm

Mani

On 2/22/06, Hairy Dog Digital [EMAIL PROTECTED] wrote:

  Barnes and Noble brick and mortar store price:
  $44
 
  BarnesandNoble.com price:
  $32

 I've always found this to be the case. Same holds true for
 Books-A-Million.
 It's the overheads of the nice brick-and-mortar in the nice shopping areas
 that you're paying for.

  Amazon.com price:
  $26  (new and available with free shipping via super saver
  shipping - just takes longer - though I had a bad experience
  with super saver shipping before)

 If you buy enough books, get a Barnes-and-Noble membership card which
 drops
 another 15% (IIRC) off price. Also, like Amazon, BN often provides free
 shipping. One one last thing, if you do a shopping club, a la MyPoints.com
 ,
 BN participates.

 My two cents worth.



 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] flash.net.FileReference: no way to return selected path after browse?

2006-02-23 Thread David Rorex
Depends what you mean by save off the resulting jpgs after loading.
But the answer is probably yes, with zinc, there is not really any
security sandbox (as you are now a desktop application, not a web
app), and you can do pretty much whatever you want.

-David R

On 2/23/06, eric dolecki [EMAIL PROTECTED] wrote:
 anyone know if using an amazon webservice for something like album art,
 using zinc, whether one can save off the resulting jpgs after loading?

 On 2/23/06, bryan.rice [EMAIL PROTECTED] wrote:
 
  Nope - security violation.  You can only get a pointer to the file
  and upload it.  That is it.
 
  blue skies,
  bryan
 
  On Feb 23, 2006, at 9:09 AM, lars wrote:
 
   is it me, or is it impossible to return the selected path after
   a browse? for me it returns the selected filename but i cant find
   the path anywhere? thanks: lars
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] rotate gradient fill

2006-02-23 Thread pixelassembly
:)

it's probably not a joke.

if the height and width values are non-identical, then rotating would have
an effect (the fill is not radially symetrical).

anyway, I don't know the answer to the question, but maybe the rotation is
being performed before the scaling (this would probably not have any visible
effect)


glenn


- Original Message - 
From: Josh McDonald [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, February 24, 2006 9:22 AM
Subject: Re: [Flashcoders] rotate gradient fill


Dude is this a joke? What do you get when you rotate a circle? Or are
you just trying to say something else? If it's not, what are you
expecting to happen when you change r for a radial gradient?

-Josh

-- 

His comrades fought beside him, Van Owen and the rest...
   But of all the thompson gunners- Roland was the best.

Josh McDonald
Analyst Programmer
Information Technology
Ph: 61 7 3006 6460
Email: [EMAIL PROTECTED]


 [EMAIL PROTECTED] 23/02/2006 11:58:42 pm 

Hello people!

Just noticed that beginGradientFill matrix r property doesn't have any
effect on radial fills.
That might be my mistake as well, though i tested it with MM sample
code and
still no luck.
this.createEmptyMovieClip(gradient_mc, this.getNextHighestDepth());
with (gradient_mc) {
colors = [0xFF, 0xFF];
fillType = radial;
alphas = [100, 100];
ratios = [0, 0xFF];
matrix = {matrixType:box, x:100, y:125, w:200, h:150,
r:(90/180)*
Math.PI};
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(100, 100);
lineTo(100, 300);
lineTo(300, 300);
lineTo(300, 100);
lineTo(100, 100);
endFill();
}

In this code changing 90 degrees to anything else has no effect at
all.
Anyone noticed this one before, maybe somebody have ideas how to make
workaround?
I know about Matrix object in flash player 8 that might help me with
this
problem but I'd like to avoid it and stay flash player 7 compatible as
long
as possible.

Janis
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com







***
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland.
The contents of this message are to be used for the intended purpose only
and are to be kept confidential at all times.
This message may contain privileged information directed only to the
intended addressee/s. Accidental receipt of this information should be
deleted promptly and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Problem with LocalConnection?

2006-02-23 Thread Dave Mennenoh
I posted this question in macromedia.flash.actionscript but haven't gotten a 
response... I figure it most be something simple - I just don't know what it 
is...



I am using a LocalConnection object to communicate between two swf's on the
same page. Works great. Sent .fla to client - he made a little change, but
gets an error when he tries to compile.

Here's my LC code:

var receiving_lc:LocalConnection = new LocalConnection();
receiving_lc.showpic = function(goWhere:String) {
 gotoAndPlay(goWhere);
};

He gets this error:
**Error** Scene=Scene 1, layer=script, frame=1:Line 2: There is no property
with the name 'showpic'.

receiving_lc.showpic = function(goWhere:String) {


I can't repro this on my end. We're both compiling with MX2004 Pro...

I thought at first it was a class path issue, but I haven't been able to
confirm that.



Dave -
www.blurredistinction.com
www.macromedia.com/support/forums/team_macromedia/ 



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] rotate gradient fill

2006-02-23 Thread Josh McDonald
Yeah my bad, I didn't think flash could do a skewed radial gradient. Now
it makes sense :)
 
-- 
 
His comrades fought beside him, Van Owen and the rest...
   But of all the thompson gunners- Roland was the best.
 
Josh McDonald
Analyst Programmer
Information Technology
Ph: 61 7 3006 6460
Email: [EMAIL PROTECTED]


 [EMAIL PROTECTED] 24/02/2006 9:40:41 am 

:)

it's probably not a joke.

if the height and width values are non-identical, then rotating would
have
an effect (the fill is not radially symetrical).

anyway, I don't know the answer to the question, but maybe the rotation
is
being performed before the scaling (this would probably not have any
visible
effect)


glenn


- Original Message - 
From: Josh McDonald [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, February 24, 2006 9:22 AM
Subject: Re: [Flashcoders] rotate gradient fill


Dude is this a joke? What do you get when you rotate a circle? Or are
you just trying to say something else? If it's not, what are you
expecting to happen when you change r for a radial gradient?

-Josh

-- 

His comrades fought beside him, Van Owen and the rest...
   But of all the thompson gunners- Roland was the best.

Josh McDonald
Analyst Programmer
Information Technology
Ph: 61 7 3006 6460
Email: [EMAIL PROTECTED]


 [EMAIL PROTECTED] 23/02/2006 11:58:42 pm 

Hello people!

Just noticed that beginGradientFill matrix r property doesn't have any
effect on radial fills.
That might be my mistake as well, though i tested it with MM sample
code and
still no luck.
this.createEmptyMovieClip(gradient_mc, this.getNextHighestDepth());
with (gradient_mc) {
colors = [0xFF, 0xFF];
fillType = radial;
alphas = [100, 100];
ratios = [0, 0xFF];
matrix = {matrixType:box, x:100, y:125, w:200, h:150,
r:(90/180)*
Math.PI};
beginGradientFill(fillType, colors, alphas, ratios, matrix);
moveTo(100, 100);
lineTo(100, 300);
lineTo(300, 300);
lineTo(300, 100);
lineTo(100, 100);
endFill();
}

In this code changing 90 degrees to anything else has no effect at
all.
Anyone noticed this one before, maybe somebody have ideas how to make
workaround?
I know about Matrix object in flash player 8 that might help me with
this
problem but I'd like to avoid it and stay flash player 7 compatible as
long
as possible.

Janis
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com







***
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover
Queensland.
The contents of this message are to be used for the intended purpose
only
and are to be kept confidential at all times.
This message may contain privileged information directed only to the
intended addressee/s. Accidental receipt of this information should be
deleted promptly and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com







***
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland. The 
contents of this message are to be used for the intended purpose only and are 
to be kept confidential at all times.
This message may contain privileged information directed only to the intended 
addressee/s. Accidental receipt of this information should be deleted promptly 
and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:

Re: [Flashcoders] how to make single cell in the grid non editable?

2006-02-23 Thread Grant Cox
The only way I've done it is by making the entire datagrid non-editable, 
and listening for a double click on a single cell.  When this happens, 
if that cell can edited that column is set to editable, and the 
appropriate cell is selected.  On a mouse deselect (onBlur?) the column 
is set back to non-editable.


Generally I've found that double clicking to edit a field works quite 
well, as I never liked that just selecting a row would start to edit the 
actual cell clicked.



Oleg Filipchuk wrote:


I hope it would be better. It's nothing else left. :(

So does anyone know any smart solution about making individual cell
non/editable?
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Key.addListener and the escape key for flash player8

2006-02-23 Thread blists
Thanks for checking this. What version of the IDE are you publishing from? 
And just to confirm, your saying it works when changing the publishing 
settings from 7 to 8. What version of the flash player do you have?


Brook

At 02:30 PM 2/23/2006, you wrote:

works for me from 7 and 8 in IE and Firefox

On 2/23/06, blists [EMAIL PROTECTED] wrote:

 No, this is outside of the IDE. Try it yourself and tell me what you get.
 Dump that code into a new empty fla, then publish it for flash 7 player
 and
 you will see a trace when you hit escape. Then republish for flash player
 8
 and tell me if you see the trace for the escape key. Maybe its something
 local, but thats the results I see - no trace on the escape key when
 published for flash player 8...

 Brookd

 At 12:55 AM 2/23/2006, you wrote:
 When you normally publish the file in Flash IDE using Ctrl+Enter, go to
 main menu control  disable keyboard shortcuts and you'll see your trace
 :)
 
 Igor V. a.k.a. The Helmsman
 www.mixtv.tv
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ryan
 Matsikas
 Sent: Thursday, February 23, 2006 5:44 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Key.addListener and the escape key for flash
 player8
 
 You disabled Keyboard shortcuts right?
 cltr+enter.. then..
 Control  Disable Keyboard shortcuts
 
 On 2/22/06, blists [EMAIL PROTECTED] wrote:
  
   I am trying to capture the escape key and have been able to do so in
   the past with this code. But when I publish for flash player 8, the
   Escape key no longer  registers an event, while other keys work fine.
   I couldn't find anything about this is the docs. Anybody know why?
  
   this.KeyListener = new Object();
   this.KeyListener.owner = this;
   this.KeyListener.onKeyUp = function () {
   trace(Key.getCode())
   }
   Key.addListener(this.KeyListener);
  
  
   brookd
  
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com http://training.figleaf.com
  
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training http://www.figleaf.com
 http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: Installing Custom Ant Tasks in Eclipse

2006-02-23 Thread Grant Cox
I messed around with a few preprocessors a week or so ago, and just had 
so many problems (due to ignorance - I'm a noob when it comes to 
java/ant etc).  However, finally I got FMPP to work ( 
http://fmpp.sourceforge.net/ ), and while the preprocessing directives 
aren't the prettiest (they look like html tags), once I got it working I 
was beyond caring about that :)


This is the appropriate part from my build.xml:

!-- PreProcess all the Actionscript with FMPP, output to build 
directory --
taskdef name=fmpp classname=fmpp.tools.AntTask 
classpath=${dependencies_dir}/fmpp/lib/fmpp.jar /

fmpp
   sourceRoot=${src_dir} outputRoot=${build_dir}
   modes=ignore(server/**/*, lib/**/*, dependencies/**/*), 
execute(**/*.as), copy(**/*.swf), ignore(**/*)

   quiet=false 
   data
   antProperties(svn_version)
   debug: true
   /data
/fmpp

Actually, so that modes line makes sense, my folder structure is:

/build
/deploy
/src
  /com
  /dependencies
  /lib
  /server

And I only want it to preprocess .as files from the /src and /src/com 
(not dependencies, lib or server), copy any .swf files (in case MTASC 
needs them as base files) and ignores the rest.


Regards,
Grant Cox


John Mark Hawley wrote:


UPDATE: After a lot of flailing and forcing Ant to specifically include the 
jars for Prebob, I actually got it to run. However, all it does it copy things 
from one directory to another, and no amount of manual flogging and guesswork 
can get it to actually preprocess anything. Has anyone tried Prebop and gotten 
it working, or does anyone have an IDE-friendly preprocessing solution 
themselves?

--

Mark Hawley said:

There doesn't seem to be a simple tutorial for actually getting custom Ant 
tasks installed and running. Even as2Ant leaves you out to dry when it comes to 
actually getting it to work the first time. Any help?


Has anyone else on the list experimented with the Prebob preprocessing Ant 
task, or custom Ant tasks in general in Eclipse? I can't seem to get mine to 
work...I have a feeling it's because I don't have the java SDK installed, and 
no one else is running into this because mot of the Flash devs fooling around 
with Ant and Eclipse in the first place are also developing Java occasionally. 
(UPDATE: well, installing the SDK, and making sure Ant could see tools.jar did 
squat.)


In Eclipse-Preferences-Ant I can see the preprocessor task is defined.

Vanilla Ant builds are working 100%, but ant tasks installed as Eclipse plugins 
don't work when built, they just croak and give a massive, unhelpful Ant 
error.


--snip from build.xml---

!-- adding this does nothing
taskdef name=preprocess classname=com.objfac.prebop.ant.PreprocessorTask/
--

target name=preprocess description=Run preprocessor
   !-- perform preprocessing steps here --
   echo message=Allegedly running preprocessor/
   preprocess indir=${src_dir} outdir=${targetdir} out=merge 
except=${skip}

  !-- testing junk --
  var name=smell value=rose/
  filetype commentend=*/ commentbegin=/* extensions=as/--
   /preprocess
/target

--end snip---

--partial output---

preprocess:
[echo] Allegedly running cpp or equivalent

BUILD FAILED
C:\PATH_HIDDEN_TO_PROTECT_THE_INNOCENT\buildPreprocess.xml:24: Could not create 
task or type of type: preprocess.


Ant could not find the task or a class this task relies upon.

(GIANT ERROR MESSAGE SNIPPED)


Any suggestions?

--
John Mark Hawley
The Nilbog Group
773.968.4980 (cell)

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Opening SWF in Flash via command line

2006-02-23 Thread John Grden
lol, really?? slashes??

Ok, cool - I'll give er' a go

On 2/23/06, Ryan Matsikas [EMAIL PROTECTED] wrote:

 flip your slashes?

 C:\Program Files\Macromedia\Flash 8\Flash.exe D:\logo.swf works for
 me..

 On 2/23/06, jim [EMAIL PROTECTED] wrote:
 
  Can you do it with flashcommand, that mike chambers command line tool?
 
  Jim
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of John
  Grden
  Sent: 23 February 2006 21:32
  To: Flashcoders mailing list
  Subject: [Flashcoders] Opening SWF in Flash via command line
 
  D:/installed programs/Macromedia/Flash 8/Flash.exe d:/test.swf
 
  I get this error:
  Error opening URL file:///d|/test.swftest.swf
 
  and it opens up the IDE player with the title test.swftest.swf
 
  does anyone know the proper way to open a swf in the flash IDE via
  command
  line?
 
  --
  John Grden - Blitz
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Opening SWF in Flash via command line

2006-02-23 Thread John Grden
where Can I get that nifty gem?

On 2/23/06, jim [EMAIL PROTECTED] wrote:

 Can you do it with flashcommand, that mike chambers command line tool?

 Jim

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of John
 Grden
 Sent: 23 February 2006 21:32
 To: Flashcoders mailing list
 Subject: [Flashcoders] Opening SWF in Flash via command line

 D:/installed programs/Macromedia/Flash 8/Flash.exe d:/test.swf

 I get this error:
 Error opening URL file:///d|/test.swftest.swf

 and it opens up the IDE player with the title test.swftest.swf

 does anyone know the proper way to open a swf in the flash IDE via
 command
 line?

 --
 John Grden - Blitz
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Opening SWF in Flash via command line

2006-02-23 Thread David Rorex
http://weblogs.macromedia.com/mesh/archives/2003/11/flashcommand_fl.cfm

hey, what do you know, googling for mike chambers flashcommand and
pressing i'm feeling lucky finds it.

-David R

On 2/23/06, John Grden [EMAIL PROTECTED] wrote:
 where Can I get that nifty gem?

 On 2/23/06, jim [EMAIL PROTECTED] wrote:
 
  Can you do it with flashcommand, that mike chambers command line tool?
 
  Jim
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of John
  Grden
  Sent: 23 February 2006 21:32
  To: Flashcoders mailing list
  Subject: [Flashcoders] Opening SWF in Flash via command line
 
  D:/installed programs/Macromedia/Flash 8/Flash.exe d:/test.swf
 
  I get this error:
  Error opening URL file:///d|/test.swftest.swf
 
  and it opens up the IDE player with the title test.swftest.swf
 
  does anyone know the proper way to open a swf in the flash IDE via
  command
  line?
 
  --
  John Grden - Blitz
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



 --
 John Grden - Blitz
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] method to authenticate/license a flash app?

2006-02-23 Thread David Rorex
On 2/23/06, lars [EMAIL PROTECTED] wrote:
 hi all. i have a little vj app i'm developing. it'll be a flash projector
 app i'm developing for a club. i'm looking for ideas on how to protect
 this projector (protect against copying to other machines than the one in
 the club). is there anyway to get some unique machine id or anything
 else to makes sure this projector will only run on the machine it is
 intended to run on? any ideas are welcome. thanks: lars

No, you'll probably never be able to make it 100% secure. If your app
becomes popular, cracks will appear on shady websites. If Adobe, MS,
etc can't secure their apps, you probably won't be able to either.

But, there are things you can do, that will stop causual users from
copying it. Just don't do anything too annoying that will interfere
with legitimate paying users. I know a couple of the swf2exe apps
(MDM's Zinc in particular) have some ready-made protections you can
use, might want to look into those (i've never used them myself, so
can't help too much, sorry)

-David R
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] swf to screansaver? mac osx?

2006-02-23 Thread Aaron Smith
does anyone know of any open source tools for making a swf into a  
screensaver on mac osx



SMITH
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] method to authenticate/license a flash app?

2006-02-23 Thread Mike Duguid
zinc (multidmedia.com) has some commands that may be useful,
e.g

System.getHDSerial()

and the System.registry commands could be useful too.

http://www.multidmedia.com/support/learning/docs/

On 2/23/06, lars [EMAIL PROTECTED] wrote:
 hi all. i have a little vj app i'm developing. it'll be a flash projector
 app i'm developing for a club. i'm looking for ideas on how to protect
 this projector (protect against copying to other machines than the one in
 the club). is there anyway to get some unique machine id or anything
 else to makes sure this projector will only run on the machine it is
 intended to run on? any ideas are welcome. thanks: lars
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Loading/Unloading Components Question

2006-02-23 Thread Shy Aberman

Hi- I have a pretty complicated question for the wizards on Flashcoders.
The short version is:
  How can I unload a Flash component such that I can cleanly load a newer
version of the same component, and then use the newer code?

The long version is:
+ My team is building a Flash application and a set of specially designed
Flash components.
+ The application and components know how to interact with each other
through pre-defined interfaces and extension points.
+ Designers will use the components to build Flash movies, which will be
redistributed to end-users as SWFs that will be loaded by the application.
+ It is inevitable that we will have to release multiple versions of the
components, but we will not be able to update the Flash movies created by
the designers.

The challenge is how to deal with multiple versions of a given component.

For example:
1) We release Version 1 of the FooComponent.
2) Designer Bob creates the Bar SWF using FooComponent V1.
3) User John gets the Bar SWF.
4) We release Version 2 of FooComponent.
3) Designer Frank creates the Zot SWF using FooComponent V2.
4) User John gets the Zot SWF.

Our Flash application needs to first load Bar SWF and then later Zot SWF (or
vice-versa) correctly (in the same Flash Player instance). Since we cannot
make any assumptions about how we might change the components, our desired
goal is to make sure that each SWF (with its version of FooComponent) is
loaded fully independently.

A quick test indicated that the first loaded version of FooComponent wins
out over later versions of FooComponent.

Does anyone have any suggestions or solutions to make our needs work? Maybe
a neat Object.registerClass() hack? Perhaps a Flash equivalent to Java's
ClassLoader?

Thx,
Shy Aberman
[EMAIL PROTECTED]

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Problem with LocalConnection?

2006-02-23 Thread Johannes Nel
i would imagine that the lc class would be declared dynamic, but maybe it
ain't on his machine. anyway check if this solves your problem

var receiving_lc:LocalConnection = new LocalConnection();
receiving_lc[showpic] = function (goWhere:String) {
 gotoAndPlay(goWhere);
};


On 2/23/06, Dave Mennenoh [EMAIL PROTECTED] wrote:

 I posted this question in macromedia.flash.actionscript but haven't gotten
 a
 response... I figure it most be something simple - I just don't know what
 it
 is...


 I am using a LocalConnection object to communicate between two swf's on
 the
 same page. Works great. Sent .fla to client - he made a little change, but
 gets an error when he tries to compile.

 Here's my LC code:

 var receiving_lc:LocalConnection = new LocalConnection();
 receiving_lc.showpic = function(goWhere:String) {
   gotoAndPlay(goWhere);
 };

 He gets this error:
 **Error** Scene=Scene 1, layer=script, frame=1:Line 2: There is no
 property
 with the name 'showpic'.

  receiving_lc.showpic = function(goWhere:String) {


 I can't repro this on my end. We're both compiling with MX2004 Pro...

 I thought at first it was a class path issue, but I haven't been able to
 confirm that.



 Dave -
 www.blurredistinction.com
 www.macromedia.com/support/forums/team_macromedia/


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
j:pn
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] method to authenticate/license a flash app?

2006-02-23 Thread Adrian Raper, Clarity
ZINC lets you get the machineID of the computer you are running on in one 
call. We match this against an expected machineID written to a licence file 
during installation. (The licence file has a checksum). If they don't 
match, then you can catch it. If you are only selling the application once, 
or limited times, and can do the installation yourself this should be a 
pretty good casual protection. If you are selling lots, then you have to 
add an additional way to stop the installation being run more than once. 
And so the layers start going on!


Adrian
==
Choose Clarity for effective, enjoyable, easy-to-use ELT software.
Dr Adrian Raper, Technical Director
Clarity Language Consultants Ltd (UK and Hong Kong)
http://www.clarity.com.hk
PO Box 163, Sai Kung, Hong Kong
Tel: (+852) 2791 1787, Fax: (+852) 2791 6484
Skype: adrian.raper  


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Opening SWF in Flash via command line

2006-02-23 Thread John Grden
who'd have thunk it.

Thanks Ryan, that worked ;)

On 2/23/06, David Rorex [EMAIL PROTECTED] wrote:

 http://weblogs.macromedia.com/mesh/archives/2003/11/flashcommand_fl.cfm

 hey, what do you know, googling for mike chambers flashcommand and
 pressing i'm feeling lucky finds it.

 -David R

 On 2/23/06, John Grden [EMAIL PROTECTED] wrote:
  where Can I get that nifty gem?
 
  On 2/23/06, jim [EMAIL PROTECTED] wrote:
  
   Can you do it with flashcommand, that mike chambers command line tool?
  
   Jim
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of John
   Grden
   Sent: 23 February 2006 21:32
   To: Flashcoders mailing list
   Subject: [Flashcoders] Opening SWF in Flash via command line
  
   D:/installed programs/Macromedia/Flash 8/Flash.exe d:/test.swf
  
   I get this error:
   Error opening URL file:///d|/test.swftest.swf
  
   and it opens up the IDE player with the title test.swftest.swf
  
   does anyone know the proper way to open a swf in the flash IDE via
   command
   line?
  
   --
   John Grden - Blitz
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  
 
 
 
  --
  John Grden - Blitz
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--
John Grden - Blitz
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] On2 VP6 Pro encoders

2006-02-23 Thread Troy Rollins

Hey all,

Sorenson squeeze is making my life hell with the VP6 Pro plugin. I am  
using it (on OSX) mostly for the capability to insert cue points (and  
the compression, of course), but squeeze just sucks at the cuepoints  
part.


While the pro plugin is only good for Squeeze, I'd buy another  
version if I could use it with a better tool that actually was  
productive.


Anyone know if the Pro encoder can be used with the standard Flash  
video encoder?


If not, another good choice for OSX which supports cuepoint insertion?

I'm really hating Sorenson right now. Slow AND buggy.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Building my application

2006-02-23 Thread Patrick Matte
Thanks, its awesome. My problem was that i was running code right in the 
parent class constructor. Now I've just put all that code into onLoad and it 
works perfectly.


My life will now be better.


- Original Message - 
From: Aaron Smith [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, February 23, 2006 5:46 PM
Subject: Re: [Flashcoders] Building my application


clip.onLoad();

usually works fine for me. Unless your attaching a substantial amount
of clips at run time. Then what you need to do is attach one. wait
for a load event to be fired. then load the next clip. loading a
substantial amount of clips at one time will get varied results when
it comes to calling methods on them. Then once all of them have been
loaded call like a finalInit method or something to set up the rest
of the app.

SMITH




On Feb 23, 2006, at 1:44 PM, Patrick Matte wrote:


I usually put all my movieclips on stage with a linkage to an as2  class
extending MovieClip. The problem I have with this technique is that
sometimes, nested movieclips are not loaded when I try to call a  function
from their parent.
Does anyone have an idea for a workaround this?

I know that if I use attachMovie everytimes, I won’t get this problem
because the attached movie’s constructor is instantly initiated. But I
really like to put all my movieclips on stage already at the right  place 
and

then display them in any order I like.

How can I be sure that everything on stage is loaded and initiated?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com