[Flashcoders] Hole-in-a-mask (a reverse mask question)?

2006-06-04 Thread Ville Walveranta
Hello everybody, I've been racking my brain tonight trying to figure out a way to create a reverse mask in Actionscript. I'm working on an application which is entirely object-based; nothing on the stage other than object initialization on the first frame. So everything needs to be programmatic.

Re: [Flashcoders] Flash/Eclipse Workflow

2006-06-04 Thread Weldon MacDonald
If I'm understandung this... You add the IDE generated swf (IDE.swf) to the project. You then create an external class that has a 'main' entry point and it loads the IDE.swf. (with a preloader of course). Do I have this right? Sounds good, though the test will be can I impliment it myself. You

[Flashcoders] SharedObject path?

2006-06-04 Thread John Hattan
I just noticed this problem when re-compiling my games from Flash 6 to Flash 7. Some of my SharedObjects (i.e. Flash cookies) weren't being read properly by some of my Flash content. Getting out .SOL editor (Flash cookie viewer), I took a look at what was being written out. Turns out some of the

Re: [Flashcoders] Hole-in-a-mask (a reverse mask question)?

2006-06-04 Thread Helen Triolo
If you're using the drawing API to make the mask shape, you can make an inversion of it (to show everything but the mask shape) by giving the commands to draw the overall shape (ie, that covers the whole stage if that's what you want) and then the commands to draw the shape of the mask, in the

Re: [Flashcoders] Flash/Eclipse Workflow

2006-06-04 Thread Adam Pasztory
I've had a lot of success with the Code Injection method, which I've describe here: http://www.pasz.com/articles/workingWithFame/ You can still load external assets as needed, but you have full access to the library of your main SWF. It works well too if you need to create projects that need to

Re: [Flashcoders] setting the centerpoint of a movieclip?

2006-06-04 Thread Bart Wttewaall
I took a rotateZ method from Robert Penner's Vector3D class and added a pivotpoint to the formula. It works pretty well as a dynamic registrationpoint :) var mc:MovieClip; var position:Object = {x:mc._x, y:mc._y}; var pivot:Object = {x:position.x+mc._width/2, y:position.y+mc._height/2}; var

Re: [Flashcoders] Flash/Eclipse Workflow

2006-06-04 Thread Scott Hyndman
Yes you can, as long as you attach your movieclips BELOW the loaded clip. Scott On 6/4/06, Adam Pasztory [EMAIL PROTECTED] wrote: I've had a lot of success with the Code Injection method, which I've describe here: http://www.pasz.com/articles/workingWithFame/ You can still load external

Re: [Flashcoders] Flash/Eclipse Workflow

2006-06-04 Thread Scott Hyndman
If I'm understandung this... You add the IDE generated swf (IDE.swf) to the project. You then create an external class that has a 'main' entry point and it loads the IDE.swf. (with a preloader of course). Correct Do I have this right? Sounds good, though the test will be can I impliment it

[Flashcoders] Re: Hole-in-a-mask (a reverse mask question)?

2006-06-04 Thread Ville Walveranta
Helen, Thanks for that info, it was very helpful! Works perfectly! :) Ville Helen Triolo wrote: If you're using the drawing API to make the mask shape, you can make an inversion of it (to show everything but the mask shape) by giving the commands to draw the overall shape (ie, that

[Flashcoders] unsubcribe, please

2006-06-04 Thread kathrin hunger
 too many email ta kat -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

Re: [Flashcoders] Flash/Eclipse Workflow

2006-06-04 Thread Weldon MacDonald
thanks, there's nothing left but to actaiully try it. On 6/4/06, Scott Hyndman [EMAIL PROTECTED] wrote: If I'm understandung this... You add the IDE generated swf (IDE.swf) to the project. You then create an external class that has a 'main' entry point and it loads the IDE.swf. (with a

Re: [Flashcoders] maxDepth for dynamic movieclips?

2006-06-04 Thread Tyler Wright
You'll love using the XT DepthManager - plus if you read the comments on the classes static properties there are exact (verified) numbers for max and min depths supported by the Flash player. You'll find the class at http://codext.com/code/6 Tyler On 6/1/06, Zimmen [EMAIL PROTECTED] wrote:

Re: [Flashcoders] create an object of type defined with a string

2006-06-04 Thread Tyler Wright
If you need an object that already exists to be converted into an instance of the class you can use the XT Prototype class Prototype.makeInstanceof(obj, Array); and using Zimmen's suggestion Prototype.makeInstanceof(obj, _global[tType]); good luck! you'll find the class at

Re: [Flashcoders] SharedObject path?

2006-06-04 Thread Stéphane Bebrone
Hi, Maybe you can use the second parameter. As the doc say: *localPath*:String [optional] - A string that specifies the full or partial path to the SWF file that created the shared object, and that determines where the shared object is stored locally. The default value is the full path.

Re: [Flashcoders] SharedObject path?

2006-06-04 Thread Julius - XK
look at System.exactSettings Setting this to true will cause the player to use the full domain. So say if someone went to your site and used www.yoursite.com to get there, that's the directory it will use. Then if someone else used yoursite.com, it would use yoursite.com as the path. This

Re: [Flashcoders] unsubcribe, please

2006-06-04 Thread Bart Wttewaall
rtff (read the freakin' footer) ;-) 2006/6/4, kathrin hunger [EMAIL PROTECTED]: too many email ta kat -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

[Flashcoders] Re: JS Error with ExternalInterface and Firefox

2006-06-04 Thread Adam Pasztory
Well, no one responded to my question, but after several hours of banging my head against a wall, I figured out the problem, so I thought I'd update here. I was missing the name attribute in the embed tag. Apparently IE keys of the id attribute of the object tag, but FF looks for name. On

Re: [Flashcoders] What does this code mean and What are Inspectables ...

2006-06-04 Thread Alain Rousseau
You might also take a look at Joey Lott's Tutorial on the subject (V2 Components) It's for Flash MX 2004 but still applies to Flash 8. http://www.person13.com/articles/components/creatingcomponents.html and http://www.communitymx.com/content/article.cfm?cid=A06B3C7D7B74030D Steven Sacks wrote:

[Flashcoders] What does this code mean and What are Inspectables ...

2006-06-04 Thread Stephen Ford
Thanks all, Much appreciated. I now understand Inspectables and how they relate to classes/components/the flash IDE property panel. However, I shouldn't have compressed two questions into one. So the first part of my question remains. What does code appearing inside brackets mean, for

[Flashcoders] 19th June Flash Developers Group study group

2006-06-04 Thread Chris Velevitch
The next meeting will be 19th June and we'll be contining our study of MXML with validating and formatting (see http://www.flashdev.org.au/program for topic references). Note: the meeting frequency will change to fortnightly (see program for future dates) and there'll be no meetings in July. At