[Flashcoders] Font styles in Flash

2006-03-09 Thread Timo Koro
Hi all! I'd like to know how do I enable all the different font styles in Flash authoring environment. I have font faces which have many styles like "light, regular, medium, bold, black", which are all available in Photoshop for example, but not in Flash. In Flash I only have a couple of these

[Flashcoders] Help with BitmapData - BitmapDataManager

2006-03-09 Thread Ramon Miguel M. Tayag
Hey guys, I quickly whipped something up before. It's called the BitmapDataManager. It's a class that allows a movieclip to stay as a bitmap so that it's easier to animate complex vector data. For more info read http://www.flashkit.com/board/showthread.php?t=659163 This is where I need help: ri

RE: [Flashcoders] Assign instance names with JSFL

2006-03-09 Thread Brooks Andrus
>From the docs: fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].name = "clip_mc"; First you have to add the item to the stage. Then, grab a reference to the timeline object and select the MovieClip by walking the layers / frames / elements array. In the past I've locked all

Re: [Flashcoders] best flash actionscript book/reference

2006-03-09 Thread Michael Bedar
Just wait a few months and read up on Flex2 in the meantime :) On Mar 9, 2006, at 8:34 PM, Andy Johnston wrote: I would highly recommend Colin Moock's Essential Actionscript 2.0 it is an excellent guide to the package system and object oriented goodness. so after not having coded in flash

[Flashcoders] Assign Instance name in JSFL

2006-03-09 Thread Spencer Markowski
I'm answering my own question. You do it like this in case anyone was wondering: fl.getDocumentDOM().setElementProperty('name','default_txt'); easy enough. -- Spencer Markowski [EMAIL PROTECTED] 314.631.5576 ___ Flashcoders@chattyfig.figleaf.com To cha

[Flashcoders] Assign instance names with JSFL

2006-03-09 Thread Spencer Markowski
Do any of you JSFL experts know how to assign an instance name to an MovieClip or TextField added using JSFL? I'm using the below to create a dynamic text box.. I need to assign an instance name to it: fl.getDocumentDOM().library.addItemToDocument({x:0, y:0}); fl.getDocumentDOM().enterEditMode('i

Re: [Flashcoders] Flash / Flex / ActionScript Podcasts?

2006-03-09 Thread Mike Britton
I did one, but I think the most interesting development podcasts involve more than one person. Conversation between more than one developer is compelling; the pontifications of one person are weak, at best. I'm still trying to figure out the medium. Mike _

[Flashcoders] Flash / Flex / ActionScript Podcasts?

2006-03-09 Thread JesterXL
Anyone doing any of these? Which ones do you like and not like, and why? ___ 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 Lea

[Flashcoders] Re: Re: Re: Doh! Convertingafloatingpointstringtonumberloses precision

2006-03-09 Thread A.Cicak
I dont agree its cleaner but it depends on person, maybe its cleaner to you, and even if you are using array of integers its still slower (as is with strings). ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the a

Re: [Flashcoders] best flash actionscript book/reference

2006-03-09 Thread Andy Johnston
I would highly recommend Colin Moock's Essential Actionscript 2.0 it is an excellent guide to the package system and object oriented goodness. so after not having coded in flash for about 5 years (lots of changes) and getting hardcore back into actionscript, and ESPECIALLY this list :P (love yo

[Flashcoders] best flash actionscript book/reference

2006-03-09 Thread murder design
so after not having coded in flash for about 5 years (lots of changes) and getting hardcore back into actionscript, and ESPECIALLY this list :P (love you all!) ... whats a good reference with examples for all flash as2.0 etc methods objects properties etc. whats the best all around intermediate or

[Flashcoders] Can't reference a library font from inside a static class (?)

2006-03-09 Thread Merrill, Jason
OK - been stuck on this for too long now, need some help. There is something I am not understanding about Classes, embedding fonts and TextFormat(). The basic problem is embedding font in a class definition is not working like it does with a timeline frame script. Is this a bug or "feature" of F

Re: [Flashcoders] dynamically naming sound objects?

2006-03-09 Thread Marc Hoffman
What makes you think they're not being created? Have you traced the array? More likely, the paths to the mp3's are wrong, in which case testing from the Flash API you'd get output errors indicating the file could not be found/loaded. FYI, "sound objects" are just code objects created in Action

Re: [Flashcoders] dynamically naming sound objects?

2006-03-09 Thread Andy Johnston
function loadSounds() { for (var i:Number = 0; i < mySounds.length; i++) { sRef = _root["sound"+i] // I assume sRef is a already created movieClip var testSound:Sound = new Sound(sRef); sounds_array.push(testSound); testSound.loadSound(mySounds[i], False); } } I am trying to create a reu

[Flashcoders] dynamically naming sound objects?

2006-03-09 Thread murder design
I am trying to create a reusable function to load sound objects, dynamically naming them in sequence, and dynamically placing them into an array to hold a pointer to them. however, they do not seem to be being created. any ideas? // begin code var mySounds:Array = new Array(); var sPath:String = "

RE: [Flashcoders] textArea background colour

2006-03-09 Thread Judah
Hi Simon, textinput.setStyle("backgroundColor", "transparent"); textinput.setStyle("borderStyle", "none"); Judah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon Lord Sent: Tuesday, March 07, 2006 6:03 PM To: Flashcoders mailing list Subject: [Flash

[Flashcoders] Masking Movieclips with BitmapData

2006-03-09 Thread Karim Beyrouti
Hi All, I am trying to mask an object on stage with a bitmapData Object that was generated from a movieclip. I am hopeing that this will enable me to use strokes to mask object.. Anyway, I've found an example online that will help me clone a movieclip, to a bitmap, and managed to keep the transpar

Re: [Flashcoders] Hiding methods from the compiler

2006-03-09 Thread Derek Vadneau
"Not sure for SWFStudio." Latest version of SWF Studio comes with intrinsic classes that you can just include in your classpath. Derek Vadneau Northcode Inc. http://www.northcode.com - Original Message - From: "JesterXL" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursd

Re: [Flashcoders] Hiding methods from the compiler

2006-03-09 Thread JesterXL
For Zinc, define in main class: var mdm:Function; For mProjector, prefix with _global. Not sure for SWFStudio. - Original Message - From: "Mike Mountain" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, March 09, 2006 11:08 AM Subject: [Flashcoders] Hiding methods fr

[Flashcoders] Hiding methods from the compiler

2006-03-09 Thread Mike Mountain
I'm writing my own place holder components for zinc (browser, ActiveX, FileExplorer etc.) and have to call the zinc methods in the init Eg. mdm.FileExplorer.init(); Everything's fine but the compiler moans everytime that there's no such method, how do I hide this from the compiler? Cheers M _

Re: [Flashcoders] Water transition

2006-03-09 Thread bryan.rice
There is a great water ripple effect linked to in Andre Michelle's blog: http://blog.andre-michelle.com/2005/flash8-sourcecodes/ You could adapt that. blue skies, bryan ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

Re: [Flashcoders] Water transition

2006-03-09 Thread Serge Jespers
While I appreciate any leads, this is not really helping. Thanks though. I guess if no-one can help me, I'll have to try and clone myself somehow. ;-) Serge Google search for "ripple effect flash" 3rd result: http://www.freehandsource.com/_test/ripple.html _

Re: [Flashcoders] stop() an empty movieclip still relevant for FP8?

2006-03-09 Thread JesterXL
That doesn't do anything. If a movieclip is empty, there is nothing to play. - Original Message - From: "Peter O'Brien" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, March 09, 2006 10:23 AM Subject: [Flashcoders] stop() an empty movieclip still relevant for FP8?

[Flashcoders] edit multiple colors in txtField

2006-03-09 Thread Michael K
I need to make a text tool that allows the user to select some text, press a button and the selected text changes according to the color of the button. Basically I want to insert som html formatting into the string and show it as html text eg Hello there My approach is like this: 1. When

[Flashcoders] stop() an empty movieclip still relevant for FP8?

2006-03-09 Thread Peter O'Brien
Looking at converting someone elses AS1 code to AS2, and there's a practise of: createEmptyMovieClip('ex',1); ex.stop(); which is noted to save cpu usage. Is this a relevant optimisation for FP8? ___ Flashcoders@chattyfig.figleaf.com To change your s

Re: [Flashcoders] image blurred edges

2006-03-09 Thread JesterXL
Not hard to add. Just test if System.capabilities.version is 8, and if so, run the function, otherwise, run the regular loadMovie. That way, the code will work all the way back to 6. Use getVersion() if you need to support 5. - Original Message - From: "Ralph Guzman" <[EMAIL PROTECTE

Re: [Flashcoders] Robust Drawing Classes?

2006-03-09 Thread Janis Radins
Finally I have my drawing classes ready. They might need some minor modifications but in general they are doing what I was planning. You can get em at www.mediaverk.lv/asd Everyone is wellcome to share ideas on what could be improved. 2006/2/22, Peter O'Brien <[EMAIL PROTECTED]>: > > I can't test

Re: [Flashcoders] Documentation Generator

2006-03-09 Thread eric dolecki
VisDoc for OS X is the best documentation creator I've ever come across. - e.dolecki ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to yo

Re: [Flashcoders] Documentation Generator

2006-03-09 Thread Ron Wheeler
Doxygen is a free multi language Javadoc generator with an Eclipse plug-in. Generates API style docs and Class diagrams. It is keeps you in the mainstream of programming with one tool for both client and server documentation. Supports all of the JavaDoc notational bits. Ron Michael Trim wrote

[Flashcoders] OnScreen Keyboard

2006-03-09 Thread Jim Tann
Hello all, I am building a trade stand presentation for use with a touch screen & no keyboard but the client wants registration details. This means an on screen keyboard. Does anyone have one they can share / know about one I can use. Cheers Jim ___ Fla

Re[2]: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-09 Thread Iv
Hello, example of pyramidal depth management: MovieClip.prototype.addProperty("topDepth", function () { var mc, mcd, d; for (mcd in this) { if ((mc=this[mcd])._name == mcd & mc instanceof MovieClip & mc._parent == this) { return (d=this[mcd].getDepth()+1)<1 ? 1 : d; }

[Flashcoders] preloader issue

2006-03-09 Thread murder design
well, the preloader does display load status, then simply repeats, instead of deleting itself, it just repeats the loading ... any ideas??? i just want the swf it loads to not play or start until it is fully loaded, and the label_txt is deleted etc ... onClipEvent(load) { this.loadMovie("

Re[2]: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-09 Thread Iv
Hello Flash, FM> I am not allowed to use Flash 8 for this project. FM> They want it published in Flash 6. From what I was reading the new FM> DepthManager class only works with Flash 8. http://proto.layer51.com/d.aspx?f=834 use property below main code. -- Ivan Dembicki __

Re: [Flashcoders] Re: Re: Doh! Converting afloatingpointstringtonumberloses precision

2006-03-09 Thread Danny Kodicek
"A.Cicak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] If you are going to work with strings as you mentioned thats actualy much slower than simply loop through array and multiply by 3 each element (of course store extra number which is carried over in the same loop). In your c

Re: [Flashcoders] RE: getDepth: highest depth, middle depth, lowest depth

2006-03-09 Thread Flash Mel
Thanks guys! I was reading the archives about the DepthManager class and peeked into the recent "z ordering" thread for some useful info. My one problem that I am running in to is that for whatever reason, my boss is telling me I am not allowed to use Flash 8 for this project. They want it publi

[Flashcoders] Documentation Generator

2006-03-09 Thread Michael Trim
Which is the preferred documentation generator of choice? Not too worried about cost (within reason!). Have looked at http://www.as2doc.com/index.php?p=13 http://www.blinex.com/products/bldoc (good but more than 5000 lines of code) Any other contenders / recommendations? TIA Michael Micha

[Flashcoders] Re: Re: Doh! Converting a floatingpointstringtonumberloses precision

2006-03-09 Thread A.Cicak
If you are going to work with strings as you mentioned thats actualy much slower than simply loop through array and multiply by 3 each element (of course store extra number which is carried over in the same loop). In your case it would require at least two passes and in this case only one. _

RE: [Flashcoders] Water transition

2006-03-09 Thread Steven Sacks
Google search for "ripple effect flash" 3rd result: http://www.freehandsource.com/_test/ripple.html > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Serge Jespers > Sent: Thursday, March 09, 2006 2:44 AM > To: Flashcoders mailing list > Subje

[Flashcoders] Re: Transition Manager problems

2006-03-09 Thread grimmwerks
ARGH. I found the problem - I was trying to do a reflection with another class, and that messed with the display. HOURS wasted on stupidty. Hooray. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://ch

[Flashcoders] Transition Manager problems

2006-03-09 Thread grimmwerks
I've got what should seem simple - 3 different slideshows on the stage being fed from an xml file -- for some reason they're glitching out -- I'm thinking it's because of TransitionManager losing scope? I"ve got a zip up at grimmwerks.com/test.zip if anyone feels like lending a hand. Thanks.

[Flashcoders] Water transition

2006-03-09 Thread Serge Jespers
Hey guys, For a project on a way too tight deadline, I'm urgently looking for a Flash 8 watery transition between two (loaded) images. Transition should be like a waterdrop on img one and then in then transition in the waterripples to img two. Anyone of you can whip something up or have som

Re: [Flashcoders] Flash Web Browser Component

2006-03-09 Thread Sam Thorne
Depends on the content of the web page of course, but this component does pretty well. http://sourceforge.net/projects/fpxhtmlrender On 8 Mar 2006, at 17:56PM, Greg Conover wrote: Does anyone know of a Flash component that allows you to call up a URL and display a Web page? Standard compon

Re: [Flashcoders] Flash Web Browser Component

2006-03-09 Thread ryanm
Yeah, Zinc lets you embed an IE ActiveX control; it basically positions it over top of your Flash. However, that's EXE only. H... flash, with a web broswer control in it... with a flash piece in it... 8-O ryanm ___ Flashcoders@chattyfig.fi

Re: [Flashcoders] Flash Web Browser Component

2006-03-09 Thread Janis Radins
get real, Flash HTML tag support is way too weak to display any even most simple one web page 2006/3/8, Johannes Boyne <[EMAIL PROTECTED]>: > > But do you really want ActiveX in your Flash?! I think, it isn't in a > SandBox like Flash or Java, so it is dangerous, right? And there, from > my point

[Flashcoders] UnRegistering a class/symbol binding

2006-03-09 Thread Grant Davies
Hi guys, I have a project that is raising some challenges due to the data having to be embedded into the swf rather than read externally. I need to show a dumb example to describe the problem, I would much rather solve it some other way but I'm bound by some client requirements at this time. Ima