RE: [Flashcoders] Problems playing FLVs through Director shell

2006-12-12 Thread Blumenthal, Peter

Last night I tried to
Run the app on my home PC which had IE6 installed under XP Pro (worked
fine),
gulp install IE7 /gulp - sadly, still worked fine.

Maybe because I have Director MX2004 installed too?

Today we plan to re-run the test with a machine without Director on it...

Anybody please...?

Pete


This email may contain confidential material.  If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.
___
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] Attaching bitmap data to arbitary coords

2006-12-12 Thread Mike Mountain
Charles

I'm well aware of both those methods, but they still won't let you
position the bitmap data anywhere other than with the registration point
at TL or positively offset from the TL.

Cheers

M 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Charles Parcell
 Sent: 11 December 2006 17:30
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Attaching bitmap data to arbitary coords
 
 You can of course use copyPixels() as well.
 
 http://livedocs.macromedia.com/flash/8/main/1948.html
 
 Charles P.
 
 
 On 12/11/06, Charles Parcell [EMAIL PROTECTED] wrote:
 
  Yeah, I think you are looking for the draw() method of BitmapData.
 
  http://livedocs.macromedia.com/flash/8/main/1950.html
 
  See the comments as well.
 
  Charles P.
 
 
 
  On 12/10/06, Martin Jonasson [EMAIL PROTECTED] wrote:
  
   This is what i use in i a project of mine:
  
   var myMatrix:Matrix = new Matrix();
   myMatrix.rotate(clip._rotation * 0.0174532925199433); var 
   translateMatrix:Matrix = new Matrix(); 
   translateMatrix.translate(clip._x, clip._y); 
   myMatrix.concat(translateMatrix); 
 myBitmapData2.draw(clip, myMatrix)
  
   (this is stolen straight from my code, with nothing added 
 to make it 
   more understandable, but it should be rather self explanatory)
  
  
   Mike Mountain skrev:
Consider the following, Flash 8:
   
var w=200
var h=200
holder=this.createEmptyMovieClip (bmp1, 
this.getNextHighestDepth()); var bmpData1:BitmapData = new 
BitmapData(w, h, true, 0x); 
 bmp1.attachBitmap(bmpData1, 2, 
auto, true);
   
This will attach the bitmapdata so it's top left is situated at 
the
   reg
point of the mc, how do I attach it, or later move it 
 so the reg 
point of the MC is situated at any point I wish, 
 without using nested MC's?
   
The problem being I want to make an exact bitmap copy of the 
contents
   of
an MC, which could have it reg point set anywhere - and 
 I want the 
new copy to inherit the same registration point, but 
 like I said 
before - without having to resort to nested MC's - 
 surely this is 
possible and I'm missing something blindingly obvious?
   
Cheers
   
M
   
___
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] flashing first frame

2006-12-12 Thread nik crosina

Hi,

Small issue with getURL. We want to load a new html page at the end of
a swf. So we use getURL on the last frame to do this. Problem is - on
some occasions we get a flash of the first frame before the new page
is loaded.

How can we avoid this? Is this a little bug, or could this be in our
code some where?

Thanks guys.

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

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


Re: [Flashcoders] flashing first frame

2006-12-12 Thread Jim Berkey
A quick-n-dirty way to prevent the first frame from loading before the getURL 
command happens is to add a few empty frames after the getURL command, so that 
the swf has somewhere to go while the page takes its sweet time to open.
jimbo

*** REPLY SEPARATOR  ***

On 12/12/2006 at 12:33 PM nik crosina wrote:

Hi,

Small issue with getURL. We want to load a new html page at the end of
a swf. So we use getURL on the last frame to do this. Problem is - on
some occasions we get a flash of the first frame before the new page
is loaded.

How can we avoid this? Is this a little bug, or could this be in our
code some where?

Thanks guys.

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

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

B

___
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] Which Data Structure is good for this?

2006-12-12 Thread Sascha
Thanks Michael! You're right, E4X is sweet but in this case there are too
many things that hang onto it later so I want to create a custom data holder
that is more lightweight and fits the needs exactly. Using an object with
own API for every hierarchy would also be overkill. Thanks a lot for the
efforts though!

I might also try utilizing the Proxy class as there properties later that
are not known from the beginning.

Cheers,
Sascha


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:flashcoders-
 [EMAIL PROTECTED] On Behalf Of T. Michael Keesey
 Sent: Tuesday, 12 December, 2006 14:00
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Which Data Structure is good for this?
 
 On 12/11/06, Sascha [EMAIL PROTECTED] wrote:
  I would be interested in recommendations about what kind of data
structure
  is best used in the following situation.
  I'm loading in a XML file with a typical recursive structure, then the
data
  from it should be parsed into a data storage object and this data should
be
  accessible globally through the application. The XML file has a
structure
  like this:
 [snipped]
 
 The e4x functions make dealing with XML objects s nice that I
 don't see any particular reason to convert it to something else.
 
 But, if you insist, how about a data model package with classes like so:
 
 Model
   public function get xml():XML;
   public function set xml(value:XML):void
 
 ResourceList extends Model
   public function getDisplay(type:uint):Display;
   public function get data():Data;
   override public function set xml(value:XML):void
 
 Display extends Model
   public function get propertyCount():uint;
   public function get backgroundCount():uint;
   public function get objectCount():uint;
   public function getProperty(index:uint):Property;
   public function getBackground(index:uint):Background;
   public function getObject(index:uint):DisplayObject;
   override public function set xml(value:XML):void
 
 ... so on and so forth
 
 --
 T. Michael Keesey
 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

___
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] flashing first frame

2006-12-12 Thread Van De Velde Hans
Did you add a stop(); on the last frame?
(silly me)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Berkey
Sent: dinsdag 12 december 2006 13:54
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] flashing first frame


A quick-n-dirty way to prevent the first frame from loading before the
getURL command happens is to add a few empty frames after the getURL
command, so that the swf has somewhere to go while the page takes its sweet
time to open. jimbo

*** REPLY SEPARATOR  ***

On 12/12/2006 at 12:33 PM nik crosina wrote:

Hi,

Small issue with getURL. We want to load a new html page at the end of 
a swf. So we use getURL on the last frame to do this. Problem is - on 
some occasions we get a flash of the first frame before the new page is 
loaded.

How can we avoid this? Is this a little bug, or could this be in our 
code some where?

Thanks guys.

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

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

B

___
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] Problems playing FLVs through Director shell

2006-12-12 Thread ben gomez farrell
I've never tried Flash video with Director, but have put plenty of other 
Flash content inside Director.  The ONE thing I found didn't work for me 
in that time was the MovieClipLoader onComplete handler.  I could use 
the moviecliploader to load an external swf, but it would never tell me 
when it was finished.  It worked fine outside of Directorbut not inside.
Anyway it was off of a CD, so I ended up using a timer to wait a certain 
amount of time for it to load and then started playback.
I wonder if you are running into any similar issues with your flv?  I 
don't know how specifically its not working...but have you checked if 
it's some kind of loading complete event that's not happening?

ben

Blumenthal, Peter wrote:

Last night I tried to
Run the app on my home PC which had IE6 installed under XP Pro (worked
fine),
gulp install IE7 /gulp - sadly, still worked fine.


Maybe because I have Director MX2004 installed too?

Today we plan to re-run the test with a machine without Director on it...

Anybody please...?

Pete


This email may contain confidential material.  If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.
___
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] cuepoint/flvplayback question

2006-12-12 Thread Michael Appenzellar
Cuepoint question:
I have cuepoints working but they act strange if you move the video
seekbar aroundthe video shows the wrong cuepoint until the video
hits the next cuepointany way to have the cuepoint follow the
seekbar position?

flvplayback question:
I have 2 videosI can show the first one and then show the 2nd one
fine, but I don't want to show any player controls, specifically the
seekbar during the first video...I have tried just putting a graphic
over the controls but that didn't work as expected.

 


Michael Appenzellar
Sr. Web Applications Developer


Mirame Interactive

http://www.mirameinteractive.com

301-663-5672 x6413

 

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

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


[Flashcoders] Loading various FLVs using external Javascript controls

2006-12-12 Thread Christopher Whiteford

Has anyone come across an example where external javascript is controlling
which flv a player loads and plays?
___
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] cuepoint/flvplayback question

2006-12-12 Thread Van De Velde Hans
You can put a listener on the scrubbing and the change event of the FLV
playback
and retrieve the last cue point with code:

Ex.
public function getLastCuePoint():Object {
var pht:Number = my_FLVPlybk.playheadTime;
for(var i:Number = cuePoint_array.length-1; i=0; i--){
if(pht = cuePoint_array[i].time) return
cuePoint_array[i];
}
return null;
}


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Appenzellar
Sent: dinsdag 12 december 2006 16:11
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] cuepoint/flvplayback question


Cuepoint question:
I have cuepoints working but they act strange if you move the video seekbar
aroundthe video shows the wrong cuepoint until the video hits the next
cuepointany way to have the cuepoint follow the seekbar position?

flvplayback question:
I have 2 videosI can show the first one and then show the 2nd one fine,
but I don't want to show any player controls, specifically the seekbar
during the first video...I have tried just putting a graphic over the
controls but that didn't work as expected.

 


Michael Appenzellar
Sr. Web Applications Developer


Mirame Interactive

http://www.mirameinteractive.com

301-663-5672 x6413

 

___
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] cuepoint/flvplayback question

2006-12-12 Thread Alain Rousseau
Have you tried using MediaDisplay instead of FlvPlayback ? You won't have
any controls showing, only your FLV. 
Or you can adjust your skin parameter of your component :

http://livedocs.macromedia.com/flash/8/main/3480.html#wp3797830


HTH

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Appenzellar
Sent: 12 décembre 2006 10:11
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] cuepoint/flvplayback question

Cuepoint question:
I have cuepoints working but they act strange if you move the video seekbar
aroundthe video shows the wrong cuepoint until the video hits the next
cuepointany way to have the cuepoint follow the seekbar position?

flvplayback question:
I have 2 videosI can show the first one and then show the 2nd one fine,
but I don't want to show any player controls, specifically the seekbar
during the first video...I have tried just putting a graphic over the
controls but that didn't work as expected.

 


Michael Appenzellar
Sr. Web Applications Developer


Mirame Interactive

http://www.mirameinteractive.com

301-663-5672 x6413

 

___
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.1.409 / Virus Database: 268.15.16/582 - Release Date: 2006-12-11
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.16/582 - Release Date: 2006-12-11
 

___
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] Problems playing FLVs through Director shell

2006-12-12 Thread Merrill, Jason
What version of the Flash player is the Director Xtra built on?  

Jason Merrill
Bank of America 
Learning  Organizational Effectiveness
 
 
 
 
 
 

Blumenthal, Peter wrote:
 Last night I tried to
 Run the app on my home PC which had IE6 installed under XP 
Pro (worked 
 fine), gulp install IE7 /gulp - sadly, still worked fine.


 Maybe because I have Director MX2004 installed too?

 Today we plan to re-run the test with a machine without 
Director on it...

 Anybody please...?

 Pete


___
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] Problems playing FLVs through Director shell

2006-12-12 Thread Troy Rollins


On Dec 12, 2006, at 10:55 AM, Merrill, Jason wrote:


What version of the Flash player is the Director Xtra built on?


There is an updated version available for download which supports  
Flash 8. Out of the package it comes with Flash 7 support.


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


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

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


RE: [Flashcoders] Problems playing FLVs through Director shell

2006-12-12 Thread Blumenthal, Peter

Hi Ben thanks for your response.

That's interesting. Was the problem of the MovieClipLoader onComplete handler 
not firing apparent when running from a local hard drive as well as CD please?

Unfortunately I don't know exactly how it's failing either as I am unable to 
replicate the problem. It only occurs on a couple of the machines we've tried 
it on, neither of which I have access to. Additionally the CD is in 2 parts - 
part 1 is the actual application, which uses components we have build 
ourselves, and part 2 is a walk through of the application, built by another 
company, using the standard Adobe video control components.

It's also been suggested that it may be due to a certain version of Iml32.dll - 
I have yet to verify this though.

Jason and Troy - thanks for your pointers. The application is AS 2 FP8 based, 
and we have included the latest Flash 8 Asset Xtra, rolled out as part of the 
10.1.1 release in our Xtras folder.

I'll let you know as and when I find out more.

Thanks

Pete


 The ONE thing I found didn't
 work for me
 in that time was the MovieClipLoader onComplete handler.  I could use
 the moviecliploader to load an external swf, but it would
 never tell me
 when it was finished.  It worked fine outside of
 Directorbut not inside.
 Anyway it was off of a CD, so I ended up using a timer to
 wait a certain
 amount of time for it to load and then started playback.
 I wonder if you are running into any similar issues with your flv?  I
 don't know how specifically its not working...but have you checked if
 it's some kind of loading complete event that's not happening?
 ben

This email may contain confidential material.  If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.
___
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] Looking for Flash Contractor

2006-12-12 Thread Yehia Shouman

Hi I am interested in that. I am a Senior Actionscript 2 Developer located
in Egypt. And I got a team of people whom I call sometimes to carry out
tasks.

Can you let me know of some details

Cheers
Yehia Shouman

On 12/11/06, Eaton, Jason [EMAIL PROTECTED] wrote:


CyberSource is looking for a flash contractor to build a flash
application used for information gathering. Please contact me directly
by email or phone below. Cheers.



Jason Eaton, CyberSource Corporation

Engineering Director, Managed Risk

(650)965-6022





___
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] Problems playing FLVs through Director shell

2006-12-12 Thread ben gomez farrell
Yes it was apparent on both CD and harddrive.  It was apparent because I 
only played the loaded SWF when the onComplete handler was firing, and 
it never played!


But like I said depending on how you have your stuff coded, maybe there 
is an off chance that you have it coded that it uses some sort of 
complete handler that only matters when the media you're loading isn't 
as instantaneous as a hard drive.  Probably not.but thought I'd 
chime in with my experiences just in case.


ben

Blumenthal, Peter wrote:

Hi Ben thanks for your response.


That's interesting. Was the problem of the MovieClipLoader onComplete handler 
not firing apparent when running from a local hard drive as well as CD please?


Unfortunately I don't know exactly how it's failing either as I am unable to 
replicate the problem. It only occurs on a couple of the machines we've tried 
it on, neither of which I have access to. Additionally the CD is in 2 parts - 
part 1 is the actual application, which uses components we have build 
ourselves, and part 2 is a walk through of the application, built by another 
company, using the standard Adobe video control components.

It's also been suggested that it may be due to a certain version of Iml32.dll - 
I have yet to verify this though.

Jason and Troy - thanks for your pointers. The application is AS 2 FP8 based, 
and we have included the latest Flash 8 Asset Xtra, rolled out as part of the 
10.1.1 release in our Xtras folder.

I'll let you know as and when I find out more.

Thanks

Pete


  

The ONE thing I found didn't



  

work for me



  

in that time was the MovieClipLoader onComplete handler.  I could use



  

the moviecliploader to load an external swf, but it would



  

never tell me



  

when it was finished.  It worked fine outside of



  

Directorbut not inside.
Anyway it was off of a CD, so I ended up using a timer to



  

wait a certain



  

amount of time for it to load and then started playback.
I wonder if you are running into any similar issues with your flv?  I



  

don't know how specifically its not working...but have you checked if



  

it's some kind of loading complete event that's not happening?
ben




This email may contain confidential material.  If you were not an
intended recipient, please notify the sender and delete all copies.
We may monitor email to and from our network.
___
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] Looking for Flash Contractor

2006-12-12 Thread Eaton, Jason
Thanks Yehia.

I should have mentioned but the company would like to keep this work
inside the US. 

Thanks for your interest.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yehia
Shouman
Sent: Tuesday, December 12, 2006 9:13 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Looking for Flash Contractor

Hi I am interested in that. I am a Senior Actionscript 2 Developer
located
in Egypt. And I got a team of people whom I call sometimes to carry out
tasks.

Can you let me know of some details

Cheers
Yehia Shouman

On 12/11/06, Eaton, Jason [EMAIL PROTECTED] wrote:

 CyberSource is looking for a flash contractor to build a flash
 application used for information gathering. Please contact me directly
 by email or phone below. Cheers.



 Jason Eaton, CyberSource Corporation

 Engineering Director, Managed Risk

 (650)965-6022





 ___
 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] Looking for Flash Contractor

2006-12-12 Thread Merrill, Jason
Hey, I have an idea:  Flash-related job postings are fine but for the
sake of the hundreds of subscribers, let's keep the resultant chatter
off-list.  Thanks!

Jason Merrill
Bank of America 
Learning  Organizational Effectiveness
 
___
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] Looking for Flash Contractor

2006-12-12 Thread Dave Watts
 Hey, I have an idea:  Flash-related job postings are fine but 
 for the sake of the hundreds of subscribers, let's keep the 
 resultant chatter off-list.  Thanks!

Yes, please do this (says the list admin).

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


Re: [Flashcoders] Loading various FLVs using external Javascript controls

2006-12-12 Thread Vishal Kapur

Check out ExternalInterface in Flash8 for invoking actionscript from JS.


On 12/12/06, Christopher Whiteford [EMAIL PROTECTED] wrote:

Has anyone come across an example where external javascript is controlling
which flv a player loads and plays?
___
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] flashing first frame

2006-12-12 Thread Steven Sacks | BLITZ
 How can we avoid this? 


stop();
getURL(mypage.html);
___
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] Loading various FLVs using external Javascript controls

2006-12-12 Thread Christopher Whiteford

Thanks, this looks like what I was looking for

On 12/12/06, Vishal Kapur [EMAIL PROTECTED] wrote:


Check out ExternalInterface in Flash8 for invoking actionscript from JS.


On 12/12/06, Christopher Whiteford [EMAIL PROTECTED] wrote:
 Has anyone come across an example where external javascript is
controlling
 which flv a player loads and plays?
 ___
 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] frame 1 - stop() not working with simulate download

2006-12-12 Thread John Olson

I'm not sure why I never noticed this after so many years, but I was doing a
demo for someone the other day and Flash was doing some weird things.   It
was an old school preloader demo with a stop() and an onEnterFrame loop on
frame 1 that checked the bytes loaded and bytes total.   I was bandwidth
testing and it kept ignoring my stop() on frame 1.  It worked fine if I was
testing the movie normally, but would run right past the stop() on frame 1
when I did the Simulate Download.

For my demo, I just moved everything to frame 2 and it worked fine, but it
was extremely odd. I was more puzzled because I'm not sure how I didn't see
this before (or don't recall it happening before).

Is this a known issue with Simulate Download?  I know there are issues that
Simulate Download doesn't clear out all variables and objects from memory,
but I found it odd that it was skipping/ignoring the stop() action.

- John
___
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] frame 1 - stop() not working with simulate download

2006-12-12 Thread Mick G

I've seen this behavior when using if(bytesLoaded==bytesTotal) and not
checking if the bytesLoaded is  1K (or some small file size) to be
sure it has started loading.

So... use--  if(bytesLoaded==bytesTotal  bytesLoaded1024)



On 12/12/06, John Olson [EMAIL PROTECTED] wrote:

I'm not sure why I never noticed this after so many years, but I was doing a
demo for someone the other day and Flash was doing some weird things.   It
was an old school preloader demo with a stop() and an onEnterFrame loop on
frame 1 that checked the bytes loaded and bytes total.   I was bandwidth
testing and it kept ignoring my stop() on frame 1.  It worked fine if I was
testing the movie normally, but would run right past the stop() on frame 1
when I did the Simulate Download.

For my demo, I just moved everything to frame 2 and it worked fine, but it
was extremely odd. I was more puzzled because I'm not sure how I didn't see
this before (or don't recall it happening before).

Is this a known issue with Simulate Download?  I know there are issues that
Simulate Download doesn't clear out all variables and objects from memory,
but I found it odd that it was skipping/ignoring the stop() action.

- John
___
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] frame 1 - stop() not working with simulate download

2006-12-12 Thread Steven Sacks | BLITZ
An empty movieclip has a size of 4 bytes so you check to see if the
bytesTotal  4 in addition to the percent loaded == 100.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


[Flashcoders] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Mike Dunlop

Hi folks,

This is my first go at something like this in flash. I need to, write some
actionscript that will read in (from an xml file) a collection of
thumbnails. I need to basically have these thumbnails show up in a
scrollable pane all spaced evenly. I've seen this done on many flash sites
so i know it's too crazy.

I know how to load images into a mc (.loadclip()) but i am just not sure
about the scrollable box...Would i use a scrollbox component for this?
Does anyone have any ideas on how to do this?

Thanks in advance!

Best,
Mike D
...
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]



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

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


[Flashcoders] Tracking mouse movements outside of browser window

2006-12-12 Thread matt stuehler

All,

I'm not sure if this is possible, but I'm wondering if there's any way
a Flash movie can track mouse movements/actions outside of the browser
window.

Specifically, I'm working on an RIA which uses a scrollbar along the
right edge of the window. If the user, while dragging the scrollbar,
moves the mouse outside of the window, the Flash movie stops tracking
the mouse position, and the scrollbar stops moving. The scrollbar
jumps if the user drags the mouse back into the window at a lower or
higher position.

(By comparison, an HTML scrollbar doesn't suffer this limitation - the
scrollbar continues to move even as the mouse is dragged outside of
the window.)

Is there a way around this?

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] [AS3] MouseEvent.ROLL_OVER behaving like MOUSE_MOVE

2006-12-12 Thread James Marsden

Hey all,

I have an irritating problem loading in a child swf with rollovers that 
call up to the parent swf. The rollover is fine when testing standalone, 
but triggers endlessly when loaded into a swf as a child. Every move of 
the mouse over the item triggers a rollover.


Has anyone come across this?

Cheers,

James
___
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] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Holth, Daniel C.

Mike,

I've used the built in scrollPane and UIScrollBars a few times, but found 
fairly easy to use, but exceedingly complicated to customize.  If you don't 
mind the default look of the ScrollPane I'd suggest using.  Though bare in mind 
they can add considerable file size to your swf.

I'd suggest creating movieclip that loads all your images, and then another one 
that loads that under a masked layer.  Use another set of movieclips/buttons to 
move the thumbnail clip around under the mask.

Hope that helps!
-Dan


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike
Dunlop
Sent: Tuesday, December 12, 2006 1:43 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] loading thumbnails into a scrollable box via AS



Hi folks,

This is my first go at something like this in flash. I need to, write some
actionscript that will read in (from an xml file) a collection of
thumbnails. I need to basically have these thumbnails show up in a
scrollable pane all spaced evenly. I've seen this done on many flash sites
so i know it's too crazy.

I know how to load images into a mc (.loadclip()) but i am just not sure
about the scrollable box...Would i use a scrollbox component for this?
Does anyone have any ideas on how to do this?

Thanks in advance!

Best,
Mike D
...
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]



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

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

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


RE: [Flashcoders] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Steven Sacks | BLITZ
First, break it up into different pieces.  The first piece is the XML
parsing, the second piece is drawing the thumbnails, and the third piece
is scrolling the thumbnails.  I'll leave the XML parsing out of this and
focus on drawing the thumbnails.

Here's the most straightforward way to do this.  We could do it all with
code but let's mix it up a little since it's your first time.

1) Make an empty movie clip. Name it MC_Empty.

2) Draw a 50x50 pixel red square on the stage.  Delete the border.
Select the square and hit F8.  Name it MC_Square.

3) Make two layers in the timeline.  Name the top layer MC_Mask and name
the bottom layer MC_Container.

4) Put MC_Square on the MC_Mask layer and name it MC_Mask.

5) Put MC_Empty on the MC_Container layer and name it MC_Container.

6) Resize MC_Mask to whatever size you want the visible area to be.

7) Turn the MC_Mask layer into a Mask.  It should automatically mask
MC_Container.

8) Now that your timeline is set up it's time to write some code.

I'm going to use some arbitrary values here for example. Season to
taste.


var imageArray:Array = parsedXmlImageArray;
// Set these values
var visibleRows:Number = 5;
var visibleCols:Number = 4;
var gutter:Number = 10;

// These are set based on what you set above
var colWidth:Number = (MC_Mask._width / visibleCols);
var rowHeight:Number = (MC_Mask._height / visibleRows);
var thumbWidth:Number = colWidth - gutter;
var thumbHeight:Number = rowHeight - gutter;
var rows:Number;
var cols:Number;

function draw() {
  rows = 0;
  cols = 0;
  MC_Container.thumbs.removeMovieClip();
  MC_Container.createEmptyMovieClip(thumbs, 10);
  var i:Number = imageArray.length;
  while (i--) {
var mc:MovieClip = MC_Container.thumbs.createEmptyMovieClip(item +
i, i);
mc._x = cols * colWidth;
mc._y = rows * rowHeight;
mc.createEmptyMovieClip(img, 10);
mc._visible = false;
mc.img.loadMovie(imageArray[i]);
mc.onEnterFrame = function() {
  if (this.img._width  0) {
this._width = thumbWidth;
this._height = thumbHeight;
this._visible = true;
delete this.onEnterFrame;
  }
};
if (++cols == visibleCols) cols = 0;
if (cols == 0) rows++;
  }
}


This is a simple example.

First, we set up some initial variables that you can play with.  Decide
how many visible rows and columns you want and how much space you want
in between the thumbnails (gutter).  It will then determine the sizes of
the thumbnails, rows and columns based on the dimensions of MC_Mask.  In
this way, you can resize it easily by setting the width and height of
MC_Mask and calling draw() again.

The draw function:

Creates an empty movieclip inside MC_Container called thumbs.  This
makes it easier to refresh the view by simply removing the thumbs clip
rather than removing every single movieclip inside it.

Then we loop through the array of image paths you got from parsing your
XML.

In the loop, we create a reference to an empty movieclip.  The name of
the clip is item + i (item1, item2, etc.) and its depth is set to i.
We also make it invisible.

We set its _x to the number of columns times the width of the columns
and its _y to the number of rows times the height of the rows.

Inside that clip we create an empty movieclip to load the image into,
and tell it to load movie.

Then, we put an onEnterFrame on the movieclip (not the image clip
because when you loadMovie, when it's done loading it will overwrite
onEnterFrame) that checks to see when the image has loaded, and then
resizes the image to the thumbWidth and thumbHeight we set above.  Then
it makes the clip visible.  We do this so the image doesn't show until
it's done loading and resized.

Then we increment cols and see if it's equal to the visibleCols.  If it
is, we reset it back to 0 so it draws from the left position again.

If cols is equal to 0, then we know it's a new row so we increment rows.

That's all there is to it.  Doing a scrollbar is a different discussion,
and you could just as easily throw all of this into a movieclip and put
that movieclip into a scrollpane.  You'll need to use the undocumented
command setScrollProperties on the scrollpane once the images are
finished loading, though, so keep that in mind (google it for more
info).

Hope this helps,
Steven


___
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] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Mike Dunlop
Wow!! Steven, thanx so much!! I will give this a shot and let you know how
it worked out. Thanks again for taking the time to write all this out :)

Best,
Mike D

...
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]

 First, break it up into different pieces.  The first piece is the XML
 parsing, the second piece is drawing the thumbnails, and the third piece
 is scrolling the thumbnails.  I'll leave the XML parsing out of this and
 focus on drawing the thumbnails.

 Here's the most straightforward way to do this.  We could do it all with
 code but let's mix it up a little since it's your first time.

 1) Make an empty movie clip. Name it MC_Empty.

 2) Draw a 50x50 pixel red square on the stage.  Delete the border.
 Select the square and hit F8.  Name it MC_Square.

 3) Make two layers in the timeline.  Name the top layer MC_Mask and name
 the bottom layer MC_Container.

 4) Put MC_Square on the MC_Mask layer and name it MC_Mask.

 5) Put MC_Empty on the MC_Container layer and name it MC_Container.

 6) Resize MC_Mask to whatever size you want the visible area to be.

 7) Turn the MC_Mask layer into a Mask.  It should automatically mask
 MC_Container.

 8) Now that your timeline is set up it's time to write some code.

 I'm going to use some arbitrary values here for example. Season to
 taste.


 var imageArray:Array = parsedXmlImageArray;
 // Set these values
 var visibleRows:Number = 5;
 var visibleCols:Number = 4;
 var gutter:Number = 10;

 // These are set based on what you set above
 var colWidth:Number = (MC_Mask._width / visibleCols);
 var rowHeight:Number = (MC_Mask._height / visibleRows);
 var thumbWidth:Number = colWidth - gutter;
 var thumbHeight:Number = rowHeight - gutter;
 var rows:Number;
 var cols:Number;

 function draw() {
   rows = 0;
   cols = 0;
   MC_Container.thumbs.removeMovieClip();
   MC_Container.createEmptyMovieClip(thumbs, 10);
   var i:Number = imageArray.length;
   while (i--) {
 var mc:MovieClip = MC_Container.thumbs.createEmptyMovieClip(item +
 i, i);
 mc._x = cols * colWidth;
 mc._y = rows * rowHeight;
 mc.createEmptyMovieClip(img, 10);
 mc._visible = false;
 mc.img.loadMovie(imageArray[i]);
 mc.onEnterFrame = function() {
   if (this.img._width  0) {
 this._width = thumbWidth;
 this._height = thumbHeight;
 this._visible = true;
 delete this.onEnterFrame;
   }
 };
 if (++cols == visibleCols) cols = 0;
 if (cols == 0) rows++;
   }
 }


 This is a simple example.

 First, we set up some initial variables that you can play with.  Decide
 how many visible rows and columns you want and how much space you want
 in between the thumbnails (gutter).  It will then determine the sizes of
 the thumbnails, rows and columns based on the dimensions of MC_Mask.  In
 this way, you can resize it easily by setting the width and height of
 MC_Mask and calling draw() again.

 The draw function:

 Creates an empty movieclip inside MC_Container called thumbs.  This
 makes it easier to refresh the view by simply removing the thumbs clip
 rather than removing every single movieclip inside it.

 Then we loop through the array of image paths you got from parsing your
 XML.

 In the loop, we create a reference to an empty movieclip.  The name of
 the clip is item + i (item1, item2, etc.) and its depth is set to i.
 We also make it invisible.

 We set its _x to the number of columns times the width of the columns
 and its _y to the number of rows times the height of the rows.

 Inside that clip we create an empty movieclip to load the image into,
 and tell it to load movie.

 Then, we put an onEnterFrame on the movieclip (not the image clip
 because when you loadMovie, when it's done loading it will overwrite
 onEnterFrame) that checks to see when the image has loaded, and then
 resizes the image to the thumbWidth and thumbHeight we set above.  Then
 it makes the clip visible.  We do this so the image doesn't show until
 it's done loading and resized.

 Then we increment cols and see if it's equal to the visibleCols.  If it
 is, we reset it back to 0 so it draws from the left position again.

 If cols is equal to 0, then we know it's a new row so we increment rows.

 That's all there is to it.  Doing a scrollbar is a different discussion,
 and you could just as easily throw all of this into a movieclip and put
 that movieclip into a scrollpane.  You'll need to use the undocumented
 command setScrollProperties on the scrollpane once the images are
 finished loading, though, so keep that in mind (google it for more
 info).

 Hope this helps,
 Steven


 ___
 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] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Count Schemula

On 12/12/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:


Here's the most straightforward way to do this.  We could do it all with
code but let's mix it up a little since it's your first time.


Nice post. Thanks.

--
count_schemula
___
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] Which Data Structure is good for this?

2006-12-12 Thread T. Michael Keesey

On 12/12/06, Sascha [EMAIL PROTECTED] wrote:

Thanks Michael! You're right, E4X is sweet but in this case there are too
many things that hang onto it later so I want to create a custom data holder
that is more lightweight and fits the needs exactly. Using an object with
own API for every hierarchy would also be overkill. Thanks a lot for the
efforts though!

I might also try utilizing the Proxy class as there properties later that
are not known from the beginning.


I'm not really sure what your requirements are, then. Would be
interested to see your ultimate solution.
--
T. Michael Keesey
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: [Flashcoders] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Van Tuck
I am getting ready to do something similar - that saved me some trial  
and error - thx :)


V


Van R Tuck
Director of Web Development

Cause Design Group
1519 Stanford Street Suite 6
Santa Monica, CA  90404

 t:  310.430.5369
www.causedesigngroup.com





On Dec 12, 2006, at 12:59 PM, Steven Sacks | BLITZ wrote:


First, break it up into different pieces.  The first piece is the XML
parsing, the second piece is drawing the thumbnails, and the third  
piece
is scrolling the thumbnails.  I'll leave the XML parsing out of  
this and

focus on drawing the thumbnails.

Here's the most straightforward way to do this.  We could do it all  
with

code but let's mix it up a little since it's your first time.

1) Make an empty movie clip. Name it MC_Empty.

2) Draw a 50x50 pixel red square on the stage.  Delete the border.
Select the square and hit F8.  Name it MC_Square.

3) Make two layers in the timeline.  Name the top layer MC_Mask and  
name

the bottom layer MC_Container.

4) Put MC_Square on the MC_Mask layer and name it MC_Mask.

5) Put MC_Empty on the MC_Container layer and name it MC_Container.

6) Resize MC_Mask to whatever size you want the visible area to be.

7) Turn the MC_Mask layer into a Mask.  It should automatically mask
MC_Container.

8) Now that your timeline is set up it's time to write some code.

I'm going to use some arbitrary values here for example. Season to
taste.


var imageArray:Array = parsedXmlImageArray;
// Set these values
var visibleRows:Number = 5;
var visibleCols:Number = 4;
var gutter:Number = 10;

// These are set based on what you set above
var colWidth:Number = (MC_Mask._width / visibleCols);
var rowHeight:Number = (MC_Mask._height / visibleRows);
var thumbWidth:Number = colWidth - gutter;
var thumbHeight:Number = rowHeight - gutter;
var rows:Number;
var cols:Number;

function draw() {
  rows = 0;
  cols = 0;
  MC_Container.thumbs.removeMovieClip();
  MC_Container.createEmptyMovieClip(thumbs, 10);
  var i:Number = imageArray.length;
  while (i--) {
var mc:MovieClip = MC_Container.thumbs.createEmptyMovieClip 
(item +

i, i);
mc._x = cols * colWidth;
mc._y = rows * rowHeight;
mc.createEmptyMovieClip(img, 10);
mc._visible = false;
mc.img.loadMovie(imageArray[i]);
mc.onEnterFrame = function() {
  if (this.img._width  0) {
this._width = thumbWidth;
this._height = thumbHeight;
this._visible = true;
delete this.onEnterFrame;
  }
};
if (++cols == visibleCols) cols = 0;
if (cols == 0) rows++;
  }
}


This is a simple example.

First, we set up some initial variables that you can play with.   
Decide

how many visible rows and columns you want and how much space you want
in between the thumbnails (gutter).  It will then determine the  
sizes of
the thumbnails, rows and columns based on the dimensions of  
MC_Mask.  In

this way, you can resize it easily by setting the width and height of
MC_Mask and calling draw() again.

The draw function:

Creates an empty movieclip inside MC_Container called thumbs.  This
makes it easier to refresh the view by simply removing the thumbs clip
rather than removing every single movieclip inside it.

Then we loop through the array of image paths you got from parsing  
your

XML.

In the loop, we create a reference to an empty movieclip.  The name of
the clip is item + i (item1, item2, etc.) and its depth is set to i.
We also make it invisible.

We set its _x to the number of columns times the width of the columns
and its _y to the number of rows times the height of the rows.

Inside that clip we create an empty movieclip to load the image into,
and tell it to load movie.

Then, we put an onEnterFrame on the movieclip (not the image clip
because when you loadMovie, when it's done loading it will overwrite
onEnterFrame) that checks to see when the image has loaded, and then
resizes the image to the thumbWidth and thumbHeight we set above.   
Then

it makes the clip visible.  We do this so the image doesn't show until
it's done loading and resized.

Then we increment cols and see if it's equal to the visibleCols.   
If it

is, we reset it back to 0 so it draws from the left position again.

If cols is equal to 0, then we know it's a new row so we increment  
rows.


That's all there is to it.  Doing a scrollbar is a different  
discussion,
and you could just as easily throw all of this into a movieclip and  
put

that movieclip into a scrollpane.  You'll need to use the undocumented
command setScrollProperties on the scrollpane once the images are
finished loading, though, so keep that in mind (google it for more
info).

Hope this helps,
Steven


___
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

[Flashcoders] remoting gateways with user:pw

2006-12-12 Thread Corban Baxter

Anyone know why we are unable to get flash to authenticate this way...

var gateway:String = http://user:[EMAIL PROTECTED]/gateway.php;
var pc:RelayResponder = new RelayResponder(this, getUserId_Result,
getUserId_Fault);
var ag:Service = new Service(gateway, null, AnonGame, null, pc);
ag.getUserId();

or this way...

var gateway:String = http://www.mysite.com/gateway.php;;
var pc:RelayResponder = new RelayResponder(this, getUserId_Result,
getUserId_Fault);
var ag:Service = new Service(gateway, null, AnonGame, null, pc);
ag.connection.setCredentials(user,pw);
ag.geUserId();


We are trying to create a test app lication with 3 text fields for:
Gateway
Service
Method

it all works fine on a live servers but in a test enviorment that requires a
user:pw neither method works? Errr! any ideas guys?


--
Corban Baxter
http://blog.projectx4.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] Horizontal Scrolling List Breaks Accordion?

2006-12-12 Thread Jim Robson
Hello all,
 
Has anyone successfully placed a horizontal scrolling list of thumbnails
inside an Accordion component? When I try to do this, the player thinks that
the Accordion has stretched to accommodate the scrolling list, even though
visually the Accordion does not grow wider. As a result, the display is
completely messed up. You can see what I mean here: 
 
http://robsondesign.com/etc/flashcoders/scroller_in_accordion/scroller_in_ac
cordion.html

You can see that while the Accordion is just under 400 pixels wide, the
Player acts as though it's over 600 pixels wide. You can see it even more
clearly in the trace() statements. You can download the complete source code
here, and test it for yourself: 

http://robsondesign.com/etc/flashcoders/scroller_in_accordion/scroller_in_ac
cordion.zip

Anyone see what I'm doing wrong here? Or is this a limitation of the
technology?

-Jim

___
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] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Micky Hulse

Steven Sacks | BLITZ wrote:

First, break it up into different pieces.  The first piece is the XML
parsing, the second piece is drawing the thumbnails, and the third piece
is scrolling the thumbnails. ...snip...


Thanks Steven for the post/tutorial/example, great info. :)

Cheers,
M

--
 Wishlist: http://snipurl.com/vrs9
   Switch: http://browsehappy.com/
 BCC?: http://snipurl.com/w6f8
   My: http://del.icio.us/mhulse
___
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] frame 1 - stop() not working with simulate download

2006-12-12 Thread John Olson

It's not an issue of getting the correct size, its that the Flash file
doesn't seem to obey the stop() on frame 1 when doing a simulate download
test.

Steps:

1. Create a new Flash file.
2. On frame 1, add
  stop();
  trace(start);
3. On frame 5, add
  stop();
  trace(stopped);

Test the movie by pressing control-enter.
output:  start

Use simulate download (control-enter again), and for some reason, flash
skips the stop action on frame 1.
output: start
stopped

So Flash traces start on frame 1 actionscript, but ignores the stop().  I
can work around the problem, but its something that I didn't see before.

- John

On 12/12/06, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:


Message: 11
Date: Tue, 12 Dec 2006 11:35:25 -0800
From: Mick G [EMAIL PROTECTED]
Subject: Re: [Flashcoders] frame 1 - stop() not working with simulate
   download
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I've seen this behavior when using if(bytesLoaded==bytesTotal) and not
checking if the bytesLoaded is  1K (or some small file size) to be
sure it has started loading.

So... use--  if(bytesLoaded==bytesTotal  bytesLoaded1024)



On 12/12/06, John Olson [EMAIL PROTECTED] wrote:
 I'm not sure why I never noticed this after so many years, but I was
doing a
 demo for someone the other day and Flash was doing some weird things.
It
 was an old school preloader demo with a stop() and an onEnterFrame loop
on
 frame 1 that checked the bytes loaded and bytes total.   I was bandwidth
 testing and it kept ignoring my stop() on frame 1.  It worked fine if I
was
 testing the movie normally, but would run right past the stop() on frame
1
 when I did the Simulate Download.

 For my demo, I just moved everything to frame 2 and it worked fine, but
it
 was extremely odd. I was more puzzled because I'm not sure how I didn't
see
 this before (or don't recall it happening before).

 Is this a known issue with Simulate Download?  I know there are issues
that
 Simulate Download doesn't clear out all variables and objects from
memory,
 but I found it odd that it was skipping/ignoring the stop() action.

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



--

Message: 12
Date: Tue, 12 Dec 2006 11:39:15 -0800
From: Steven Sacks | BLITZ [EMAIL PROTECTED]
Subject: RE: [Flashcoders] frame 1 - stop() not working with simulate
   download
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii

An empty movieclip has a size of 4 bytes so you check to see if the
bytesTotal  4 in addition to the percent loaded == 100.


___
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 Posting; Adobe Flash Player QE; San Francisco CA

2006-12-12 Thread Gina Valenzuela
 

Job Title: Flash Player QE

Location: San Francisco, Ca

NASDAQ: ADBE

 

Recognizing that employees are at the core of our success, Adobe
recruits and retains highly qualified and motivated individuals, creates
an environment where they can innovate and achieve their best, and
rewards them for their performance by giving them an opportunity to
share in the company's success.

Position Summary:

The Adobe Flash Player team is looking for a Quality Assurance Engineer
to join us in building the next release of our client-side runtime
technology. As the team chartered to deliver the world's most widely
distributed software in the world, we have a unique challenge in front
of us. We're looking for an experienced QA engineer with a strong
background in object-oriented programming to ensure the integrity of a
critical piece of the Flash Platform. If you enjoy working with advanced
technologies, aren't intimidated by aggressive goals, and have a proven
commitment to delivering great software, this may be the role for you.

 

* Work with developers to design features and write detailed
specifications. 

* Create comprehensive ActionScript test cases, validating both
new and existing functionality, which will become part of our automated
testing infrastructure. 

* Review existing test cases to ensure full coverage.

* Execute test cases, with a meticulous attention to detail, for
all areas of the product.  

* Analyze results and write detailed reports that accurately
isolate player issues.

* Monitor and actively engage with customers as part of beta
programs.

 

Knowledge  Skills: 

 

* Bachelor of Science degree in a technical field.

* 3 or more years of proven experience testing commercial
software.  

* Expertise with programming in ActionScript or another OOP
language such as Java or C#. 

* Ability to achieve results with little supervision or
direction.

* Flexibility to move between tasks. 

* Ability to avoid distractions and deliver against deadlines. 

* Able to act as an advocate for both internal and external
customers to ensure we successfully deliver on the requirements and
expectations.

* Must be a quick learner and able to transform a simple example
into a comprehensive test suite that fully exercises a defined set of
functionality.

* Ability to define detailed schedules to ensure commitments are
met on time.

* Experience testing programming languages, compilers, and
associated runtime API's.

* Experience working with server technologies such as JSP, Cold
Fusion and .Net.

* Expertise in using Adobe Flash. 

* Fluent in computer graphics and related multimedia
technologies including audio and video.

* Experience working with Ant.

 

Adobe believes personal fulfillment and company success go hand in hand,
sustaining one another. In fact, our dynamic, rewarding working
environment is well known - including seven consecutive years on FORTUNE
magazine's 100 Best Companies to Work For and other, similar
accolades. By hiring the very best and brightest, Adobe continues to be
a simply better place to work - creating a dynamic environment today and
providing incentives for future achievement.

 

Interested candidates please email resumes to: [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  or apply online at: www.adobecareers.com
http://www.adobecareers.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] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Jim Robson
Mike,

I know Steven  others have already responded to your question, but as it
happens I just posted the source code of an app that (I think) does what
you're looking for. It's one step more complex than you asked for - it
actually creates multiple scrolling lists inside an Accordion (thereby
breaking the Accordion - but that's a separate issue :-)

Anyway, the app loads images and text via XML and puts the images in a
horizontal scroll pane - and this aspect of the app works fine. You could
easily strip out the Accordion and related code, and use this as a guide: 
 
http://robsondesign.com/etc/flashcoders/scroller_in_accordion/scroller_in_ac
cordion.zip

-Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dunlop
Sent: Tuesday, December 12, 2006 4:05 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] loading thumbnails into a scrollable box via AS

Wow!! Steven, thanx so much!! I will give this a shot and let you know how
it worked out. Thanks again for taking the time to write all this out :)

Best,
Mike D

...
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]

 First, break it up into different pieces.  The first piece is the XML 
 parsing, the second piece is drawing the thumbnails, and the third 
 piece is scrolling the thumbnails.  I'll leave the XML parsing out of 
 this and focus on drawing the thumbnails.

 Here's the most straightforward way to do this.  We could do it all 
 with code but let's mix it up a little since it's your first time.

 1) Make an empty movie clip. Name it MC_Empty.

 2) Draw a 50x50 pixel red square on the stage.  Delete the border.
 Select the square and hit F8.  Name it MC_Square.

 3) Make two layers in the timeline.  Name the top layer MC_Mask and 
 name the bottom layer MC_Container.

 4) Put MC_Square on the MC_Mask layer and name it MC_Mask.

 5) Put MC_Empty on the MC_Container layer and name it MC_Container.

 6) Resize MC_Mask to whatever size you want the visible area to be.

 7) Turn the MC_Mask layer into a Mask.  It should automatically mask 
 MC_Container.

 8) Now that your timeline is set up it's time to write some code.

 I'm going to use some arbitrary values here for example. Season to 
 taste.


 var imageArray:Array = parsedXmlImageArray; // Set these values var 
 visibleRows:Number = 5; var visibleCols:Number = 4; var gutter:Number 
 = 10;

 // These are set based on what you set above var colWidth:Number = 
 (MC_Mask._width / visibleCols); var rowHeight:Number = 
 (MC_Mask._height / visibleRows); var thumbWidth:Number = colWidth - 
 gutter; var thumbHeight:Number = rowHeight - gutter; var rows:Number; 
 var cols:Number;

 function draw() {
   rows = 0;
   cols = 0;
   MC_Container.thumbs.removeMovieClip();
   MC_Container.createEmptyMovieClip(thumbs, 10);
   var i:Number = imageArray.length;
   while (i--) {
 var mc:MovieClip = MC_Container.thumbs.createEmptyMovieClip(item 
 + i, i);
 mc._x = cols * colWidth;
 mc._y = rows * rowHeight;
 mc.createEmptyMovieClip(img, 10);
 mc._visible = false;
 mc.img.loadMovie(imageArray[i]);
 mc.onEnterFrame = function() {
   if (this.img._width  0) {
 this._width = thumbWidth;
 this._height = thumbHeight;
 this._visible = true;
 delete this.onEnterFrame;
   }
 };
 if (++cols == visibleCols) cols = 0;
 if (cols == 0) rows++;
   }
 }


 This is a simple example.

 First, we set up some initial variables that you can play with.  
 Decide how many visible rows and columns you want and how much space 
 you want in between the thumbnails (gutter).  It will then determine 
 the sizes of the thumbnails, rows and columns based on the dimensions 
 of MC_Mask.  In this way, you can resize it easily by setting the 
 width and height of MC_Mask and calling draw() again.

 The draw function:

 Creates an empty movieclip inside MC_Container called thumbs.  This 
 makes it easier to refresh the view by simply removing the thumbs clip 
 rather than removing every single movieclip inside it.

 Then we loop through the array of image paths you got from parsing 
 your XML.

 In the loop, we create a reference to an empty movieclip.  The name of 
 the clip is item + i (item1, item2, etc.) and its depth is set to i.
 We also make it invisible.

 We set its _x to the number of columns times the width of the columns 
 and its _y to the number of rows times the height of the rows.

 Inside that clip we create an empty movieclip to load the image into, 
 and tell it to load movie.

 Then, we put an onEnterFrame on the movieclip (not the image clip 
 because when you loadMovie, when it's done loading it will overwrite
 onEnterFrame) that checks to see when the image has loaded, and then 
 resizes the image to the thumbWidth and thumbHeight we set above.  
 Then it makes the clip visible.  We do this so the image doesn't show 
 until it's done loading and resized.

 Then we increment cols 

Re: [Flashcoders] Which Data Structure is good for this?

2006-12-12 Thread Jack Doyle
I think Steven has already sent you the XML2AS code which is great. You
could also try the XMLParser class I wrote which is similar but adds a few
features. You can basically throw your XML document at it and it'll spit
back an object with properties  arrays that follow the naming convention
from your original XML document which makes it a lot easier to get at the
data (in my opinion at least). It'll retain your hierarchy too.

Snag it at:
http://www.greensock.com/ActionScript/XMLParser

Hope it helps. 

Jack

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Sascha
 Sent: Monday, December 11, 2006 7:54 PM
 To: 'Flashcoders mailing list'
 Subject: [Flashcoders] Which Data Structure is good for this?
 
 I would be interested in recommendations about what kind of data 
 structure is best used in the following situation.
 I'm loading in a XML file with a typical recursive structure, then the 
 data from it should be parsed into a data storage object and this data 
 should be accessible globally through the application. The XML file 
 has a structure like this:
 
 resourceList
   display type=1
   displayProperties
   property name=foo value=doo/
   property name=fee value=faa/
   /displayProperties
   displayObjects
   object id=1 file=foo/etc/file.xml/
   object id=2 file=foo/etc/file2.xml/
   object id=3 file=foo/etc/file3.xml/
   /displayObjects
   backgrounds
backgrounds id=125 file=foo/etc/bg.png/
   / backgrounds
   /display
   data
   dataTypes
   property name=foo value=doo/
   property name=fee value=faa/
   /dataTypes
   /data
   etc
   somethingElse
   property name=foo value=doo/
   / somethingElse 
   /etc
 
 ... The XML is being extended by the time but it retains the shown 
 hierarchical structure. I want to be able to keep a similar structure 
 in memory but I don't want to keep it as an XML object. I was thinking 
 about using a custom object and populate it with HashMaps but then the 
 hierarchy would be too flat.
 I would appreciate it if somebody could give me some suggestions what 
 kind of data structure is a good choice for this as I don't have much 
 experience with trees, lists and other more complex structures.
 
 Thanks a lot,
 Sascha



___
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] DHTML menu rolling over on top of flash possible?

2006-12-12 Thread Boon Chew
Hi all, my coworker asked me this question that stumped me.  Hopefully one of 
you can help us out? :)

The question is, is it possible for the browser to render a dropdown menu (done 
in CSS/DHTML) that is positioned right on top of a flash banner.  That is, you 
would see the dropdown coming down on top of the flash banner when rolling over 
the menu.

Thanks!

 
-
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
___
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] DHTML menu rolling over on top of flash possible?

2006-12-12 Thread Jim Robson
I think you can see an example here: http://www.adobe.com/
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boon Chew
Sent: Tuesday, December 12, 2006 7:14 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] DHTML menu rolling over on top of flash possible?

Hi all, my coworker asked me this question that stumped me.  Hopefully one
of you can help us out? :)

The question is, is it possible for the browser to render a dropdown menu
(done in CSS/DHTML) that is positioned right on top of a flash banner.  That
is, you would see the dropdown coming down on top of the flash banner when
rolling over the menu.

Thanks!

 
-
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
___
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] DHTML menu rolling over on top of flash possible?

2006-12-12 Thread Reuben Stanton
funny that Adobe of all places do this - it does the old annoying  
DHTML flashing effect in safari making it basically unusable  
would've thought a large number of Adobe customers are Mac users.





On 13/12/2006, at 11:22 AM, Jim Robson wrote:


I think you can see an example here: http://www.adobe.com/


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

Sent: Tuesday, December 12, 2006 7:14 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] DHTML menu rolling over on top of flash  
possible?


Hi all, my coworker asked me this question that stumped me.   
Hopefully one

of you can help us out? :)

The question is, is it possible for the browser to render a  
dropdown menu
(done in CSS/DHTML) that is positioned right on top of a flash  
banner.  That
is, you would see the dropdown coming down on top of the flash  
banner when

rolling over the menu.

Thanks!


-
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
___
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] DHTML menu rolling over on top of flash possible?

2006-12-12 Thread Jim Robson
Not only their users; I noticed at the MAX conference that a number of
Adobe's own employees use Macs (there's a pun in there somewhere). 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Reuben
Stanton
Sent: Tuesday, December 12, 2006 7:40 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] DHTML menu rolling over on top of flash possible?

funny that Adobe of all places do this - it does the old annoying DHTML
flashing effect in safari making it basically unusable  
would've thought a large number of Adobe customers are Mac users.




On 13/12/2006, at 11:22 AM, Jim Robson wrote:

 I think you can see an example here: http://www.adobe.com/


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Boon 
 Chew
 Sent: Tuesday, December 12, 2006 7:14 PM
 To: flashcoders@chattyfig.figleaf.com
 Subject: [Flashcoders] DHTML menu rolling over on top of flash 
 possible?

 Hi all, my coworker asked me this question that stumped me.   
 Hopefully one
 of you can help us out? :)

 The question is, is it possible for the browser to render a dropdown 
 menu (done in CSS/DHTML) that is positioned right on top of a flash 
 banner.  That is, you would see the dropdown coming down on top of the 
 flash banner when rolling over the menu.

 Thanks!


 -
 Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
 ___
 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] Lists in/out of ScrollPane

2006-12-12 Thread Jonathan Berry

Hello all, I resorted to using createClassObject to create lists
inside a scrollpane, simulating a horizontal list. Yes, I imagine it
must be silly to do this - don't know really - but I was wondering if
anyone could tell me how to make the scrollpane scrollable with the
lists not extending outside its boundaries as they are now. Is this
just the completely incorrect method? Do I use createChildAtDepth() or
createObjectAtDepth()? Thanks in advance.
snip
var scroller_sp =
this.createClassObject(ScrollPane,'scroller_sp',DepthManager.kBottom +
20,{_x:5.3,_y:6.3,_width:428,_height:195,hScrollPolicy:'on'});
var modinit:Boolean = false;
function getEvents(eObj){
for(var i=0;ixmlDoc.firstChild.childNodes.length;i++){
if(modinit == false){   

if(xmlDoc.firstChild.childNodes[i].nodeName.toLowerCase() == 'headliners'){
for(var 
j=0;jxmlDoc.firstChild.childNodes[i].childNodes.length;j++){
var headliners = [];

headliners.addItem({image:xmlDoc.firstChild.childNodes[i].childNodes[j].attributes.image,celllabel:xmlDoc.firstChild.childNodes[i].childNodes[j].firstChild.nodeValue,data:xmlDoc.firstChild.childNodes[i].childNodes[j].attributes.articleurl});
var sec = 'sec' + j + '_list';

scroller_sp.createClassObject(List,sec,0+j,{_x:(j *
143),_y:3,_width:143,_height:180});
scroller_sp[sec].hScrollPolicy = off;
scroller_sp[sec].vScrollPolicy = off;
scroller_sp[sec].dataProvider = 
headliners;
scroller_sp[sec].cellRenderer = 
CustomCellRenderer;
scroller_sp[sec].rowHeight = 188;
/snip

J.C. Berry
___
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] DHTML menu rolling over on top of flash possible?

2006-12-12 Thread John Dowdell
The answer is WMODE. (Different browsers support it to different 
degrees, although they've come to pretty close convergence the past few 
years. adobe.com has a special sniffer for Safari, from what I've been 
told.)


jd


___
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] DHTML menu rolling over on top of flash possible?

2006-12-12 Thread Reuben Stanton

Well, their sniffer doesn't work for me...


On 13/12/2006, at 12:13 PM, John Dowdell wrote:

The answer is WMODE. (Different browsers support it to different  
degrees, although they've come to pretty close convergence the past  
few years. adobe.com has a special sniffer for Safari, from what  
I've been told.)


jd


___
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 generate AS2 Code with ArgoUML ??

2006-12-12 Thread Jorge Antonio Diaz Gutierrez
Hi listers:

I need to know how do yuo generate your AS2 Projects's code using
ArgoUML and if anyone else uses anotherone way to do it, if you could
bring me an Idea.

Thanks 

Jorge
___
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] loading thumbnails into a scrollable box via AS

2006-12-12 Thread Mike Dunlop
Jim, thanks for the taking the time to write back and your app sounds  
wonderful. I'm going to check it out tonight and will let you know  
how it goes! :)


Thanks!

Best,
Mike D


.
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]


On Dec 12, 2006, at 4:02 PM, Jim Robson wrote:


Mike,

I know Steven  others have already responded to your question, but  
as it
happens I just posted the source code of an app that (I think) does  
what

you're looking for. It's one step more complex than you asked for - it
actually creates multiple scrolling lists inside an Accordion (thereby
breaking the Accordion - but that's a separate issue :-)

Anyway, the app loads images and text via XML and puts the images in a
horizontal scroll pane - and this aspect of the app works fine. You  
could
easily strip out the Accordion and related code, and use this as a  
guide:


http://robsondesign.com/etc/flashcoders/scroller_in_accordion/ 
scroller_in_ac

cordion.zip

-Jim

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

Sent: Tuesday, December 12, 2006 4:05 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] loading thumbnails into a scrollable box  
via AS


Wow!! Steven, thanx so much!! I will give this a shot and let you  
know how
it worked out. Thanks again for taking the time to write all this  
out :)


Best,
Mike D

...
Mike Dunlop
// Droplab
[ e ] [EMAIL PROTECTED]


First, break it up into different pieces.  The first piece is the XML
parsing, the second piece is drawing the thumbnails, and the third
piece is scrolling the thumbnails.  I'll leave the XML parsing out of
this and focus on drawing the thumbnails.

Here's the most straightforward way to do this.  We could do it all
with code but let's mix it up a little since it's your first time.

1) Make an empty movie clip. Name it MC_Empty.

2) Draw a 50x50 pixel red square on the stage.  Delete the border.
Select the square and hit F8.  Name it MC_Square.

3) Make two layers in the timeline.  Name the top layer MC_Mask and
name the bottom layer MC_Container.

4) Put MC_Square on the MC_Mask layer and name it MC_Mask.

5) Put MC_Empty on the MC_Container layer and name it MC_Container.

6) Resize MC_Mask to whatever size you want the visible area to be.

7) Turn the MC_Mask layer into a Mask.  It should automatically mask
MC_Container.

8) Now that your timeline is set up it's time to write some code.

I'm going to use some arbitrary values here for example. Season to
taste.


var imageArray:Array = parsedXmlImageArray; // Set these values var
visibleRows:Number = 5; var visibleCols:Number = 4; var gutter:Number
= 10;

// These are set based on what you set above var colWidth:Number =
(MC_Mask._width / visibleCols); var rowHeight:Number =
(MC_Mask._height / visibleRows); var thumbWidth:Number = colWidth -
gutter; var thumbHeight:Number = rowHeight - gutter; var rows:Number;
var cols:Number;

function draw() {
  rows = 0;
  cols = 0;
  MC_Container.thumbs.removeMovieClip();
  MC_Container.createEmptyMovieClip(thumbs, 10);
  var i:Number = imageArray.length;
  while (i--) {
var mc:MovieClip = MC_Container.thumbs.createEmptyMovieClip 
(item

+ i, i);
mc._x = cols * colWidth;
mc._y = rows * rowHeight;
mc.createEmptyMovieClip(img, 10);
mc._visible = false;
mc.img.loadMovie(imageArray[i]);
mc.onEnterFrame = function() {
  if (this.img._width  0) {
this._width = thumbWidth;
this._height = thumbHeight;
this._visible = true;
delete this.onEnterFrame;
  }
};
if (++cols == visibleCols) cols = 0;
if (cols == 0) rows++;
  }
}


This is a simple example.

First, we set up some initial variables that you can play with.
Decide how many visible rows and columns you want and how much space
you want in between the thumbnails (gutter).  It will then determine
the sizes of the thumbnails, rows and columns based on the dimensions
of MC_Mask.  In this way, you can resize it easily by setting the
width and height of MC_Mask and calling draw() again.

The draw function:

Creates an empty movieclip inside MC_Container called thumbs.  This
makes it easier to refresh the view by simply removing the thumbs  
clip

rather than removing every single movieclip inside it.

Then we loop through the array of image paths you got from parsing
your XML.

In the loop, we create a reference to an empty movieclip.  The  
name of
the clip is item + i (item1, item2, etc.) and its depth is set  
to i.

We also make it invisible.

We set its _x to the number of columns times the width of the columns
and its _y to the number of rows times the height of the rows.

Inside that clip we create an empty movieclip to load the image into,
and tell it to load movie.

Then, we put an onEnterFrame on the movieclip (not the image clip
because when you loadMovie, when it's done loading it will overwrite
onEnterFrame) 

[Flashcoders] Re: Lists in/out of ScrollPane SOLVED

2006-12-12 Thread Jonathan Berry

Found a posting that used attachMovie, but the same thing goes for
createClassObject. Here's what I found out using the 'content' keyword and
invalidating the scrollpane after assigning content to it. Sorry for the
bother everyone.

[code]
var scroller_sp = this.createClassObject(ScrollPane,'scroller_sp',0,{_x:5.3
,_y:6.3,_width:428,_height:195,hScrollPolicy:'on'});
scroller_sp.contentPath = 'listholder';
var modinit:Boolean = false;
function getEvents(eObj){
   for(var j=0;jxmlDoc.firstChild.childNodes
[i].childNodes.length;j++){
   var headliners = [];
   headliners.addItem({image:xmlDoc.firstChild.childNodes
[i].childNodes[j].attributes.image,celllabel:xmlDoc.firstChild.childNodes
[i].childNodes[j].firstChild.nodeValue,data:xmlDoc.firstChild.childNodes
[i].childNodes[j].attributes.articleurl});
   var sec = 'sec' + j + '_list';

scroller_sp.content.createClassObject(List,sec,0+j,{_x:(j *
143),_y:3,_width:143,_height:180});
   scroller_sp.content.sec.hScrollPolicy = off;
   scroller_sp.content.sec.vScrollPolicy = off;
   scroller_sp.content.sec.dataProvider = headliners;
   scroller_sp.content.sec.cellRenderer =
CustomCellRenderer;
   scroller_sp.content.sec.rowHeight = 180;
   ...
   }
   }
   scroller_sp.invalidate();
[/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