Re: [Flashcoders] Changing text based on the time of a played media

2006-01-10 Thread Thimon Sistermans [Us Media]
Hi, I don know if it works with mp3 but with flv you could use cuePoints. You add them to your media component before playing the file For example you could do something like this: for (var i = 0; i track.length){ // create unique cuepoint id var cuePointID = cuePoint_ + i;

RE: [Flashcoders] Duplicating an object without pointing to original one

2006-01-10 Thread zwetan
Hi, How do you duplicate an object {bool:true, val:5} in another variable without pointing to the original one, and without having to create a constructor. In Director, there's a duplicate() method in Lingo. Is there an equivalent way to do this in Flash? Something like this, but which

[Flashcoders] sequencce loader // combined queue filesize

2006-01-10 Thread Latcho
i'm making a media sequencce loader which handles the mediafiles piece by piece, shortening the queue if one is finished loading . what is the best way to get the total file size of all the media files, without actually start loading them totally. or how to obtain their total combined filesize

Re: [Flashcoders] XLIFF editors

2006-01-10 Thread Pauline McNamara
Thanks for your googling time Gregory - I'd already done a search and tried some out a bit, just hadn't found the right one. The open-language-tools xliff editor might have worked, but it looks for an XLIFF's DTD just to open the file - couldn't even view any of the sample files I had with

Re: [Flashcoders] IE on mac documentation

2006-01-10 Thread Pauline McNamara
Or you could say that Microsoft suggests they don't use IE anymore. Seems like a pretty strong argument, given that you don't often hear a manufacturer that says, Don't use my product. ;-) From MS: IMPORTANT INFORMATION FOR MICROSOFT INTERNET EXPLORER FOR MAC USERS

[Flashcoders] Image movement

2006-01-10 Thread Claudia Barnal
Hi, I am stuck with a few logic conditionals for moving an image. The situation is: I have an image that is wider than the stage that needs to be moved from right to left and vice versa when it reaches the end of the image, changing direction. The image is to use a manual (mouse quided) or

Re: [Flashcoders] IE on mac documentation

2006-01-10 Thread Søren Christensen
On 9/1/06 21:46, JesterXL [EMAIL PROTECTED] wrote: New macs since Safari came out didn't ship with IE so he must be using an older OS as well. Thats not true, IE is present on both panther(os 10.3.x) and tiger (os 10.4.x) - look in the 'applications' folder.

Re: [Flashcoders] update to Flash - JavaScript API since FP5?

2006-01-10 Thread Jim Kremens
I know you know about ExternalInterface, but the addCallback method makes this method of communication obsolete. //name of method, scope where method exists, actual method to be called ExternalInterface.addCallback(sayHiToFlash, this, callBackMethod); Once you've added the callback, javascript

[Flashcoders] Multi Color Gradient

2006-01-10 Thread Sumeet Kumar
Hi All, I want to create a multicolored gradient dynamically where I can specify ratios for each color in my gradient fill. Any suggestion will be great help to me Regards Sumeet Kumar ___ Flashcoders mailing list

Re: [Flashcoders] Image movement

2006-01-10 Thread Éric Thibault
Or this tested and functionnal... //Init before the onEnterFrame var Move:Number = 5;//Could be modified via a control var leftEdge:Number = 0;//All the way to the edge var rightEdge:Number = this.frame._width;//All the way to the edge this.onEnterFrame = function() { //Conditions to

[Flashcoders] Distribution Function

2006-01-10 Thread eric dolecki
I have started to think about coding up something that does this: - A viewport movie clip which is nothing more than a boundary rule - zoom levels (say 0-4) - in that viewport, depending on zoom level, a certain number of mcs can be displayed - zoomed in the most = 1 visible image clip - zoomed

Re: [Flashcoders] loadVariablesNum question..

2006-01-10 Thread Nicholas Chhabra
You should be using LoadVars - sendAndLoad property. Eg - var loadThis_lv:LoadVars = new LoadVars(); loadThis_lv.onLoad = function(success) { if (success) { trace(Success in loading+loadThis_lv+.); _root.form_mc.text1.text = this.text1; _root.form_mc.text2.text = this.text2;

[Flashcoders] MM Scrollpane issue/constraint

2006-01-10 Thread Martin Baltzer
Hi, I am using the Scrollpane component in a flash 8 movie and it works fine. My scrollpane size is set equal to the Stage size everytime its being resized. If stage size gets below 1020*585 I've set it up to show the scrollbars because I know for sure that my content requires that minimum size.

[Flashcoders] Concerning list etiquette

2006-01-10 Thread elibol
Hi everyone, is it ok to share algorithms on this list? H ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Concerning list etiquette

2006-01-10 Thread Adrian Lynch
No! Keep ya filthy algorithms to yourself!! Of course I'm only kidding :OD Share away... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of elibol Sent: 10 January 2006 15:36 To: Flashcoders mailing list Subject: [Flashcoders] Concerning list etiquette

RE: [Flashcoders] Detecting the dominating colour in a rectangle ofabitmap

2006-01-10 Thread Tom Lee
Sorry, I meant ColorMatrix. Doh! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Lee Sent: Saturday, January 07, 2006 8:16 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Detecting the dominating colour in a rectangle ofabitmap

Re: [Flashcoders] IE on mac documentation

2006-01-10 Thread Gerry Creighton
Ok...maybe you're correct, I seemed to remember getting a new G5 that did not have IE installed. On Jan 10, 2006, at 7:19 AM, Søren Christensen wrote: On 9/1/06 21:46, JesterXL [EMAIL PROTECTED] wrote: New macs since Safari came out didn't ship with IE so he must be using an older OS as

Re: [Flashcoders] IE on mac documentation

2006-01-10 Thread Troy Rollins
On Jan 10, 2006, at 7:19 AM, Søren Christensen wrote: IE is present on both panther(os 10.3.x) and tiger (os 10.4.x) - look in the 'applications' folder. Sounds like maybe you've done an OS upgrade which left IE in place. AFAIK, IE does not ship with those OS's. I haven't had IE for

Re: [Flashcoders] Detecting the dominating colour in a rectangle of abitmap

2006-01-10 Thread Troy Rollins
On Jan 7, 2006, at 8:15 PM, Tom Lee wrote: Interesting idea... I don't have a method written, but the first thing I would do is try blurring the image until it is one uniform color (perhaps with a Transform Matrix), and then get the RGB of that color. Well, that would get you the general

[Flashcoders] Independent Date sorting algorithm

2006-01-10 Thread elibol
I wrote a portable date sorting algorithm, I thought it might be of interest to my peers since I've only seen date sorting implementations for data grids. //the following sorts an array of Date objects: function sortDateArray(a:Array, j:Boolean) { var

[Flashcoders] listing folder content

2006-01-10 Thread Éric Thibault
Hi all! Is there a way from a projector to retreive the names of all the files inside a folder at the same level as itself? like in such a structure: MyProjector.exe imagesfolder image1.jpg image2.jpg imagetest.jpg or do I have to use another programme like Director (with xtra IO)

Re: [Flashcoders] Concerning list etiquette

2006-01-10 Thread elibol
I posted as Subject: Independent Date sorting algorithm Thanks Ade, H On 1/10/06, Adrian Lynch [EMAIL PROTECTED] wrote: No! Keep ya filthy algorithms to yourself!! Of course I'm only kidding :OD Share away... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Flashcoders] listing folder content

2006-01-10 Thread Danny Kodicek
or do I have to use another programme like Director (with xtra IO) to do the trick? You don't need an xtra in Director to do this: the getNthFileNameInFolder function will tell you. As for Flash, not as far as I'm aware of, but you could use something like swfStudio to embed the Flash file

Re: [Flashcoders] Changing text based on the time of a played media

2006-01-10 Thread Marcelo Wolfgang
Hmm, interesting, but will this work if I need to change the .mp3 file ? I have 10 different mp3's that will be played dependin on user selection ... TIA Grillo On 1/10/06, Thimon Sistermans [Us Media] [EMAIL PROTECTED] wrote: Hi, I don know if it works with mp3 but with flv you could use

[Flashcoders] (no subject)

2006-01-10 Thread Kathleen E. Vitelli
Hello I was hoping to post a request for Flash Developers. The information is below... if you have any questions, please feel free to call me... thanks Flash Developer in NYC 1 year + contract Flash Developer: This is web development, not graphic design. Must be proficient with

Re: [Flashcoders] Detecting the dominating colour in a rectangle of a bitmap

2006-01-10 Thread elibol
I think it would be a good accomplishment to write an algorithm that would intelligently evaluate pixel rgb(a) values for a precise result. I am sure you could get such an algorithm written in another language for a photoshop style application, the only thing you would have to do is find similiar

[Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread dls
Anyone know if Flash8 will run on the new Intel-based Macs? If you haven't heard the news, visit apple.com --dan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread Rich Rodecker
i would imagine it would...thats what the emulator is for. The mroe important question is will it run well? On 1/10/06, dls [EMAIL PROTECTED] wrote: Anyone know if Flash8 will run on the new Intel-based Macs? If you haven't heard the news, visit apple.com --dan

Re: [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread eric dolecki
I'd say it would run very well... edolecki On 1/10/06, Rich Rodecker [EMAIL PROTECTED] wrote: i would imagine it would...thats what the emulator is for. The mroe important question is will it run well? On 1/10/06, dls [EMAIL PROTECTED] wrote: Anyone know if Flash8 will run on the new

Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread eric dolecki
With Rosetta it would run 80-85% as fast as normal... but those machines are 2-4x faster now... so even in emulation would run snappy as doody :) edolecki On 1/10/06, dls [EMAIL PROTECTED] wrote: I know older versions of the Flash Player ran faster on Windows machines. I'm hoping for some of

Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread Søren Christensen
well, lets see some head to head real-world benchmarls first ;-) On 10/1/06 21:10, eric dolecki [EMAIL PROTECTED] wrote: With Rosetta it would run 80-85% as fast as normal... but those machines are 2-4x faster now... so even in emulation would run snappy as doody :) edolecki On

Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread Danny Kodicek
With Rosetta it would run 80-85% as fast as normal... but those machines are 2-4x faster now... so even in emulation would run snappy as doody :) Exactly how snappy *is* doody? Danny ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Window Component - Change content's _x _y values

2006-01-10 Thread elibol
Use the debugger to find out the name of the content clip and target it directly, it might be something like: __content. I hope that helps, H On 1/9/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello All I am using the Window Component and loading a movie clip into it. After the

Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread eric dolecki
*real* snappy :) On 1/10/06, Danny Kodicek [EMAIL PROTECTED] wrote: With Rosetta it would run 80-85% as fast as normal... but those machines are 2-4x faster now... so even in emulation would run snappy as doody :) Exactly how snappy *is* doody? Danny

Re: [Flashcoders] Duplicating an object without pointing to original one

2006-01-10 Thread Rajat Paharia
I use this function (think I got it from Darron Schall's blog) to do a deep copy. I had the same experience as Jesse with mx.utils.ObjectCopy not working correctly... // -- // copy an object function copyObject(obj) { // create a new object or

[Flashcoders] Using getURL twice in a function

2006-01-10 Thread Chad Mefferd
Hi list, I'm using getURL twice in a function I've written for a button. First to direct the browser to a new page. Second to use javascript to create a pop-up for a registration form. This is working fine and dandy in all browsers I've tested on (both PC and Mac) except for IE on. IE will

RE: [Flashcoders] Using getURL twice in a function

2006-01-10 Thread Geoffrey Williams
Try using JavaScript for both opening the window and redirecting... getURL (javascript:window.open ('1.htm'); window.location.href='2.htm'); You could even try setTimeout for the redirect... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Mefferd

Re: [Flashcoders] Using getURL twice in a function

2006-01-10 Thread Lanny McNie
This is due to Flash's IE limitation where it will only send 1 getURL request per frame. Space out your requests over a frame or 2, and it should work. On 1/10/06, eric dolecki [EMAIL PROTECTED] wrote: In the past I have relied on javascript. Call up the new page with your getURL in that

Re: [Flashcoders] Using getURL twice in a function

2006-01-10 Thread Chad Mefferd
I considered that but we are using an .asp default page in a virtual directory that then queries a database to call the appropriate page and I didn't want to step on our back-end programmer's toes trying to accomplish my fix. Thanks though Eric. It's looking more like that is exactly what I

Re: [Flashcoders] Using getURL twice in a function

2006-01-10 Thread Chad Mefferd
I will give it a try at once. Thanks, Chad Mefferd On Jan 10, 2006, at 3:19 PM, Geoffrey Williams wrote: window.location.href='2.htm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Using getURL twice in a function

2006-01-10 Thread JesterXL
Use fscommand. Since it blocks, you don't have the getURL problem. - Original Message - From: Chad Mefferd [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 10, 2006 4:10 PM Subject: [Flashcoders] Using getURL twice in a function

Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread John Olson
There is an Apple Store right near my work here in Vegas. I just got back from lunch and they expect to have a new intel-based iMac within the next few days. Once it comes in, I'll see if I can run Flash and do some tests. - John Message: 15 Date: Tue, 10 Jan 2006 21:14:01 +0100 From: S ? ren

Re: [Flashcoders] Using getURL twice in a function

2006-01-10 Thread Chad Mefferd
Okay. I've implemented it and it works in everything but IE for Mac. In IE for mac it goes to a new blank page and displays the link in text in the browser window. Any ideas? Thanks for your the great suggestions. Chad Mefferd On Jan 10, 2006, at 3:19 PM, Geoffrey Williams wrote:

Re: [Flashcoders] Using getURL twice in a function

2006-01-10 Thread Chad Mefferd
Might be the best all-around solution. I'll give it a try too. Thanks, Chad Mefferd On Jan 10, 2006, at 4:39 PM, Geoffrey Williams wrote: Not sure. Using an onEnterFrame might be the easiest way to go, as Lanny suggested. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Flashcoders] MM Scrollpane issue/constraint

2006-01-10 Thread Yehia Shouman
Hi Martin try using myScrollPane_sp.setScrollProperties(1024,1,585,1); you might have to make that method public if it was private, check the ScrollPane.as class in your c:\documents and settings\[userName]\local settings\application data\macromedia\flash

RE: [Flashcoders] Independent Date sorting algorithm

2006-01-10 Thread zwetan
Hi, I wrote a portable date sorting algorithm, I thought it might be of interest to my peers since I've only seen date sorting implementations for data grids. //the following sorts an array of Date objects: function sortDateArray(a:Array, j:Boolean) { var

Re: OT [Flashcoders] Flash 8 and Rosetta -- MacIntel

2006-01-10 Thread eric dolecki
Safari runs as a Universal Binary... but how do the plugins work with it? edolecki On 1/10/06, John Olson [EMAIL PROTECTED] wrote: There is an Apple Store right near my work here in Vegas. I just got back from lunch and they expect to have a new intel-based iMac within the next few days. Once

SV: [Flashcoders] MM Scrollpane issue/constraint

2006-01-10 Thread Martin Baltzer
Thanks alot that actually works :-) And I didn't need to change anything in the mx classes. The only issue is that it scrolls about 20 px to much vertically if the browserwindow is to small to begin with and the scrollpane thus starts with scrollbars on. But as soon as I do a resize on the