Re: [Flashcoders] debugging events

2009-09-03 Thread Hans Wichman
Hi, you can check willTrigger(youreventtype), assuming its as3. Can you post the event constants here so we can take a look at them and the dispatching and listener code? regards JC On Thu, Sep 3, 2009 at 10:30 PM, Joel Stransky wrote: > I have some custom event classes for my project but one o

Re: [Flashcoders] Error when trying to embed a font

2009-09-03 Thread Muzak
That's explained in the docs tbh: http://livedocs.adobe.com/flex/3/html/help.html?content=fonts_09.html I always use that approach for embedding fonts in Flex. - Original Message - From: "Matt Gitchell" To: "Flash Coders List" Sent: Thursday, September 03, 2009 7:25 PM Subject: Re: [

[Flashcoders] debugging events

2009-09-03 Thread Joel Stransky
I have some custom event classes for my project but one of them is just failing outright. I can verify that the function that dispatches the event is being called correctly but the object that's listening for it will never get it. The event class has two constants, one works, one doesn't. Is there

Re: [Flashcoders] 1120: Access of undefined property

2009-09-03 Thread Gregory Boland
static function, they have a limited scope, can't see class variables unless their static On Thu, Sep 3, 2009 at 3:23 PM, Isaac Alves wrote: > could someone please tell me why in the following script , the flash > runtime doesn´t recognize the var counter? > 1120: Access of undefined property co

RE: [Flashcoders] 1120: Access of undefined property

2009-09-03 Thread Cor
Because you function is static -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Isaac Alves Sent: donderdag 3 september 2009 21:24 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] 1120: Access of

Re: [Flashcoders] 1120: Access of undefined property

2009-09-03 Thread Patrick Matte
Because counter is a class property and your function is static. Try this: public static var counter:int = 0; > From: Isaac Alves > Reply-To: Flash Coders List > Date: Thu, 3 Sep 2009 16:23:36 -0300 > To: > Subject: [Flashcoders] 1120: Access of undefined property > > could someone please t

Re: [Flashcoders] 1120: Access of undefined property

2009-09-03 Thread Ian Thomas
Because your function is static. Either make your var static too: public static var counter:int=0; or make your function non-static. I'm sure you can Google static/non-static class members, but in short, anything that's non-static is only available from within a class instance (i.e. someone nee

[Flashcoders] 1120: Access of undefined property

2009-09-03 Thread Isaac Alves
could someone please tell me why in the following script , the flash runtime doesn´t recognize the var counter? 1120: Access of undefined property counter. package { public class StringUtils { public var counter:int = 0; public static function generateRandomString(new

RE: [Flashcoders] Error when trying to embed a font

2009-09-03 Thread Andrew Murphy
I'll give that a try. Thanks! :) Andrew Murphy Interactive Media Specialist amur...@delvinia.com Delvinia 214 King Street West, Suite 214 Toronto Canada M5H 3S6 P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com CONFIDENTIALITY NOTICE This email messa

Re: [Flashcoders] Hello. FLVPlayback as3 3.0

2009-09-03 Thread Tomasz Fertacz
Yes! It works. Thanks. Tomek. 2009/9/3 Keith Reinfeld : > It seems you need to place the SkinUnderAllNoFullNoCaption.swf skin file on > the server as well. > > Regards, > > Keith Reinfeld > Home Page: http://keithreinfeld.home.comcast.net > > -Original Message- > From: flashcoders-boun..

Re: [Flashcoders] Error when trying to embed a font

2009-09-03 Thread Matt Gitchell
Sheesh. I totally forgot, I've done this before: Create a TextField in your FLA, embed the selected character set into that textfield, stick that in a symbol, use [Embed] to embed that symbol ( [Embed(source="blah.swf", symbol="textMC")]), then you're off to the fonty races, if memory serves. I've

RE: [Flashcoders] Hello. FLVPlayback as3 3.0

2009-09-03 Thread Keith Reinfeld
It seems you need to place the SkinUnderAllNoFullNoCaption.swf skin file on the server as well. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] O

RE: [Flashcoders] Error when trying to embed a font

2009-09-03 Thread Andrew Murphy
Hello Matt. :) Yes, it's a Type1 font. .pfm So Flash only allows the embedding of True Type (.ttf) fonts then? Okay. I'll keep that mind in the future, though the choice of what font to use is up to the Graphic Designers. Thank you. :) Andrew Murphy Interacti

RE: [Flashcoders] Error when trying to embed a font

2009-09-03 Thread Andrew Murphy
Hi Kttu. :) Actually, that video is what got me started with trying to use Flash CS4 to embed a selection of characters, rather than the whole thing. Unfortunately it doesn't contain any answers to the problem I am having. Embedding the whole font, by making it into a Library Symbol, seems to be

[Flashcoders] problem with dictonary on dynamic buttons

2009-09-03 Thread thomas horner
ok i'm creating a dictionary to store the values contained by some sprites that im using as button but i keep getting term undefined when i click on the item in the output. //create dictionary to store data public var dict:Dictionary = new Dictionary(); for (var Wi:int=0; Wi < len; Wi++

Re: [Flashcoders] Error when trying to embed a font

2009-09-03 Thread Matt Gitchell
You said you were looking for a .pfm file down below, is it a PostScript font? If so, doing a font library symbol is your only recourse. --Matt On Thu, Sep 3, 2009 at 10:04 AM, Ktu wrote: > The only thing I can suggest is looking at Lee Brimelow's tutorial on using > [Embed] for fonts. Maybe goin

Re: [Flashcoders] Error when trying to embed a font

2009-09-03 Thread Ktu
The only thing I can suggest is looking at Lee Brimelow's tutorial on using [Embed] for fonts. Maybe going through that tutorial will enlighten you. http://gotoandlearn.com/play?id=102 Kttu On Mon, Aug 31, 2009 at 3:10 PM, Andrew Murphy wrote: > Hi again, Ian. :) > > I have tried a few differe

Re: [Flashcoders] fullscreen weirdness (solution)

2009-09-03 Thread Ian Thomas
On Thu, Sep 3, 2009 at 4:35 PM, Joe Cutting wrote: > Ian reported problems with the Javascript version and Chrome. I'd be > interested to hear if anyone else has problems with one or the other. Both versions now work fine with latest Chrome, Firefox, Safari and with IE7 - that seems to have solve

Re: [Flashcoders] Hello. FLVPlayback as3 3.0

2009-09-03 Thread Ania Niesler
sprawdź skin file komponentu, albo módl się, żeby Ci ktoś odpisał z zagranicy ;> pozdr A. 2009/9/3 Tomasz Fertacz > Hello! > > I have a problem with FLVPlayback as3 3.0 component. > On localhost everything is ok. > But when i put the swf file on the server FLVPlayback component > doesn`t contain

[Flashcoders] Hello. FLVPlayback as3 3.0

2009-09-03 Thread Tomasz Fertacz
Hello! I have a problem with FLVPlayback as3 3.0 component. On localhost everything is ok. But when i put the swf file on the server FLVPlayback component doesn`t contain menu. What`s the problem? Link to this site: http://www.ultra.wroclaw.pl/anna/full_screen_flash.html. There is no menu. 10x

RE: [Flashcoders] fullscreen weirdness (solution)

2009-09-03 Thread Merrill, Jason
>>- If the buttons which call the fullscreen change are using >>MouseEvent.MOUSE_DOWN, it doesn't happen if they're using MouseEvent.CLICK I know one Flash player 9/10 rule about initiating full screen is it has to be user initiated, and I know even though MouseEvent.MOUSE_DOWN is technically a u

[Flashcoders] fullscreen weirdness (solution)

2009-09-03 Thread Joe Cutting
Ok, here's an update on this. I built a test rig and managed to reproduce the problem and found out that it only happens: - If you're using Firefox (IE and safari are fine) - If you're NOT using StageScaleMode.NO_SCALE - If the buttons which call the fullscreen change are using MouseEvent.MOUSE_

Re: [Flashcoders] fullscreen weirdness

2009-09-03 Thread Ian Thomas
Joe, What code are you using to do the fullscreen switch? Again, I'm getting problems with the Chrome version - so if it's not your embedding causing the problems, it must be somewhere in your AS code... Ian On Wed, Sep 2, 2009 at 6:01 PM, Joe Cutting wrote: >>> > You're definitely doing somet

Re: [Flashcoders] smoothly rotating a dynamic loaded image with AS2

2009-09-03 Thread Karl DeSaulniers
Just a thought. Maybe try setting the smoothing to the MC the bitmap is loaded into instead of your bitmap?? Something like this.. http://www.kaourantin.net/2005/12/dynamically-loading-bitmaps-with.html I used something similar in a mouseWheel controlled "shrink and zoom" on a Dynamically l

RE: [Flashcoders] smoothly rotating a dynamic loaded image with AS2

2009-09-03 Thread Cor
My guess is that you can't see the difference in this line: mcBanner2._rotation=-3; try mcBanner2._rotation=-30; to see if it rotates at all. And to rotate constantly you need to create a function which runs continuously with onEnterFrame or timer. HTH Cor -Original Message- From: flash