Re: [Flashcoders] problem with combo box and array

2006-12-06 Thread Adrian Ionut Beschea
You could try something like this : var my_schema:Array = new Array(data,label); var my_data:Array = new Array(); var obj = new Object(); obj[my_schema[0]] = Some data; obj[my_schema[1]] = Some strings; my_data.addItem(obj); my_cb.dataProvider = my_data; Helmut Granda [EMAIL PROTECTED] wrote:

[Flashcoders] webservice delay

2006-12-06 Thread learner
Hello all, Is there any event which tells you that webservice call is in progress.. I want to show the processing animation in the time gap bwteen a call to webservice and the result from the webservice Regards PS ___ Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Orientation of dinamyc text

2006-12-06 Thread Raphael ...
Hi Charles, Vertical vs. Horizontal like this: M Y D I N A M Y C T E X T Charles Parcell [EMAIL PROTECTED] wrote: Do you mean as in AutoSize? or Rotation? or Reversing the strings characters? or Vertical vs. Horizontal? or Something else? Charles P. On 12/5/06, Raphael ... wrote:

RE: [Flashcoders] Orientation of dinamyc text

2006-12-06 Thread Danny Kodicek
Vertical vs. Horizontal like this: M Y D I N A M Y C T E X T How about: function horizontalToVertical(tString:String):String { return tString.split().join(newline) } Danny ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] webservice delay

2006-12-06 Thread Merrill, Jason
See Webservice.status in the help docs. You can also show the animation when the call is initiated, and then use WebService.onResult to hide the animation. Jason Merrill Bank of America Learning Organizational Effectiveness -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] Switch case problem...

2006-12-06 Thread José Maria Barros
Hello againwell i didnt solved it yet... See the website..to see what i mean..thank you. http://www.justbeloungelx.com And by the way i aprecciate your comment Jason Merril...its definitly with lots of redundancy...maybe i dont need to make objects fuse all the time..i have to check them

Re: [Flashcoders] image effects in Flash MX on Mac

2006-12-06 Thread nik crosina
time to upgrade soon then ;) thanks guys Nik On 12/6/06, Odie Bracy [EMAIL PROTECTED] wrote: Many of the photoshop filters work on Fireworks which is part of the Studio version of Flash. Also check out the Alienskin filters at www.alienskin.com for Fireworks. I use the Alienskin Fireworks

Re: [Flashcoders] webservice delay

2006-12-06 Thread learner
i tried ur suggestion but that did not work ! animation shows up sometimes and sometimes does not On 12/6/06, Merrill, Jason [EMAIL PROTECTED] wrote: See Webservice.status in the help docs. You can also show the animation when the call is initiated, and then use WebService.onResult to hide

Re: [Flashcoders] Book: Flash 8 reference?

2006-12-06 Thread dbenman
I've been using Oreilly's Safari service for many of these reference books to read them online instead of purchasing hard copies though several of these Actionscript books look like they'd make good bedtime reading. -- Original message -- From: Charles Parcell [EMAIL

Re: [Flashcoders] Book: Flash 8 reference?

2006-12-06 Thread Brad Harris
Essential Actionscript 2.0http://www.amazon.com/Essential-ActionScript-2-0-Colin-Moock/dp/0596006527/sr=8-1/qid=1165414913/ref=pd_bbs_sr_1/104-2703559-7628716?ie=UTF8s=booksnever leaves my desk. On 12/4/06, Micky Hulse [EMAIL PROTECTED] wrote: Hi, I hope all is well. ;) This book was a good

Re[2]: [Flashcoders] problem with combo box and array

2006-12-06 Thread Fratiman Vladut
Wednesday, December 6, 2006, 10:46:10 AM, you wrote: You could try something like this : var my_schema:Array = new Array(data,label); var my_data:Array = new Array(); var obj = new Object(); obj[my_schema[0]] = Some data; obj[my_schema[1]] = Some strings; my_data.addItem(obj);

RE: [Flashcoders] Switch case problem...

2006-12-06 Thread Keith Reinfeld
How are you setting the value of the linkName variable? -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of José Maria Barros Sent: Wednesday, December 06, 2006 6:54 AM To: Flashcoders mailing list Subject:

Re: [Flashcoders] Extracting file details

2006-12-06 Thread Helmut Granda
Thanks! I found that last night too and it is exactly what I was looking for. On 12/6/06, shang liang [EMAIL PROTECTED] wrote: http://www.phpclasses.org/browse/package/1653.html On 12/6/06, Helmut Granda [EMAIL PROTECTED] wrote: Maybe this is not the right list but I thought I would give it

Re: [Flashcoders] Switch case problem...

2006-12-06 Thread Stef X
Hi, Just put a gotoAndStop in your goFrame function instead of a gotoAndPlay and redo a Switch case to call the good janelaDestination like this : function goLink() { trace (linkName); _root.myClip.prin_mc.gotoAndStop(linkName); switch (linkName) { case fotos: {

RE: [Flashcoders] webservice delay

2006-12-06 Thread Merrill, Jason
i tried ur suggestion but that did not work ! You're not providing any source code to back up your claim or to give the intended impact of your exclaimation point. How are you starting the webservice? How are you telling the animation to display? How are you telling it to hide? I use the

[Flashcoders] V2 components too heavy

2006-12-06 Thread mudit tuli
I just made an application with V2 coponent and it turned out to be too heavy. A V2 combobox adds 40KB to my application(correct me if I am wrong here). I have tried using Mx components for Flash Mx 2004, but I found out that they don't generate an event but a callback though I have able to

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-06 Thread slangeberg
Regarding performance, FP9 is showing some nice 3D potential (for a 1-2meg VM): http://www.papervision3d.org/demos/seahorse/ However, not sure how much this will help you with a data visualization! -Scott On 12/5/06, Christian Giordano [EMAIL PROTECTED] wrote: If you really want to get

[Flashcoders] Re: V2 components too heavy

2006-12-06 Thread John Olson
http://www.osflash.org/components Mudit -- check out this OSFlash page on the various components out there. There is also a good page on Patrick Mineault's page that talks about several of the component sets. http://www.5etdemi.com/blog/archives/2005/10/battle-of-the-component-sets/ From

[Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Marc Hoffman
I am having trouble getting Flash to embed a font that is designated by CSS. In Flash: - I create a textfield, create a loadVars and a StyleSheet, load the CSS into the StyleSheet, and designate the style sheet as the style for the text field. I then load text into the textfield (currently

Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Jim Kremens
Just checking for gotchas... Are you loading text into a textfield on the stage, or creating the field dynamically? Either way, set myTextField.embedFonts = true; if you haven't already... Jim Kremens On 12/6/06, Marc Hoffman [EMAIL PROTECTED] wrote: I am having trouble getting Flash to

[Flashcoders] File-name operand bug workaround

2006-12-06 Thread Mick G
Does anyone know of a work-around to this bug: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833 I'm getting javascript errors in IE using externalInterface and SWF file names that have a hyphen in them. Unfortunately I'm working with a content management system that renames SWF's

Re: [Flashcoders] File-name operand bug workaround

2006-12-06 Thread T. Michael Keesey
Well, one idea that comes to mind is that you could escape the filename (using the escape() function) before sending it through ExternalInterface, and then unescape it in JavaScript. Hyphens do not get converted by ActionScript's escape() function, but you can force it like so:

RE: [Flashcoders] V2 components too heavy

2006-12-06 Thread Steven Sacks | BLITZ
Check out the ghostwire components. http://www.ghostwire.com They're AS1 but they work in Flash 7 and 8 alongside AS2. They're extremely lightweight and follow the Macromedia standard methods like setDataProvider(), etc. If you want events generated, code it yourself. It's easy: import

RE: [Flashcoders] webservice delay

2006-12-06 Thread Steven Sacks | BLITZ
i tried ur suggestion but that did not work ! RTFM ! ___ 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

[Flashcoders] ActionScript Jobs

2006-12-06 Thread Julian Rondini
We are hiring Flash Coders. If interested, please send your CV and samples of your work to [EMAIL PROTECTED] Kindest regards Julian Rondini, R.G.D.|Senior Developer MacroBLU Online Media Inc. | www.macroblu.com Toronto +1.416.927.0432| Milan +39.02.320624728 | F 416.929.0043 DISCLAIMER:

Re: [Flashcoders] V2 components too heavy

2006-12-06 Thread Marcelo de Moraes Serpa
Don't use v2 components. They're indeed tooo heavy and clumsy. Just create your smart-clips or use ASWing, for example. On 12/6/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Check out the ghostwire components. http://www.ghostwire.com They're AS1 but they work in Flash 7 and 8 alongside

Re: [Flashcoders] File-name operand bug workaround

2006-12-06 Thread Mick G
This bug is actually more weird than you would think - it's not the passing of a string with a hypen that is causing the problem - it's simply a SWF with a hyphen calling any externalInterface call. Try this test: create a new Flash file - make sure you name it with a hypen in it eg. test-1.swf

Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Marc Hoffman
Well, one question leads to another :) First, thank you Jim -- I had avoided embedFonts thinking it would embed the entire character set, but according to the Size Report it embeds only those characters I embed in the dummy text fields. So now it's working fine. And now my next question: Is

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-06 Thread Christian Giordano
slangeberg wrote: Regarding performance, FP9 is showing some nice 3D potential (for a 1-2meg VM): http://www.papervision3d.org/demos/seahorse/ Papervision is for Flash 8 and as far as i know, in terms of graphics, the performance between AS2 + FP8 and AS3 + FP9 are almost the same. Then of

RE: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-06 Thread Merrill, Jason
That rocks. I'm blown away. I wonder if Adobe is working 3D into Flash IDE 9. Microsoft just released WPF/E and Expression Blend will be available for purchase in Q2 2007 - the Flash competitor that does 3D. I wonder if the Flash 9 IDE will be available before - say Q1 2007... Jason Merrill

Re: [Flashcoders] Extracting file details

2006-12-06 Thread Helmut Granda
I just found out that the file size that the class outputs is not the same filesize that the file size is represented on my computer. Here are some samples: CS= Computer Size - SS= Site Size - DIFF= Difference CS: SS: DIFF: 36319 53152 16833 35796 51460 15664 37613 53685

Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Jim Kremens
You can do this. I don't have time to do even pseudocode, but Once you've loaded a sylesheet from a file, you can modify it. Therefore, you can build a function to: 1. Modify a property of your styleSheet object. 2. Broadcast notification that it has been modified to all interested text

Re[2]: [Flashcoders] Extracting file details

2006-12-06 Thread R�kos Attila
HG I just found out that the file size that the class outputs is not the same HG filesize that the file size is represented on my computer. The reported size is the size of the uncompressed swf (compression exists since Flash 6 and it is the default option), similar to the value returned by

RE: [Flashcoders] Extracting file details

2006-12-06 Thread Ryan Potter
I have run into something similar trying to create a multiple file preloader. What I finally had to do was to trace out the files as they were preloading and then put them back into an array (manually) to use as a total. My computer was giving the wrong value under file properties. Try

Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Marc Hoffman
Thanks, Jim. I appreciate your help. Your post makes sense to me and I'll play with modifying the styleSheet object. If anyone has examples of this, it would probably save me a couple of hours experimenting. Thanks all, Marc At 11:24 AM 12/6/2006, you wrote: You can do this. I don't have

[Flashcoders] Compare Decimal Point Value?

2006-12-06 Thread Doug Coning
I'm scratching my head over this. Not sure what I'm doing wrong? I need to compare a decimal value of a numeric field to see if it contains a specific value of 0.3. Here is some sample code: var num:Number = 2.3; var num2:Number = num - int(num); var num3:Number = 0.3; trace(num); //

Re: [Flashcoders] File-name operand bug workaround

2006-12-06 Thread T. Michael Keesey
On 12/6/06, Mick G [EMAIL PROTECTED] wrote: This bug is actually more weird than you would think - it's not the passing of a string with a hypen that is causing the problem - it's simply a SWF with a hyphen calling any externalInterface call. Whoops, I guess I should have read the TechNote

Re: [Flashcoders] Compare Decimal Point Value?

2006-12-06 Thread T. Michael Keesey
In Flash 9, I get this for the traces: 2.3 0.2998 0.3 false false true Good old-fashioned floating point precision error. Instead of testing if they are equal, You could test if the difference between them is very small, e.g.: trace(Math.abs(num2 - num3) 0.1); // true On

[Flashcoders] problem with function access into class

2006-12-06 Thread Fratiman Vladut
Hi! I have this class: class LoadVars2 extends LoadVars { function LoadVars2() { super(); } function populate(){ ... my_xml.onLoad = function(){ //code for test }

RE: [Flashcoders] Compare Decimal Point Value?

2006-12-06 Thread Doug Coning
Is there a better way to get the decimal value if flash is returning .299? The decimal value will always be either .1, .2 or .3. It will not exceed that. I just need to test for a .3 value. Any ideas? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

RE: [Flashcoders] Compare Decimal Point Value?

2006-12-06 Thread Steven Sacks | BLITZ
Have you tried casting them as Strings and comparing those? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of T. Michael Keesey Sent: Wednesday, December 06, 2006 12:23 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Compare Decimal

RE: [Flashcoders] Compare Decimal Point Value?

2006-12-06 Thread Steven Sacks | BLITZ
Math.round(myNum * 10); :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Coning Sent: Wednesday, December 06, 2006 12:32 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Compare Decimal Point Value? Is there a better way

RE: [Flashcoders] Compare Decimal Point Value?

2006-12-06 Thread Doug Coning
Yeah, I tried Math.round, but the floating point issue remains. Math.round does remove the decimal values, but will round it. That's why I was using Math.floor. In other languages that I've worked with, abs or absolute actually returns the whole number and truncates the decimal value. I wished

[Flashcoders] Re: Flashcoders Digest, Vol 23, Issue 13

2006-12-06 Thread John Olson
Another way to tackle it as well is to split it and compare the 2nd element of the split array. var num:Number = 2.3; var split:Array = String(num).split(.); trace(3 == split[1]); On 12/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Message: 21 Date: Wed, 6 Dec 2006 12:22:43 -0800 From:

RE: [Flashcoders] Re: Flashcoders Digest, Vol 23, Issue 13

2006-12-06 Thread Doug Coning
Excellent suggestion. Didn't think about splitting into an array. Good idea. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Olson Sent: Wednesday, December 06, 2006 3:48 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Re:

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-06 Thread eric dolecki
I'm not too keen on seeing 3D interfaces and spinning/whirling items anytime soon. That includes product items for the most part too. - e. On 12/6/06, Merrill, Jason [EMAIL PROTECTED] wrote: That rocks. I'm blown away. I wonder if Adobe is working 3D into Flash IDE 9. Microsoft just

RE: [Flashcoders] Re: Flashcoders Digest, Vol 23, Issue 13

2006-12-06 Thread Steven Sacks | BLITZ
Yup, there are all kinds of things you can do if you cast it as a String. As far as the rounding thing goes, you want it to round. 0.2999 is supposed to be 0.3 If you multiply 0.29 by 10, you get 2.9. You round it you get 3. You divide by 10 you get .3. myNum = Math.round(myNum *

Re: [Flashcoders] problem with function access into class

2006-12-06 Thread eka
Hello :) Your code is cut ??? where is the declaration of the xml etc ? You can try to use mx.utils.Delegate to create a proxy between the onLoad event of the reference and a method in your class with the scope of the current instance : import mx.utils.Delegate ; class Loader { /** *

Re: [Flashcoders] Compare Decimal Point Value?

2006-12-06 Thread T. Michael Keesey
Couple of ways. Round to the nearest tenth. Math.round(num * 10) / 10 Direct test for 3 in the tenths place: Math.round(num * 10) % 10 == 3 On 12/6/06, Doug Coning [EMAIL PROTECTED] wrote: Is there a better way to get the decimal value if flash is returning .299? The decimal value will

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-06 Thread slangeberg
No, she be AS3. That be why she so fast!: http://blog.papervision3d.org/2006/12/04/papervision3d-as3-demo/ -Scott On 12/6/06, Christian Giordano [EMAIL PROTECTED] wrote: slangeberg wrote: Regarding performance, FP9 is showing some nice 3D potential (for a 1-2meg VM):

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-06 Thread slangeberg
WPF/E will NOT have 3D support. At least not for a while. It's supposed to be cross-platform, so hardware acceleration would be problematic. At this time, as far as I'm aware, WPF only supports 3D on the Windows desktop. Scott On 12/6/06, Merrill, Jason [EMAIL PROTECTED] wrote: That rocks.

[Flashcoders] Remoting Problems

2006-12-06 Thread Jeff Thompson
Has anyone had problems with remoting working on some machines but not others? I had friends pull up the site (http://carolinaradiology.com) in different cities and it worked on some but not others. The site worked fine during testing but when I pointed the DNS I started having problems. I had to

Re: [Flashcoders] Compare Decimal Point Value?

2006-12-06 Thread Yehia Shouman
Math.round(num)*10 ==3 should work On 12/6/06, T. Michael Keesey [EMAIL PROTECTED] wrote: Couple of ways. Round to the nearest tenth. Math.round(num * 10) / 10 Direct test for 3 in the tenths place: Math.round(num * 10) % 10 == 3 On 12/6/06, Doug Coning [EMAIL PROTECTED] wrote: Is there a

Re: [Flashcoders] Remoting Problems

2006-12-06 Thread Yehia Shouman
http://livedocs.macromedia.com/flashremoting/mx2004/actionscript_api_reference/mx/remoting/debug/NetDebug.html On 12/6/06, Jeff Thompson [EMAIL PROTECTED] wrote: Has anyone had problems with remoting working on some machines but not others? I had friends pull up the site

[Flashcoders] Class seemingly left out of compile

2006-12-06 Thread Matthew Ganz
hi. it appears that one of my classes that i've been updating in eclipse is not being included in the compile i do from the flash IDE. both IDEs point to the same project folder. has anyone experienced this before? i'm a little at a loss. thanks. -- matt.

RE: [Flashcoders] Remoting Problems

2006-12-06 Thread Robert Chyko
Does it make a difference if you preface the domain with www? www.carolinaradiology.com vs carolinaradiology.com You could run into problems that way if you are using a crossdomain.xml file I believe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] Remoting Problems

2006-12-06 Thread Robert Chyko
Didn't scroll down and see that you had sample code... I'd bet money that it is because you don't have www in your gatway URL. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Thompson Sent: Wednesday, December 06, 2006 4:50 PM To:

[Flashcoders] Blaze PDF jpeg import

2006-12-06 Thread Bo Parker
I have a movie clip on stage that is loading in content. I am then taking a screenshot of the movie clip using the Bitmap Class and am curious how to get the screen capture into blazePDF. I have tried their forum to no avail and was curious if anyone here and tinkered with version 2.0 and

Re: [Flashcoders] Remoting Problems

2006-12-06 Thread Jeff Thompson
Thanks for the quick responses. It was the www thing. What a brain fart. On 12/6/06 5:18 PM, Robert Chyko [EMAIL PROTECTED] wrote: Does it make a difference if you preface the domain with www? www.carolinaradiology.com vs carolinaradiology.com You could run into problems that way if you

Re: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-06 Thread Dave Wood
I'm not too keen on seeing 3D interfaces and spinning/whirling items anytime soon. That includes product items for the most part too. No problem. Don't look:) David ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

[Flashcoders] :: anyone passed flash 8 certification exam?::

2006-12-06 Thread Orindom Dhar
Hello, Has anyone out there,cleared the flash 8 professional certification exam. If yes, could you please give some advice on how to prepare for it. Unlike previous flash certifications, in flash 8 they have combined the designer and developer and made it as one,its ridiculous! As a

RE: [Flashcoders] Class seemingly left out of compile

2006-12-06 Thread Trevor Burton
Have you tried clearing the ASO cache? (under Control menu in the Flash IDE) Sure you have, Just a thought. T -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz Sent: 06 December 2006 22:15 To: Flashcoders mailing list Subject: [Flashcoders]

RE: [Flashcoders] Q: Performance of AS3 vs Java

2006-12-06 Thread Trevor Burton
I'm with you there, brother, 3D is useful for games, though. T -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: 06 December 2006 20:58 To: Flashcoders mailing list Subject: Re: [Flashcoders] Q: Performance of AS3 vs Java I'm not too

[Flashcoders] Does it possibly that embed some custom characters in one font and shared it

2006-12-06 Thread hbbalfred
i want to embed a font without whole of characters. i tried to do that. the first,i created a textField with my font then embed some characters in textField by AutoFill in A.fla and publish it. next that create the New Font which named MyFont in library in B.fla, select the import running time

[Flashcoders] loading external files with a mac projector on cd-rom

2006-12-06 Thread Bill Abel
I'm loading some JPEGs into a movieclip using a projector. When I burn the files to disc, it works fine in Windows, but my Mac projector can't find the JPEGs. myClip.loadMovie(path+slide+.jpg); I tried adding in _url to the path, but that didn't solve the problem. I don't think I need