[Flashcoders] Flash comm video streaming help

2007-08-05 Thread Tony Trapp
Hey guys using flash comm 1.5 here.

I have videos on a clients site that are streamed into a player some videos 
work fine and other play but then stop or stall a little and then continue.

I am still kinnda new to flash comm in some ways.

I am been to other sites that stream video perfectly no problem.

I am wondering if I have to make videos for different connection speeds or set 
something in action script or server side action script so all videos play just 
fine.

The two vids I found that work just fine by the way were compressed and encoded 
with Sorenson squeeze latest edition.

Any suggestions or links on this subject would help.

I am using flash 7 action script by the way.

Thanks guys !!

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

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


[Flashcoders] flash comm process in windows 2003

2007-07-24 Thread Tony Trapp
Hey guys just wondering about something.

I have a client that will have video on-demand for their site.

I noticed as I played the video the flashcomm process in windows just kept 
climbing and once the video was stopped or the page unloaded the process never 
went down.

Then I tried playing the video again and the process stayed where it was at and 
then climbed again.

I want to know if there is a way to release flash comm from memory when not 
needed like one would when using a com object in asp.

Thanks guys.

Tony Trapp - DBTWeb.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] loading .flv into flash 2007 pro media playback

2007-07-18 Thread Tony Trapp
Hey guys need some help here, what I want to do is to first load a .flv into 
the flash MX 2004 pro media play back component then play the .flv

How can this be done and does any one have a link to a tutorial or code example.

Thanks guy.

Tony Trapp - DBTWeb.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] Watermarking FLV VIdeos

2007-07-03 Thread Tony Trapp
After your question gets answered mike I am wondering if you can use this 
with a DB driven site using asp.net.


Any one?

Tony...

- Original Message - 
From: Mike Duguid [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 03, 2007 7:58 PM
Subject: Re: [Flashcoders] Watermarking FLV VIdeos



you can use ffmpeg to do this. It's *free* and open source.

On 6/26/07, Tarjinder Kumar [EMAIL PROTECTED] wrote:


Hi,

I want to watermark flv videos using command line utility. Can any one
suggest me some solution.


Thanks
Tarjinder Kumar


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

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



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/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] Watermarking FLV VIdeos

2007-07-03 Thread Tony Trapp

Thanks Dave happy 4th by the way.

Tony...

- Original Message - 
From: Dave Watts [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 03, 2007 9:38 PM
Subject: RE: [Flashcoders] Watermarking FLV VIdeos



After your question gets answered mike I am wondering if you
can use this with a DB driven site using asp.net.


If it's a command-line tool, you can use it from ASP.NET or any other 
server

scripting environment that lets you execute external programs.

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!

This email has been processed by SmoothZap - www.smoothwall.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



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

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


Re: [Flashcoders] test (sorry)

2007-07-02 Thread Tony Trapp

Hey Steven no biggie test away if need be.

Tony...

- Original Message - 
From: Steven Sacks [EMAIL PROTECTED]

To: flashcoders@chattyfig.figleaf.com
Sent: Tuesday, July 03, 2007 1:01 AM
Subject: [Flashcoders] test (sorry)



Just testing this new email account for Flashcoders.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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


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

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


Re: [Flashcoders] problem with flash 7 flv player

2006-10-30 Thread Tony Trapp
Hey guys need help with something.

I am trying to play a .flv file with the built in component that comes with
flash MX 2004 pro.

When testing it works great.

When I try to play it from my web site nothing happens.

Here is the page: http://www.dbtweb.com/test_video2.asp

The player is in a folder called flash and so is the .flv

I tried for 6 hours to get it to work and nothing.

Any suggestions?

Tony...

- Original Message - 
From: John Grden [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 30, 2006 6:00 AM
Subject: Re: [Flashcoders] (no subject)


 try :

 ControlDelete ASO Files

 then publish and test.  It's a shot in the dark, but might be the problem
 you're seeing if you've compiled with the version of files on the server
 with that PC.

 On 10/30/06, Adam Raft [EMAIL PROTECTED] wrote:
 
  I have been watching this list for a while before this my first post.
 
  I have taken a copy of a project to my computer from the server to allow
  me to developer further and to let others continue build the project. So
  all classes has the same relative path to each other. The strange thing
  is that when I run the project it is the classes from the project on the
  server that's load not the local ones. And both the class paths for the
  project and the general class path do not point to the classes on the
  server. Does any one have an explanation / a cure for the problem.
 
 
  regards,
 
  Adam
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 



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

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




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

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


Re: [Flashcoders] problem with flash 7 flv player

2006-10-30 Thread Tony Trapp
Ian I think your right.

MIME types setting up is easy I can do that in two shakes.

I tried going to it and said 404 error IIS will do that because of MIME
type.

Thanks or pointing that out.

Tony...

- Original Message - 
From: Ian Thomas [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 30, 2006 8:28 AM
Subject: Re: [Flashcoders] problem with flash 7 flv player


 Alternatively, the server may not have the MIME-type set for .flv.

 On Apache etc. you tend to be fine, but IIS is a pain - it just won't
 serve things that you haven't set up a MIME-type for. I had this issue
 last week; once set up, it's fine.

 One way to test that - if you try browsing, manually, to the .flv file
 using your browser and get a 404 error (but you are certain that the
 file is there) you may be looking at a MIME-type error.

 You'll need to Google how to set up that MIME-type in IIS - I'm afraid
 I don't know off the top of my head (I avoid IIS as a general rule).

 HTH,
   Ian

 On 10/30/06, Karina Steffens [EMAIL PROTECTED] wrote:
  Remove any spaces and check your case - that's the culprit in most
cases.
 
  Karina
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


Re: [Flashcoders] problem with flash 7 flv player

2006-10-30 Thread Tony Trapp
Yep that was it, MIME type by the way Ian and everyone else the type  for
.flv is:

video/x-flv

and instructions on how to do it.

http://blogs.ittoolbox.com/c/engineering/archives/adding-flv-mime-type-in-iis-4198

If anyone else needs to set it up.

Thanks Ian.

Tony...

- Original Message - 
From: Ian Thomas [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, October 30, 2006 8:28 AM
Subject: Re: [Flashcoders] problem with flash 7 flv player


 Alternatively, the server may not have the MIME-type set for .flv.

 On Apache etc. you tend to be fine, but IIS is a pain - it just won't
 serve things that you haven't set up a MIME-type for. I had this issue
 last week; once set up, it's fine.

 One way to test that - if you try browsing, manually, to the .flv file
 using your browser and get a 404 error (but you are certain that the
 file is there) you may be looking at a MIME-type error.

 You'll need to Google how to set up that MIME-type in IIS - I'm afraid
 I don't know off the top of my head (I avoid IIS as a general rule).

 HTH,
   Ian

 On 10/30/06, Karina Steffens [EMAIL PROTECTED] wrote:
  Remove any spaces and check your case - that's the culprit in most
cases.
 
  Karina
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


Re: [Flashcoders] Flash File Upload using .NET

2006-10-20 Thread Tony Trapp
Jason good point about .net and so easy to use with uploading.

Tony...

- Original Message - 
From: Merrill, Jason [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, October 20, 2006 5:44 AM
Subject: RE: [Flashcoders] Flash File Upload using .NET


 I've found that when uploading using FileReference, my files end up
 being read only by the owner (chmod 600). 
 
 I have never found that to be an issue in my experience.  We have an app
 that you use FileReference to upload the file to an ASPX page, then
 another button you can then use to load the file into the application
 using LoadMovie().
 
 Jason Merrill
 Bank of America 
 Learning  Organization Effectiveness - Technology Solutions 
  
  
  
  
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] help with flash remoting please

2006-10-11 Thread Tony Trapp
Hey guys need help on something here.

My flash form is working great and so is my asp.net script via flash
remoting.

What I am having a problem with is to format the message field as such like
this email rather then being one continuous paragraph with no new lines:

here is an example I sent myself:

cvbc vvcbvcb vcbvc bvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbcvcbvcbvc
bEnd--

it should be:

cvbc
vvcbvcb vcbvc

bvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbvcbcvcbvcbvc

b

End--

Any one have an idea of what to do?

I am using flash 6 and flash remoting with asp.net

Thanks guys !

Tony Trapp
DBTWeb.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] C++ flash host supporting transparency

2006-10-11 Thread Tony Trapp
I have created my own browser using .net and C# and with the browser
recognizing things via flash of course you have to have the flash active x
object installed and the object should do the rest with your flash movie.

As far as colors maybe this might have something to do with system colors
available depending on what you want to do.

If I had a complete look at your app so far and got what you are trying to
do fully I might really be able to help, how ever I have found talking
things out from time to time help you to see something or think of
something.

Hope that kinnda helps.

Tony Trapp
DBTWeb.com

- Original Message - 
From: Mark Winterhalder [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, October 11, 2006 5:08 PM
Subject: Re: [Flashcoders] C++ flash host supporting transparency


 Why reinvent the wheel?

 Did you have a look at SWHX yet? It works for Windows and OSX, Linux
 support AFAIK would need FP9, maybe more. I'm not sure about
 transparency, but since Screenweaver could do it, it's probably there.

 http://haxe.org/swhx

 I don't want to stop you from rolling your own, if that's what you
 want, I just thought I'd point you to it in case you haven't heard
 about it yet.

 Mark



 On 10/11/06, Chris Douglass [EMAIL PROTECTED] wrote:
  Hey, I'm building a C++ app to run on Windows (then maybe on Mac and X)
that
  will host SWFs.  On Windows I'm using the Flash activeX control to host
my
  Flash app.  I'd like to render the Flash viewport/window onto my
  application's surface with transparency such that only the content on
the
  stage is drawn to my window.
 
  Does anyone know how you would implement this within a custom
host/container
  like mine?  How do the browsers implement this (well the ones that
support
  it)?  Does Flash tell the host the key color being used for
transparency?
  I've seen a few articles here and there that Flash sends its output to
an
  off-screen buffer that the browsers use to render Flash content with
  non-rectangular transparency.  But, I'm not sure how as a host container
the
  Flash frame buffers and transparency key color are accessible to me.
 
  Does the stage color become the RGB key color value that Flash
communicates
  to the browser to assist with this process?  What if that same color is
used
  in the content of your movie/content within your SWF?  Do the browsers
  render those pixels transparently as well?
 
  Anyway, I'm going to start some tests but thought maybe someone could
shed
  some light for me.  Also, does anyone have experience building their own
SWF
  host application that runs on Windows and Mac?  I need to port my app
(and
  am not interested in using the commercial swf/exe hosts out there, at
least
  not yet ;]) to the Mac, so whatever transparency technique I use on
Win32
  would hopefully not require a full-rewrite on the Mac (yeah right).
 
  Is there an SDK for people wanting to build their own hosts for Flash
apps?
  Is there a lower-level interface/API I can tap into that exposes the
Flash
  content/internals so that developers can write their own unique hosts?
What
  wrapper/API is exposed to the Mac platform developers for creating
  containers on OSX?
 
  Thanks for ANY input :)  I'll start fiddling with WMODE and see what
happens
  for starters...  Where is the definitive internals book on the Flash
runtime
  engine?  Does one exist?
 
  Chris Douglass
  Innovative Code  Design
  Atlanta, GA
  www.innovativecode.com
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


Re: [Flashcoders] setInterval and loadMovie

2006-07-14 Thread Tony Trapp
Hey Steven just wanted to tell ya I miss the old site you guys had back
about 4 years ago and also the update you guys did.

Very good stuff!!!

Tony Trapp

- Original Message - 
From: Flash Mel [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Thursday, July 13, 2006 10:58 AM
Subject: Re: [Flashcoders] setInterval and loadMovie


 Thanks guys, got it working!

 Cheers,

 fM.



 On 7/10/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote:
 
  You orphaned a running interval.  You need to make sure you
  clearInterval first.  You could put it in the onUnload of your loaded
  movie, or you could clear the interval in that swf just before you
  loadMovie.
 
  BLITZ | Steven Sacks - 310-551-0200 x209
 
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:flashcoders-
   [EMAIL PROTECTED] On Behalf Of Flash Mel
   Sent: Sunday, July 09, 2006 8:04 PM
   To: Flashcoders mailing list
   Subject: [Flashcoders] setInterval and loadMovie
  
   Evening,
  
   I'm having a brainfart here.  I have a movie that loads separate .swfs
   into a clip called holdGallery_mc.  All of the .swfs are simply
   different slideshows (reads from xml, images files on server,
   preloader for each image, pan image vert or horz depending on size,
   etc.).  Anyway, the core for all the slideshows to work is a
   setInterval script reStartSlides = setInterval(startSlides, 4000);
  
   Here is my problem, when loading the the .swfs into the main movie,
   the first one naturally, is ok.  But when I try loading another .swf
   to  replace the current on, the old .swf is gone but its interval is
   still alive and kicking.
  
   What, what?!
  
   What is happening?
   ___
   Flashcoders@chattyfig.figleaf.com
   To change your subscription options or search the archive:
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
   Brought to you by Fig Leaf Software
   Premier Authorized Adobe Consulting and Training
   http://www.figleaf.com
   http://training.figleaf.com
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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




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

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


Re: [Flashcoders] problems loading an image into a movieclip

2006-05-22 Thread Tony Trapp
try .jpg instead flash loads those in perfectly.

Tony...

- Original Message - 
From: [EMAIL PROTECTED]
To: flashcoders@chattyfig.figleaf.com
Sent: Monday, May 22, 2006 9:32 AM
Subject: [Flashcoders] problems loading an image into a movieclip


 Hi,
 i have a movie with a button and a movieclip.
 I want that when i click the button an external image is visualized into
 the movieclip.

 I called the movieclip instance ic and in add this code to the button :

 on(click)
 {
loadMovie(penguin.bmp,ic);
 }

 the problem is that the movieClip became white but the image is not
visualized...
 Ehat's wrong?
 Thanks,Riccardo
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/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] attaching onMouseDown to dynamic movieClips

2006-05-10 Thread Tony Trapp
Hey chuck similar loop but using scroll pane to create rows and columns and
then take a movie clip and duplicate it, what I am trying to do is assign a
dynamic number to each onRelease function to each button located in the
duplicated movie clip.

Its only assigns the last number.

My brain is fried and need help.

Here is my code:

loadVarsText = new loadVars();
loadVarsText.load(galconfig.txt);
// assign a function which fires when the data is loaded:
loadVarsText.onLoad = function(success) {
 if (success) {
  trace(done loading);
  // Now that we know the data is loaded,
  // set the text content of the Text Field
  // with the instance name scroller equal to the
  // contents of the variable
  totalpics.text = Total pictures in this gallery: +this.numpics;
 } else {
  totalpics.text = Pictures not loaded;
  trace(not loaded);
 }
 scroller.setScrollContent(contentHolder);
 // set scroller scroll bar style ///
 scroller.setStyleProperty(shadow, 0x40);
 scroller.setStyleProperty(face, 0x6C);
 scroller.setStyleProperty(highlight, 0xAE);
 scroller.setStyleProperty(highlight3D, 0xC6);
 scroller.setStyleProperty(arrow, 0xCC);
 scroller.setStyleProperty(track, 0xFF);
 // set scroller scroll bar style ///
 var scrollContent = scroller.getScrollContent();
 var columns = 2;
 var xSpace = 155;
 var ySpace = 125;
 var columnNum = 0;
 var rowNum = 0;
 var thisone = -1;
 for (x=0; xthis.numpics; x++) {
  thisone = thisone+1;
  //trace(pic number +thisone);
  layer++;
  scrollContent.attachMovie(myMovie, myMovie, layer);
  scrollContent.myMovie.duplicateMovieClip(myMovie+x, layer);
  if (columnNumcolumns-1) {
   columnNum = 0;
   rowNum++;
  }
  // properties of duplicated movie clips
///
  // load pictures in
  scrollContent[myMovie+x].profile.onRelease = function() {
   var whatlargepic = thisone;
   trace(release+scrollContent+thisone);
  };
  scrollContent[myMovie+x]._x = -270.5+(columnNum*xSpace);
  scrollContent[myMovie+x]._y = -127.8+(rowNum*ySpace);
  loadMovie(../images/flashgal/small/+this.pics+sm+x+.jpg,
scrollContent[myMovie+x].pic);
  //scrollContent[myMovie+x].lthumb.gotoAndPlay(2);
  //trace(this.pics+x);
  columnNum++;
 }
 scroller.refreshPane();
};
stop();

Tony...

- Original Message - 
From: Lewis, Chuck [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, May 10, 2006 3:47 PM
Subject: RE: [Flashcoders] attaching onMouseDown to dynamic movieClips


Try this:
//
this[mcName].onRelease = function() {
trace(Release = +this);
}
//
this[mcName].onPress = function() {
trace(Press = +this);
}

-- Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of edwin
Sent: Wednesday, May 10, 2006 5:24 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] attaching onMouseDown to dynamic movieClips

I'm hoping someone can tell me what I'm doing wrong here, or help me
find a
better way of doing this.

I've got a simple movieClip in my Library set up as Export for
ActionScript.
I would like to place several instances of it onstage, and then assign
to
each instance some mouse behaviours. The code is as follows:

for (var i = 0; i  3; i++) {
var myX = 150 * i;
var mcName = myBox_mc + i;
this.attachMovie(box_mc, mcName, i, {_width:100, _height:100,
_x:myX,
_y:100});
this[mcName].onMouseDown = function() {
trace(this);
}
}
stop();

The instances appear onstage correctly, but I get the same output when I
click on any of the three movieClips:

_level0.myBox_mc2
_level0.myBox_mc1
_level0.myBox_mc0

It seems like clicking on any one of the instances is equivalent to
clicking
on all of them.

Where did I go wrong?

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