Re: [Flashcoders] Image in dynamic text field

2008-05-28 Thread Rajiv Seth (Pixelated)
XML is like: imageshow image path=images/home1.jpg url=www.google.com data=The Department of Education has several options for youth aged between 16 to 21 who are either not attending school or are at risk of droppinglt;img id='arrow' src='arrow' /gt; / /imageshow Actually I want this arrow

Re: [Flashcoders] Ideas for a Fill in the gaps activity

2008-05-28 Thread [EMAIL PROTECTED]
Piers, I thank you kindly. In fact, I fall humbly to my knees and offer you my first-born goat. A rough draft of your idea can be seen here: http://snipurl.com/2azzy-meep There was a concern regarding large chunks of (non-editable) text dropping to the next line, so I've temporarily gotten

Re: [Flashcoders] Flash Player security hole

2008-05-28 Thread Gerrit Grobbelaar
The UPDATE section here: http://www.securityfocus.com/bid/29386/exploit states that website hacks let the pages forward to the malicious Flash files. So unless you haven't compiled a malicious SWF yourself (which I'm not up to speed yet how to do) you are only vulnerable if your site is

Re: [Flashcoders] Flash Player security hole

2008-05-28 Thread Peter B
you are only vulnerable if your site is hackable No no - you are vulnerable if you *visit* a site that has been hacked. 2008/5/28 Gerrit Grobbelaar [EMAIL PROTECTED]: The UPDATE section here: http://www.securityfocus.com/bid/29386/exploit states that website hacks let the pages forward to

Re: [Flashcoders] Dynamically loaded Image in textfield - AS3

2008-05-28 Thread Rajiv Seth (Pixelated)
Hi, I am also facing the similar problem. In my case image is in the end of the text. I want the image to be displayed in the same line of text, but it is showing with a line break. Though this left margin issue can be resolved providing hspace in image tag. Default value of hspace is 8. If you

[Flashcoders] Dynamically loaded Image in textfield - AS3

2008-05-28 Thread Vayu Robins
Hi. I am loading some dynamically html text into a textfield. There is an image in the text. The problem is that the image is aligned maybe 5-6 px away from the right, whereas the text isnt. Its as if there is a left margin or apadding on the image. Furthermore, is there a way of not having

Re: [Flashcoders] Flash Player security hole

2008-05-28 Thread Gerrit Grobbelaar
No no - you are vulnerable if you *visit* a site that has been hacked. lol, of course, obviously that too, I wasn't paying attention there for a moment. Good think you pointed that out :) Thanks, Gerrit -Original Message- From: Peter B [EMAIL PROTECTED] Sent: Wednesday 28 May 2008

Re: [Flashcoders] Dynamically loaded Image in textfield - AS3

2008-05-28 Thread Vayu Robins
HI Rajiv. I have tried setting the hspace, but it doesnt solve the problem. There are a few letters that insist on creeping up along side the image. Thanks anyway for the suggestion. Vayu On 5/28/08 1:12 PM, Rajiv Seth (Pixelated) [EMAIL PROTECTED] wrote: Hi, I am also facing the

Re: [Flashcoders] Image in dynamic text field

2008-05-28 Thread Gerry Creighton
Try concatenating the html text and the image if you want the image inline. By your code snippet I'm assuming that you are setting the text in the field then setting the image which is why you get a line break after the data. Try this... ie. movTxt.imageData.htmlText =

[Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Matt S.
So I tried to the do the following: var rectangle:Rectangle = new Rectangle(0,0,[EMAIL PROTECTED],[EMAIL PROTECTED]); if(cS.height rectangle.height){ rectangle.height = cS.height; rectangle.scaleX = rectangle.scaleY; } But it gives me the following error: 1119: Access of

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Sidney de Koning
Hi Matt, Try casting it to the XML data to a Number. Because XML data is a String. Like so: var rectangle:Rectangle = new Rectangle (0,0,Number([EMAIL PROTECTED]),Number([EMAIL PROTECTED])); Hope This helps. Sid On May 28, 2008, at 4:43 PM, Matt S. wrote: So I tried to the do the

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Viktor Hesselbom
Hi Matt, It's quite obvious that Rectangle doesn't have scaleX and scaleY. Why would you need it for the Rectangle class anyway? What use for it could you possible have? / Viktor H On Wed, 28 May 2008 16:43:04 +0200, Matt S. [EMAIL PROTECTED] wrote: So I tried to the do the following: var

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Matt S.
Hmm, that didnt help. It seems to be recognizing it as a number, and I can set the Width and Height of Rectangle, but when I try to set the scaleX and scaleY is when I get the error message. .m On Wed, May 28, 2008 at 10:56 AM, Sidney de Koning [EMAIL PROTECTED] wrote: Hi Matt, Try casting it

[Flashcoders] Understanding Error 2036

2008-05-28 Thread Helmut Granda
Hi All, I am trying to understand Error 2036 [IOErrorEvent type=ioError bubbles=false cancelable=false eventPhase=2 text=Error #2036: Load Never Completed. URL: file:url] When I test in Flash IDE I am able to see the error noted above in the Flash Log but it does not show in the Tracer

Re: [Flashcoders] Re: Assets quality Question.

2008-05-28 Thread Omar Fouad
What do you mean by Crisp. On 5/27/08, leolea [EMAIL PROTECTED] wrote: Make sure your graphics are on full pixels. Not ony the graphics, but also their containers and the containers of their containers, and so on. ex: You have navMc.pixelButtonMc ( pixelButtonMc is contained in navMc )

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Ricky Bacon
Matt S. wrote: So I tried to the do the following: var rectangle:Rectangle = new Rectangle(0,0,[EMAIL PROTECTED],[EMAIL PROTECTED]); if(cS.height rectangle.height){ rectangle.height = cS.height; rectangle.scaleX = rectangle.scaleY; } But it gives me the following error: 1119:

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Helmut Granda
If you take a look at the Rectangle public properties scaleX and scaleY is not listed: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/geom/Rectangle.html#propertySummary Maybe you can wrap the rectangle with a sprite and then you can scaleX and scaleY ..helmut On Wed, May 28,

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Helmut Granda
to add to Sid's comments From the docs: *Note:* The Rectangle class does not define a rectangular Shape display object. To draw a rectangular Shape object onscreen, use thedrawRect() method of the Graphics class. ...Sid... could you elaborate on using the Rectangle class to measure objects on the

[Flashcoders] AS3 GModeler?

2008-05-28 Thread Ali Drongo
Hiya, I'm starting planning an AS3 project and have previously used Gmodeler to plan my classes. Are there any similar apps that will generate my stub classes in the same way GModeler did for AS2? Or can anyone recommend other AS3 // OOP planning apps they find useful? Cheers Ali

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Sidney de Koning
Hi Matt, For what do you want to use the Rectangle? Normally you would use it for instance to measure objects on the stage (at least i do ) For what you are doing cant you use a Shape? or a Sprite? Sid On May 28, 2008, at 5:10 PM, Matt S. wrote: Hmm, that didnt help. It seems to be

Re: [Flashcoders] Re: Assets quality Question.

2008-05-28 Thread Glen Pike
Could you not use vector assets? Omar Fouad wrote: What do you mean by Crisp. On 5/27/08, leolea [EMAIL PROTECTED] wrote: Make sure your graphics are on full pixels. Not ony the graphics, but also their containers and the containers of their containers, and so on. ex: You have

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Sidney de Koning
Ofcourse :) Right now I'm working on a project that does involve a scrollbar. What i do with the Rectangle class is i measure the handle of the scrollbar and use it for the bounds to drag it to. Like so: _maxScroll = _track.height - _handler.height; _bounds = new Rectangle( _handler.x,

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Matt S.
On Wed, May 28, 2008 at 11:04 AM, Viktor Hesselbom [EMAIL PROTECTED] wrote: Hi Matt, It's quite obvious that Rectangle doesn't have scaleX and scaleY. Why would you need it for the Rectangle class anyway? What use for it could you possible have? What use could I possibly have? well, one

RE: [Flashcoders] AS3 GModeler?

2008-05-28 Thread Romuald Quantin
The most well-known as3 frameworks are: http://labs.adobe.com/wiki/index.php/Cairngorm http://puremvc.org/ A full list there: http://seantheflashguy.com/blog/2007/11/20/actionscript-30-uml-and-code-gene ration-tools/ If you're an eclipse user (which I recommend):

RE: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Romuald Quantin
A rectangle is invisible, instead of using the scale properties that don't exist; maybe you can calculate the real width and height values? Or If your problem is keeping a ratio, maybe this post on my blog will help? http://www.soundstep.com/blog/2008/05/08/background-fitting-the-browser-and-

RE: [Flashcoders] Understanding Error 2036

2008-05-28 Thread Merrill, Jason
That's odd if the file is being loaded afterall. You're sure the same file is being loaded that you think is being loaded and not a cache or another copy somewhere else? That error is the same error I get when the file cannot be found that was requested to be loaded. Have you tried removing the

Re: [Flashcoders] Rectangle doesnt have scaleX/Y?

2008-05-28 Thread Matt S.
yeah thats what I ended up doing. Thanks for passing on your post though :) .m On Wed, May 28, 2008 at 12:34 PM, Romuald Quantin [EMAIL PROTECTED] wrote: A rectangle is invisible, instead of using the scale properties that don't exist; maybe you can calculate the real width and height values?

Re: [Flashcoders] Understanding Error 2036

2008-05-28 Thread Helmut Granda
Yeah, I know it is weird that is why I was wondering if anyone else is getting the same error. Notice that this error wont get traced in the Flash IDE but it is in flashlog.txt. I removed one of the images that is being loaded and it breaks the application (as expected) so it must be something

Re: [Flashcoders] Flash Player security hole

2008-05-28 Thread John Dowdell
Dave Segal wrote: Does anyone have more info on this? What is the flaw and what can we do to protect our users? http://www.pcworld.com/businesscenter/article/146343/new_adobe_flaw_being_ used_in_attacks_says_symantec.html The Flash Player Security Team had an interim response up yesterday

RE: [Flashcoders] Understanding Error 2036

2008-05-28 Thread Merrill, Jason
I would say if it's not an error that the Flash IDE is messaging you about, or the Flash 9 debug player, then I wouldn't worry about it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer

RE: [Flashcoders] Flash Player security hole

2008-05-28 Thread Merrill, Jason
John wrote: this appears to be a known issue, already addressed in the current Player 9.0.124 (and the Astro preview) Adobe statement also says, customers with Flash Player 9.0.124.0 should not be vulnerable to this exploit. I'm confused, the PC World article said, The flaw affects both the

RE: [Flashcoders] Understanding Error 2036

2008-05-28 Thread Merrill, Jason
Are you by any chance inadvertently calling a load again after the initial file gets loaded? I wonder if the error is due to something else, not the load you think you're doing... Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank

Re: [Flashcoders] Understanding Error 2036

2008-05-28 Thread Helmut Granda
I think I would have never noticed it (and a lot of people do not see it) if I didn't use the flashlog.txt as my debug system. Basically instead of using the Flash IDE output window I use a program that shows me the contents of flashlog.txt and that is when I see the issue. I wouldn't mind at all

Re: [Flashcoders] Understanding Error 2036

2008-05-28 Thread Helmut Granda
Good point... but to make my point I have created a very simple sample. 1. Copy and paste the code below to a blank FLA and run it (NOTICE: You have to provide a file to load and it can be a simple png)2. You should see a trace statement FILE LOADED 3. Close the window 4. Nothing appears on the

RE: [Flashcoders] Understanding Error 2036

2008-05-28 Thread Merrill, Jason
Where is flashlog.txt normally? I couldn't locate it. Jason Merrill Bank of America Global Technology Operations Global Risk LLD eTools Multimedia Join the Bank of America Flash Platform Developer Community Are you a Bank of America associate interested in innovative learning ideas

RE: [Flashcoders] Flash Player security hole

2008-05-28 Thread Francis Cheng
PCWorld has updated its report: Symantec Backtracks on Adobe Flash Warning http://www.pcworld.com/businesscenter/article/146396 Francis Cheng | Senior Technical Writer | Adobe Systems, Inc. http://blogs.adobe.com/fcheng -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Flashcoders] Understanding Error 2036

2008-05-28 Thread Helmut Granda
MAC: /Users/YOURUSERID/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt PC: Not sure... You have to have flash player debug version and here are some tips in case you have the flash player debug and you can't find it:

Re: [Flashcoders] Understanding Error 2036

2008-05-28 Thread Glen Pike
PC %SYSTEMROOT%:\Documents and Settings\username\Application Data\Macromedia\Flash Player\Logs Helmut Granda wrote: MAC: /Users/YOURUSERID/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt PC: Not sure... You have to have flash player debug version and here are some tips in

[Flashcoders] Firefox popup blocker and flash 9

2008-05-28 Thread Dan Wade
I'm having problems with Fireox blocking my popup windows. I've tried everything I can think of. It seems to happen on Windows running Firefox but I can't replicate the issue on all machines I've tested(it works on most machines but not all). Here is the class I'm using: package { import

RE: [Flashcoders] Firefox popup blocker and flash 9

2008-05-28 Thread Robert Leisle
This is probably not what your client wants to hear but the question has to be asked. Isn't Firefox popup blocker there for a reason? When blocking is active there is a message when a popup is attempted. Users have the choice to block or not, or to white-list your popups. I recommend allowing them