Re: [Flashcoders] the tool used to make this presentation

2006-01-30 Thread Joe Cutting
I'd say by hand... Maybe you think it's too boring to be made manually? ;-) Making me download over 20mb (!) to see some speaking heads. Here's another link: Talking-Head Video Is Boring Online http://www.useit.com/alertbox/video.html I'm curious if any of you have patience to listen the whole

[Flashcoders] ConvolutionFilter performance

2006-01-30 Thread Andreas Rønning
Does anyone know which is faster; a blurring one-pass convolution filter or a blurfilter? Or are they just 2 sides to the same story? I need a high performance blur operation for depth of field.. Cheers, - Andreas ___ Flashcoders mailing list

Re: [Flashcoders] BitmapData.loadBitmap in external SWF

2006-01-30 Thread Adrian De Rivero
i am not 100% sure, but as far as i know you can t access a libary of a loded swf from the main swf. On 1/29/06, Sönke Rohde [EMAIL PROTECTED] wrote: Hi, I have got a problem with BitmapData.loadBitmap used in an external loaded swf. When I run my external SWF all works as expected but when

AW: [Flashcoders] BitmapData.loadBitmap in external SWF

2006-01-30 Thread Sönke Rohde
I am not accessing it from the main swf but from the swf i loaded into the main swf ... -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Adrian De Rivero Gesendet: Montag, 30. Januar 2006 11:15 An: Flashcoders mailing list Betreff: Re:

RE: [Flashcoders] ConvolutionFilter performance

2006-01-30 Thread Mike Mountain
In my tests convolution filter was much faster than a blurfilter. But it's an easy one to swap oout and test for yourself... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Rønning Sent: 30 January 2006 10:03 To: Flashcoders mailing list

[Flashcoders] Dynamic class creation

2006-01-30 Thread franto
Hi all, maybe it is easy, maybe not, but i cant figure it out now, and i need it :) when i got class e,gpkg1.pkg2.pkg3.className i can make new instance in this way new pkg1.pkg2.pkg3.className() but i want to make it from string this dont work of course

Re: [Flashcoders] Dynamic class creation

2006-01-30 Thread Mischa Williamson
I've done exactly that using eval() before. Give it a try. Cheers, Mischa On 1/30/06, franto [EMAIL PROTECTED] wrote: Hi all, maybe it is easy, maybe not, but i cant figure it out now, and i need it :) when i got class e,gpkg1.pkg2.pkg3.className i can make new instance in this way

Re: [Flashcoders] Dynamic class creation

2006-01-30 Thread Martin Wood
This should do the job. 1. ClassFactory to create classes specified by strings. code class ClassFactory { public static function create(className:String):Object { // Split the class name into its parts var parts:Array = className.split(.);

Re: [Bulk] Re: [Flashcoders] Dynamic class creation

2006-01-30 Thread Serge
import pkg1.pkg2.pkg3.* or import pkg1.* new pkg1.pkg2.pkg3.className() make sure pkg1 has classes you would like to be compiled in swf or use exclude xml file On 1/30/06, franto [EMAIL PROTECTED] wrote: Hi all, maybe it is easy, maybe not, but i cant figure it out now, and i need it :)

Re: [Flashcoders] Dynamic class creation

2006-01-30 Thread Serge
import pkg1.pkg2.pkg3.* or import pkg1.* new pkg1.pkg2.pkg3.className(), sorry, should be: new className() make sure pkg1 has classes you would like to be compiled in swf or use exclude xml file On 1/30/06, franto [EMAIL PROTECTED] wrote: Hi all, maybe it is easy, maybe not, but i cant

Re: [Flashcoders] Dynamic class creation

2006-01-30 Thread franto
thank you all, i've already made it! var str:String = 'test1.test2.ClassC'; var arr = str.split('.'); var variable = _global; for (var i=0;iarr.length;i++) { variable = variable[arr[i]]; trace(variable); } new variable(); On 1/30/06, Serge [EMAIL PROTECTED]

RE: [Flashcoders] targetting a mc from a list

2006-01-30 Thread Adrian Lynch
Try: parent_mc[listWhatever[0]]; Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Humphrey Sent: 30 January 2006 13:25 To: Flashcoders mailing list Subject: [Flashcoders] targetting a mc from a list I have a list: (code is example only)

Re: [Flashcoders] Dynamic class creation-thoughts?

2006-01-30 Thread stacey
Just a general, - what are people's thoughts on dynamic class instantiation? I've always been under the impression( and hence, been told) that one should avoid it at all costs. Thoughts? Discussion? Benefits? Would it be better to implement a factory type pattern to create the new instances of

Re: [Flashcoders] targetting a mc from a list

2006-01-30 Thread Kent Humphrey
Thanks, but that doesn't work either. It looks like it should, but I'm still getting undefined. On 30 Jan 2006, at 13:31, Adrian Lynch wrote: Try: parent_mc[listWhatever[0]]; Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Humphrey Sent: 30

RE: [Flashcoders] targetting a mc from a list

2006-01-30 Thread Adrian Lynch
Are you sure you're creating the nested MC as you think you are? What do you get if you do: trace(parent_mc.mc1); ??? Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Humphrey Sent: 30 January 2006 13:54 To: Flashcoders mailing list Subject: Re:

Re: [Flashcoders] Dynamic class creation-thoughts?

2006-01-30 Thread Andreas Rønning
I don't see the ish. If you're making a shooter game and have classes for enemies and classes for bullets, how would you put that into effect WITHOUT dynamic instantiation. I'm a hell of a lot more concerned with the idea of dynamic definition. - Andreas X [EMAIL PROTECTED] wrote: Just a

Re: [Flashcoders] Dynamic class creation-thoughts?

2006-01-30 Thread Cédric Muller
I may be idiot, but how would you generate a menu's items given dynamic data ??? I cannot but see dynamic instantation, can I ? same for games, same for MP3 players (and video), same for whatever almost anything ? cedric I don't see the ish. If you're making a shooter game and have

RE: [Flashcoders] the tool used to make this presentation

2006-01-30 Thread Merrill, Jason
Aren't we just talking about using cuepoints with the video? You can use cuepoints to trigger events in Flash like play a movie or call a function - even move a frame where a new movie clip sits. Or what is it that has you intrigued about the presentation? Jason Merrill

RE: [Flashcoders] targetting a mc from a list

2006-01-30 Thread Merrill, Jason
Adrian's description is exactly how you would do it if you have set it up as you describe. Jason Merrill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Humphrey Sent: Monday, January 30, 2006 8:54 AM To: Flashcoders mailing list Subject: Re:

Re: [Flashcoders] targetting a mc from a list - solved

2006-01-30 Thread Kent Humphrey
ok, found the problem, my actual list has strings with spaces in them, which is what is making it not work. So I guess I'll fill them with _ and then replace them with when I need the string with spaces. Thanks for the help guys. On 30 Jan 2006, at 14:00, Adrian Lynch wrote: Are you

RE: [Flashcoders] targetting a mc from a list - solved

2006-01-30 Thread Adrian Lynch
Ah, so you had a [mc 1, mc 2] type thing going on? Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kent Humphrey Sent: 30 January 2006 15:02 To: Flashcoders mailing list Subject: Re: [Flashcoders] targetting a mc from a list - solved ok, found the

RE: [Flashcoders] Flash Site Statistics RIA

2006-01-30 Thread Kevin Aebig
It's not the same, but it's still along the right lines. Thanks John, I had given up hope... Cheers, !k -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Dowdell Sent: January 26, 2006 1:54 PM To: Flashcoders mailing list Subject: Re: [Flashcoders]

[Flashcoders] FileReference

2006-01-30 Thread Jason Ross
Hi, Is there a way to get the FileReference to open different browse window styles - or are we stuck with the one it gives!? The Windows / IE browse window I am after is basically a resizable window. Note, to see the default window which Flash triggers, paste this code onto the first frame of a

Re: [Flashcoders] targetting a mc from a list - solved

2006-01-30 Thread Kent Humphrey
Well, yeah, these list items need to be client names and that kinda thing, so might be a single word, might be 3 or 4 words. String wrangling to the rescue. On 30 Jan 2006, at 15:10, Adrian Lynch wrote: Ah, so you had a [mc 1, mc 2] type thing going on? Ade

[Flashcoders] what's the best way to load FLV files?

2006-01-30 Thread Christian Pugliese
What's the best way to load external FLV files? NetStream or Media Class? and someone knows whats the main diferences between both? as which one is fastest cheers, ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] avoiding a stack of lists

2006-01-30 Thread Kent Humphrey
Here's more of a higher-level problem for you helpful people : Imagine 3 lists, someListA, anotherListB, and lastListC. When I rollover something in someListA, I want the items in anotherListB and lastListC to highlight. And the same for rolling over something in anotherListB or lastListC.

[Flashcoders] [Jobs] senior flash developer

2006-01-30 Thread Alias
Hi all, The company I work for, Tonic Design, which is an independant design branding consultancy in Shoreditch, London, England, is looking to hire a senior flash developer. Tonic are a fun, vibrant company to work for, with spacious penthouse studios on Shoreditch High St. Our client list

Re: [Flashcoders] avoiding a stack of lists

2006-01-30 Thread Alan MacDougall
Kent Humphrey wrote: I've made a single item work with my initial solution, which was to have a list for each item that lists which items in the other lists should highlight. But by the time I've made 25 lists for my 25 (current) items, that seems like a lot of redundant and duplicated

Re: OT THANK YOU: Re: [Flashcoders] How to call functions in sequence

2006-01-30 Thread Kevin Cannon
On Sun, Jan 29, 2006 at 10:04:22AM +0100, Sander wrote: If your functions are motion-based, have a look at Fuse. It's a set of Tween classes that lets you execute a lot of tweens in sequence. 2 can fire off when 1 finished if you want. You can tween position, alpha, rotation and many

Re: [Flashcoders] Dynamic class creation-thoughts?

2006-01-30 Thread Kamyar Nazeri
first, what you guys have done is dynamically refrencing a *loaded* class not dynamically creating a class! if the class is not yet loaded it returns null. and of course dynamically refrencing a class gives you nothing, I was wondering if it is possible to load a class dynamically? in Java

Re: [Flashcoders] avoiding a stack of lists

2006-01-30 Thread Kent Humphrey
On 30 Jan 2006, at 16:30, Alan MacDougall wrote: I've made a single item work with my initial solution, which was to have a list for each item that lists which items in the other lists should highlight. But by the time I've made 25 lists for my 25 (current) items, that seems like a lot

[Flashcoders] Author time/live preview of custom component

2006-01-30 Thread Manuel Saint-Victor
When creating a custom component is there a way to allow the user to be able to scaling changes in the authoring environment. I am using a component with some visible markings on the stage with Drag-n-drop scaling- although I can see the change in border size the movieclip inside stays the same

[Flashcoders] skinning component oddity

2006-01-30 Thread Bryce Barrand
I am attaching content into a scroll pane, and I noticed that all of the components that are attached into my scroll pane are recieving the skinning modifications I applied to the scroll pane. For example, I set the border of my scroll pane to be a red solid, using the following code:

Re: [Flashcoders] avoiding a stack of lists

2006-01-30 Thread Alan MacDougall
That sounds to me like you want to use events -- the items which light up should listen to the items that trigger them. When the triggering item gets moused over, the listening item(s) can decide whether to react. This might just take your redundancy and put it somewhere else, but it

Re: [Flashcoders] avoiding a stack of lists

2006-01-30 Thread Nathan Derksen
Well, regardless of whether or not you use listeners, you still need to create the data relationship. I don't think encoding the relationships into 25 listeners is necessarily a good idea, either. An associative array, indexed by ID, could store the IDs of the other list items that are

Re: [Flashcoders] avoiding a stack of lists

2006-01-30 Thread Kent Humphrey
On 30 Jan 2006, at 17:12, Alan MacDougall wrote: Close. Let's assume you're using mx.events.EventDispatcher. Your event broadcaster class starts like this: Wow. Thanks for all that. I'm not using classes so that's another thing I'll have to study up on... I've filed your post away for

Re: [Flashcoders] avoiding a stack of lists

2006-01-30 Thread Kent Humphrey
On 30 Jan 2006, at 17:13, Nathan Derksen wrote: Well, regardless of whether or not you use listeners, you still need to create the data relationship. I don't think encoding the relationships into 25 listeners is necessarily a good idea, either. An associative array, indexed by ID, could

[Flashcoders] Depth prob...

2006-01-30 Thread MJorge
I´m loading the vars from two different databases to Flash. But i´m having some prob´s with my attachMovie and the depth cause it will delete the other attachMovie it run´s at first Can someone help please? myVar = new LoadVars (); myNewVar = new LoadVars (); nomes = new Array ();

Re: [Flashcoders] Depth prob...

2006-01-30 Thread MJorge
Thks, So i´ll have to create a movieClip for each of my files i´m loading and make tha attachMovie to them separately... On 1/30/06, Merrill, Jason [EMAIL PROTECTED] wrote: You can only attach one movie clip per movie clip instance - so just create more empty movie clips to attach them to.

Re: [Flashcoders] Dynamic class creation-thoughts?

2006-01-30 Thread Kamyar Nazeri
I looked into Java Virtual Machine Class code, it's not possible to load a class dynamically in flash. at least you need to have somehow the main package loaded in flash! after all it is ActionScript and it still needs lots of improvements in language syntax Kamyar Nazeri [EMAIL PROTECTED]

RE: [Flashcoders] Depth prob...

2006-01-30 Thread Merrill, Jason
Cool. Jason Merrill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of MJorge Sent: Monday, January 30, 2006 12:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Depth prob... Ok, it´s working Thanks for the tip Jason... On 1/30/06,

Re: [Flashcoders] Dynamic class creation-thoughts?

2006-01-30 Thread Farid Shahlavi
Take a look at this, basically the closest thing to what you're referring to in Java. http://www.osflash.org/sexie Farid - Original Message From: Kamyar Nazeri [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Monday, January 30, 2006 12:48:04 PM

[Flashcoders] Flash 8 embeds fonts on OSX, even if you don't tell it to !

2006-01-30 Thread erixtekila
Hi people, For the record : When one uses MAc OSX Flash 8 Pro, you have different to use a font, by the way, for a reason that a presume, when you use _sans or Arial with Use device fonts, in fact Flash embeds the outlines in the final swf. If someone else could test it on it's computer ?!

RE: [Flashcoders] ActionScript Cheatsheet Update (new URL)!

2006-01-30 Thread Corban Baxter
I love it on my desk too. Can't wait to see more updates and additions to this great piece. CB -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Sunday, January 29, 2006 10:19 PM To: Flashcoders mailing list Subject: Re:

[Flashcoders] Player Sub-Version Differences?

2006-01-30 Thread Marc Hoffman
Can anyone point me to a resource that describes the differences between sub-versions of the Flash Player? This information is key to fixing a complex Flash project I inherited. I need to know what changes were made to the Flash Player between versions 7.0.19.0 and 7.0.61.0. In the project I

[Flashcoders] Do these lines only need to be in v2 extending components?

2006-01-30 Thread Manuel Saint-Victor
Do the following lines need to be in components that don't extend the V2 component framework or can they be omitted: // Components must declare these to be proper // components in the components framework. static var symbolName:String = Dial; static var symbolOwner:Object = Dial; var

RE: [Flashcoders] Do these lines only need to be in v2 extendingcomponents?

2006-01-30 Thread Scott Hyndman
These variables are used by UIObject.createClassObject(). If you aren't using this method, you don't need these variables. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Manuel Saint-Victor Sent: Mon 1/30/2006 1:36 PM To: Flashcoders mailing list Cc: Subject:

RE: [Flashcoders] Dynamic class creation-thoughts?

2006-01-30 Thread Scott Hyndman
Hey Kamyar, Sure it is...unless I misunderstand you. http://www.osflash.org/using_a_swf_as_a_dll Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Kamyar Nazeri Sent: Mon 1/30/2006 12:48 PM To: Flashcoders mailing list Cc: Subject:Re: [Flashcoders]

Re: [Flashcoders] Player Sub-Version Differences?

2006-01-30 Thread John Dowdell
Marc Hoffman wrote: I need to know what changes were made to the Flash Player between versions 7.0.19.0 and 7.0.61.0. Mike Chambers (or other MM reps) are you out there? Hi Marc... have you seen the Flash Player 7 Release Notes?

Re: [Flashcoders] Player Sub-Version Differences?

2006-01-30 Thread Marc Hoffman
Thank you, John! Your suggestions look promising for sorting this out. -Marc At 11:27 AM 1/30/2006, you wrote: Marc Hoffman wrote: I need to know what changes were made to the Flash Player between versions 7.0.19.0 and 7.0.61.0. Mike Chambers (or other MM reps) are you out there? Hi Marc...

[Flashcoders] [ANN] F-ab -- browser for Flash movies

2006-01-30 Thread Jiro Harada
Hello, F-ab is a browser for Flash movies. Flash movies are switched by changing the channel like TV programs in it. You can see 1 Flash movies by changing the channel from to . This product is a free-ware. System requirements: Mac OS: 10.4 or later Windows: XP Memory: 256 MB

RE: [Flashcoders] Dynamic class creation-thoughts?

2006-01-30 Thread Kamyar Nazeri
Nice job for creating dynamic linked library in flash, thanks to Farid and Scott. Of course compiled clips and components do the same, but using dlls gives us the ability to load classed whenever they are needed and not just including them all in the first frame! I was wondering if it is

[Flashcoders] f8 preloader

2006-01-30 Thread Corban Baxter
Hey guys I am trying to paste some preloader code from a f6 project into an f8 project but its acting really weird. The traces I have put in for watching my percent grow don't even begine to trace until about 46%. I figured it would be some kind of issue with exporting to first frame stuff but

Re: [Flashcoders] Do these lines only need to be in v2 extendingcomponents?

2006-01-30 Thread Manuel Saint-Victor
Perfect- Thanks Scott. On 1/30/06, Scott Hyndman [EMAIL PROTECTED] wrote: These variables are used by UIObject.createClassObject(). If you aren't using this method, you don't need these variables. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Manuel

[Flashcoders] Specify scaling of components

2006-01-30 Thread Charles Parcell
Hi all, I am looking to control how some of my components are scaled. This is mostly so that I can define how each are draw. For instance I want to lock my button component to two different types of scaling. 1) Width only 2) Retain aspect ratio Is there any why this can be done? I know that I

[Flashcoders] Can AttachedVideo be Controlled by a Class?

2006-01-30 Thread Steven Loe
Can attachedVideo be controlled by a class? I have scrubbed that archives and Googled... Is it possible to do something like this? (This Dosen't work). I don't want to use a media component because this will be controlled by a keyListener (no on screen video controls). class Foo { var

[Flashcoders] except onRelease

2006-01-30 Thread Corban Baxter
Guys can you tell me why this entire block of code work in F8 except the part where it hits the onRelease its like it doesn't even make it a button when applied. Any ideas? buildCharMenu = function(totalChars, setNum){ setMax = setNum * 5; trace(setMax: + setMax); //if set is

Re: [Flashcoders] except onRelease

2006-01-30 Thread Mark Winterhalder
hi Corban, this[charThumb_MC].loadMovie(charThumb); loadMovie is delayed until all scripts in the frame have finished, so you assign the onRelease to a movieclip that will be replaced by a newly loaded one moments later. use a container to load it into, and assign your onRelease

Re: [Flashcoders] ConvolutionFilter performance

2006-01-30 Thread Mike Duguid
Mike, do you have an example of this? My current test shows the opposite - that convolution is proving more cpu intensive than blurfilter? Mike Mountain [EMAIL PROTECTED] wrote: In my tests convolution filter was much faster than a blurfilter. But it's an easy one to swap oout and test for

RE: [Flashcoders] Flash Site Statistics RIA

2006-01-30 Thread David Mendels
Hi, Key parts of the UI of Google Analytics (formally Urchin) are Flash. -David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Aebig Sent: Monday, January 30, 2006 10:10 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Flash

[Flashcoders] Re: Lines of code in a Flash project

2006-01-30 Thread Bill Brown
Agreed, lines per hour is not a very valuable metric, but it's a relatively quick and easy metric to calculate. I remember reading somewhere that the average programmer writes about 10 lines of good production code per hour. I'm guessing this included all time for project coordination,

Re: [Flashcoders] Can AttachedVideo be Controlled by a Class?

2006-01-30 Thread Ramon Tayag
You'll have to attach the video manually on the stage.. but that also mean u won't need the video holder mc anymore. Just reference the video object when you creat ethe class var foo = new foo(video); On 1/31/06, Steven Loe [EMAIL PROTECTED] wrote: Can attachedVideo be controlled by a class? I

[Flashcoders] fscommand troubles

2006-01-30 Thread Jim Kremens
Hi all, I'm having trouble with something simple fscommands in an html page. If I publish my swf with the setting 'Flash with FSCommand' and I include the following code in the first (and only) frame of my swf: fscommand(yo); and the js function that catches the fscommands looks like this:

[Flashcoders] dateField and Remoting problem

2006-01-30 Thread Adams, Matt
I've tried posting this in the Adobe (Macromedia) forums with no luck. I'm hoping that someone here can help. Might be a newbie question, but I'm thinking I'd get better response here. Sorry for the cross-post and sorry if this is beneath the level of this list or OT. I'm trying to send a date

[Flashcoders] re: Javascript Integration kit - attention Mike Chambers

2006-01-30 Thread Jim Kremens
In a thread a few days ago, Mike Chambers said, regarding the MM JsIntegration kit: Did you pull the latest source from subversion? Is the source on the Macromedia site not the latest? -- Jim Kremens ___ Flashcoders mailing list

[Flashcoders] MM Javascript integration kit

2006-01-30 Thread Jim Kremens
Hi again, Well, I managed to get the latest source from SVN, but I can't make it work at all. Frustrating, as the version I downloaded from Macromedia was pretty painless to implement. However, I need the new version, as it works with fscommand. Can anyone provide a working example or a link

[Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread azsl1326-email
Hello All --- I posted this on FlashNewbie and didn't have much luck getting it resolved. I also found a number of posts on Actionscript.org referencing this same problem, but I couldn't find any solutions, so I thought I would try here. I created a custom button component with live preview

RE: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread Derek Vadneau
I remember this happening with my components at one point, but I think the issue was with MX04 - pre 7.2. I'm not 100% on that but I do remember the problem occurring. Are you using MX04? If so, are you using the 7.2 update? If not, I'll see if I can dig up some info about what I did ...

Re: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread Kevin Jackson
The 7.2 update did clear up many things. Components Live Preview was always a bit flaky however. The one most notorious for showing up incorrectly was the numeric stepper. On the positive side, they have always shown up correctly when actually compiled. They often don't look right in the editing

RE: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread azsl1326-email
Sorry, using Flash 8. Thanks for any insight. Derek Vadneau flashcoderlist at ThunderUnderground.com wrote: I remember this happening with my components at one point, but I think the issue was with MX04 - pre 7.2. I'm not 100% on that but I do remember the problem occurring. Are you using

Re: [Flashcoders] avoiding a stack of lists

2006-01-30 Thread Nathan Derksen
Sorry for the delayed response, it's been a busy day. It's been a while since I have touched Lingo, so I won't comment there, but yah it's basically a list of properties. Associative arrays can be accessed in two ways. First: listRelationships:Object = new Object();

Re: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread JesterXL
It's because LivePreview variables are different SWF's, but same depth. Gary wrote the original LivePreview.as file (in includes in Flash MX 2004's install directory), and you can take a look at it to see how it works. I had the same problem with my Flowchart components. Basically, things were

[Flashcoders] How will asfunction work in AS3/MXML? Jester?

2006-01-30 Thread Tom Bray
If I have a link like this in a Flex2 TextArea like this: a href='asfunction:doSomething,foo'click here/a Where do I put my doSomething() method? -Tom ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] How will asfunction work in AS3/MXML? Jester?

2006-01-30 Thread JesterXL
Docs are down, but here's some psuedo code for you: import flash.util.trace; your_txt.addEventListener(TextStuff.LINK, onHyperlinkClicked); function onHyperlinkClicked( event:Event ) { trace(You clicked on + event.target); // your_txt trace(The text is: + event.text); // doSomething }

Re: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread judah
I wrote a post on working with live preview on my lame ass blog at http://www.judahfrangipane.com/?p=13. Judah JesterXL wrote: It's because LivePreview variables are different SWF's, but same depth. Gary wrote the original LivePreview.as file (in includes in Flash MX 2004's install

Re: [Flashcoders] How will asfunction work in AS3/MXML? Jester?

2006-01-30 Thread Tom Bray
Thanks, Jesse. I was able to find the right event using the code hints in Flexbuilder (see below) but I'm stuck until I find out how asfunction has changed so I can actually trigger the event. I'll hold my breath until the docs come back... import flash.events.*

[Flashcoders] LoadMovie Problem?

2006-01-30 Thread Dhiraj Girdhar
Hi All, I am trying to load a new SWF file on root movie clip using following action script code, but it is not working properly. It is loading its first frame only. But the SWF file (to be loaded) is having more than one pages. loadMovie(C:\\ pages.swf, _root); _root.gotoAndStop(3);

Re:[Flashcoders] Author time/live preview of custom component

2006-01-30 Thread GregoryN
Seems you don't set your own onUpdate() and setSize() functions. Have a look at file mm_livepreview.as (can be found in ...First Run\Include). It manages all the Live Preview behaviour. Then try to check onUpdate() and setSize() functions in native MM components to see how it works.

RE: [Flashcoders] Component and Live Preview problems

2006-01-30 Thread GregoryN
Do you subclass UIComponent or just MovieClip? What code do you use for onUpdate? Try to trace components names etc while in live preview. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability