[Flashcoders] Sound object behaving strangely in Firefox on a PC

2007-04-26 Thread James Pine
Hey Everyone, I have a simple audio player that works fine in IE on a PC running windows as well as Firefox/Safari on a Mac, but doesn't work right in Firefox v2.0 in Windows. It plays the MP3 for about 1 second and then the sound cuts out. I'm using the sound object and using loadSound(URI,boolea

RE: [Flashcoders] Clear Set Interval Q:

2007-04-26 Thread Jesse Graupmann
@ Muzak Clearing the previous interval works as expected. I'm showing the same example with a little more padding to illustrate how it might be better used inside another function - the benefit being the ability to still keep track of the most current interval id. // // ONLY ONE INTE

RE: [Flashcoders] WhITE SNOW and Seven Dwarf - MAth Problems!

2007-04-26 Thread Jesse Graupmann
I'm glad you cleared up exactly what you are attempting to do. I found this to be a very interesting challenge. The goal here was to minimize the amount of processes it will take to increment a given length at an adjustable stagger. I'm no mathematician but I haven't seen any problems unless you

[Flashcoders] Re: should be simple: MovieClip drawing API

2007-04-26 Thread ej
Muzak telenet.be> writes: > > You need to use lineTo in the loop, instead of moveTo. DOH! That was stupid. Silly cut and paste error that I didn't see. :( Thank you for spotting that for me! Yes, I like your Point code better. Still lots for me to learn, obviously. Thanks for that example as

Re: [Flashcoders] flash 9 alpha failing in mac intel

2007-04-26 Thread Ben Cline
Gustavo, I have the exact same problem on my MacBook.so I am eager to know if anyone else knows the answer to this question! - Ben On Apr 26, 2007, at 10:58 PM, Gustavo Duenas wrote: does anyone knows why this happens. I've downloaded this flash 9 alpha long ago, but recently I've tr

[Flashcoders] flash 9 alpha failing in mac intel

2007-04-26 Thread Gustavo Duenas
does anyone knows why this happens. I've downloaded this flash 9 alpha long ago, but recently I've tried to used an when I tried to use the flash playerit show this message: java runtime error, you might need to reinstall flash and then quits, well I've installed the program several ti

Re: [Flashcoders] Dump ByteArray localy

2007-04-26 Thread Weyert de Boer
Yeah, wrapped it into Apollo ;) Apollo has API to write it to a file. ___ 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 Leaf S

[Flashcoders] Dump ByteArray localy

2007-04-26 Thread Ruslan Shestopal
Hi, List! Is there any way to dump ByteArray locally (save to file)? I mean not like sending a RAW data to server script and loading back a response. Thanks in reply. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search th

[Flashcoders] flash changing size on mouseover

2007-04-26 Thread Darren Cook
Hi FlashCoders, I'd like to make a flash movie that displays small most of the time but when clicked, or on mouseover, it opens up big (either covering up the rest of the web page - which will be standard HTML - or shuffling down the rest of the web page). This isn't for a banner, but I've seen it

Re: [Flashcoders] should be simple: MovieClip drawing API

2007-04-26 Thread Muzak
You need to use lineTo in the loop, instead of moveTo. You should also look into using Point (flash.geom.Point) for the x,y positions rather than Array's. Here's a slightly modified version: import flash.geom.Point; var RED = 0xFF; // some defined (x, y) coordinates var nw_pt:Point = new P

[Flashcoders] should be simple: MovieClip drawing API

2007-04-26 Thread ej
I am new to ActionScript and Flash. I was just trying to fool around with a very simple example using the MovieClip programmatic drawing API. I thought I understood it well enough, but darned if I can make this work... I've seen a few things in AS & Flash so far that are a bit buggy, so now

RE: [Flashcoders] SuperScript (R) with html dynamic content

2007-04-26 Thread Hairy Dog Digital
You've got a few ways to achieve this, but they all require using a program such as Fontographer to create a custom version of the desired font that contains the superscript characters. Embed the custom font in your FLA, then use the tag around to specify the different face for the superscript.

Re: [Flashcoders] Flash Remoting in AS2 w/ .NET

2007-04-26 Thread Muzak
Have you used Object.registerClass() ? Object.registerClass("ClientInfo", full.namespace.to.ClientInfo); First parameter is the .NET object type, second is the full AS2 classpath. Also make sure the class gets compiled in the swf, so somewhere in the fla add: import full.namespace.to.ClientInfo

Re: [Flashcoders] Job Posting: Glenwood MD (Baltimore/DC)

2007-04-26 Thread Jordan Snyder
What's so great about Glenwood, Maryland? I can walk around the streets of Toronto topless...beat that. On 4/26/07, Kurt Dommermuth <[EMAIL PROTECTED]> wrote: now wait a minute! I was kiiiing. Just to be clear... people who work with me get paid very well. So come on people! Come

Re: [Flashcoders] preloader and cacheing problem

2007-04-26 Thread Glen Pike
Hi John, Saw your message on the Flashcoders list - I have been without an internet connection for a few days, so slowly wading through a ton of list emails. Did you sort out your cacheing / bandwidth problem? If you ever need help with Flash & ActionScripting, I am up for this.

Re: [Flashcoders] Job Posting: Glenwood MD (Baltimore/DC)

2007-04-26 Thread Kurt Dommermuth
now wait a minute! I was kiiiing. Just to be clear... people who work with me get paid very well. So come on people! Come work here in Glenwood Maryland and rule the world. Kurt At 03:41 PM 04/26/07, Helmut Granda wrote: And as far as money goes, you'll get paid what I tell you

Re: [Flashcoders] removeChild error

2007-04-26 Thread ben gomez farrell
Wow,um, that brings up a lot of questions for me. Oh well I'll have to keep playing. Glad that it at least LOOKED like I helped ya, cause really, i didn't! ben Bieniasz, Myles wrote: Thanks Ben, good to know about getChildByName. I've gotta lot of digging through the docs to do. I think wh

[Flashcoders] Flash Remoting in AS2 w/ .NET

2007-04-26 Thread Randy Tinfow
.NET Code: asoClientInfo.ASType = "ClientInfo"; asoClientInfo.Add("id", ds.Tables[0].Rows[0]["ID"]); asoClientInfo.Add("name", ds.Tables[0].Rows[0]["Name"]); asoClientInfo.Add("logo", ds.Tables[0].Rows[0]["Logo"]); htReturn.Add("clientInfo", asoClientInfo); //this is a hashtable Flash.Return = ht

Re: [Flashcoders] Job Posting: Glenwood MD (Baltimore/DC)

2007-04-26 Thread Helmut Granda
And as far as money goes, you'll get paid what I tell you you'll get paid. I like your options. Does it work the same with projects? ;) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.

Re: [Flashcoders] SuperScript (R) with html dynamic content

2007-04-26 Thread Helmut Granda
So how would you go about using a mix Regular and Superscripted of the same letter? On 4/26/07, Hairy Dog Digital <[EMAIL PROTECTED]> wrote: Not a good answer... but in these situations a custom font is needed that has the copyright symbol in the font already superscripted. Whenever I have had

Re: [Flashcoders] Flash 9 CS3 - Key questions

2007-04-26 Thread greg h
Regarding Flash / Flex integration ... As a Flash developer I have felt that Adobe was doing a pretty crappy job explaining Flash / Flex integration. Now I understand that they were just waiting to release Flash CS3. After all, Flex 2 is exclusively AS3 based. So in retrospect it seems fair tha

RE: [Flashcoders] SuperScript (R) with html dynamic content

2007-04-26 Thread Hairy Dog Digital
Not a good answer... but in these situations a custom font is needed that has the copyright symbol in the font already superscripted. Whenever I have had to deal with super-/subscripting other than the numbers 0-9, I've resorted to creating and embedding a custom font. -Original Message

RE: [Flashcoders] What's in a flash 9 format SWF generated by FB2 ?

2007-04-26 Thread Merrill, Jason
>>So those 560 bytes probably include some other info... I >>would just like to know what and why. Well, you'll know soon enough since Adobe just announced they would be distributing the Flex compilers as OpenSource. http://www.adobe.com/aboutadobe/pressroom/pressreleases/200704/042607Fle x.html

RE: [Flashcoders] removeChild error

2007-04-26 Thread Bieniasz, Myles
Thanks Ben, good to know about getChildByName. I've gotta lot of digging through the docs to do. I think what ended up being the problem was not removing the eventListener on the Sprite. When I added this it worked fine. event.target.removeEventListener(Event.ENTER_FRAME, fade_out); this.remo

Re: [Flashcoders] What's in a flash 9 format SWF generated by FB2 ?

2007-04-26 Thread David Bellerive
The Flex framework is definatly not included here since the project I'm building is an ActionScript project and not a Flex project. So those 560 bytes probably include some other info... I would just like to know what and why. The more we know about how the SWF file format works, the better. -

Re: [Flashcoders] What's in a flash 9 format SWF generated by FB2 ?

2007-04-26 Thread Austin Kottke
The swfs generated include the flex framework and specific classes to the framework. As far as I know it should be generating a class that is atleast 100k because you have to include the entire flex framework for a flex movie. Best Austin David Bellerive wrote: I was just wondering why, when

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread Ivan Dembicki
Leolea, Is there any doc online ? - now in russian only. translation in progress. -- iv ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brough

Re: [Flashcoders] removeChild error

2007-04-26 Thread ben gomez farrell
Ugh that's too bad. It looks like in the Event class the target is typed as an object, so you can use it as an object, but not as an InteractiveObject or more specifically a DisplayObject. But the fact you can use it as an object means that you can grab its name (there's an example of this in

[Flashcoders] What's in a flash 9 format SWF generated by FB2 ?

2007-04-26 Thread David Bellerive
I was just wondering why, when I make a default ActionScript project in Flex Builder 2, the file size of the generated SWF is around 561 bytes ? That's a SWF with an empty main (or document) class instance. I'm not saying that 561 bytes is too big. I'm just wondering why an empty flash 8 format

[Flashcoders] SuperScript (R) with html dynamic content

2007-04-26 Thread Helmut Granda
Hi All, I have been trying to figure out a way to add the copyright symbol as superscript without success, some people have gone as far as duplicating the font and editing the copyright symbol to match the one in a superscript. This is for a dynamic textfield with HTML text. Anyone has any ideas

RE: [Flashcoders] removeChild error

2007-04-26 Thread Bieniasz, Myles
I originally tried removeChild(event.target) and got this error 1118: Implicit coercion of a value with static type Object to a possibly unrelated type flash.display:DisplayObject. I got the DisplayObject(param) from the help docs in Flash but like I said, that throws me an error too. I tried yo

[Flashcoders] as3 addchild question

2007-04-26 Thread Gustavo Duenas
Hi Guys, I've just read that in AS3 there is no more createEmptyMovieClip or attachMovie so there is addChild, but the problem is when I use a loop to said this add child to load a linkage movie several times, it doesn't appear in the screen but one. here is the code I'm using in the flash 9

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread leolea
Nevermind, it was a sync problem. onEnterFrames were out-of-sync... On 4/26/07 11:31 AM, "leolea" <[EMAIL PROTECTED]> wrote: > > On 4/26/07 5:50 AM, "Danny Kodicek" <[EMAIL PROTECTED]> wrote: > >> Be aware, though, that the vertical line might well not give you the closest >> point on the c

Re: [Flashcoders] removeChild error

2007-04-26 Thread ben gomez farrell
Maybe I'm wrong, but I don't think DisplayObject works like that. You could create a new DisplayObject, but I don't think DisplayObject(param) does anything. I think you're either creating a new DisplayObject or creating a null object, and either way, it's not going to be a child of your mySp

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread leolea
Thank you, I redid my whole thing using your classes! Really super, more flexibility + less code ! Is there any doc online ? On 4/26/07 7:10 AM, "Ivan Dembicki" <[EMAIL PROTECTED]> wrote: > Hello, > > a little demo: > http://www.bezier.ru/tmp/answer_demo/ _

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread leolea
On 4/26/07 5:50 AM, "Danny Kodicek" <[EMAIL PROTECTED]> wrote: > Be aware, though, that the vertical line might well not give you the closest > point on the curve. If you want to find the closest point on the bezier to a > given point, that's a slightly different problem (for a quadratic bezier i

Re: [Flashcoders] Adobe to Open Source Flex!!!

2007-04-26 Thread Aaron Roberson
Technology becomes open-source. Therr IDE's (Flash CS3, Flex Builder) remain products to be sold. This way, they are still market leader to a market, which becomes more open and thus stronger than before, right? Sounds like an excellent business move to me! Feed the community, let the community

[Flashcoders] removeChild error

2007-04-26 Thread Bieniasz, Myles
I'm just starting to fool around with as3 and having a little fun with computeSpectrum. I keep getting an error when I try to removeChild. I'm using the Flash CS3 trial and setting the document class to mySpectrum. Any help/explanation would be greatly appreciated. Thanks in advance Here's m

Re: [Flashcoders] Matrix Building

2007-04-26 Thread Jon Bradley
On Apr 26, 2007, at 10:29 AM, Jiri Heitlager | dadata.org wrote: Can somebody help me out with dynamically building a matrix of clips. Well it is not really a matrix, see example: 1 2 3 4 12 5 11 6 10 9 8 7 Here's a solution for a square spiral matrix. Never converted

Re: [Flashcoders] Adobe to Open Source Flex!!!

2007-04-26 Thread Andrés González & Aragón
This is a hard hit to haxe and a brilliant marketing strategy for flex to be considered to work with MTASC, FDT and other open source compilers, besides a multiple posibilities of new OS projects. 2007/4/26, Zárate <[EMAIL PROTECTED]>: But releasing the compilers are really great news! That

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread leolea
Okay no ... It was the way I calculated my ratio that wasn't good. Works perfectly ! Instead of calculating the ratio on each loop using the actual _x, I use an initx variable... // init var initx:Number = some_random_x; mc._x = initx; //onEnterFrame ratio = (mc.initx - firstpoint.x)/(lastpoint

[Flashcoders] Matrix Building

2007-04-26 Thread Jiri Heitlager | dadata.org
Can somebody help me out with dynamically building a matrix of clips. Well it is not really a matrix, see example: 1 2 3 4 12 5 11 6 10 9 8 7 Thanks.. Jiri ___ Flashcoders@chattyfig.figleaf.com To change your subscription opt

Re: [Flashcoders] Pile of Objects Physics

2007-04-26 Thread Robert Brisita
Cheers for the site: http://lab.polygonal.de/ It has some great topics. I'm sure I'll refer to this site over and over again. Ciao, Rob. Joe Cutting wrote: Tom, Robert, Thanks for this. I've seen Fisix but was put off by the rather nebulous "we can negotiate licensing terms for commer

RE: [Flashcoders] Job Posting: Glenwood MD (Baltimore/DC)

2007-04-26 Thread Merrill, Jason
>>If you're the right fit, you'll jump out of bed most days >>anxious to kick some ass. If you're the wrong fit, I'll kick >>your ass. >> >>And as far as money goes, you'll get paid what I tell you >>you'll get paid. Tempting. Screw the corp world, sign me up. :) Jason Merrill Bank of Amer

Re: [Flashcoders] Flash 9 CS3 - Key questions

2007-04-26 Thread Marcelo de Moraes Serpa
I would be very interested on more informations about these points too... anyone ? On 4/3/07, Austin Kottke <[EMAIL PROTECTED]> wrote: Dear Zeh, Yea, and I've done it before. The way of doing it in flex is a lot more elegant and extremely useful. I just want to make sure that if someone wa

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread leolea
Thank you very much for this. The function you provided works super fine, but only once! If I call it in an onEnterFrame, here's what happens: http://pages.videotron.com/poubou/flash/cannes01.html Strange... or is it ? On 4/25/07 6:13 PM, "Joshua Sera" <[EMAIL PROTECTED]> wrote: > Actually,

[Flashcoders] Matrix Building

2007-04-26 Thread Jiri Heitlager | dadata.org
Can somebody help me out with dynamically building a matrix of clips. Well it is not really a matrix, see example: 1 2 3 4 12 5 11 6 10 9 8 7 Thanks.. Jiri ___ Flashcoders@chattyfig.figleaf.com To change your subscription opti

RE: [Flashcoders] Clear Set Interval Q:

2007-04-26 Thread Karina Steffens
Here's a class I developed to manage intervals. It's not a static or singleton, but instead should be instantiated to a variable. Can manage multiple events and eventTypes. Most of the explanation is in the comments, but here's an (untested) example: import.com.neoarchaic.util.delay; Class MyClas

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread Ivan Dembicki
Hello, a little demo: http://www.bezier.ru/tmp/answer_demo/ -- iv ___ 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 Leaf Sof

[Flashcoders] Glitch aesthetic techniques for PNG's [cross-list post alert]

2007-04-26 Thread James Marsden
Hallo, We'd like to glitch up some images but the trusty Glitchbrowser seems to fall over on PNG's http://glitchbrowser.com/glitchbrowser.php?http://news.bbc.co.uk Does anyone have any tips on how to glitch up an image that doesn't completely obscure the original and doesn't take ages? Anyo

RE: [Flashcoders] Curves question for math gurus

2007-04-26 Thread Danny Kodicek
> Hello leolea > > > I'm trying to figure out a way to have objects "snap" to > this curved > > line. I would distribute them over the _x axis, and I need > a formula > > to get their _y position on the curved line. > > - you need to find an intersections between 2D Bezier curve > and verti

RE: [Flashcoders] Clear Set Interval Q:

2007-04-26 Thread Tom Gooding
The most sensible way to use Intervals, which are very useful - but dangerous when not managed correctly, is to use an implementation of TimeOut, so you fire object methods after a given delay and the API you use for this, automatically clears up the interval. I can speak from experience as to the

Re: [Flashcoders] Pile of Objects Physics

2007-04-26 Thread Joe Cutting
Tom, Robert, Thanks for this. I've seen Fisix but was put off by the rather nebulous "we can negotiate licensing terms for commercial projects". Glad to hear you've used flade successfully. The version number (0.2 alpha) and lack of documentation were a concern but I'll have another look. For

Re: [Flashcoders] Curves question for math gurus

2007-04-26 Thread Ivan Dembicki
Hello leolea I'm trying to figure out a way to have objects "snap" to this curved line. I would distribute them over the _x axis, and I need a formula to get their _y position on the curved line. - you need to find an intersections between 2D Bezier curve and vertical lines. Uou can use our ge

Re: [Flashcoders] Job Posting: Glenwood MD (Baltimore/DC)

2007-04-26 Thread Kurt Dommermuth
Another job posting. (Go flashers! It's busy out there). I have some wonderful remote help already, but I need a full-time person to work more closely with me in my office. 2-4 years solid experience in the web world. Flash/PHP/CSS/Javascript and a touch of mySQL. Excellent client skills

Re: [Flashcoders] dynamically attaching a movie clip to a class/object

2007-04-26 Thread Matt Muller
Either through library linkage or... import com.package.view.Main; yourMovieClip.__proto__ = Main.prototype; Main['apply'](yourMovieClip, null); - MaTT On 4/26/07, sebastian chedal <[EMAIL PROTECTED]> wrote: hello flash coders! ive just joined and there are some nice discussions here, i ho

Re: [Flashcoders] Adobe to Open Source Flex!!!

2007-04-26 Thread Zárate
But releasing the compilers are really great news! That should help haXe to understand way better the swf 9 format! And also this is huge: "By this summer, Adobe plans to put in place most of the infrastructure (*public bug database and public daily builds*) required to run the Flex SDK as an op

Re: [Flashcoders] Adobe to Open Source Flex!!!

2007-04-26 Thread Muzak
- Original Message - From: "Matthias Dittgen" <[EMAIL PROTECTED]> To: Sent: Thursday, April 26, 2007 9:50 AM Subject: Re: [Flashcoders] Adobe to Open Source Flex!!! > So they are probably separating technology from IDE's! > That was already the case.. e.g. the Flex SDK. http://www.ado

Re: [Flashcoders] Adobe to Open Source Flex!!!

2007-04-26 Thread Matthias Dittgen
So they are probably separating technology from IDE's! Technology becomes open-source. Therr IDE's (Flash CS3, Flex Builder) remain products to be sold. This way, they are still market leader to a market, which becomes more open and thus stronger than before, right? 2007/4/26, Muzak <[EMAIL P

Re: [Flashcoders] Adobe to Open Source Flex!!!

2007-04-26 Thread Muzak
Make sure to read the FAQ http://labs.adobe.com/wiki/index.php/Flex_Open_Source_FAQ What components are being released to open source? Adobe plans to release all of the components of the Flex SDK needed to create Flex applications, including the Java source code for the ActionScript and MXML c

[Flashcoders] dynamically attaching a movie clip to a class/object

2007-04-26 Thread sebastian chedal
hello flash coders! ive just joined and there are some nice discussions here, i hope to contribute positivly to the level of knowledge in the group. :) i'm currently learning how to work in an OOP manner in flash, and thus meeting some basic hurdles. it would be very kind of you if you could ass

RE: [Flashcoders] WhITE SNOW and Seven Dwarf - MAth Problems!

2007-04-26 Thread Danny Kodicek
> onEnterFrame/setInterval function is just to give spreading > effect to the app. > as I mention earlier, using for loop doesnt't let any > animation play before loop ends. > the real problem is only about the SEQUENCE-PATTERN. I got that. Check my code again and you'll see what it's d

Re: [Flashcoders] Adobe to Open Source Flex!!!

2007-04-26 Thread Newsdee
Is the Flex Builder going to be open sourced? Still, good news... must be a response to Java's open sourcing. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/f