[Flashcoders] Preloader in Flash CS3 with AS3?

2007-04-30 Thread Sascha
Hi folks, How do you implement a preloader with AS3 in Flash CS3? I don't mean a preloader that loads additional files but a preloader that preloads the SWF that the preloader is part of. I'm a bit puzzled about this right now as you cannot easily access bytesLoaded/bytesTotal anymore without

Re: [Flashcoders] Creating Buttons with dynamic labels

2007-04-30 Thread sebastian
hi John, the trick is to make invisible buttons stacked ontop of another layer where you have dynamic text fields. the invisible button is set to be the same height/width as the text field [with code you can make it match the text's width/height if its dynamic], and then with code you can

Re: [Flashcoders] Flash and the Xbox 360 ...

2007-04-30 Thread master
Hi, You can have a look at this site http://www.flash-video-mx.com. it may help you~! Best regards! master 2007-04-30 From: Stephen Ford Sent: 2007-04-30 12:36:52 To: flashcoders@chattyfig.figleaf.com CC: Subject: [Flashcoders] Flash and the Xbox 360 ... Just got my hands on an

Re: [Flashcoders] Flash and the Xbox 360 ...

2007-04-30 Thread nik crosina
hi master, aslightly off topic for this thread... but do you know if these conversion tools are any good and worth bookmarking? Can they do more than flash itself? especially with the swf to video area? nik crosina On 4/30/07, master [EMAIL PROTECTED] wrote: Hi, You can have a look at this

RE: [Flashcoders] flowcharting

2007-04-30 Thread Danny Kodicek
OpenOffice has a nice drawing tool with all of the flowcharting symbols defined. www.openoffice.org You can colour and shade them to your hearts content. If you want to look at alternatives, I'm a fan of SmartDraw, which is good for mocking up interfaces as well. For flow charts

Re: [Flashcoders] Re: OOP: design patterns: multiple MVCs?

2007-04-30 Thread sebastian
Hi Ron! Thanks for the advice, I think I solved it by removing the 2 MCV's and just making nested classes within the view. http://www.chedal.org/temp/uml_idea_02.png State machines are quite interesting, and I think I'll use that form of logic with switch-case statements inside of the

[Flashcoders] OSX Menu -----Cool

2007-04-30 Thread Prince Zain
Hi Friends, I am new to flash code. Can anybody please guide me to make the following code of OSX menu in vertical format. Here is the like of original code. http://www.reflektions.com/miniml/template_permalink.asp?id=356 The *.fla file is uploaded on following path

[Flashcoders] TextFileds not receivign data?

2007-04-30 Thread John Trentini
Hi guys, I want to create as many text fields (which eventually I would like to turn into buttons) as the length of an array. I also want to use the content of the array to populate the text of the fields created dynamically. I have tried everything I know but all I seem to get is one

SV: [Flashcoders] TextFileds not receivign data?

2007-04-30 Thread Pierre Eklöf
Looks like you´ve created the textfields on the same level. Create the fields like this instead: _root.createTextField(mytext+[i], this.getNextHighestDepth(), myX, 0, 100, 30); Cheers Pierre (first post, wahey!) -Ursprungligt meddelande- Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Flashcoders] TextFileds not receivign data?

2007-04-30 Thread Jim Robson
Just took a quick look, but I think that this line may be giving you trouble: myId = _root[mytext+[i]]; You may want to try this instead: var myId = _root.createTextField(mytext+[i], 1, myX, 0, 100, 30); HTH Jim On Mon, 30 Apr 2007 21:06:49 +1000 John Trentini [EMAIL PROTECTED] wrote: Hi

RE: [Flashcoders] TextFileds not receivign data?

2007-04-30 Thread Amandeep Singh
Hi, Seen you code. Just change the following line of code: _root.createTextField(mytext+[i], 1, myX, 0, 100, 30); To this one: _root.createTextField(mytext+[i], i, myX, 0, 100, 30); ** The problem with your code is that you are giving the same depth to all the

RE: [Flashcoders] Have anyone idea

2007-04-30 Thread Danny Kodicek
Hello everybody! I want to know that if we make a cube in flash then want to play with it like shock boy at www.neostream.com . If any one have idea so please tell me and one thing more is, please give me some resources to learn physics and trignometry for flash. For the last, you

Re: [Flashcoders] Re: OOP: design patterns: multiple MVCs?

2007-04-30 Thread Ron Wheeler
I am using ArgoUML which is open source (www.tigris.org) but the diagrams are not nearly as attractive. Ron sebastian wrote: Hi Ron! Thanks for the advice, I think I solved it by removing the 2 MCV's and just making nested classes within the view.

[Flashcoders] OT - Six-month contract opportunity in Dallas, TX area

2007-04-30 Thread Jim Armstrong
A company I contract for has an opening for a Flash developer - AS 2/F8, OOP, the usual stuff. Must be in the Dallas, TX area and able to work on-site. Contract duration is approximately six months. If interested, contact me off-list with resume, url's etc. Thanks! - jim Armstrong

[Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread David Bellerive
Does anyone know if string literals are the same as String objects in AS3? From what I understand, in AS2, a String object was a wrapper object around a string literal. For exemple, in AS2, these were not the same: var myFirstString:String = my first string; var mySecondString:String = new

[Flashcoders] Re: flash Dock

2007-04-30 Thread Prince Zain
Hi Friends, I am new to flash code. Can anybody please guide me to make the following code of OSX menu in vertical format. Here is the like of original code. http://www.reflektions.com/miniml/template_permalink.asp?id=356 The *.fla file is uploaded on following path

Re: [Flashcoders] Re: flash Dock

2007-04-30 Thread eric e. dolecki
Quit bumping your posts by copy pasting your old one. Wait a bit and see if someone answers, okay? - eric On 4/30/07, Prince Zain [EMAIL PROTECTED] wrote: Hi Friends, I am new to flash code. Can anybody please guide me to make the following code of OSX menu in vertical format. Here

RE: [Flashcoders] Flash and the Xbox 360 ...

2007-04-30 Thread Ken Rogers
felt like spam to me.. -Original Message- From: [EMAIL PROTECTED] on behalf of master Sent: Mon 4/30/2007 12:15 AM To: [EMAIL PROTECTED] Subject: Re: [Flashcoders] Flash and the Xbox 360 ... Hi, You can have a look at this site http://www.flash-video-mx.com. it may help you~! Best

Re: [Flashcoders] flowcharting

2007-04-30 Thread Jordan Snyder
If anyone's on a Mac, Omnigraffle Pro is a great app. Cheers On 4/30/07, Danny Kodicek [EMAIL PROTECTED] wrote: OpenOffice has a nice drawing tool with all of the flowcharting symbols defined. www.openoffice.org You can colour and shade them to your hearts content. If you want to look at

[Flashcoders] TransitionManager type Fly breaks coordinates of my MovieClips

2007-04-30 Thread Alexander Farber
Hello, I have a v2 component displaying up to 12 playing cards at the bottom of the stage and slightly rotating them from left to right: private function placeCards(new_array:Array):Void { var gap:Number = 40; for (var i:Number = 0,

[Flashcoders] Re: TransitionManager type Fly breaks coordinates of my MovieClips

2007-04-30 Thread Alexander Farber
The funny thing is that it only happens with Fly: On 4/30/07, Alexander Farber [EMAIL PROTECTED] wrote: //TransitionManager.start(card_mc, {type:Fly, direction:Transition.IN, // duration:3, easing:Strong.easeOut, startPoint:(1 + i % 3)}); When I take some other

Re: [Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread T. Michael Keesey
On 4/30/07, David Bellerive [EMAIL PROTECTED] wrote: From what I understand, in AS2, a String object was a wrapper object around a string literal. For exemple, in AS2, these were not the same: var myFirstString:String = my first string; var mySecondString:String = new String(my second

Re: [Flashcoders] Flash and the Xbox 360 ...

2007-04-30 Thread Gustavo Duenas
doesn't the flash 8 and cs3 already have a video converter? Regards Gustavo Duenas I don't feel good to pay something extra for something that I've already have in flash 8. On Apr 30, 2007, at 11:03 AM, Ken Rogers wrote: felt like spam to me.. -Original Message- From: [EMAIL

Re: [Flashcoders] Re: flash Dock

2007-04-30 Thread Lists
For real. Wow, four hours. On 4/30/07 10:56 AM, eric e. dolecki [EMAIL PROTECTED] wrote: Quit bumping your posts by copy pasting your old one. Wait a bit and see if someone answers, okay? ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] Developing Components with AS3 and CS3

2007-04-30 Thread Sascha
Hi list, Now that we have AS 3.0 and Flash CS3 we can finally start to make some decent Flash components, don't we? Or so I thought but it's not exactly the same like making components with AS2 and resources on how to develop them with CS3 and AS3 are sparse or should I say non-existent so

Re: [Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread Julian 'Julik' Tarkhanov
On Apr 30, 2007, at 4:18 PM, David Bellerive wrote: I'm not 100% sure that's right but that's what I think it used to be in AS2. Now in AS3, I'm not sure but I think this might have changed. The generics blues. -- Julian 'Julik' Tarkhanov please send all personal mail to [EMAIL

Re: [Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread Julian 'Julik' Tarkhanov
On Apr 30, 2007, at 4:18 PM, David Bellerive wrote: I'm not 100% sure that's right but that's what I think it used to be in AS2. Now in AS3, I'm not sure but I think this might have changed. oops.. no I guess they call it boxing now generics is about collections but nevertheless -- Julian

[Flashcoders] Job: Flash Developers wanted in Los Angeles (freelance or full-time)

2007-04-30 Thread T. Michael Keesey
Exopolis, Inc., an award-winning interactive/motion design company located in Los Angeles (Silver Lake), is looking for Senior Flash Developers to join our dynamic, high-powered team. We are open to staff or contractor positions. Must be local (no relocation). Contractors may work off-site when

Re: [Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread David Bellerive
In AS2, your example would of course work but only because the Flash Player would create a temporary String object with your string literal, then get the object's length property and return the value, and then delete the temporary String object it created. So yes, all method calls and get/set

[Flashcoders] compare Objects

2007-04-30 Thread Gilles Roquefeuil
Hello, seems trivialo, but is there a simpler way to compare two identically formed objects than recursively compare their props (and types and values of their props)? var obj1:Object = {a:0,b:1,c:[0,1,2],d:[{x:0,y:10},{x:10,y:0}]} var obj2:Object =

Re: [Flashcoders] More fun with XPATH... now I want XSLT in Flash!

2007-04-30 Thread Peter Hall
On 4/13/07, Josh Santangelo [EMAIL PROTECTED] wrote: I wanted the same thing at once time, and asked the xfactorstudio gent about it. He said that he'd looked into it at once point but found that it was very difficult to implement XSLT in AS2 at any reasonable level of performance. AS3 + E4X

[Flashcoders] object tag params

2007-04-30 Thread [p e r c e p t i c o n]
I have a question regarding the params in the object tag. first, are the default params (height, bgcolor etc) the only ones permitted? second how can i pass in a var at runtime...so far i'm doing it like this object classid=clsid:d27cdb6e-ae6d-11cf-96b8-44455354 codebase=

[Flashcoders] OT: Share Music Online

2007-04-30 Thread Glen Pike
Hi, Flickr is to photo's what ? is to audio This is a bit OT, but does anyone have any links to sites that would fill in the blank for me? Googling also... (Not myspace). Thanks in advance. ___

Re: [Flashcoders] OT: Share Music Online

2007-04-30 Thread Paul V.
Glen, Hey, I have been wondering that from time to time as well. I actually started a mini project to put up free sounds. http://websounds.stilllightarts.com which to be honest has only a few samples so far. But here are a couple of other sites, not a sound registry - no pun intended

[Flashcoders] Flash Over Windows Media Player

2007-04-30 Thread Jason Lutes
Is there a way to display a Flash movie above an embedded Windows Media Player in the browser? I've tried various things with CSS z-index and the Flash object wmode parameter, but can't get it to work. Is there something I'm overlooking or is this just not going to happen? Thanks. - Jason

[Flashcoders] RE: Flash Over Windows Media Player

2007-04-30 Thread Jason Lutes
Scratch that. Setting the wmode to window works just fine. - Jason Is there a way to display a Flash movie above an embedded Windows Media Player in the browser? I've tried various things with CSS z-index and the Flash object wmode parameter, but can't get it to work. Is there something

[Flashcoders] Re: SendAndLoad

2007-04-30 Thread Helmut Granda
bounce... On 4/27/07, Helmut Granda [EMAIL PROTECTED] wrote: How long does the server waits before it returns an error message? Say I sent 40 variables to the server and the server receives the variables but doesn't process them correctly so it just hangs there, does flash has a time limit to

Re: [Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread Fumio Nonaka
Programming ActionScript 3.0 ActionScript language and syntax Data types: http://livedocs.adobe.com/flash/9.0/main/0044.html In ActionScript 3.0, primitive values and their wrapper objects are, for practical purposes, indistinguishable. All values, even primitive values, are objects.

Re: [Flashcoders] Re: SendAndLoad

2007-04-30 Thread Leandro Amano
import mx.utils.Delegate; var sendObj:LoadVars = new LoadVars(); sendObj.variable = value; sendObj.sendAndLoad(server_side.extension, sendObj, POST); sendObj.onData = Delegate.create(this, onReceiveData); function onReceiveData (string:String):Void { //do something } On 4/30/07, Helmut Granda

Re: [Flashcoders] Are string literals and String objects the same in AS3?

2007-04-30 Thread David Bellerive
Thanks Fumio! That's the answer I was looking for. So my next question would be : When would you ever need to use the String class' constructor instead of just a string literal? AS2.0 var myString:String = this is a string; trace(myString instanceof String);// outputs FALSE AS3.0 var

Re: [Flashcoders] compare Objects

2007-04-30 Thread Ron Wheeler
It is more reasonable to include a method in the class to compare itself to another instance of itself. x= new myObj(1,2,3) y=new MyObj(1,2,4) trace (x.isequal(y)) Ron Gilles Roquefeuil wrote: Hello, seems trivialo, but is there a simpler way to compare two identically formed objects than

Re: [Flashcoders] compare Objects

2007-04-30 Thread Ron Wheeler
Fix a small typo It is more reasonable to include a method in the class to compare itself to another instance of itself. x= new MyObj(1,2,3) y=new MyObj(1,2,4) trace (x.isequal(y)) Ron Gilles Roquefeuil wrote: Hello, seems trivialo, but is there a simpler way to compare two identically

Re: [Flashcoders] Re: flash Dock

2007-04-30 Thread Andrés González Aragón
May be if that code wasn't decompiled with sothink, was more legible. I say it because sothink decompiler writes _locN variables. I was atempt to use when i lost a fla file. 2007/4/30, Lists [EMAIL PROTECTED]: For real. Wow, four hours. On 4/30/07 10:56 AM, eric e. dolecki [EMAIL PROTECTED]

[Flashcoders] Two column forms and removing null

2007-04-30 Thread Dennis Asher
Just starting with Flex. A couple of questions: Can I auto layout my form in 2 columns without absolute positioning? ie. specify n columns or??? and I have text boxes and images sourcing content from a database. How do I stop the 'null' appearing in the text box when there is no data in the

Re: [Flashcoders] Re: SendAndLoad

2007-04-30 Thread Helmut Granda
Thanks Leandro. I really appreciate it. On 4/30/07, Leandro Amano [EMAIL PROTECTED] wrote: import mx.utils.Delegate; var sendObj:LoadVars = new LoadVars(); sendObj.variable = value; sendObj.sendAndLoad(server_side.extension, sendObj, POST); sendObj.onData = Delegate.create(this,