[Flashcoders] Compiling with AS2.0 classes/packages online ...

2006-10-31 Thread Stephen Ford
Is it possible to use actionscript classes that exist only online ? i.e: instead of: import com.website.utils.*; something like: import http://www.website.com/packages/com.website.utils*; ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] Comparing HEX

2006-10-31 Thread John McCormack
Mark, That's a facinating article in wikipedia but I don't know if I can ever understand it. One will try! In a book called Bitmapped Graphics Programming in C++ by Luse, there is a colour cube model which is helpful. The colour differences you calculate below are complicated by the question If I

[Flashcoders] wmode=transparent and buttons behavior woes

2006-10-31 Thread Janis Radins
Somehow when i set wmode=transparent to flash object all buttons start to behave in some strange way, calling onRollOver/onRollOut on wrong moments. Anyone knows what exactly is going on and why, or how to prevent this? I've noticed this long time ago. Janis

Re: [Flashcoders] Compiling with AS2.0 classes/packages online ...

2006-10-31 Thread Ian Thomas
Yes, at runtime, but not at compile-time and not in the way that you've specified. The closest to what you're describing, I think, is the concept of a runtime shared library - a bunch of code that you only load when the app is actually running (and you can potentially choose at runtime which

RE: [Flashcoders] Q: Firefox on a mac

2006-10-31 Thread Karina Steffens
Could your user have Adblocker installed? If so, she needs to disable it, or change a setting to allow Flash - otherwise it won't. Karina -Original Message- From: Wendy [mailto:[EMAIL PROTECTED] Sent: 30 October 2006 19:29 To: flashcoders@chattyfig.figleaf.com Subject:

RE: [Flashcoders] wmode=transparent and buttons behavior woes

2006-10-31 Thread Merrill, Jason
Off the top of my head (not exactly sure what you mean by on wrong moments and behave in some strange way), but it could be one of these two problems: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19435 or: http://www.gskinner.com/blog/archives/54.html Jason Merrill Bank of

[Flashcoders] Q: Firefox 2 on a Mac

2006-10-31 Thread Wendy
Here is the link. Flash movies made in Flash 8 will not show on this client's Mac under Firefox. It shows just fine on her Mac under Safari. http://www.themagazinegroup.com/clients-case-studies-webmd.asp Let me know what you think. I don't recall there being a specific check for browser plug

[Flashcoders] Local Flash Cache I don't know about?!

2006-10-31 Thread Adrian Park
Hi - I'm really hoping someone can help as I'm tearing my hair out here. Clip A - my production master clip which loads... Clip B - a module of a site I'm building Everything works fine in the Flash IDE but running on the standalone player, Clip B doesn't seem to see Singleton instances created

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Geoff Stearns
I'm curious why you would want to. Are you taking that text and spitting it out as html? As long as it's inside the Flash player, it doesn't matter what it looks like, as the Flash Player is acting as the browser, and no web browser will ever see that htmlText or have to read it. To

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Geoff Stearns
but html inside your flash movie doesn't need to be valid, and in some cases might even display wrong, since the flash player is what displays it, not the browser... so trying to make htmlText that is only displayed in the flash player valid is a bit of a waste of time. when you validate

Re: [Flashcoders] Comparing HEX

2006-10-31 Thread Mark Winterhalder
I suspect you already know this, so I am wondering if your method actually works quite well as a first approximation. It's been a few years since when I researched color spaces and I haven't done anything with them since, so I could well be wrong. I guess it would work as a very simple test to

[Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
Hello, The htmlText value of a textfield looks much like a jungle Eg, a simple Verdana text : TEXTFORMAT LEADING=2P ALIGN=LEFTFONT FACE=Verdana SIZE=12 COLOR=#FFsample text/FONT/P/TEXTFORMAT Is there a way to at least make the tags lower case ? I'm looking for an actionscript or php

RE: [Flashcoders] Q: Firefox 2 on a Mac

2006-10-31 Thread Karina Steffens
Two questions: Did you check if she has Ad blocker? Do older versions of flash work on her browser? If a - disable Ad blocker. If b - ObjectSwap checks for version using JavaScript. -Original Message- From: Wendy [mailto:[EMAIL PROTECTED] Sent: 31 October 2006 15:00 To:

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Jake Prime
On 31/10/06, Adrian Ionut Beschea [EMAIL PROTECTED] wrote: Is there a way to at least make the tags lower case ? I'm looking for an actionscript or php solution. Hi Adrian This will make tags lower case: function toLowerCaseTags ( htmlTxt:String ) : String { var a:Array =

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
Hey Jake, Thanks! Works like a charm. Adi. Jake Prime [EMAIL PROTECTED] wrote: On 31/10/06, Adrian Ionut Beschea wrote: Is there a way to at least make the tags lower case ? I'm looking for an actionscript or php solution. Hi Adrian This will make tags lower case: function

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
it won't be inside flash. The application will have 2 versions : flash version and xhtml version (for mobile devices) The flash version will remain as is. Geoff Stearns [EMAIL PROTECTED] wrote: but html inside your flash movie doesn't need to be valid, and in some cases might even display

RE: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Michael A. Jordan
Unless you're building some kind of text editor, using a TextField.styleSheet rather than TextFormat to handle your formatting will preserve the HTML-formatting of the content in the textField. -- Michael -Original Message- From: Adrian Ionut Beschea [mailto:[EMAIL PROTECTED] Sent:

RE: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
that's exactly what we're building ;) Michael A. Jordan [EMAIL PROTECTED] wrote: Unless you're building some kind of text editor, using a TextField.styleSheet rather than TextFormat to handle your formatting will preserve the HTML-formatting of the content in the textField. -- Michael

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
Hey. I want to have content that would eventually validate to XHTML-Basic standards. It's for a site that will have an alternate xhtml version besides flash. I know regular expressions are the way. They're bit of a vodoo for me, but I'm getting there... :) Geoff Stearns [EMAIL PROTECTED]

Re: [Flashcoders] Comparing HEX

2006-10-31 Thread John McCormack
I found a couple of colour cubes... http://www.alphabetsystems.com/color/netcubes/color40.htm http://fourier.eng.hmc.edu/e161/lectures/color_processing/node1.html John - Original Message - From: Mark Winterhalder [EMAIL PROTECTED] To: Flashcoders mailing list

[Flashcoders] RE: wmode=transparent and buttons behavior woes (Merrill, Jason)

2006-10-31 Thread Scott Morgan
Hey Jason, It is a bug, here is a write up on my blog about it. http://blog.scottgmorgan.com/php/default.php?topicID=170contentID=739r owID=114 Hope that helps, Scott -Original Message- Date: Tue, 31 Oct 2006 07:35:09 -0500 From: Merrill, Jason [EMAIL PROTECTED] Subject: RE:

Re: [Flashcoders] RE: wmode=transparent and buttons behavior woes (Merrill, Jason)

2006-10-31 Thread John Dowdell
Scott Morgan wrote: It is a bug, here is a write up on my blog about it. http://blog.scottgmorgan.com/php/default.php?topicID=170contentID=739r owID=114 In case this is Do browsers have different levels of support for piping plugin content to their internal compositing engines? then yes, they

Re: [Flashcoders] Q: Firefox 2 on a Mac

2006-10-31 Thread John Dowdell
Wendy wrote: Here is the link. Flash movies made in Flash 8 will not show on this client's Mac under Firefox. It shows just fine on her Mac under Safari. http://www.themagazinegroup.com/clients-case-studies-webmd.asp Another initial troubleshooting step is the some-or-all-sites test... if

RE: [Flashcoders] RE: wmode=transparent and buttons behavior woes (Merrill, Jason)

2006-10-31 Thread Merrill, Jason
The more we rely on the browser, the more handling of browser differences we must negotiate. You sound like you just polished off a big Apollo sundae. :) Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions

RE: [Flashcoders] Compiling with AS2.0 classes/packages online ...

2006-10-31 Thread Mark Lapasa
To follow up http://osflash.org/using_a_swf_as_a_dll -mL http://knowledge.lapasa.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ian Thomas Sent: Tuesday, October 31, 2006 5:55 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Compiling

Re: [Flashcoders] wmode=transparent and buttons behavior woes

2006-10-31 Thread Lyndon Headley
Here's an interesting article I just came across concerning Flash 8 (if that is the version you are using) and wmode settings. http://justin.everett-church.com/index.php/2006/02/23/wmode-woes/ Here's a relevant snippet concerning Events: *Inconsistent Performance* SWFs using wmode actually

[Flashcoders] Receaving xml feed from .aspx code

2006-10-31 Thread Elena Blanco
Hello This might be more of a beginner question, but I hope to find the answer here. I need to call this page: http://www.wishpot.com/public/rss/list.aspx?uid=2 from in within a Flash piece. The page return list.aspx which is a .aspx file but is really a xml content. I then need to parse

RE: [Flashcoders] Receaving xml feed from .aspx code

2006-10-31 Thread Elena Blanco
I found the answer - this works great. Thank ya all! this.receiveRSSObject = function(rssObject) { trace(Title: + rssObject.channels[0].title); for(var i = 0; i rssObject.channels[0].items.length; i++) { trace(Title: + rssObject.channels[0].items[i].title);

[Flashcoders] Q:Justifying Flash 8 Content

2006-10-31 Thread bitstreams
I'm working on a large commercial site that uses FP7 based content. What are some of the arguments and/or approaches that Flash developers have and are using to push the transition to FP8 content? The bottom line is really about providing the best user experience possible Jim bachalo

Re: [Flashcoders] Q:Justifying Flash 8 Content

2006-10-31 Thread Geoff Stearns
I just use: object, embed { align: justify; } and that usually does the trick!* * it's a joke. ha ha. On Oct 31, 2006, at 3:43 PM, [EMAIL PROTECTED] wrote: I'm working on a large commercial site that uses FP7 based content. What are some of the arguments and/or

RE: [Flashcoders] Q:Justifying Flash 8 Content

2006-10-31 Thread Merrill, Jason
Video capabilities can be a big seller - also the fact most people have it now is another. The much enhanced security of the 8 player could be your Ace of Spades though. Might be hard to convince them that the blur, dropshadow, glow etc. effects you can do dynamically would be worth it, but its'

Re: [Flashcoders] Q:Justifying Flash 8 Content

2006-10-31 Thread Micky Hulse
Merrill, Jason wrote: Video capabilities can be a big seller - also the fact most people have it now is another. The much enhanced security of the 8 player could be your Ace of Spades though. Might be hard to convince them that the blur, dropshadow, glow etc. effects you can do dynamically

Re: [Flashcoders] Q:Justifying Flash 8 Content

2006-10-31 Thread Geoff Stearns
not sure about accessibility changes.. but SEO changes are kinda pointless in most cases.. i wrote an article on flash SEO a while back that might interest you (and others on the list): http://blog.deconcept.com/2006/03/13/modern-approach-flash-seo/ On Oct 31, 2006, at 4:56 PM, Micky

[Flashcoders] hitDetect and levels?

2006-10-31 Thread Martin Scott Goldberg
Working on another side project (Breakout clone), and am having an interesting problem with hitDetect. The paddle and ball are detecting hits with each other just fine, but the same code isn't working for the bricks. The ball, paddle, and brick are all attached dynamically. Here's the

Re: [Flashcoders] hitDetect and levels?

2006-10-31 Thread Seb L
hmmm interesting... ball.checkBricks is a method of the ball object? So it may be a scoping issue? If you're calling the checkBricks function from within the ball object you'd need to do a call on this.hitTest(brick0_0), rather than ball.hitTest(...). Try that first. Just a general comment,

Re: [Flashcoders] hitDetect and levels?

2006-10-31 Thread Martin Scott Goldberg
Never mind, stupid me forgot to put = function() at ball.checkBricks. Works fine now. Marty ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Q:Justifying Flash 8 Content

2006-10-31 Thread Seb L
We've just sold two projects on FP8, the first because of it bitmap rendering capabilities, and the fact that we could use bitmap fills to stretch bitmap textures on 3D surfaces. Recently we've been using cacheAsBitmap, and also custom bitmap caching methods to massively increase the speed of

Re: [Flashcoders] hitDetect and levels?

2006-10-31 Thread Martin Scott Goldberg
Just a general comment, eval is not widely used any more, although it will work when it's on the right hand side of an equation, it won't on the left. But you can use the square bracket notation : _root[brick+row+_+col]; I'll try changing over to that notation when I get everything finished,

Re: [Flashcoders] AS 3 - event args

2006-10-31 Thread dnk
Mike Chambers wrote: 2 other options: Just have one event handler per button. or use an anonymous function myButton.addEventListener(MouseEvent.CLICK, function(){doSomething(1);}); private function doSomething(index:int):void { trace(index); } (I havent tested the code above, so there

Re: [Flashcoders] hitDetect and levels?

2006-10-31 Thread Seb L
Oh and of course it's not good practice to refer to _root, but we'll take that on another time ;-) Really? I've seen it done in several books I have, so I assumed its ok. What are some of the possible errors that can happen with that? If you swf is loaded into another swf, it may cause