Re: [Flashcoders] MovieClip Opacity

2009-02-05 Thread Hans Wichman
Definitely do that:). Are you using as2 or as3? In any case reading through a book such as essential actionscript or a similar book, covers all of this stuff and saves you many headaches. TO get you started:

Re: [Flashcoders] jpeg enhancement

2009-02-05 Thread Hans Wichman
Hi, assuming you are using as2? http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html Besides that make sure that the source jpeg is a high quality one of course, smoothing a crappy jpeg is not going to make it better:) hth JC On Wed, Feb 4, 2009 at 7:18 PM, [p e r c e p t i c

RE: [Flashcoders] Does Flash fire any event(s) when...

2009-02-05 Thread Cor
I don't know Javascript. And also ExternalInterface is a new one. Can you give me a hand on this one? Thanks! -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nate Beck Sent: woensdag 4 februari 2009 18:05

[Flashcoders] Does Flash fire any event(s) when...

2009-02-05 Thread Cor
I think my challence is bigger. :-) When a user clicks my close button, the Flash-app writes some data to a LMS. But this writing action should also happen when the user closes the browser with its menu, its close-cross or ALT-F4. Help is much appreciated!! -Original Message- From:

[Flashcoders] Does Flash fire any event(s) when...

2009-02-05 Thread Ricardo M. Portilho
Hi, I was wondering if it is possible to action script a slider to increase and decrease the size of a video component that plays flv or a for swf video on a higher level than main movie. Any ideas? tanks, R. ___ Flashcoders mailing list

Re: [Flashcoders] Full screen video in a full screen Flash..?

2009-02-05 Thread Meinte van't Kruis
if you're using flvplayback, set the property fullScreenTakeOver to false On Mon, Feb 2, 2009 at 3:41 PM, Matt S. mattsp...@gmail.com wrote: Are you loading the video player into its own holder mc? If you do that, then place that holder on the display list, then set if (stage.displayState

Re: [Flashcoders] MovieClip Opacity

2009-02-05 Thread K-Dawg
On Thu, Feb 5, 2009 at 3:12 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: Definitely do that:). Are you using as2 or as3? In any case reading through a book such as essential actionscript or a similar book, covers all of this stuff and saves you many headaches. TO get you

[Flashcoders] Flash CS3 DataGrid wordWraping in a cell

2009-02-05 Thread Sidney de Koning
Hi List, Is it possible to have a the DataGrid component in Flash CS3 wrap its text in a cell? So i have one block of text in stead of one long sentence that falls out of screen? I saw some references online that with Flex it is possible, by using the wordWrap property (but im not using

[Flashcoders] maths query

2009-02-05 Thread allandt bik-elliott (thefieldcomic.com)
hi guys I'm working on a carousel and i have a quick question about adding a non-active area in the middle at the moment, the carousel will move forward and backward based on the mouse's position in relation to the center of the carousel but I'd like to widen that by nDeadzoneRadius here is the

Re: [Flashcoders] MovieClip Opacity

2009-02-05 Thread allandt bik-elliott (thefieldcomic.com)
you need to embed fonts to change the alpha / rotation of a textfield (even if it's the containing clip that's being alpha'd / rotated so the real question is how to embed the fonts in your doc how have you tried doing it so far? On Thu, Feb 5, 2009 at 2:09 PM, K-Dawg kdaw...@gmail.com wrote:

Re: [Flashcoders] Does Flash fire any event(s) when...

2009-02-05 Thread allandt bik-elliott (thefieldcomic.com)
you could certainly increase / decrease the scale of a clip/sprite containing a video playing flv could you start a new thread in future, please? - i find these hijacked threads really hard to follow thanks On Thu, Feb 5, 2009 at 1:12 PM, Ricardo M. Portilho ricardo.monteiro.porti...@gmail.com

Re: [Flashcoders] jpeg enhancement

2009-02-05 Thread [p e r c e p t i c o n]
just the sort of thing i'm looking to do...perfect thanks percy On Thu, Feb 5, 2009 at 12:17 AM, Hans Wichman j.c.wich...@objectpainters.com wrote: Hi, assuming you are using as2? http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html Besides that make sure that the

[Flashcoders] Best way to access my main class?

2009-02-05 Thread Todd Kerpelman
Hey, FlashCoders. I'm wondering if you can help me out with a general style question that I keep running into. Let's say I've got a setup like this... class MyGame extends MovieClip - It creates a camera sprite that I can add children into - It then creates a Bouncing Ball object with the

RE: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Merrill, Jason
*Option 3:* I create a custom event, dispatch that event, and create a listener in MyGame rather than call a function directly. I'm guessing this is the best way to go theoretically, and will allow me to reuse my BouncingBall object in other applications, but it's a lot of extra code, and I

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Nate Beck
Option 3! Always opt to use event based architecture. It promotes loose coupling of your components. Although it might be a bit more code, you will be able to use BouncingBall within many games, or other applications. On Thu, Feb 5, 2009 at 10:02 AM, Merrill, Jason

Re: [Flashcoders] maths query

2009-02-05 Thread Glen Pike
Hi, It looks better than my deadzone calc's which take up a lot more code (I have 2 directions and a deadzone area in the middle and around the outside of the mouse area controlling the velocity), but you are welcome to compare below - I think mine is a bit more verbose, but I was trying

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread David Hershberger
My preference is usually option 3, using an event. It means you can use your ball in other situations, where that call back to the root may or may not be necessary. Regarding cleaning up references in event listeners, you can use a weak reference when you call addEventListener(). Also, I often

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Eric E. Dolecki
Agreed on Option 3. Custom event inclusive of whatever kind of data you want to send to the associated listening method. I think I whip up custom events more than almost anything else. - Eric On Thu, Feb 5, 2009 at 1:30 PM, Nate Beck n...@tldstudio.com wrote: Option 3! Always opt to use

[Flashcoders] Re: Flash CS3 DataGrid wordWraping in a cell (Sidney de Koning)

2009-02-05 Thread Craig Bowman
Sid: Make a class that extends the CellRenderer class and. ..ack its quicker to show you the code. See below. This will do it for you. package { import fl.controls.listClasses.CellRenderer; // make a cell renderer class that allow wrapping of text public

RE: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Merrill, Jason
I think I whip up custom events more than almost anything else. Yup - me too - in fact, in FlashDevelop, I have a nice event template in the form of a code snippet for a new custom events I use all the time: package { import flash.events.Event; public class extends

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Ian Thomas
Additionally, you should take a look at what the code is doing. Why does Bouncing Ball have to call something in the parent? Is it some sort of notification? (I've finished animating/I've hit a wall!). In which case an event is definitely the right solution. Is it to gain information of some

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Ian Thomas
Look up event bubbling. Essentially if you dispatch your event with bubble=true (the second parameter to an Event constructor), then the event will 'bubble' all the way up the display hierarchy. So your document class will only have to listen to itself for a given event - if any of its children

RE: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Lehr, Ross (N-SGIS)
This brings up a question I had about events. Is there a way to send an event all the way to the document class, no matter where it's been dispatched from? For instance, I have a document class that creates a menu class, which creates several icon button classes. I want the document class to

RE: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Merrill, Jason
Yes - just turn event bubbling on - then any DisplayObject like sprite or movie clip will pass the event up the display list. Jason Merrill Bank of America Instructional Technology Media · Learning Performance Solutions LLD Interested in Flash Platform technologies?  Join the Bank

[Flashcoders] Broadband speed test app

2009-02-05 Thread Matt Muller
Hi, does anyone know what a good approach is to measuring broadband speed like they do here http://www.speedtest.net/ Thanks, MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] my component not instancing properly on timeline

2009-02-05 Thread Mendelsohn, Michael
Hi list... I have a class that extends MovieClip. I made a component definition for it with two vars, each with same name/type as defined in the class file. If I instance a new Cat() through code, there are no problems. But, it doesn't work when I want to instance this component on a timeline

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Todd Kerpelman
Thanks, everybody! Sounds like creating custom events is the way to go (and yes, it's for Send an alert of some kind to MyGame kind of functionality). I don't have a lot of experience with 'em, so I was probably going through more trouble to avoid them than would actually be required to just suck

Re: [Flashcoders] How to turn off the DEBUG mode with Google Analytics

2009-02-05 Thread ACE Flash
I appreciate your input. thank u so much!! it works great~ On Wed, Feb 4, 2009 at 6:12 PM, ekameleon ekamel...@gmail.com wrote: Hello :) ?? use the value false in the last argument of the constructor ? Read the documentation of the class : http://code.google.com/p/gaforflash/wiki/API

Re: [Flashcoders] Best way to access my main class?

2009-02-05 Thread Muzak
Look into Event bubbling http://www.google.com/search?hl=enq=AS3+event+bubblingmeta= - Original Message - From: Lehr, Ross (N-SGIS) ross.l...@lmco.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Thursday, February 05, 2009 8:14 PM Subject: RE: [Flashcoders] Best way