RE: [Flashcoders] test

2007-02-27 Thread Dave Watts
Test yet again ...  

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

___
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] [Solution] MovieClipLoader woes (Irritating Bug Alert!)

2007-02-27 Thread Ian Thomas

Hi folks,
  I just thought I'd share the solution to this - a very irritating
AS2 bug/feature that took me an age to track down.

  If you have a bunch of nested movieclips and any of them (down the
chain) share a name, such as:

_level0.nav1.nav.mod0.inst0.clip1.inst0.inst0.inst1.res17

(I know, not terribly readable, but autogenerated by our clip-creation
code. Note all the 'inst0's)

then loadMovie() (and by extension, MovieClipLoader) will silently
fail. MovieClipLoader will trigger no listener events at all, not even
an error. And whereas loadMovie() will trace a semi-useful error (that
it can't find the clip), MovieClipLoader won't trace anything at all.

Changing it to:
_level0.nav1.nav.mod0.inst0.clip1.inst1.inst2.inst1.res17

(i.e. getting rid of all the 'inst0' duplicates)

solves the problem.

Flash itself can cope quite happily with clips named the same thing in
a clip chain. It only falls over when loading into one of the
children.

If anyone wants to share my pain, the full rundown is here:
  
http://wildwinter.blogspot.com/2007/02/irritating-bugs-no-1679a-loadmovie-and.html

Cheers,
 Ian

On 2/26/07, Ian Thomas [EMAIL PROTECTED] wrote:

Hi all,
  Has anyone ever come across a situation where MovieClipLoader just
refuses to fire any events whatsoever?

  The situation:

- Flash 8, running in IDE or as local projector (on Win XP)
- A whole pile of successful MovieClipLoader calls have been made
(probably 50 or so by this stage), _including_ the very same bit of
code which later fails.
- Nothing else is loading/streaming at the same time.
- Three calls (in rapid succession) are made to a function which does
the following:

  - creates a new MovieClipLoader
  - creates a new MovieClip (at a new depth)
  - assigns a new listener for the MovieClipLoader
  - starts loading a .swf into the clip.

The first two times, it works perfectly. The third time, no events are
fired and the clip apparently doesn't load.

On each occasion, we wait for the previous load to successfully
complete first (onLoadInit) before we call the function again.

Completely repeatable each time.

The loaded .swf isn't doing anything odd (it contains no code whatsoever).

*sigh*

Any ideas? Or robust alternatives to MovieClipLoader? (Bokel's
LoaderClass is a little heavyweight for what I want to do, but I might
take a look at it).

  Ian


___
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] MovieClipLoader woes

2007-02-27 Thread Kristal Dale
sorry to post this to the list -

I've tried unsubscribing 5+ times since the list came
back up. I never recieve the confirmation email
(despite the page saying it was sent) to actually
finalize the unsubscribe.

To the admin: please remove me from the list.

Thanks,
K
--- Ian Thomas [EMAIL PROTECTED] wrote:

 Hi all,
   Has anyone ever come across a situation where
 MovieClipLoader just
 refuses to fire any events whatsoever?
 
   The situation:
 
 - Flash 8, running in IDE or as local projector (on
 Win XP)
 - A whole pile of successful MovieClipLoader calls
 have been made
 (probably 50 or so by this stage), _including_ the
 very same bit of
 code which later fails.
 - Nothing else is loading/streaming at the same
 time.
 - Three calls (in rapid succession) are made to a
 function which does
 the following:
 
   - creates a new MovieClipLoader
   - creates a new MovieClip (at a new depth)
   - assigns a new listener for the MovieClipLoader
   - starts loading a .swf into the clip.
 
 The first two times, it works perfectly. The third
 time, no events are
 fired and the clip apparently doesn't load.
 
 On each occasion, we wait for the previous load to
 successfully
 complete first (onLoadInit) before we call the
 function again.
 
 Completely repeatable each time.
 
 The loaded .swf isn't doing anything odd (it
 contains no code whatsoever).
 
 *sigh*
 
 Any ideas? Or robust alternatives to
 MovieClipLoader? (Bokel's
 LoaderClass is a little heavyweight for what I want
 to do, but I might
 take a look at it).
 
   Ian
 ___
 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] [JOB] Google is hiring experienced Flash Engineers

2007-02-27 Thread John Harding

(You can apply online at
http://www.google.com/support/jobs/bin/answer.py?answer=47251 or contact me
for additional information.)

Google's world class Engineering team is working on powerful data-driven web
applications which require excellent Flash Engineers to help them come
alive. We are looking for individuals with advanced experience in
Actionscript and Javascript particularly. Come and help define and build the
experiences that will amaze millions of Google users around the world!

Requirements:

  - Advanced ActionScript knowledge.
  - Flash/JavaScript/HTML/CSS experience.
  - Advanced experience designing modular, object-oriented JavaScript
  and ActionScript.
  - Skilled in developing creatives that interoperate with iFrames and
  flash policy constraints.
  - Able to produce creatives that work across browsers and platforms.
  - Experience with Linux.
  - Proven interactive design experience.

Creative Requirements:

  - Experience in designing and developing online/offline creatives.
  - Knowledge of design principles, composition, color theory, and brand
  adherence.
  - Develop creative concepts and online mock ups in a rapid, iterative
  environment.
  - Data driven UI experience (using XML, web services, databases).
___
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] MovieClipLoader woes

2007-02-27 Thread Muzak
Show us some code.

And get XRay.
http://osflash.org/xray

regards,
Muzak

- Original Message - 
From: Ian Thomas [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, February 26, 2007 10:15 AM
Subject: [Flashcoders] MovieClipLoader woes


 Hi all,
  Has anyone ever come across a situation where MovieClipLoader just
 refuses to fire any events whatsoever?



___
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] as3 book

2007-02-27 Thread Amir T Rocker

Hi
try the AS3 cookbook by o'reilly.

bye

Am 04:13 PM 2/26/2007 schrieben Sie:

Hi Guys, I have to accept I'm the newbiest  guy in this flash thing,
I'm finishing(when I'll get time) the flash oop book , and then I'd
like to move to as3...any book you could recommend me?
I've found the as3 book in a nutshell for O'reilly in 10 bucks in
books a million, so if you know about something better and
affordable...let me know.


Thanks.




Gustavo Duenas

___
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] as3 book

2007-02-27 Thread Jonathan

you want a e-book? or a bible?
- Original Message - 
From: Gustavo Duenas [EMAIL PROTECTED]

To: Flashcoders mailing list Flashcoders@chattyfig.figleaf.com
Sent: Monday, February 26, 2007 12:13 PM
Subject: [Flashcoders] as3 book


Hi Guys, I have to accept I'm the newbiest  guy in this flash thing,  
I'm finishing(when I'll get time) the flash oop book , and then I'd  
like to move to as3...any book you could recommend me?
I've found the as3 book in a nutshell for O'reilly in 10 bucks in  
books a million, so if you know about something better and  
affordable...let me know.



Thanks.




Gustavo Duenas

___
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] Append variables to SWF server-side

2007-02-27 Thread Cay Garrido H.

search FlashVars ;)

Mick G escribió:

Does anyone know if there is a way to add data to a SWF file server-side?

Eg. I have a swf that site on my server. I want users to be able to 
select
an option from a dropdown such as Select a color: BLUE. This would 
then send

them a SWF to download that has the variable color=blue embedded into the
SWF. I guess this would mean the server would need to recompile a SWF 
which
would require large CPU so I'm not sure if this is possible but 
thought I'd

ask anyway.
___
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] export Bitmat with webcam

2007-02-27 Thread Laurent CUCHET
I try to export a big bitmap and always got 160 120 image.

I dont find the way to enlarge it,
Ave you got an idea ??

Thank you

import flash.display.BitmapData;
localCamera = Camera.get();
myCam.attachVideo(localCamera);
var bitmap = new flash.display.BitmapData(640, 480, true, 0x);
this.createEmptyMovieClip(copie, 2);
copie.attachBitmap(bitmap, 20, auto, true);
copie._x = 200;
btn.onRelease = function() {
bitmap.draw(myCam);
};
___
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] Captivate and ActionScript

2007-02-27 Thread Alain Rousseau
Yup it is possible,
but if you could be a bit more specific as to what you want to fetch and
set, we can tell you which variables can or cannot be changed.

Alain

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roberto M.
Basáñez González
Sent: 26 février 2007 13:02
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Captivate and ActionScript
Importance: High

Hi All:

I need to pass variables from swf animation to captivate and from captivate
to swf animation. It is posible? Any idea?

Thanks, Roberto. 



__
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.4/702 - Release Date: 2007-02-25
15:16
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.4/702 - Release Date: 2007-02-25
15:16
 

___
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] Append variables to SWF server-side

2007-02-27 Thread T. Michael Keesey

That seems pretty inefficient. Why not just make a Flash Var with the
color and have the SWF render that dynamically?

I remember some solutions along those lines (including Macromedia
Generator) circa 2000, but it just wasn't a great way of doing things
like that. SWFs already have intelligence--they're not flat images
or baked animations.

On 2/26/07, Mick G [EMAIL PROTECTED] wrote:

Does anyone know if there is a way to add data to a SWF file server-side?

Eg. I have a swf that site on my server. I want users to be able to select
an option from a dropdown such as Select a color: BLUE. This would then send
them a SWF to download that has the variable color=blue embedded into the
SWF. I guess this would mean the server would need to recompile a SWF which
would require large CPU so I'm not sure if this is possible but thought I'd
ask anyway.
___
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




--
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
--
The Dinosauricon: http://dino.lm.com
Parry  Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
___
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: [{SPAM?}] - [Flashcoders] Stop loading sounds - Email found in subject

2007-02-27 Thread Omar Fouad

Nah, i tried mySound.load(); but it only stops the sound, and doesnt stol
loading it

better ideas??


On 2/26/07, Omar Fouad [EMAIL PROTECTED] wrote:


allright i'll try it
thanks so much


 On 2/25/07, Cole Peterson [EMAIL PROTECTED] wrote:

 mySound.load(file.mp3, true);

 then ...

 mySound.load();

 will stop the loading of the mp3.

 thanks

 cole peterson


 -Original Message-
 From: [EMAIL PROTECTED] on behalf of Omar Fouad
 Sent: Sun 2/25/2007 11:52 AM
 To: Flashcoders mailing list
 Subject: [{SPAM?}] - [Flashcoders] Stop loading sounds - Email found in
 subject

 i have a Sound object called mySound
 i set it to load an mp3 and set is streaming to true as follow:
 mySound.load(file.mp3, true);

 so it plays and buffers the mp3 untill the load is complete.

 Actually i need my stop button to stop the song and to stop it
 buffering!!!
 as in buffering will let the movie itself load the external swfs very
 slowly. is there something that pauses streaming i can use in this case


 Thanks so much

 --
 Omar Fouad - Digital Emotions...

 Love is always patient and kind. It is never jealous. Love is never
 boastful
 nor conceited It is never rude or selfish. It does not take offense and
 is
 not resentful. Love takes no pleasure in other people's sins...but
 delights
 in the truth. It is always ready to excuse, to trust, to hope... and to
 endure... whatever comes.
 ___
 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




--
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never
boastful nor conceited It is never rude or selfish. It does not take offense
and is not resentful. Love takes no pleasure in other people's sins...but
delights in the truth. It is always ready to excuse, to trust, to hope...
and to endure... whatever comes.





--
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
___
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] Cleaning HTML for use in Flash 8

2007-02-27 Thread Glen Pike

Hi,

   I had some experience writing a simple feed aggregator that then 
loaded in the HTML pages from the remote URL's and tried to clean up the 
HTML into XHTML.


   I used the Pear XML_HTMLSAX libraries for this and extended the 
examples to create my own classes to parse HTML from specific sites to 
extract out the blog content and then clean some of the XHTML up.


   You are welcome to have a look at the code which I have posted here...

   http://glenpike.co.uk/sd/ContentGrabber.zip

   The ContentGrabber is given a URL of an article to get from the 
PharmaTimes or NYTimes websites and it creates a HTMLHandler object that 
deals with the parsing.


   HTH.

Glen
http://glenpike.co.uk/sd/ContentGrabber.zip
David Townsend wrote:

Heya All,

 


I am currently working on a project where I am receiving a huge database of
html pages that I need to convert into xml to drive a flash application. 

 


From memory, many current html codes do not work in Flash and I was
wondering if anyone knew of a way of cleaning up the code, preferably in
php, so that it will work in Flash, and not make the xml file invalid. 

 


Has anyone ever done something like this? I'd love some guidance on the best
way of approaching the problem.

 


Thanks!

 


David Townsend
Mobile: 0403 055 383
The Australian Imagery Company

Address: PO Box 5075, Sandhurst East, Vic 3550
Phone: (03) 54442340 - Fax: (03) 54442341
Email:  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]
Web:  http://www.australianimagery.com.au/
http://www.australianimagery.com.au

 


___
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] Extending Flash8 mx.controls.textarea No Scroll Bar?

2007-02-27 Thread Wade Arnold
I have been trying to subclass mx.control.textarea. This seems to work well
other than I never get a vertical scroll bar. With Xray I can see that
_vscrollpolicy is auto so it should work. 

 

What I have done. 

 

I am using the label for the bounding box from mx.controls.textarea
standardComponent.

 

My new Class: 

 

import mx.controls.TextArea;

class TextAreaPreview  extends TextArea 

{



 /* Components must declare these member variables to be proper
components in the components framework. */

static var symbolName:String = TextAreaPreview;

static var symbolOwner:Object = TextAreaPreview;

var className:String = TextAreaPreview;



 // The component's graphical representation.

private var label:TextField; // the main textfield for the
component





 

/** Constructor **/

function TextAreaPreview() {

}

public function init():Void {

super.init();

this.vScrollPolicy = auto;

this.editable = false;

}



private function onLoad() {

// becuase we are extending textarea we get a
bounding box. This has to be removed

border_mc._visible = false;

}





/** Because we are extending a UI component the following
methods and there super

* are very important! **/

private function createChildren():Void {

super.createChildren();

}

private function draw():Void {

super.draw();

}

private function size():Void {

super.size();

this.label._height = this.height;

this.label._width = this.width;



}

}

 

 

Thanks for your help!!! 


Wade Arnold 

___
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] Cleaning HTML for use in Flash 8

2007-02-27 Thread Mike and Stephie

Hi David !
We found that in out situation that the big drama was getting tables to 
render.

We use this component:
http://www.flashrelief.com/tablemaker/features.html
for that part of it.
What it requires is that the code is xhtml compliant and will break if 
it isn't
You can use one of the variants of HTML tidy to sort out the code, as 
long at the code architecture isn't screwed up too much
We found that to import the XHTML into Flash as XML also works quite 
well and is more tolerant, but doesn't include the tables

I

If the huge database of HTML pages is legacy then methods as above would 
be helpful.
If the HTML pages are currently being created it could be a good idea to 
first translate to xml then apply an XML transform to convert them


All of these ideas are high level -- if you need drilldown then just 
post again

Kind regards


David Townsend wrote:

Heya All,

 


I am currently working on a project where I am receiving a huge database of
html pages that I need to convert into xml to drive a flash application. 

 


From memory, many current html codes do not work in Flash and I was
wondering if anyone knew of a way of cleaning up the code, preferably in
php, so that it will work in Flash, and not make the xml file invalid. 

 


Has anyone ever done something like this? I'd love some guidance on the best
way of approaching the problem.

 


Thanks!

 


David Townsend
Mobile: 0403 055 383
The Australian Imagery Company

Address: PO Box 5075, Sandhurst East, Vic 3550
Phone: (03) 54442340 - Fax: (03) 54442341
Email:  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]
Web:  http://www.australianimagery.com.au/
http://www.australianimagery.com.au

 


___
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 exe and Vista

2007-02-27 Thread David Townsend
Robb,

Just out of interest, how were you able to overcome the ntdll.dll issue that
is common with zinc? I used to love using zinc but as far as I know they
still haven't come up with a proper working solution for the problem.

I had the horrible experience of sending a product to manufacturing (luckily
a short run of 2000) and then getting a constant stream of complaints from
users who were unable to use it on win2k and a few other OS's. 

Thanks,

David Townsend
Mobile: 0403 055 383
The Australian Imagery Company

Address: PO Box 5075, Sandhurst East, Vic 3550
Phone: (03) 54442340 - Fax: (03) 54442341
Email: [EMAIL PROTECTED]
Web: http://www.australianimagery.com.au
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Akerson
Sent: Tuesday, 27 February 2007 6:31 AM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash exe and Vista

I just finished a large Flash CD project that started out as a SWF
Studio build, but Switched over the Using MDMs Zinc 2.5 after some
initial testing with Vista.  

http://www.multidmedia.com/

This got around the locking up and Admin access issues with SWFStudio.
The syntax is fairly similar between the 2 applications and I was able
to re-code the entire wrapper portion in a couple of days.

Robb Akerson

Ratchet Inc.
Minneapolis Minnesota



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Townsend
Sent: Sunday, February 25, 2007 11:35 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash exe and Vista

Heya All,

Apparently Northcode are working on an update to make the system work
with
Vista, from memory there is something in the forum about it. 

mProjector (www.screentime.com) does apparently work fine with Vista,
although they do not appear to have done a full and complete test as yet
(they just haven't had any problems reported). 

I am in the same boat as you. I use SWF Studio but I have to have a
working
version for Vista before I can publish, so the present situation is very
frustrating. 

David Townsend
Mobile: 0403 055 383
The Australian Imagery Company

Address: PO Box 5075, Sandhurst East, Vic 3550
Phone: (03) 54442340 - Fax: (03) 54442341
Email: [EMAIL PROTECTED]
Web: http://www.australianimagery.com.au
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robin
Burrer
Sent: Monday, 26 February 2007 2:11 PM
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Flash exe and Vista

I already sent them an email to them. Let's see what they come back
with.
I start to wonder if they planning to release a new version at all...
There's still no flash 9 support + the website has not been updated for
ages.

Robin




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Muzak
Sent: Monday, 26 February 2007 12:45 PM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash exe and Vista

Get in touch with northcode:
http://www.northcode.com/support.php
http://www.northcode.com/forums/index.php
http://www.northcode.com/forums/showthread.php?t=7852highlight=vista

MDM Zinc is supposed to work on Vista, but I haven't been able to test
it yet.
http://www.multidmedia.com/support/developers/technotes/?action=showid=
58

regards,
Muzak


- Original Message - 
From: Robin Burrer [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, February 26, 2007 1:54 AM
Subject: [Flashcoders] Flash exe and Vista


Hi there,

I'm using swf studio as a swf wrapper. Unfortunately swf studio has not
been updated for vista yet. As a result you have to have administrator
rights to run the flash app.

Even more annoying is the fact that if you just run the application by
double-clicking the exe (or through an autorun file on a CD-ROM) the exe
won't start but will still be listed in the task manager. This means
that you manually have to quit the application in the task manager
before you can start the exe as an administrator.

The worst thing about this whole issue is that Microsoft didn't think it
was necessary to inform the user in any way when he tries to run a
legacy exe.
No error message - nothing. The app just won't start.

So my question is: Are there any workarounds yet? Do other swf wrapper
tools already work with vista?

I came up with this idea of creating a vista compatible windows form
application. This application would then open an alert popup window,
which informs the user that the application which is about to be
launched (my flash exe) requires administrator rights. It would then
prompt the user to
Run the application as an administrator, start the flash exe and quit.

Not sure if this is possible though ...


Any thoughts?


Robin


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or 

Re: [Flashcoders] webcam

2007-02-27 Thread Mike and Stephie

Try wowzamedia.com!


Amir T Rocker wrote:

Sure, but only local - means no one else can see you.

// get the camera
var cam = Camera.get( [opt. camName ] ) ;
// attach the camera on the vid display
videoPanel.attachCamera(cam) ;

thats it - nowe you have a working camera - but no way to show it to 
others or record anything.

For that you would need FCS / FMS.

hope i could help.
best regards

Amir Rocker

Am 09:45 AM 2/26/2007 schrieben Sie:

Is there a way to have a webcam in a web site without flashcomm ?

Thank you
___
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] Append variables to SWF server-side

2007-02-27 Thread Mike and Stephie

HI Mick !
Consider the open source utility SWFMill
Providing the server is compatible with one of it's builds then

  1. Get a PHP to do : swfmill swf2xml [swfname.swf] [file.xml]
  2. Edit the XML file which step 1 produces from PHP
  3. Get PHP to do: swfmill xml2swf [fiel.xml] [swfname.swf]

This should do the job and SWFMill seems to work brilliantly on content 
up to Flash 8 (Goes a bit funny on Flash 9/Flex)

Hope this helps
Post more if it doesn't !


Mick G wrote:

Does anyone know if there is a way to add data to a SWF file server-side?

Eg. I have a swf that site on my server. I want users to be able to 
select
an option from a dropdown such as Select a color: BLUE. This would 
then send

them a SWF to download that has the variable color=blue embedded into the
SWF. I guess this would mean the server would need to recompile a SWF 
which
would require large CPU so I'm not sure if this is possible but 
thought I'd

ask anyway.
___
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] Append variables to SWF server-side

2007-02-27 Thread Andy Herrman

So, how is the user viewing the SWF?  Is it embedded in an HTML page?
If so, you could just make those parameters defined in the HTML, and
then have the SWF know to look for the parameters at runtime.  The
SWFs I use do a lot of that.

  -Andy

On 2/26/07, Mick G [EMAIL PROTECTED] wrote:

Does anyone know if there is a way to add data to a SWF file server-side?

Eg. I have a swf that site on my server. I want users to be able to select
an option from a dropdown such as Select a color: BLUE. This would then send
them a SWF to download that has the variable color=blue embedded into the
SWF. I guess this would mean the server would need to recompile a SWF which
would require large CPU so I'm not sure if this is possible but thought I'd
ask anyway.
___
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] flash vs aim 6.0

2007-02-27 Thread :: joshua

hey everyone.

so alot of the projects that i develop utilize aim to friend feature.

typically the aim:goim javascript call works...

however, it was brought to my attention that these calls no longer  
work with aim 6.0. well it kinda works. it will launch aim, but it no  
longer passes the vars that can be sent. anyone else come across  
this. i also just noticed this was not working using standard html...


cheers.

joshua forstot  
___
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] XPathAPI recursive XML search

2007-02-27 Thread Jim Cheng

Tom Klepl wrote:
Thanks for the reply.. unfortunately this only returns matching nodes 
below the parent node specified. What I need is to crawl the XML tree 
and find ALL matching nodes, regardless of where they are in the tree.


Unfortunately, Flash has never had a good means to traverse an XML tree. 
 Macromedia's XPath API is a decent improvement to the out-of-the-box 
functionality, but if you need to do deep searches into your XML tree of 
the sort like the W3C DOM's getElementsByName and getElementById calls, 
you'll have to do it yourself.


I have previously written an open-source GPL implementation of the 
standards based W3C DOM Level 3 Core Specification for ActionScript 2 
and wound up writing the traversal algorithms myself.  Unless you really 
need a lot of the W3C DOM API though, I'd suggest sticking with the 
native XML implementation as it's about an order-of-magnitude faster 
than mine here:


  http://www.sourceforge.net/projects/ugo/

I made a quick and dirty rewrite of the pre-order traversal algorithm 
suitable for use with the native ActionScript 2.0 XMLNode object (as 
seems to be your case) below at the end of this message.


Should you need to traverse your XML tree in some other order, you can 
fairly easily change the while loop structure to accomodate this.  If 
you need help doing this, you can probably compare against my 
implementation of the traverse method in the DOM3 Node class in the 
above project.


Hope this helps,

Jim Cheng
effectiveUI



code

/**
* Steps through an XML tree, calling the function on each node.
*
* @param  The function to call on each node.
* @param  The root node of the XML tree to traverse.
*/
function traverse(f:Function, rootNode:XMLNode):Void {
  var nodeList:Array = [rootNode], nodeList2:Array;
  var n:XMLNode, i:Number;
  // Pre-order traversal
  while(n = XMLNode(nodeList.shift())) {
f(n, rootNode);
if (n.childNodes.length) {
  nodeList2 = [];
  for (i = 0; i  n.childNodes.length; i++) {
nodeList2.push(n.childNodes[i]);
  }
  nodeList = nodeList2.concat(nodeList);
}
  }
}

// Now look for nodes named nameOfNode
var foundNodes:Array = [];
function isMatchingNode(n:XMLNode, root:XMLNode):Void {
  if (n.localName == nameOfNode) {
foundNodes.push(n);
  }
}
traverse(isMatchingNode, myXMLTree);

/code

___
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] swf/html and swf/swf communication

2007-02-27 Thread Geoff Stearns
localconnection i believe is supported in all the browsers - as long  
as you have the minimum flash player requirement (i think flash  
player 6 was the first one to add support?)



as for the getURL question: if you are using flash player 8 or higher  
you should be using external interface, which i don't think has a  
limit (or if it does, it's a very high limit).


BUT, that said, you shouldn't really put javascript code into your  
swfs like that, it's much smarter to put the js code in your html  
page, and then simply call the js functions from your swf when you  
need them to do something.



On Feb 26, 2007, at 3:32 AM, Martin Klasson wrote:




Hi Flashcoders,

I have been searching around, but not found it to be that easy to  
get answers. I know that you people

here tends to know everything, so I will ask you.

first question:
Is LocalConnection the only way to talk between two swf's in a  
browser (when NOT using javascript),
and are there a list of browsers/os that supports this? In my case  
it I will have two swf's on the same
html-page. -or is there a list of browsers/os that LocalConnection  
does NOT work on?



second question:
Inline javascript in flash, are there any problems with that? I  
mean using javascript in a getURL to make
it for example write out another swf in a div. I have used  
javascript to open popups directly from a
getURL -but is there any known limitations of writing javascript in  
the getURL? Maybe the 99 character-bugg

still is there in Flash as well?


Thanks mates!

___
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] test

2007-02-27 Thread nelson ramirez

let's test again! like we did last summer...

On 2/26/07, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:

1 out of 1 tests completed. Errors: 0. Warnings: 0.

BLITZ | Steven Sacks - 310-551-0200 x209


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of Dave Watts
 Sent: Sunday, February 25, 2007 11:11 AM
 To: flashcoders@chattyfig.figleaf.com
 Subject: RE: [Flashcoders] test

 Test again ...

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber
 vendor-authorized instruction at our training centers in
 Washington DC, Atlanta, Chicago, Baltimore, Northern
 Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!

 ___
 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] Long text field multipage print job

2007-02-27 Thread Marc Hoffman
[I'm pretty sure this is not a new issue, but I can't get into the 
Flashcoders archives or find anything on Google.]


I want to allow visitors at a Flash website to print out a long block 
of text that's currently in a scrolling textfield. But I want to 
break it up into a multi-page print job. I'm familiar with printing 
from an offstage movieclip, but I'm not sure how to go about breaking 
up the text into several blocks that will print on separate pages all 
in one print job.


Any tips?

Thanks,
Marc Hoffman


___
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] Skewing MovieClip??

2007-02-27 Thread Omar Fouad

i have a movieClip on my Stage and i need to skew it orizontally by using
AS, as in i need to create a reflection effect and i need the movieClip to
be mirrored.

Any Ideas?

--
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
___
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] ru.bezier geom package beta

2007-02-27 Thread Jon Bradley

Not bad Ivan.

I created a general polygon clipping library (Weiler-Atherton) a  
couple years ago that I'm converting to AS3 and adding bezier support  
for. It's been pretty fun to work on - especially the curve support.


Is this a pretext to something larger, or just a demo of bezier  
intersection testing?


cheers,

jon



On Feb 26, 2007, at 5:26 AM, Iv wrote:


Hello,

beta version of bezier.ru geom package:
http://www.bezier.ru/rus/AS2/sources/ru.bezier.zip
(now comments in russian only).

please send me private bugs and requests.

good luck,
iv

--
Ivan Dembicki
__ 
__
[EMAIL PROTECTED] || http:// 
www.design.ru


___
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] RE : Captivate and ActionScript

2007-02-27 Thread Alain Rousseau

Hi Roberto,

yes it's possible but you'll have to share more info as to what yo want 
to pass and get. There are certain ways of doing this. What is your setup ?


Alain

Roberto M. Basáñez González wrote:

Hi All:

I need to pass variables from swf animation to captivate and from 
captivate to swf animation. It is posible? Any idea?


Thanks, Roberto.

   
__ LLama Gratis a 
cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por 
minuto. http://es.voice.yahoo.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] swf/html and swf/swf communication

2007-02-27 Thread Nikolaj Selvik
Hej Martin,

There are undocumented issues and restrictions when using
getURL(Javascript:) in content published for FP8 or higher.

Instead, use ExternalInterface where you also should be able to
implement good swf-to-swf communication

A nice, short tutorial can be found at:

http://previous.emllabs.com/article.php?articleId=122


BR,

Nick


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Klasson
Sent: den 26 februari 2007 09:33
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] swf/html and swf/swf communication



Hi Flashcoders,

I have been searching around, but not found it to be that easy to get
answers. I know that you people here tends to know everything, so I will
ask you.

first question:
Is LocalConnection the only way to talk between two swf's in a browser
(when NOT using javascript), and are there a list of browsers/os that
supports this? In my case it I will have two swf's on the same
html-page. -or is there a list of browsers/os that LocalConnection does
NOT work on?


second question:
Inline javascript in flash, are there any problems with that? I mean
using javascript in a getURL to make it for example write out another
swf in a div. I have used javascript to open popups directly from a
getURL -but is there any known limitations of writing javascript in the
getURL? Maybe the 99 character-bugg still is there in Flash as well?


Thanks mates!

___
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] Append variables to SWF server-side

2007-02-27 Thread Alain Rousseau
You should look into flasm (http://flasm.sourceforge.net/) or any code 
injecting software out there


Mick G wrote:

Does anyone know if there is a way to add data to a SWF file server-side?

Eg. I have a swf that site on my server. I want users to be able to 
select
an option from a dropdown such as Select a color: BLUE. This would 
then send

them a SWF to download that has the variable color=blue embedded into the
SWF. I guess this would mean the server would need to recompile a SWF 
which
would require large CPU so I'm not sure if this is possible but 
thought I'd

ask anyway.
___
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] Do You Need to Clear Intervals in this Case?

2007-02-27 Thread Chris RM

On Feb 23, 2007, at 4:45 PM, Alain Rousseau wrote:
If your interval is defined inside your Class then yes you will  
need to

clear it or it will continue to run.



It is inside the class, and the class instance is created within that  
movieclip after it's loaded via attachMovie().



On Feb 23, 2007, at 4:25 PM, Joey Rivera wrote:



My experience has taught me to always clear intervals when I'm done  
with
them.  Anyone correct me if I'm wrong, but to answer your question,  
the
interval won't be cleared when you remove the movie clip.  The  
function will
still keep being called even if you can't see it since the movie  
clip is no

longer being displayed.  So you should clear the interval.

Joey



I was told by someone that since the intervals are in the global  
namespace that yes, you do need to clear them or you'll screw  
yourself. Which this does make sense so I created a function to call  
before I call removeMovieClip().


BTW, now that I'm thinking of it is it possible to do this?

private var myInterval:Number;

public function MyClass(mc:MovieClip) {
  myMC = mc;

}

public function destroy():Void {
   clearInterval(myInterval);
   myMC.removeMovieClip();
}


myMC is a reference of the clip on stage that is blinking. Currently,  
I call myClassInstance.destroy() and then blinkingMC.removeMovieClip 
(). I assume it's possible to have removeMovieClip() in destroy()  
since myMC is a reference of blinkingMC, correct?


Thanks.

Chris




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
ChrisRM

Sent: Friday, February 23, 2007 12:46 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Do You Need to Clear Intervals in this Case?

I have an AS class that accepts a movieclip in the constructor and  
tells
that mc to blink via setInterval(). Now, this movieclip is in an  
external

SWF and loaded into another using MovieClipLoader. So the movieclip is
loaded on stage and blinking. If I perform a removeMovieClip on that
blinking mc do I need to call a clearInterval before removing?

___
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] XPathAPI recursive XML search

2007-02-27 Thread Darren Bowers

cant remember where i found this, but i use it quite a lot. Just drop the
xml root node in as your source node and it will return an array of all node
names that match your query string.

/*
** Function: findAllTag(source:XMLNode, key:String):Array
**
** Purpose: Recursively searches for, then returns an array
**of all XMLNodes whose name match the key.
**
**Accepts: source:XMLNode - node to begin the search at
**key:String - string to seach nodeNames for
**Returns:an array of all XMLNodes whose name match the
**key (case insensitive)
**
*/
function findAllTag(source:XMLNode, key:String):Array {
   var array:Array = new Array();
   var currentNode:XMLNode = source;
   while (currentNode != null) {
   //search root node - case insensitive
   if (currentNode.nodeName.toLowerCase() == key.toLowerCase()) {
   array.push(currentNode);
   }
   if (currentNode.hasChildNodes()) {
   var tempNode:XMLNode = currentNode.firstChild;
   // recursively search all child nodes
   var tempArr:Array = findAllTag(tempNode, key);
   for (var i = 0; i  tempArr.length; ++i) {
   array.push(tempArr[i]);
   }
   }
   // then search siblings of the root node
   currentNode = currentNode.nextSibling;
   }
   return array;
}


On 27/02/07, Tom Klepl [EMAIL PROTECTED] wrote:


Thanks for the reply.. unfortunately this only returns matching nodes
below the parent node specified. What I need is to crawl the XML tree
and find ALL matching nodes, regardless of where they are in the tree.

Tom

Quoting [EMAIL PROTECTED]:

 I believe:

 XPathAPI.selectNodeList(node,/*/nameOfNode);

 will return an array of all child nodes with nameOfNode as their
nodeName


 On Feb 23, 2007, at 5:39 PM, Tom Klepl wrote:

 Hi..

 I am working on a project currently and I'm using Macromedia's
 XPathAPI. However, I need to recursively search one of my XML files
  which is 4 or 5 levels deep. The search I want to perform should
 return all nodes with a specified name, no matter where they are in
  the hierarchy.

 Can anyone suggest/point me to a solution? I don't want to use
 xfactorstudio's API due to its size. I am thinking of extending
 XPathAPI.

 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


 ___
 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] how to reverse the .wmv files

2007-02-27 Thread payal

Hi All

Can anyone tell that how to reverse the .wmv files or some software tool
that reverses the .wmv file.


Thanks 
and
Regards
Payal Jain
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Omar Fouad
Sent: Monday, February 26, 2007 23:50
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] swf/html and swf/swf communication

answer of the second questions:
no, there arent any problems in calling java function inside getURL()


On 2/26/07, Martin Klasson [EMAIL PROTECTED] wrote:



 Hi Flashcoders,

 I have been searching around, but not found it to be that easy to get
 answers. I know that you people
 here tends to know everything, so I will ask you.

 first question:
 Is LocalConnection the only way to talk between two swf's in a browser
 (when NOT using javascript),
 and are there a list of browsers/os that supports this? In my case it I
 will have two swf's on the same
 html-page. -or is there a list of browsers/os that LocalConnection does
 NOT work on?


 second question:
 Inline javascript in flash, are there any problems with that? I mean
 using javascript in a getURL to make
 it for example write out another swf in a div. I have used javascript
 to open popups directly from a
 getURL -but is there any known limitations of writing javascript in the
 getURL? Maybe the 99 character-bugg
 still is there in Flash as well?


 Thanks mates!

 ___
 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




-- 
Omar Fouad - Digital Emotions...

Love is always patient and kind. It is never jealous. Love is never boastful
nor conceited It is never rude or selfish. It does not take offense and is
not resentful. Love takes no pleasure in other people's sins...but delights
in the truth. It is always ready to excuse, to trust, to hope... and to
endure... whatever comes.
___
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] [AS3] Timers behaving erratically

2007-02-27 Thread Nick Johnston

How many instances are getting recreated? If you are creating a Singleton,
only one instance is getting created. That could be an issue. Either that or
you are probably removing the EventListener. Correct me if I am wrong.

Hope that helps. :)

Nick

On 2/24/07, badi malik [EMAIL PROTECTED] wrote:


i've had this happen many times and even posted to the list about iti
use the debugger that comes with the flash ide alot and only then can i see
what's happening...if you look at the instances using the debugger you can
see that the instances haven't cleared their values. what i've done in the
past is make sure that i call removeMovieClip as well as call delete, and
pray! :)

hope this helps

- Original Message 
From: Daniel Thompson [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Friday, February 23, 2007 6:13:07 PM
Subject: RE: [Flashcoders] [AS3] Timers behaving erratically

 classes. The second time this class is instantiated, the
 timers don't fire. Any reason why this is happening?

Actually, nowhere in the application they aren't firing.
Here's the code that disables the application:



public static function disable(message:String):void {
  with (_instance) {
var snapshot:Bitmap = takeSnapshot();

destroyForm();

_container.addChildAt(snapshot, 0);
_container.addChildAt(drawCurtains(), 1);
_container.stage.addEventListener(MouseEvent.CLICK,
mouseClickHandler);

showAlert(message);

_container.stage.invalidate();

_enabled = false;
  }
}


private function destroyForm():void {
  _container.removeChild(_container.getChildByName(form));
  _form = null;
}


___
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] LoadMovie in Mozilla

2007-02-27 Thread Sumeet Kumar
 

Hi 

 

I have a function fnLoadMovies ().

This function loadMovies(.swf files) from an array which is generated
dynamically.

Sometimes this array contains values like 'undefined' or 'null '.

 

In Internet Explorer 

 

When mc.loadMovie(undefined) is called it works fine.

 

But In Mozilla 

 

The plugin  behaves differently

It unloads the existing movie from the holder.

 

Has any one experienced the same problem?

 

Any suggestion on this  question will be of great help.

 

Thanks in advance

 

Sumeet Kumar

___
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 + Mozilla + videos loading issue

2007-02-27 Thread Tarjinder Kumar
Hi,

I am using Flash MX 2004.
I have build an E-Learning course.Its work fine on IE and Mozilla.
Then client asked some video screens in the course.
When we add the video screen then course behaves differently.
We are using MediaDisplay Component to play flv videos.
When we click on next back buttons to load next/previous screen then
come the issue.
Go to the video screen then click next/back button then instead of
loading video screen the next/previous screen loads.

We are try over best but the problem is not solved.

Pls guide me and provide me your help.

Thanks
Tarjinder
___
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] XPathAPI recursive XML search

2007-02-27 Thread Ron Wheeler

If you start at the top of the tree everything that you want is below you.


Tom Klepl wrote:
Thanks for the reply.. unfortunately this only returns matching nodes 
below the parent node specified. What I need is to crawl the XML tree 
and find ALL matching nodes, regardless of where they are in the tree.


Tom

Quoting [EMAIL PROTECTED]:


I believe:

XPathAPI.selectNodeList(node,/*/nameOfNode);

will return an array of all child nodes with nameOfNode as their 
nodeName



On Feb 23, 2007, at 5:39 PM, Tom Klepl wrote:


Hi..

I am working on a project currently and I'm using Macromedia's  
XPathAPI. However, I need to recursively search one of my XML files 
 which is 4 or 5 levels deep. The search I want to perform should  
return all nodes with a specified name, no matter where they are in 
 the hierarchy.


Can anyone suggest/point me to a solution? I don't want to use  
xfactorstudio's API due to its size. I am thinking of extending  
XPathAPI.


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



___
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] Bumpmapping!

2007-02-27 Thread Ian Thomas

My oh my... I stumbled over this post from one of the from the
PaperVision3D team this morning:

http://www.unitzeroone.com/blog/flash_examples/flash_9_pv_3d_example_3d_bumpm.html

*round of applause*
___
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] Beginners/Designers Actionscript

2007-02-27 Thread Ian Thomas

Hi,
 Can anyone recommend a good book to teach designers who know a bit
of AS1 scripting up to speed with AS2? I've been asked for a
recommendation and it's been so long since I bought a book (or was
scripting AS1!), I'm at a loss to pick out one from the myriad that a
Google search brings up.

Cheers,
  Ian
___
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] swf/html and swf/swf communication

2007-02-27 Thread Martin Klasson


Yeah, I did some extensive testings on that yesterday,
the only thing is that you can't return values from javascript with only 
inline javascript,

-and you have to use void(0) in the getURL to avoid the return-values.

ExternalInterface is good of course, but I am after making all the 
functionality in flash

because of the CMS is not that greatly flexible.

But since flash doesnt have browser-detection, it is hard to make out 
the correct syntax and so on.


/ martin

Omar Fouad skrev:

answer of the second questions:
no, there arent any problems in calling java function inside getURL()


On 2/26/07, Martin Klasson [EMAIL PROTECTED] wrote:




Hi Flashcoders,

I have been searching around, but not found it to be that easy to get
answers. I know that you people
here tends to know everything, so I will ask you.

first question:
Is LocalConnection the only way to talk between two swf's in a browser
(when NOT using javascript),
and are there a list of browsers/os that supports this? In my case it I
will have two swf's on the same
html-page. -or is there a list of browsers/os that LocalConnection does
NOT work on?


second question:
Inline javascript in flash, are there any problems with that? I mean
using javascript in a getURL to make
it for example write out another swf in a div. I have used javascript
to open popups directly from a
getURL -but is there any known limitations of writing javascript in the
getURL? Maybe the 99 character-bugg
still is there in Flash as well?


Thanks mates!

___
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] creating executable for windows mobile 2003.

2007-02-27 Thread Chris Tague

hi all,

How do i create a flash executable for a windows mobile 2003 device?


Do i need the 600 euro distribution kit?

It is just for a demo for a client, so for the moment there are no licensing
issues.


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] swf/html and swf/swf communication

2007-02-27 Thread Nikolaj Selvik
Hej Martin,

There are largely undocumented issues and restrictions when using
getURL(Javascript:) in content published for FP8 or higher. Some
discussions on the subject can be found at:

http://weblogs.macromedia.com/mesh/archives/2005/08/new_flash_8_pla.html

Instead, use ExternalInterface where you also should be able to
implement good swf-to-swf communication

A nice, short tutorial can be found at:

http://previous.emllabs.com/article.php?articleId=122


BR,

Nick 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Klasson
Sent: den 26 februari 2007 09:33
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] swf/html and swf/swf communication



Hi Flashcoders,

I have been searching around, but not found it to be that easy to get
answers. I know that you people here tends to know everything, so I will
ask you.

first question:
Is LocalConnection the only way to talk between two swf's in a browser
(when NOT using javascript), and are there a list of browsers/os that
supports this? In my case it I will have two swf's on the same
html-page. -or is there a list of browsers/os that LocalConnection does
NOT work on?


second question:
Inline javascript in flash, are there any problems with that? I mean
using javascript in a getURL to make it for example write out another
swf in a div. I have used javascript to open popups directly from a
getURL -but is there any known limitations of writing javascript in the
getURL? Maybe the 99 character-bugg still is there in Flash as well?


Thanks mates!

___
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] [JOB] Permanent role available for central London for Flash developer

2007-02-27 Thread Christian Giordano

Here the post about an open position in my team, I'm posting on behalf my
team leader.

-

My team at LBi is dedicated to creating the RIA bits of cutting-edge online
and offline user experiences... meaning that we build everything from RIA
components for large CMS-driven websites to insane standalone kiosk
applications. We are dedicated to using the right tool for any particular
task, so whilst ActionScript development would be a large part of your role
initially, you would be developing skills in AJAX / Unobtrusive JavaScript /
semantic XHTML + markup (and possibly some Ruby On Rails and mobile
platforms) as time goes on.

We are backed by a large tech department, as well as large design and 'user
experience architecture' departments, and we always work to the highest
possible standards.

If you are interested in this opportunity then please contact me at
[EMAIL PROTECTED]

Job title: RIA Developer

Responsibilities:


  - Actionscript 2.0 Development using FDT / Eclipse / Swfmill / MTASC /
  ANT
  - Occasional maintenance of legacy Flash applications ( i.e. stuff
  done via the Flash IDE)
  - Development of further RIA skills as mentioned about

Skill requirements:

  - Object Oriented ActionScript 2.0
  - 3+ years Flash experience (although experience is less important
  that a willingness and ability to learn)

Beneficial knowledge:

  - XHTML and Unobtrusive / OO JavaScript experience would be great
  - Test Driven Development experience a bonus
  - Java experience would be nice

Company blurb:
LBi UK is the leading digital communications company in the UK. Our
expertise leads the industry in Media,  Strategy, Technology  and Creative.
We combine these skills to help our clients communicate effectively with
their audiences through digital channels. We are 450 in London, and we are
part of LBi Group that has 1,300 like minded digital professionals spread
across 29 offices in Europe and the US.

Our breadth and depth of skills, our scale and our international reach allow
our blue chip clients to make the best use of digital channels to improve
the performance of their businesses and brands.
[LBi blog http://stream.lbigroup.com/]
[LBi holding page http://www.lbigroup.com/]
-

Contact Michael if interested, I can only add that it is a rare opportunity
if you are willing to learn and use cutting edge technologies.


Best, chr
--
___
{ Christian Giordano's site and blog @ http://nuthinking.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] MovieClipLoader woes

2007-02-27 Thread Holth, Daniel C.

Have you tried listening for the onLoadError event in the MCL class to
see if any errors are output?

Also, is it that specific swf, or does it not load the third swf every
time, regardless of the swf?  (does order matter?)

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: Monday, February 26, 2007 3:16 AM
To: Flashcoders mailing list
Subject: [Flashcoders] MovieClipLoader woes

Hi all,
  Has anyone ever come across a situation where MovieClipLoader just
refuses to fire any events whatsoever?

  The situation:

- Flash 8, running in IDE or as local projector (on Win XP)
- A whole pile of successful MovieClipLoader calls have been made
(probably 50 or so by this stage), _including_ the very same bit of
code which later fails.
- Nothing else is loading/streaming at the same time.
- Three calls (in rapid succession) are made to a function which does
the following:

  - creates a new MovieClipLoader
  - creates a new MovieClip (at a new depth)
  - assigns a new listener for the MovieClipLoader
  - starts loading a .swf into the clip.

The first two times, it works perfectly. The third time, no events are
fired and the clip apparently doesn't load.

On each occasion, we wait for the previous load to successfully
complete first (onLoadInit) before we call the function again.

Completely repeatable each time.

The loaded .swf isn't doing anything odd (it contains no code
whatsoever).

*sigh*

Any ideas? Or robust alternatives to MovieClipLoader? (Bokel's
LoaderClass is a little heavyweight for what I want to do, but I might
take a look at it).

  Ian
___
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

This e-mail and its attachments are intended only for the use of the 
addressee(s) and may contain privileged, confidential or proprietary 
information. If you are not the intended recipient, or the employee or agent 
responsible for delivering the message to the intended recipient, you are 
hereby notified that any dissemination, distribution, displaying, copying, or 
use of this information is strictly prohibited. If you have received this 
communication in error, please inform the sender immediately and delete and 
destroy any record of this message. Thank you.
___
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] setstyle for component

2007-02-27 Thread creativity

I need to setstyle for list component for various parameters. Do i
need to write setstyle separately for each parameter or how should i
write the code to set multiple properties in one setstyle statement.

thanks
Abhi

On 2/25/07, Robin Burrer [EMAIL PROTECTED] wrote:

Hi there,

I'm using swf studio as a swf wrapper. Unfortunately swf studio has not
been updated for vista yet. As a result you have to have administrator
rights to run the flash app.

Even more annoying is the fact that if you just run the application by
double-clicking the exe (or through an autorun file on a CD-ROM) the exe
won't start but will still be listed in the task manager. This means
that you manually have to quit the application in the task manager
before you can start the exe as an administrator.

The worst thing about this whole issue is that Microsoft didn't think it
was necessary to inform the user in any way when he tries to run a
legacy exe.
No error message - nothing. The app just won't start.

So my question is: Are there any workarounds yet? Do other swf wrapper
tools already work with vista?

I came up with this idea of creating a vista compatible windows form
application. This application would then open an alert popup window,
which informs the user that the application which is about to be
launched (my flash exe) requires administrator rights. It would then
prompt the user to
Run the application as an administrator, start the flash exe and quit.

Not sure if this is possible though ...


Any thoughts?


Robin

___
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




--
Abhishek Kumar
___
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] Text to speech (TTS)

2007-02-27 Thread Jason Ross
Hi - I was wondering if anybody has any experience with server side text
to speech technologies e.g. to implement 'hear this page' functionality.

 

I have seen foxtons.co.uk that publishes text to swf audio and I was
wondering if anybody knows of anything that enables this?

 

Ideally - if it supported additional languages (French, German, Dutch)
that would be great!

 

Thank you for sharing,

 

Jason.


© 2007 All rights reserved - View Strategic Plc - Incorporated and registered 
in England and Wales.
Registered office: 76 New Cavendish Street, London, W1G 9TB. Registered number: 
4671506

Legal Disclaimer:
This email message (including any attachments) is strictly confidential and is 
intended only for the person(s) or organisation(s) named above.  The 
unauthorised use, disclosure, distribution and/or copying of the email message, 
or any information it contains (including any attachments), is strictly 
prohibited and could in certain circumstances constitute a legal offence.  If 
you are not an intended recipient, please contact the sender immediately by 
return email and delete the email from your system.  

Internet email communications are not always secure and may be susceptible to 
data corruption, interception and unauthorised amendment, and therefore 'View' 
does not accept legal responsibility for the contents of this message for any 
such corruption, interception or amendment or the consequences thereof nor any 
delay in its receipt.

Although this email message and any attachments are believed to be free of any 
virus or other defect that might affect any computer system into which it is 
received and opened, it is the responsibility of the recipient to ensure that 
it is virus free.  No responsibility is accepted by 'View' for any loss or 
damage in any way arising from its use.

Any views expressed by the sender of this message are not necessarily those of 
'View'.  
_
This message from View has been checked for all known viruses by the 
MessageLabs Virus Control Centre.
___
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] ColorMatrix

2007-02-27 Thread misa

Hello flash coders,

I need some help with color transformations. I want to change dynamicly 
the hue of a MC with a transition/tween, something like fading from one 
image to another with different colors. I tried both G. Skinner's and M. 
Klingman's colorMatrix class, but the tweening they use is bound to some 
object. In G.S's demo there's a scroll bar, and in M.K's he uses two 
images. I want to use one of their classes but be able to transform the 
color of one MC just with a function: onSomeEvent ... { tweenHue for 
myMC from thisHUE to newHUE }.


Thanks in advance
___
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] XPathAPI recursive XML search

2007-02-27 Thread Andrew Eatherington

function getNodes(xmlDoc, tagname, xmlObjArray, isFirst):Array{

if(xmlObjArray == null){
yourArr = new Array();
}else{
yourArr = xmlObjArray;
}

if(xmlDoc.hasChildNodes()){

for(var i=0; i  xmlDoc.childNodes.length; i++){
if( (xmlDoc.childNodes[i].nodeType == 1) 
(xmlDoc.childNodes[i].nodeName == 
tagname)){

//code here

}

yourArr.push(page);

}
getNodes(xmlDoc.childNodes[i], tagname, 
yourArr);
}
}
if (isFirst == true) {
//trace(finished!);
return yourArr;
}

Does this help?
Andrew

On 26 Feb 2007, at 16:43, Tom Klepl wrote:

Thanks for the reply.. unfortunately this only returns matching  
nodes below the parent node specified. What I need is to crawl the  
XML tree and find ALL matching nodes, regardless of where they are  
in the tree.


Tom

Quoting [EMAIL PROTECTED]:


I believe:

XPathAPI.selectNodeList(node,/*/nameOfNode);

will return an array of all child nodes with nameOfNode as their  
nodeName



On Feb 23, 2007, at 5:39 PM, Tom Klepl wrote:


Hi..

I am working on a project currently and I'm using Macromedia's   
XPathAPI. However, I need to recursively search one of my XML  
files  which is 4 or 5 levels deep. The search I want to perform  
should  return all nodes with a specified name, no matter where  
they are in  the hierarchy.


Can anyone suggest/point me to a solution? I don't want to use   
xfactorstudio's API due to its size. I am thinking of extending   
XPathAPI.


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



___
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] Problem when loading swf a second time

2007-02-27 Thread Andrew Eatherington

I wait until the
MovieClipLoader's listener object receives the onLoadInit call before
allowing the loaded swf to continue.



I'm late to this but shouldn't it be onLoadComplete()

Andrew


On 23 Feb 2007, at 21:53, Jay Bibby wrote:


Hi,

I'm at my wits end on this and I don't know where to turn for help.  
Numerous
Google searches have turned up little in the way of anyone  
encountering a

similar issue.

I have an interface shell swf that handles the selection, loading and
display of various external game swfs within it. All are loaded via a
MovieClipLoader object and all of them have _lockroot set to true.

One particular game behaves fine when loaded the first time into  
the shell.
But loaded a 2nd time, I get the following 256 levels of recursion  
error

message...

256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie.

The error occurs while the external swf is attaching a movieclip  
from its

library...

t = _root.attachMovie(title, title, 1000);

I thought perhaps that it just might be a timing issue, since  
loading the
swf a second time is virtually instantaneous, even though I wait  
until the

MovieClipLoader's listener object receives the onLoadInit call before
allowing the loaded swf to continue.

So I created several delays in the swf, via timeouts and also by  
extending
the main timeline. Doing so actually seemed to fix the problem. The  
title
screen was created and the start button on it was functional.  
Subsequently
starting the game created the first puzzle and all seemed good  
until one of
the objects in the first puzzle was clicked on... then the same  
recursion

error.

I'm at my wits end.

To recap: The game functions perfectly the first time it is loaded.  
However,
after unloading the swf and reloading it again, the same swf seems  
to be

unstable.

Has anyone seen similar behavior before when using externally  
loaded swfs?

Or do you have any ideas as to what to look for in the code?

Thanks very much.

Jay
jayisgames.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] simulating airbrush + calligraphy brush

2007-02-27 Thread Guntur N. Sarwohadi

Hi all,

Is there a way to simulate how an airbrush tool or a calligraphy brush works
using Flash Drawing API? I'm talking about drawing tools you see in
MS-Paint, where an airbrush produces random dots/circles near the mouse
cursor while calligraphy brush is like a regular brush but the tip is oval.
I know that using capsStyle argument in lineStyle method can produce rounded
or squared tip, but no oval. Does anyone know how to create a custom tip
(capsStyle) for lineStyle? If the regular Drawing API isn't sufficient, can
anyone give any ideas of other ways to achieve this? I was thinking of
looping an attachMovie method during onEnterFrame/onMouseDown to place
custom shaped MCs. Is this a good idea to go with?

thanks,
Guntur N. Sarwohadi
___
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] XML.load() and complex corporate network environments (load balancers, firewalls, etc.)

2007-02-27 Thread matt stuehler

All,

I'm working on a Flash project for a large financial services client.

The problem has to do with xml.load().

After the movie loads completely, I use xml.load() to load an XML
configuration file - it's just a static text file that sits in the
same directory as the swf itself.

The code looks like this:

config_xml = new XML();
config_xml.onLoad = xmlLoaded;
config_xml.load(config.xml);
stop();
function xmlLoaded(success) {
 if (success) {
   // parse the xml
 else {
   // handle error
 }
}

When I run this locally or from my server (Media Temple, a
shared-server ISP), it works fine - the (success) branch of the
conditional is always executed

However, when my client places it into its environment, it doesn't always work.

- If you access the swf from WITHIN their corporate firewall, it always works.
- If you access the swf from SOME geographic regions outside the
firewall, it always works
- If you access the swf from OTHER geographic regions, it never works
- the !(success) branch is executed

Can this have anything to do with Flash? I'm no network security
expert, so I don't no what to look for. The client uses a complex
system of security, firewalls, and load balancers, so anything's
possible.

While I'd love to solve the problem, my primary concern is ruling out
(if appropriate), Flash as the cause.

Also, XML.load(), while useful, is pretty rudimentary - it calls the
callback function with either a true or false parameter. Is it
possible to get more information on WHY it fails?

Also, sometimes it fails right away, other times it takes a long time.
Is this behavior controllable?

Many thanks in advance for your advice and insight!

Cheers,
Matt Stuehler
___
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] test

2007-02-27 Thread Matthias Dittgen


___
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] Webcam

2007-02-27 Thread Laurent CUCHET
I try to create a screencopy of my webcam with a bitmap data but I always
keep 160x120 for the resolution
I specify a 640x480 but got always a small copy. Got an Idea ?

Thanks, Laurent

//actionscript
import flash.display.BitmapData;
localCamera = Camera.get();//camera use
myCam.attachVideo(localCamera);//camera capture
var bitmap = new flash.display.BitmapData(640, 480, true,
0x);//creation of the copy of the screen
this.createEmptyMovieClip(copie, 2);//creation of an empty MC
copie.attachBitmap(bitmap, 20, auto, true);
bitmap.draw(myCam);
___
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] Urgent help !!! Please :)

2007-02-27 Thread Johnny Zen

Hi all

Finishing a project and came to a hurdle.

1. User clicks on link in browser. Opens a new smaller browser window!
(Out of interest, what do people think about opening new browser
windows?, I cant decide whether this is a bad idea to begin with!)

2. Within new window, there is my flash application, which at some
stage requires another flash application! Which is bigger. So I try
the resize window method within body tag, which isnt 100 - i.e doesnt
work in IE7. (ok in firefox)

Whats the best thing to do here?

Does anyone know a 100% working method for resizing windows from within Flash?

Am I doing something totally stupid by even thinking about window resizing?

Any help would be cool!


Love you all



Johnny
___
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