Re: [Flashcoders] Dynamic FontField issue when tweening

2007-03-09 Thread Omar Fouad
u can rewrite the same text after resizing the field as in: after resize. myDynamicTF = "my text here"; i didnt try it but it should work On 3/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Please, Does anybody knows a workaround to prevent the 'words messy between lines' when res

Re: [Flashcoders] test

2007-03-09 Thread Omar Fouad
Test Again On 3/9/07, Dennis Landi <[EMAIL PROTECTED]> wrote: test ___ 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

Re: [Flashcoders] com.gousable.SWF_Protector class

2007-03-09 Thread Omar Fouad
LOL On 3/8/07, Carter, Dan <[EMAIL PROTECTED]> wrote: WHY OH WHY AM I STILL RECEIVING MESSAGES FROM THIS LIST!! I UNSUBSCRIBED SEVERAL TIMES AND STILL NO LUCK. WHY DOES THE MODERATOR IGNORE MY EMAILS?? -Original Message- From: Gregory N [mailto:[EMAIL PROTECTED] Sent: 08 March 2007

Re: [Flashcoders] Bitmaps and Security

2007-03-09 Thread Omar Fouad
i had that Porblem too... I solved it by copying the bitmap data to an empty movieClip when the onLoadInit() (and not onLoadComplete!!) handler invokes, this means u'll have to load the movieClip with the MovieClipLoader object. even working Offline, the draw() method wouldn't work as the MovieCli

Re: [Flashcoders] AS3 parseFloat issue?

2007-03-09 Thread Ron Wheeler
elibol wrote: Hmm, I understand how the first operand does not represent the parsed string in: trace(6.30e+51 == 6.3e+51); And how what trace prints is just the string representation of the number... I guess the point of the final experiment is that the solution is to parse

Re: [Flashcoders] AS3 parseFloat issue?

2007-03-09 Thread Ron Wheeler
elibol wrote: I stated the origin of the number and what I want to do with it. The number is derived from a string using parseFloat, and it simply needs to serve its purpose as an operand in an expression. The relevant point of this discussion is that a hard coded assignment of 6.3e+51 to a

Re: [Flashcoders] Bitmaps and Security

2007-03-09 Thread Muzak
In Flash 8 you can add: System.security.allowDomain("www.domain.com"); to your Flash app that does the loading. For the flash 9 player, you'll need a cross domain policy file. regards, Muzak - Original Message - From: "Patrick Lemiuex" <[EMAIL PROTECTED]> To: Sent: Friday, January 19,

Re: [Flashcoders] Calling Captivate variables from Flash.

2007-03-09 Thread Alain Rousseau
You should go to the following sites : http://www.adobe.com/cfusion/webforums/forum/index.cfm?NoCookies=Yes http://www.raisingaimee.co.uk/index.php?option=com_content&task=view&id=27&Itemid=29 There you will find more answers to Captivate ! Good Luck ! Alain yuvarajm wrote: Hi, Thanks for

[Flashcoders] Q:input textfield woes setting maximum lines

2007-03-09 Thread moveup
Hi I have input text fields in some 'speech bubbles' for an application I am building I can set the maximum number of characters, but what I really need is to be able to set the maximum number of lines so that hitting return NEVER causes text to disappear. So far , not the best solution has be

Re: [Flashcoders] Bitmaps and Security

2007-03-09 Thread Patrick Lemiuex
This is driving me absolutely nuts, hats off to the flash engineers who have outdone themselves.. with bitmap security. Not like any image can't be photoshop print screened right off the web and filtered in photoshop, some security risk, eh crap total crap I say. 1. Copying a bitmap from

Re: [Flashcoders] Updating old source

2007-03-09 Thread David Cohn
Glen, Thanks, this does help... although I'm still hoping against hope for a better way to get this .fla source updated! Anyone have any experience with updating old .fla source? Has it always just gone smoothly?! Thanks again, --Dave From: Glen Pike <[EMAIL PROTECTED]> Hi,

Re: [Flashcoders] AS3 parseFloat issue?

2007-03-09 Thread elibol
Hmm, I understand how the first operand does not represent the parsed string in: trace(6.30e+51 == 6.3e+51); And how what trace prints is just the string representation of the number... I guess the point of the final experiment is that the solution is to parse the float without the

Re: [Flashcoders] Updating old source

2007-03-09 Thread Glen Pike
Hi, Both are pretty good but leave you some work to do in that all the exported symbols are named programmatically and not as your original FLA. ASV exports a JSFL file and a load of AS and FLA files. To rebuild your FLA, you need to run the JSFL. Flash Decompiler is simpler and it s

Re: [Flashcoders] Typing a variable instantiated from a loaded SWF

2007-03-09 Thread John laPlante
Excellent answer. I was lax on specifying packages for my classes. Once I did that, I used an import statement for the data class and I was good to go. Thanks so much. import CommLogging.ContextMessageTransferData; var theDataObj:ContextMessageTransferData = LoggingLibrary_mc.LogClass.createC

Re: [Flashcoders] AS3 parseFloat issue?

2007-03-09 Thread Andy Herrman
Oh, and this: parseFloat(n2Split[0]) also adds errors. The number (6.3) probably can't be accurately represented in float/double format, so it's not quite 6.3 (it might be 6.3005123412, for example). So, when you then multiply it by the power of 10 it won't be the same as when it w

Re: [Flashcoders] AS3 parseFloat issue?

2007-03-09 Thread Andy Herrman
I think the problem here is that this: var n2:Number = parseFloat(n2Split[0])*Math.pow(10, parseInt(n2Split[1])); is not the same as doing the math. When you define it as a string the code will convert the number directly, trying to get as close as it can to the value. However, in the code you

[Flashcoders] Re: gotoAndStop problems with swfmill

2007-03-09 Thread Andy Herrman
I think I found the difference. Using swfmill's swf2xml mode and looking at the differences between the swfmill SWF and the Flash IDE SWF I see this: The tags in the swmfill SWF have the 'replace' value set to 0, while in the IDE's SWF the 'replace' value is set to 1. I'm guessing if I can mak

Re: [Flashcoders] AS3 parseFloat issue?

2007-03-09 Thread elibol
I stated the origin of the number and what I want to do with it. The number is derived from a string using parseFloat, and it simply needs to serve its purpose as an operand in an expression. The relevant point of this discussion is that a hard coded assignment of 6.3e+51 to a Number yields diffe

Re: [Flashcoders] Flash training suggestions

2007-03-09 Thread Ron Wheeler
There is less to ActionScript than one might suspect. Reading the API (either in the Macromedia textbooks or the docs) is probably more help than a course for an experienced person. None of the stuff is particularly magical and knowing what Objects and methods are available is the biggest chal

Re: [Flashcoders] AS3 parseFloat issue?

2007-03-09 Thread Ron Wheeler
If you really have a number with 52 decimal digits of precision required, you can not store it in a double. I believe that a double is only good for about 16-17 digits. What is the origin of such a number and what do you want to do with it? You will have to write all of your own arithmetic or f

[Flashcoders] gotoAndStop problems with swfmill

2007-03-09 Thread Andy Herrman
I'm having a weird problem with using gotoAndStop/gotoAndPlay when using an SWF output by swfmill. I'm trying to implement a class that uses movie clips created in swfmill as button states. The SWF generated by swfmill will contain a clip for each button, which contains 4 frames, one for each bu

RE: [Flashcoders] How to set the hand cursor on the datagrid

2007-03-09 Thread Merrill, Jason
>>useHandCursor determines whether the hand cursor is used when >>a movieclip is fitted with interactive handlers (onPress/onRelease). Right, so you tell a mc in the cellRenderer which has a text area or whatever and also has onPress or onRelease handlers assigned (with no action): myMCinCellRe

Re: [Flashcoders] Flash training suggestions

2007-03-09 Thread Andy Herrman
Oh, I completely agree about staying away from timeline actionscript. The first little flash app I did (just a small test app) used the timeline cause I didn't know any better, but I very quickly realized that was the wrong way to go. :) So, the book looks like it's one of the many "explaining De

Re: [Flashcoders] Creative Suite 3 To Be Announced 3/27

2007-03-09 Thread elibol
I heard that CS3 may include Flash... On 3/9/07, Ian Thomas <[EMAIL PROTECTED]> wrote: On 3/9/07, Ian Thomas <[EMAIL PROTECTED]> wrote: > Might be this (from the Photoshop CS3 Extended blurb linked off the home page): > "New to the Photoshop family, Adobe Photoshop CS3 Extended delivers > ever

Re: [Flashcoders] How to set the hand cursor on the datagrid

2007-03-09 Thread elibol
useHandCursor determines whether the hand cursor is used when a movieclip is fitted with interactive handlers (onPress/onRelease). On 3/9/07, Merrill, Jason <[EMAIL PROTECTED]> wrote: >>How do I set the hand cursor when mousing over records in a >>datagrid (AS2 V2)? >> >>I've tried setting useH

Re: [Flashcoders] Extending buttons interface

2007-03-09 Thread elibol
instanceof matches an objects primitive type in as1 and as2. I believe you can do this by adding a method to the Button.prototype object. Button.prototype.somefunc = function(){ trace("hi"); } and from a button instance, you make invoke buttonInstance.somefunc(); //hi On 3/9/07, strk <[EMAIL

Re: [Flashcoders] DisplacementMap -> Mode 7 (perspective distortion)

2007-03-09 Thread Henry Cooke
Thanks Hans, that's some really useful info on DisplacementMap - I always find it tricky getting my head around it ;) Agreed that if I was doing this *properly*, Papervision would be the way to go, but I'm doing a simple 2-and-a-bit-d side-scrolling game with a bit of parallax, it seems that Pape

Re: [Flashcoders] Creative Suite 3 To Be Announced 3/27

2007-03-09 Thread Ian Thomas
On 3/9/07, Ian Thomas <[EMAIL PROTECTED]> wrote: Might be this (from the Photoshop CS3 Extended blurb linked off the home page): "New to the Photoshop family, Adobe Photoshop CS3 Extended delivers everything in Photoshop CS3 and more. Render and incorporate 3D images into your 2D composites. Sto

Re: [Flashcoders] Creative Suite 3 To Be Announced 3/27

2007-03-09 Thread Ian Thomas
On 3/9/07, Merrill, Jason <[EMAIL PROTECTED]> wrote: Hadn't seen it mentioned here yet. March 27th: http://www.adobe.com/products/creativesuite/launchevent/ I wonder what "to think in multiple dimensions" meanscould it be? Might be this (from the Photoshop CS3 Extended blurb linked off t

Re: [Flashcoders] AS3 parseFloat issue?

2007-03-09 Thread elibol
Thank you Jim. To clarify the problem we are discussing, when a string is parsed into a number, and the string is representing a very large number, the number does not yield the expected results when used in an operation. This is demonstrated in the first modulo experiment. This issue does not ex

[Flashcoders] Creative Suite 3 To Be Announced 3/27

2007-03-09 Thread Merrill, Jason
Hadn't seen it mentioned here yet. March 27th: http://www.adobe.com/products/creativesuite/launchevent/ I wonder what "to think in multiple dimensions" meanscould it be? Jason Merrill Bank of America Global Technology & Operations Learning & Leadership Development eTools & Multimedia Tea

Re: [Flashcoders] DisplacementMap -> Mode 7 (perspective distortion)

2007-03-09 Thread Hans Wichman
Hi, I posted some info on my blog about using photoshop/3d software to get the effect you want. I don't know if displacement maps are the way to go though, seems papervision3d might be of more help to you. Anywayz for more info on getting specific displacements, you can take a look here: http://ob

[Flashcoders] Extending buttons interface

2007-03-09 Thread strk
Is there a way to attach a method to all existing button instances ? It seems that button instances are NOT instaceof Button ... At least NOT for SWF6 . --strk; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archi

[Flashcoders] DisplacementMap -> Mode 7 (perspective distortion)

2007-03-09 Thread Henry Cooke
'lo all Apologies if this is an old topic, but I can't find anything in the Flashcoders archives, and Google just throws up some gnomic "it's possible" blog comments without any actual hints on *how* it's possible... I'm attempting to perspective distort a bitmap to use as a floor in a parallax

Re: [Flashcoders] Flash training suggestions

2007-03-09 Thread Ron Wheeler
If you are looking to improve your application development skills, invest in this book. I have been heavily involved in ActionScript for the last 6 years and programming for more than 30. This showed me a lot of really useful ways to improve the way applications are constructed. Much more import

RE: [Flashcoders] How to read variables from file into an array.

2007-03-09 Thread Merrill, Jason
>>The links you sent me only >>confirm my argument that XML >>is much easier to setup and use >>than XML in Flash. Ooops. What I meant to type was: >>The links you sent me only >>confirm my argument that XML >>is much easier to setup and use >>than JSON in Flash. Jason Merrill Bank of Ameri

RE: [Flashcoders] How to read variables from file into an array.

2007-03-09 Thread Merrill, Jason
>>false ... JSON is more fast than XML in ActionScript ;) I didn't say ANYTHING about speed did I? "IMO it would take a lot more work using JSON in Flash than XML" - I discussed ease of implementation/use. The links you sent me only confirm my argument that XML is much easier to setup and us

[Flashcoders] Flash training suggestions

2007-03-09 Thread Andy Herrman
Weird, my e-mails keep bouncing for this thread. Let's try again: Actionscripting knowledge is about all I do have. I've been working on a fairly complex Flash application for the past 6 months or so (our Flash developer quit and it landed on me), so I've picked up a lot of the programming stuf

Re: [Flashcoders] How to read variables from file into an array.

2007-03-09 Thread eka
Hello :) false ... JSON is more fast than XML in ActionScript ;) You can use JSON or EDEN : In my OpenSource framework (VEGAS) you can find JSON and EDEN implementation ... more speed, and keep the type of the properties (in xml you must check the string and transform the type after the parsing

RE: [Flashcoders] How to set the hand cursor on the datagrid

2007-03-09 Thread Merrill, Jason
>>How do I set the hand cursor when mousing over records in a >>datagrid (AS2 V2)? >> >>I've tried setting useHandCursor = true, but that didn't work. >> >>How do I do it? You might try a CellRenderer for each item, and put code in your CellRenderer class (or movieClip) to modify the cursor. Jas

RE: [Flashcoders] How to read variables from file into an array.

2007-03-09 Thread Merrill, Jason
>>Why not using JSON? I haven't used it yet but this seems like >>a good opportunity from the examples I've studied. Because JSON is Javascript and more suited for AJAX applications - IMO it would take a lot more work using JSON in Flash than XML to get it working in Flash while achieving the sam

[Flashcoders] Calling Captivate variables from Flash.

2007-03-09 Thread yuvarajm
Hi, Thanks for the help. I tried xray but it didn't work. I don't have any .fla files I have only swf. Through Captivate I tried exporting the files to flash 2004 or flash 8 (so as to get the .fla's) but it is giving me error. My Basic problem is that I a have some demo created in captivate follo

[Flashcoders] MovieClipLoader greens out loading images crossdomain

2007-03-09 Thread jason vancleave
I am using the MovieClipLoader to pull some images from another domain that has a higher bandwidth limit. When using the crossdomain server the images show up as a solid green box. Small images from the same directory load fine cross domain. The same images load fine when loaded from the same d

[Flashcoders] test

2007-03-09 Thread Dennis Landi
test ___ 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://

RE: [Flashcoders] os detection

2007-03-09 Thread Hairy Dog Digital
> is there a way to detect a users os within flash? we are > working on some things what i will need to isolate osx > users etc. myString = System.capabilities.os; ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search th

RE: [Flashcoders] Flash training suggestions

2007-03-09 Thread Robert Bilderbach
Might take a look at the lynda.com, may get you enough to get up to speed for the other class and you can pick what your looking for. GBY, -R -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Herrman Sent: Friday, March 09, 2007 2:44 AM To: flashcoders@

[Flashcoders] os detection

2007-03-09 Thread :: joshua
hey all. is there a way to detect a users os within flash? we are working on some things what i will need to isolate osx users etc. much appreciated in advance. cheers. joshua forstot ___ Flashcoders@chattyfig.figleaf.com To change your subscripti