[Flashcoders] duplicateMovie issue

2006-05-02 Thread Nik Derewianka
Hi all, Flash 8 Pro: Im trying to find a way to duplicate one movie clip into a new movieclip so that it can take advantage of the new target MC's rotation, location etc. It looks like duplicateMovieClip is what i want, but as far as i can tell it seems to only duplicate an MC within the same

[Flashcoders] x, y coordinates when using Mouse Listener object are not giving correct output

2006-05-02 Thread Vivek lakhanpal
Hi All, I would like to get mouse coordinates i.e. xmouse ymouse when user's click in my flash file and I am using mouse listener for this. The problem i encountered is as follow I did left click on stage and got some x, y coordinates then without moving my mouse i did right click at same

Re: [Flashcoders] duplicateMovie issue

2006-05-02 Thread Adrian Park
Hi Nik, As far as I know you can only duplicate a MovieClip into the same parent. attachMovie is used for attaching MovieClip symbols (which have been assigned linkage id's) from your library. I think the simplest thing to do would be to set a linkage id for your movieclip symbol in the

Re: [Flashcoders] ActionScript 3.0 Cheatsheets!!

2006-05-02 Thread judah
Hi thotskee, Thanks for making this. It is not printing out very well on my ribbon jet printer. Could you post a pdf or a higher res image? Thanks, Judah thotskee wrote: Flashcoders, The ActionScript 3.0 cheatsheet family has been born. There will be additional sheets created in the

[Flashcoders] x, y coordinates when using Mouse Listener object are not giving correct output

2006-05-02 Thread Vivek lakhanpal
Hi All, I would like to get mouse coordinates i.e. xmouse ymouse when user's click in my flash file and I am using mouse listener for this. The problem i encountered is as follow I did left click on stage and got some x, y coordinates then without moving my mouse i did right click at same

Re: [Flashcoders] Required Actionscript Programmers

2006-05-02 Thread Sagar Kulkarni
Hi All, I am working with Ness Mumbai on RIA, we have gr8 opportunity to work on RIA. So far we are looking for the following position's with Ness in Bangalore. *Just Brief about Ness* Ness Technologies (NASDAQ: NSTC) is a global provider of end-to-end IT services and solutions designed to

Re: [Flashcoders] duplicateMovie issue

2006-05-02 Thread Nik Derewianka
Hi Adrian, I think the simplest thing to do would be to set a linkage id for your movieclip symbol in the library and then use attachMovie to make copies of it wherever you need them. They already have linkage id's, its more of a case that i have ~30 odd instances on the stage, cloned from a

RE: [Flashcoders] x, y coordinates when using Mouse Listener object arenot giving correct output

2006-05-02 Thread Jim Robson
Vivek, It seems to be a bug in certain versions of the player. I dragged a TextArea component onto the stage, named it mouseText, and modified the code as shown below. When I published the movie and opened the HTML container in Firefox, then it worked correctly. However, the error persists in IE.

Re: [Flashcoders] Re: Shared font questions

2006-05-02 Thread Jon Bradley
Brody - Thanks for that bit. Very good info to have. I decided to bite the bullet and write my own approach, which has all of the functionality as shared fonts manager and the added ability to load in a set of configuration files - and doesn't cost anything. I was actually surprised how

Re: [Flashcoders] duplicateMovie issue

2006-05-02 Thread Zeh Fernando
Im trying to find a way to duplicate one movie clip into a new movieclip so that it can take advantage of the new target MC's rotation, location etc. It looks like duplicateMovieClip is what i want, but as far as i can tell it seems to only duplicate an MC within the same parent MC - is this

Re: [Flashcoders] Required Actionscript Programmers

2006-05-02 Thread Mike Britton
As a precautionary measure, I never work with people who use the word 'gr8'. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you

[Flashcoders] HTML Entity Code

2006-05-02 Thread Lewis, Chuck
Newbie poster, not Flash newbie Using FLASH 8. Product will be both web and CD based product. I am sure this may have been discussed before, but not sure how to find the info. We are using the entity codes for subscript numbers. The text is HTML formatted XML. On my systems, (XP

[Flashcoders] Order of code execution - class files versus the root timeline- is this consistent

2006-05-02 Thread Manuel Saint-Victor
When code is in class files can we count on any particular order of execution relative to code in the _root timeline. For example if I have a component that is dragged on stage that is dragged on stage is it always available by the time code in the main timeline runs. I have sort of taken it

[Flashcoders] haXe 1.0 Release Candidate

2006-05-02 Thread Nicolas Cannasse
Hi lists, I'm please to announce that the haXe 1.0 Release Candidate is now available for download on http://haxe.org haXe is a new programming language for Flash coders. You can use one single language to develop your whole website : including Flash, JS/AJAX and Server-side with database

Re: [Flashcoders] duplicateMovie issue

2006-05-02 Thread Adrian Park
Hi Nik, I see what you mean now - you want to be able to ask a MovieClip what the linkage id of it's master in the library is. And, yes, there seems no nice way of doing this! Another option to consider might be to derive the attached movie clips' names from the linkage ids and then use the

RE: [Flashcoders] haXe 1.0 Release Candidate

2006-05-02 Thread Lee McColl-Sylvester
Well done Nicolas. Congratulations!!! Regards, Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nicolas Cannasse Sent: 02 May 2006 15:25 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; osflash@osflash.org; Flashcoders Subject: [Flashcoders] haXe 1.0

[Flashcoders] Can this be true?

2006-05-02 Thread Michael K
At this link there is a swf embeded in a html with a 5 line script that measures fps: http://www.fla10.com/test/test.html The movie is set to 30 fps but plays at around 23 and I have a good computer! Does flash automatically loose this much power and I just never noticed?? What numbers are

RE: [Flashcoders] ActionScript 3.0 Cheatsheets!!

2006-05-02 Thread Merrill, Jason
jet printer. Could you post a pdf or a higher res image? Thanks, Vector flavor flav if you have that - that would be great. Thanks, Jason Merrill | E-Learning Solutions | ICF International -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED]

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Mike Mountain
I get 23 too, I think there must be something wrong with the FPS counter code. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Kønig Sent: 02 May 2006 15:37 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Can this be

RE: [Flashcoders] HTML Entity Code

2006-05-02 Thread Lewis, Chuck
I am not embedding any fonts. I am creating the text fields and not embedding the font. The font is set to Arial. Just a little clarity. Other systems, besides mine, do show the subscript characters, just not all systems. -- Chuck -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Mike Mountain
Try this: [as] sTime=getTimer() count=0 onEnterFrame=function(){ count++ split=getTimer()-sTime fps=Math.round(count/split*1000) } [/as] Works great for me in the ide. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Geoff Stearns
try bumping it up to 31fps and see how it works then. i'm getting about 24 on my browser (firefox on osx 10.4) On May 2, 2006, at 10:37 AM, Michael Kønig wrote: At this link there is a swf embeded in a html with a 5 line script that measures fps: http://www.fla10.com/test/test.html The

Re: [Flashcoders] Can this be true?

2006-05-02 Thread eric dolecki
I get 28 here. On 5/2/06, Mike Mountain [EMAIL PROTECTED] wrote: I get 23 too, I think there must be something wrong with the FPS counter code. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Kønig Sent: 02 May 2006 15:37 To:

Re: [Flashcoders] Order of code execution - class files versus the root timeline- is this consistent

2006-05-02 Thread Johannes Nel
best to wait a frame i would say, and with v2 components sometimes 2 frames. do an on enter frame on width for example and see what it says On 5/2/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: When code is in class files can we count on any particular order of execution relative to code in

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Mike Mountain
Interesting, a movie set at 30fps plays around 29/30 in the ide using the below code, but does indeed return 23/24 fps in IE. I knew flash ran better in the ide - but that is quite a difference. M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Michael K
I implementer your code an uploaded again: www.fla10.com/test/test.html www.fla10.com/test/test.zip the zip has the html and swf. Try downloading the zip and running it in your browser and the just in the player! In the player wiithout the html it hits 30/31! I am just chocked that the

[Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Éric Thibault
Hi all... I'm adding a simple printsomeinfo page to my project but something strange is happening! The printout will be of pure text with no images so I'm setting the printAsBitmap to false... but the content of my SWF (all of it including loaded clips) just dissapeares once the print

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Martin Tremblay
Try with this FPS counter this.createTextField(fps_txt, 1000, 10, 10, 100, 100); this.nLastFrame = getTimer(); this.onEnterFrame = function () { var nCurrentFrame = getTimer(); var nFPS = Math.round(1000 / (nCurrentFrame - this.nLastFrame)); this.fps_txt.text = nFPS;

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Josh Buhler
I'm getting 25 in Safari, OS 10.4.6, on a dual 1.8 Ghz PowerMac. - Josh On May 2, 2006, at 8:37 AM, Michael Kønig wrote: At this link there is a swf embeded in a html with a 5 line script that measures fps: http://www.fla10.com/test/test.html The movie is set to 30 fps but plays at

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Jim Robson
In IE, I'm getting 25 fps. In Firefox, I'm getting 27. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Kønig Sent: Tuesday, May 02, 2006 10:37 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Can this be true? At this link there

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Zeh Fernando
Interesting, a movie set at 30fps plays around 29/30 in the ide using the below code, but does indeed return 23/24 fps in IE. I knew flash ran better in the ide - but that is quite a difference. From what I've learnt, that kind of stuff happens even when there's nothing being processed - ie,

[Flashcoders] eLearning Standards Guide?

2006-05-02 Thread Loren R. Elks
We have a set of standards (our dept handbook) that we use when created new training materials and documentation in our department. This book details the styles, etc. Does anyone have an example of a list of eLearning standards that I could follow as a guide? Loren Elks  The only real

RE: [Flashcoders] eLearning Standards Guide?

2006-05-02 Thread Merrill, Jason
I''ve been in the e-learning field for about 10 years now... what kind of standards? Do you mean interface design standards for e-learning? There aren't any - other than things like Section 508 which are design standards for persons with disabilities - but usually you would design your own

Re: [Flashcoders] eLearning Standards Guide?

2006-05-02 Thread Mike Britton
Although e-learning is interesting, a call for these kinds of standards is probably more appropriate on a design list or discussion forum, not flashcoders imho (please correct me if I'm wrong). That is, unless the question relates to coding or best practices. Mike

RE: [Flashcoders] Web Service Call Timing Out Within Flash (Any Way ToSet A Timeout Var???)

2006-05-02 Thread Tom Lee
Are you using the WebServiceConnector component, the WebService classes, or something else? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Forums Sent: Tuesday, May 02, 2006 11:17 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Web

RE: [Flashcoders] Web Service Call Timing Out Within Flash (Any WayToSet A Timeout Var???)

2006-05-02 Thread Ash Warren
I am using the WebService classes and the folks handling the .NET services are telling me to edit the mx.services.WebService class here: class mx.services.WebService { ... _timeout = -1; ... From -1 to 10. I usually do not make it a habit to go in

Re: [Flashcoders] Can this be true?

2006-05-02 Thread David Skoglund
My experience a couple of months ago when creating a racing game was that there seems to be some kind o frame rate capping. Whatever computer I tried my game on, I got approximately 20 fpt when I ran the game in a browser. With the standalone player I could easily play the same game with frame

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Patrick Matte
I'll give you a precious trick to make the swf run faster : Using your favorite sound editor, create a new file, add one second of silence. Save the sound. Import that sound into flash. Create a movieclip on stage. Inside the movieClip. Add a few frames, lets say 25 frames. Add the sound on

[Flashcoders] classes extending movie clip problem

2006-05-02 Thread August Gresens
Hello I've got a class that extends movieclip. This class is being associated with a movieClip in the Libary using the Object.RegisterClass method. When I attach this movieclip using attachMovie, the instance of the class does not respond to method calls defined in the subclass. Here's the

[Flashcoders] quick question about buttons

2006-05-02 Thread Mark Burvill
Hi list, Is there a way to condense several button handler commands into one line? ie instead of writing: myButton_btn.onRelease = function(){ doStuff(); } myButton_btn.onPress = function(){ doStuff(); } myButton_btn.onRollOver = function(){ doStuff(); } Can I do something like:

[Flashcoders] Re:Re:Re: Shared font questions

2006-05-02 Thread Brody Welch
Glad to hear you worked it out. Would you be willing to share your solution? Brody ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you

RE: [Flashcoders] quick question about buttons

2006-05-02 Thread Ash Warren
You can do this: myButton_btn.onRelease = myButton_btn.onPress = myButton_btn.onRollOver = function(){ doStuff(); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Burvill Sent: Tuesday, May 02, 2006 11:17 AM To: Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Michael K
I am going to be back by my computer in a couple of hours and I will try that sound trick. If that works, I will be completly amazed! It is exactly an action game I am making so I need to at least be able to know what FPS my movie actually runs in. /Michael From: Patrick Matte [EMAIL

[Flashcoders] Determine text overflow

2006-05-02 Thread Ryan Creighton
Hi folks. Sorry if this issue is old hat - i've been reading through the archives and can't find a solution. i have a dynamic text field set to a certain size (picture a dialogue box at the bottom of an adventure or RPG game). i'm feeding it text. i'd like to determine when the text

RE: [Flashcoders] Determine text overflow

2006-05-02 Thread Ash Warren
I have always found that setting the textfield to autosize = left and filling it one letter at a time checking the width at each loop works. Then when it goes over the max width, trim it by one letter and display the field. Just set the alpha to 0 or something to hide it while you do the loop

RE: [Flashcoders] quick question about buttons

2006-05-02 Thread Ash Warren
I actually use that all the time in this way: myButton.onRollOut = myButton.onDragOut = function ()... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Burvill Sent: Tuesday, May 02, 2006 11:35 AM To: Flashcoders mailing list Subject: Re:

RE: [Flashcoders] Web Service Call Timing Out Within Flash (AnyWayToSet A Timeout Var???)

2006-05-02 Thread Tom Lee
You might consider creating a class that inherits from mx.services.WebService and override the _timeout property, rather than modifying the built-in class. It looks to me like modifying the '_timeout' property in the WebService class ultimately changes the 'timeout' property in the PendingCall

RE: [Flashcoders] Can this be true?

2006-05-02 Thread Ian McGregor
The sound needs to be on a frame and set to 'stream' if I remember correctly. This causes the flash player to drop animation frames in order to keep up with the target framerate. If you think about how it works having a sound set to stream on the timeline so that animations can be synched

[Flashcoders] Quick n diarty date request

2006-05-02 Thread Pete Hotchkiss
Is there a simple way to check if an instance of a date function is today. Ie var foo = new Date(); trace(foo); var bar = new Date(2006, 04, 02); trace(bar) trace(foo == bar); Obviously that returns false as the time is incorrect. There must be a simple way ? Pete

Re: [Flashcoders] Shared font questions

2006-05-02 Thread Jon Bradley
On May 2, 2006, at 12:18 PM, Brody Welch wrote: Glad to hear you worked it out. Would you be willing to share your solution? Once finished, I'm definitely considering it. There's only one downside - it might not be good news for sharedfonts.com. Although everything their extension does is

Re: [Flashcoders] Determine text overflow

2006-05-02 Thread Ian Thomas
Would TextFormat.getTextExtent() be of help..? (I know it says 'deprecated' in Flash 8 - that's a documentation error.) Ian On 5/2/06, Ash Warren [EMAIL PROTECTED] wrote: I have always found that setting the textfield to autosize = left and filling it one letter at a time checking the width

Re: [Flashcoders] quick question about buttons

2006-05-02 Thread ryanm
You can do this: myButton_btn.onRelease = myButton_btn.onPress = myButton_btn.onRollOver = function(){ doStuff(); } In my experience that doesn't work. It *should*, but for some reason, the function never gets assigned to most or all of the events. Better is to use Delegate. import

RE: [Flashcoders] Determine text overflow

2006-05-02 Thread Tom Lee
You could also look at not snipping the text at all, but instead using the scroll property of the TextField. Make your TextField one line high, but set multiline to true. Your more arrow would simply increment the scroll property. -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] classes extending movie clip problem

2006-05-02 Thread August Gresens
doh! Thanks, August On 5/2/06, Ian Thomas [EMAIL PROTECTED] wrote: Looks to me like your Object.registerClass is registering the wrong symbol ID - menu_mc instead of videoPlayerEmpty_mc. Ian On 5/2/06, August Gresens [EMAIL PROTECTED] wrote: Hello I've got a class that extends movieclip.

Re: [Flashcoders] quick question about buttons

2006-05-02 Thread Ian Thomas
Or even: var doStuff:Function=function (){ // code... } myButton_btn.onRelease = doStuff; myButton_btn.onPress = doStuff; myButton_btn.onRollOver = doStuff; or import mx.utils.Delegate; function doStuff(){ // code... } var delDoStuff:Function=Delegate.create(this,doStuff);

Re: [Flashcoders] Can this be true?

2006-05-02 Thread Cedric Muller
the presumes good coding practices on the internal player code :) or maybe this has to do with the Browser ... :)) more fun if the Browser is concerned cedric I'll give you a precious trick to make the swf run faster : Using your favorite sound editor, create a new file, add one second of

[Flashcoders] RE: Can this be True?

2006-05-02 Thread Brody Welch
Mac 0S 10.3.9. 800 Mhz Ti-Book Flash Player 8 Safari 1.3 - 25 fps Firefox 1.5 - 26/27 fps IE 5.5 - 25 fps On a side note there is a post from one of Flash Player engineers working with Acrodobia that discusses performance enhancements pertaining to the newest player for OS X. Note the thread

Re: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Éric Thibault
Never mind... I think it's going to be a long long week... -- === Éric Thibault Programmeur analyste Réseau de valorisation de l'enseignement Université Laval, pavillon Félix-Antoine Savard Québec, Canada Tel.: 656-2131 poste 18015

RE: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Tom Lee
Do you still need help with the issue, or did you figure it out? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault Sent: Tuesday, May 02, 2006 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] printJob and printAsBitmap Never

Re: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Éric Thibault
I had an error with the scope of my mc_print. The printjob worked OK (the printer was printing fine) with both printAsBitmap but with the settings to vector instead of bitmap, the function took the parent mc (_root) and made it invisible! I've search for about half an hour before noticing it!

[Flashcoders] MP3 Streaming Player check

2006-05-02 Thread Jonathan Berry
Hello all, I wondered if some of you could check on a radio player I created for one of our sites. It uses live365 and we chose Flash because of the cross-browser compatibility. It streams from my computer, my home computers, and a lot of other people's computers that we have tested, but for a

RE: [Flashcoders] printJob and printAsBitmap

2006-05-02 Thread Tom Lee
Yuk... I don't envy you. Been there, done that! ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault Sent: Tuesday, May 02, 2006 2:21 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] printJob and printAsBitmap I had an error with

[Flashcoders] quick Q about FLVPlayback component

2006-05-02 Thread eric dolecki
Is there a way to ensure that FLVs are centered in the component when playing various FLVs of different sizes? (not changing the size of the playback component itself) I hope there is a mc holding a video object that can be moved within the component, etc.I haven't started to dig (yet) -

RE: [Flashcoders] quick Q about FLVPlayback component

2006-05-02 Thread Tom Lee
Looks to me like the FLVPlayback component extends the VideoPlayer component. The VideoPlayer component loads the video into a Video object (private var _video). The Video object has native _x and _y properties, but I'm not sure if you'll be able to access them since the reference is private.

Re: [Flashcoders] quick Q about FLVPlayback component

2006-05-02 Thread eric dolecki
Ya... hmm... I can hack that class and pump out a new SWF so I can get at things like that I suppose. I'm suprised no one thought of that when making it though. Auto-sizing is okay when the whole component needs a resize... but thats not a great solution. On 5/2/06, Tom Lee [EMAIL PROTECTED]

Re: [Flashcoders] MP3 Streaming Player check

2006-05-02 Thread Éric Thibault
Error onload : line : 1503 car : 2 error : g365CurVer undefined Code: 0 URL .../sosdradio/index.html Runs OK on both Firefox (1.5.0.2) and IE (6.0.29 SP2) on my XP pro with all the patches. The music stats then stops then restats again... A+ Jonathan Berry a écrit : Hello all, I wondered

RE: [Flashcoders] quick Q about FLVPlayback component

2006-05-02 Thread Tom Lee
Actually, I was incorrect. FLVPlayback extends MovieClip, and wraps VideoPlayer... Or rather, multiple VideoPlayers. There's a public method getVideoPlayer which returns the VideoPlayer at a given index, and another public getter 'activeVideoPlayerIndex'. Between the two of these, you should be

Re: [Flashcoders] quick Q about FLVPlayback component

2006-05-02 Thread eric dolecki
myPlayer.getVideoPlayer(myPlayer._visibleVP)._width, ._x, etc. are all available - pretty cool - thanks :) - e.dolecki On 5/2/06, Tom Lee [EMAIL PROTECTED] wrote: Actually, I was incorrect. FLVPlayback extends MovieClip, and wraps VideoPlayer... Or rather, multiple VideoPlayers. There's a

Re: [Flashcoders] Quick n diarty date request

2006-05-02 Thread Manuel Saint-Victor
you ca try comparing elements of it such as getDate() and getMonth() instead of the whole thing var today=new Date(); trace(today.getMonth()); On 5/2/06, Pete Hotchkiss [EMAIL PROTECTED] wrote: Is there a simple way to check if an instance of a date function is today. Ie var foo = new

RE: [Flashcoders] quick Q about FLVPlayback component

2006-05-02 Thread Tom Lee
Awesome! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: Tuesday, May 02, 2006 3:57 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] quick Q about FLVPlayback component myPlayer.getVideoPlayer(myPlayer._visibleVP)._width,

Re: [Flashcoders] Accessibility and MSAA - Is this documentedanywhere?

2006-05-02 Thread John Dowdell
Scott Hyndman wrote: Well does anyone know at Adobe? Sorry for the delay, I'm trying to clean up mailboxes... something about someone at Adobe knowing something about Microsoft's Active Accessibility API, but I'm not sure I would know what to ask anyone else yet, not sure I'd know what to

Re: [Flashcoders] Quick n diarty date request

2006-05-02 Thread Paul BH
it depends on your level of accuracy: lets say you want to know if the date was the same day: var allowedDiff:Number = 24*60*60*1000 //24 hours,60 mins,60 secs, 1000 millisecs trace(Math.abs(date1.getTime()-date2.getTime)allowedDiff) On 5/2/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote:

[Flashcoders] Date Object Problem

2006-05-02 Thread Nick McNeill
First off, long-time member of this list and have gained a wealth of knowledge from the wisdom here. Thank You All. I'm having a very confusing problem using the Date Object. I have a hotel reservation system built in flash, when an international reservation (outside of the US, mainly

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread John Dowdell
Michael Kønig wrote: The movie is set to 30 fps but plays at around 23 and I have a good computer! That's quite possible. The framerate is a top limit, not a bottom gate. Depending on the content, and what else that computer is being asked to do at that time, and (if playing in a browser)

Re: [Flashcoders] Quick n diarty date request

2006-05-02 Thread Helen Triolo
Maybe there's something simpler, but here are two date functions (public static functions I have in a date utility class) that I use all the time (and would work for your case): function dateFromString(s:String):Date { var yr:Number = Number(s.substr(0, 4)); var m:Number =

Re: [Flashcoders] MP3 Streaming Player check

2006-05-02 Thread Jonathan Berry
Thanks for the e-mail, Eric. Hey I just wanted to ask everyone to look at my code and tell me if there is anything that you can see that might be able to be optimised or changed. I have not used a streaming media source before and wanted to see if you think I am doing everything as best as

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread Michael K
I noticed it first when i was testing a tilebased game and noticed the low performance in a browser before sending it to the client. I started commenting out parts of the script and evtually removing all graphics. Still the same! I made a whole new BLANK document only containing the script

[Flashcoders] Focus Highlight with Components

2006-05-02 Thread John Giotta
Is there a way to remove the Focus highlight color on the Datagrid? No matter what I've tried I still get a green focus color. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] FileReference: get current path of file

2006-05-02 Thread Wade Arnold
When a user has selected a file for upload is it possible to get the entire path to the file from the FileReference class? I need to be able to send this onto the server. I am using PHP on the server for this application and it does not have a method that has the entire path only the name of the

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread David Skoglund
Thats my experience too, it doesn't matter what the flashfile does, what computer you run on and that you've closed down all other applications, the frame rate is still crippled. That sound sync trick sounds interesting, but does it really increase the framerate or does it only skip frames?

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread John Dowdell
Michael Kønig wrote: I guess I am just amazed that a swf looses so many frames per second, not from scripts or rendering graphics, but simply from being playing in a bowser. Its just a complet surprise I don't know if there's anything particularly different about this file running on that

Re: [Flashcoders] Can this be true? (is: framerate ABCs)

2006-05-02 Thread David Skoglund
Thats my experience too, it doesn't matter what the flashfile does, what computer you run on and that you've closed down all other applications, the frame rate is still crippled. That sound sync trick sounds interesting, but does it really increase the framerate or does it only skip frames?

Re: [Flashcoders] Date Object Problem

2006-05-02 Thread Bart Wttewaall
I'm not sure if it'll solve your problem, but you might want to check out Date.UTC var maryBirthday_date:Date = new Date(Date.UTC(1974, 7, 12)); trace(maryBirthday_date); I'm not sure what it does (something with universal time), since the documentation is quite cryptic, but perhaps it's

[Flashcoders] upload bitmap data web cam snapshot with php

2006-05-02 Thread flashcoders
hey. Does anyone know where i can find Robert M Halls example of taking a snapshot with a webcam and uploading it. Or another example? thanks smith ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Order of code execution - class files versus the root timeline- is this consistent

2006-05-02 Thread Manuel Saint-Victor
Okay thanks- That's good to know. On 5/2/06, Johannes Nel [EMAIL PROTECTED] wrote: best to wait a frame i would say, and with v2 components sometimes 2 frames. do an on enter frame on width for example and see what it says On 5/2/06, Manuel Saint-Victor [EMAIL PROTECTED] wrote: When code

Re: [Flashcoders] Shared font questions

2006-05-02 Thread erixtekila
Glad to hear you worked it out. Would you be willing to share your solution? Once finished, I'm definitely considering it. There's only one downside - it might not be good news for sharedfonts.com. Hep, there is no magic at all. Zarate also found a solution. I published also a solution that

Re: [Flashcoders] ActionScript 3.0 Cheatsheets!!

2006-05-02 Thread thotskee
I will try to get these converted to vector files soon. Thanks for the feedback!!! - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, May 02, 2006 8:38 AM Subject: RE: [Flashcoders] ActionScript 3.0

Re: [Flashcoders] Can this be true?

2006-05-02 Thread erixtekila
The code is very simple: setInterval(time, 1000); Is setInterval so accurate ? Is it frame based ? I know you can force it to upade with updateAfterEvent 10 time faster than framerate. Anyone know ? --- erixtekila http://blog.v-i-a.net/

Re: [Flashcoders] Shared font questions

2006-05-02 Thread Jon Bradley
On May 2, 2006, at 6:38 PM, erixtekila wrote: Hep, there is no magic at all. Zarate also found a solution. Of course - that's the solution Brody pointed out. The problem is that solution has problems that the shared fonts manager and a few other solutions do not. I published also a

Re: [Flashcoders] Can this be true?

2006-05-02 Thread f a r i d | s i l v a | a b o i d
I get 23/24/23/24/23/24 and finally only 24 -- SalU2 f a r i d | s i l v a | a b o i d www.e-foco.com.ar tel: +54 11 4115-0773 cel: 15-5774-8005 Moderador de Salas Dreamweaver y Programación Multimedia User Group Adobe Argentina http://www.mmug-ar.com.ar