Re: [Flashcoders] Help Registration point and origion point

2011-08-03 Thread nasim hhhhh
/scope.swf --- On Tue, 8/2/11, Ktu ktu_fl...@cataclysmicrewind.com wrote: From: Ktu ktu_fl...@cataclysmicrewind.com Subject: Re: [Flashcoders] Help Registration point and origion point To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Tuesday, August 2, 2011, 10:33 AM Hopefully below

Re: [Flashcoders] Help Registration point and origion point

2011-08-03 Thread Glen Pike
this not actually http://d.violet.vn/uploads/resources/171/scope.swf --- On Tue, 8/2/11, Ktuktu_fl...@cataclysmicrewind.com wrote: From: Ktuktu_fl...@cataclysmicrewind.com Subject: Re: [Flashcoders] Help Registration point and origion point To: Flash Coders Listflashcoders@chattyfig.figleaf.com Date: Tuesday

Re: [Flashcoders] Help Registration point and origion point

2011-08-02 Thread Ktu
Hopefully below will help you: I'm going to just explain how the origin stuff works, and how you can learn to compensate for it, and maybe you can apply this to your work. Starting off with an example where the visual elements of a sprite are not originated at 0,0 var mySprite:Sprite = new

[Flashcoders] Help Registration point and origion point

2011-08-01 Thread nasim hhhhh
Hi Could u help me . i draw wave( by code) inside empy movieClip that se regpoint (manualy) at middle of that when i scale it t it’s good but when i move align x or y It scaled by pevios position  . I want to change reg point and refrence point too , like when i do it manualy , the refrence

[Flashcoders] Help with code

2011-02-12 Thread Renata
English is not my native language, so I apologize if you make mistakes of agreement or spellings. AS3 study and made this game for three year olds who can notmove with mouse, to run it, there is an error and I can not makeit back to the home page. Below the code and the error message. I do not

Re: [Flashcoders] Help with code

2011-02-12 Thread Gerry Beauregard
Hi Renata, TypeError: Error # 2007: Parameter hitTestObject must not be null. The argument to hitTestObject() is 'mouse'. You get the error because the 'mouse' argument to hitTestObject() is null. Since mouse is constructed in function iniciarJogo(), my guess is that iniciarJogo() never

[Flashcoders] Help with Image Slideshow - displaying random image

2011-01-20 Thread Christopher Lucas
Many thanks to any and all who respond!! I'm at the extent of my AS skills. I'd like to make the following image slide show display like it does, sequentially, as well as making it display random. Anyone know how I can do that? I've included the code I have working now. Text and image are

Re: [Flashcoders] Help with Image Slideshow - displaying random image

2011-01-20 Thread Anthony Pace
It seems to be your listeners and the order of the Complete events. On 1/20/2011 11:19 AM, Christopher Lucas wrote: any thanks to any and all who respond!! I'm at the extent of my AS skills. I'd like to make the following image slide show display like it does, sequentially, as well as making

Re: [Flashcoders] Help with Image Slideshow - displaying random image

2011-01-20 Thread Anthony Pace
If you want them to be random, take the xml as an array, and then do a random swap for each node. (I think someone posted some code for the proper way to shuffle an array.) then load the images in that order. \On 1/20/2011 12:44 PM, Anthony Pace wrote: It seems to be your listeners and the

Re: [Flashcoders] Help with Image Slideshow - displaying random image

2011-01-20 Thread Anthony Pace
sorry if my first response seemed a bit cheeky... truth is I posted my response based on the subject of your post, and then I posted my second response, after actually reading it... kind of a cart before the horse scenario. On 1/20/2011 12:44 PM, Anthony Pace wrote: It seems to be your

Re: [Flashcoders] Help with addChild

2010-07-16 Thread Henrik Andersson
Deepanjan Das wrote: Hi, I think the stage has not yet been initiated, hence the addChild is not working. Try to get hold of the stage first and then so an addChild. While that is indeed a common problem, it is not the current problem. He is adding to the main timeline, not the stage.

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
You are right. But do you know what it could be, Henrik? Do you need to see some more code? On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson he...@henke37.cjb.netwrote: Deepanjan Das wrote: Hi, I think the stage has not yet been initiated, hence the addChild is not working. Try to get

Re: [Flashcoders] Help with addChild

2010-07-16 Thread Eric E. Dolecki
I lost the thread to this, but he is adding it to the document class if I remember correctly. I think we'd need to see a little code again J.C. On Fri, Jul 16, 2010 at 3:07 PM, J.C. Berry jcharlesbe...@gmail.com wrote: You are right. But do you know what it could be, Henrik? Do you need to see

RE: [Flashcoders] Help with addChild

2010-07-16 Thread Mattheis, Erik (MIN-WSW)
Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry Sent: Friday, July 16, 2010 2:08 PM To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild You are right. But do you know what it could be, Henrik? Do you

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
of the Year -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry Sent: Friday, July 16, 2010 2:08 PM To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild You are right. But do

Re: [Flashcoders] Help with addChild

2010-07-16 Thread Eric E. Dolecki
To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild You are right. But do you know what it could be, Henrik? Do you need to see some more code? On Fri, Jul 16, 2010 at 1:34 AM, Henrik Andersson he...@henke37.cjb.net wrote: Deepanjan Das wrote: Hi, I

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
MYMAP DOC CLASS- package{ import fl.controls.TextArea; import fl.containers.ScrollPane; import fl.controls.Button; import flash.display.*; import flash.events.Event; import flash.events.MouseEvent; import flash.net.URLRequest; import flash.net.URLLoader; import

RE: [Flashcoders] Help with addChild

2010-07-16 Thread Mattheis, Erik (MIN-WSW)
Global Agency of the Year PR News Agency of the Year -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry Sent: Friday, July 16, 2010 2:40 PM To: Flash Coders List Subject: Re: [Flashcoders] Help

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
. Berry Sent: Friday, July 16, 2010 2:40 PM To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild From separate class: var myPopout:myPopout = new myPopout(e.target,this.btnNum,this.cityList); //Calls below From other class: public function myPopout(stageBtn,btnNum,cityList

RE: [Flashcoders] Help with addChild

2010-07-16 Thread Mattheis, Erik (MIN-WSW)
, July 16, 2010 3:14 PM To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild public function initPopout(stageBtn,btnNum, cityList){ if(btnNum 25){ trace(this); var popInstance:Tba = new Tba(); popInstance.x = 10

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
, 2010 3:14 PM To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild public function initPopout(stageBtn,btnNum, cityList){ if(btnNum 25){ trace(this); var popInstance:Tba = new Tba(); popInstance.x = 10

Re: [Flashcoders] Help with addChild

2010-07-16 Thread Karl DeSaulniers
: Friday, July 16, 2010 3:14 PM To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild public function initPopout(stageBtn,btnNum, cityList){ if(btnNum 25){ trace(this); var popInstance:Tba = new Tba(); popInstance.x = 10

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
of the Year -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry Sent: Friday, July 16, 2010 3:14 PM To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild public function initPopout

Re: [Flashcoders] Help with addChild

2010-07-16 Thread Karl DeSaulniers
...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of J.C. Berry Sent: Friday, July 16, 2010 3:14 PM To: Flash Coders List Subject: Re: [Flashcoders] Help with addChild public function initPopout(stageBtn,btnNum, cityList){ if(btnNum 25){ trace

Re: [Flashcoders] Help with addChild

2010-07-16 Thread J.C. Berry
: [Flashcoders] Help with addChild public function initPopout(stageBtn,btnNum, cityList){ if(btnNum 25){ trace(this); var popInstance:Tba = new Tba(); popInstance.x = 10; popInstance.y = 10; popInstance.name = 'cityPopout

[Flashcoders] Help with addChild

2010-07-15 Thread J.C. Berry
Dear Group, I wondered if I could bother you a minute with a simple question. I have a document class that extends MovieClip, but my problem arises when I use addChild to add some popups (movieclips) to the stage. They are only visible when I attach my popups to an on-stage button:

Re: [Flashcoders] Help with addChild

2010-07-15 Thread Deepanjan Das
Hi, I think the stage has not yet been initiated, hence the addChild is not working. Try to get hold of the stage first and then so an addChild. if(stage){ }else{ addEventListener(Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true); } private function onAddedToStage(e:Event):void {

[Flashcoders] Help with first class

2010-07-07 Thread J.C. Berry
Hello all, I wondered if I could bother you to review the code below and make comments and suggestions. It's my first full attempt (from scratch) to create a class. I would appreciate any comments you would like to make. Thanks. Oh, and to get an idea of how it looks, the project is located at

Re: [Flashcoders] Help with first class

2010-07-07 Thread allandt bik-elliott (thefieldcomic.com)
after a quick glance i'd recommend a couple of things: see if you can break your application into smaller chunks that interact with each other rather than have a single class - one of the benefits of oop is being able to visualise the problem as distinct tasks that are handled by separate objects

Re: [Flashcoders] Help with first class

2010-07-07 Thread Kerry Thompson
J.C. Berry wrote: I wondered if I could bother you to review the code below and make comments and suggestions. It's not bad at all, especially for your first class. I didn't go through all your code, but one thing jumped out at me. These lines might give you problems: for(var

Re: [Flashcoders] Help with first class

2010-07-07 Thread allandt bik-elliott (thefieldcomic.com)
another note on naming convention it's fairly normal to mark private class variables out in some way (usually an underscore before the name (private var _myVar:String;) and leave public variables / getters/setters without - this will give you more options for your variable names (within methods,

Re: [Flashcoders] Help with first class

2010-07-07 Thread allandt bik-elliott (thefieldcomic.com)
does this line work? DynaBtn.addEventListener(MouseEvent.MOUSE_OVER,DynaBtnRollOverHandler(CityNum)); i wouldn't have thought it would (by using the brackets you are calling that function straight away) it should be DynaBtn.addEventListener(MouseEvent.MOUSE_OVER,DynaBtnRollOverHandler); }

Re: [Flashcoders] Help with first class

2010-07-07 Thread J.C. Berry
Thanks, Kerry and allandt. I will take your recommendations, allandt. Kerry, when you said that I would end up with only the last DynaBtn, that is true. But I wanted to ask about the solution I found using that DynaBtn handler with the parameter. It returns the function and so it works. My

Re: [Flashcoders] Help with first class

2010-07-07 Thread Kerry Thompson
J.C. Berry wrote: Thanks, Kerry and allandt. I will take your recommendations, allandt. Kerry, when you said that I would end up with only the last DynaBtn, that is true. But I wanted to ask about the solution I found using that DynaBtn handler with the parameter. It returns the function and

Re: [Flashcoders] Help with first class

2010-07-07 Thread J.C. Berry
Thanks so much Kerry for taking the time. I really appreciate it. On Wed, Jul 7, 2010 at 1:04 PM, Kerry Thompson al...@cyberiantiger.bizwrote: J.C. Berry wrote: Thanks, Kerry and allandt. I will take your recommendations, allandt. Kerry, when you said that I would end up with only the

Re: [Flashcoders] help with CameraDetection class

2010-05-12 Thread Glen Pike
Hi, Flash, Windows (Actual = Reported by Flash): Logitech Quickcam Pro E3500 = USB Video Device Logitech Quickcam C200 = USB Video Device Logitech Webcam C905 = Quickcam Pro for Notebooks. Flash, Linux, Gentoo using Kernel 2.6.29 with kernel module uvcvideo: Logitech

Re: [Flashcoders] help with CameraDetection class

2010-05-12 Thread Ktu
thanks glen, If anyone else is feeling up to it, the more info I get the better. Thanks in advance. more mac users? Ktu On Wed, May 12, 2010 at 4:50 AM, Glen Pike g...@engineeredarts.co.ukwrote: Hi, Flash, Windows (Actual = Reported by Flash): Logitech Quickcam Pro E3500 = USB Video

[Flashcoders] help with CameraDetection class

2010-05-11 Thread Ktu
Hey List, I wanted to throw together a list of Camera.name together. If you have a webcam that you use on your computer (or built in) could you please reply with the names of all the cameras that are connected. 1. Open a .swf (internet, local whatever) 2. Right click anywhere 3. choose settings

[Flashcoders] help. mouseEvent doesn´t work o n SWF loaded with JavaScript.

2009-09-15 Thread Isaac Alves
solved !! xml problem... thanks . ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] help with frame navigation and xml

2009-08-29 Thread John R. Sweeney Jr
As far as you know it was use two. But it might have been only YOU and no one else ;) Makes you wonder. Huh?:) I know what you mean about plain text formatting. Its happened to me in the past, when I've used my signature with a logo in it. Doesn't work very well. Have a great

FW: [Flashcoders] help with frame navigation and xml

2009-08-28 Thread Merrill, Jason
Howdy Jason, Didn't see a reply from you come through. Just you query (tit)... ;), then the email that said you answered it before. Nothing in between them. That happens to me on this list sometimes, but only this list. Seems this list only accepts pure text formatted e-mails and if you forget

RE: [Flashcoders] help with frame navigation and xml

2009-08-28 Thread Merrill, Jason
But what's weird is it did show up for me on the list - just not you two Jason Merrill Bank of America Global Learning Learning Performance Soluions Monthly meetings on making the most of the Adobe Flash Platform - presented by bank associates, Adobe engineers, and outside experts in

[Flashcoders] help with frame navigation and xml

2009-08-26 Thread Isaac Alves
Hi, I'd like to have a function that tells a MovieClip to go to a specific frame and then in this frame, look for a scpecific tag in an XML file, based on the frame's label, and then take some text (a bunch of actually) that is in the XML node and put it on a TextField. For example, clicking on

RE: [Flashcoders] help with frame navigation and xml

2009-08-26 Thread Merrill, Jason
] On Behalf Of Isaac Alves Sent: Wednesday, August 26, 2009 8:17 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] help with frame navigation and xml Hi, I'd like to have a function that tells a MovieClip to go to a specific frame and then in this frame, look for a scpecific tag

RE: [Flashcoders] help with frame navigation and xml

2009-08-26 Thread Merrill, Jason
-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Merrill, Jason Sent: Wednesday, August 26, 2009 8:26 AM To: Flash Coders List Subject: RE: [Flashcoders] help with frame navigation and xml You don't need any code inside the clip, I think you're approaching

Re: [Flashcoders] help removing an display object created

2009-06-04 Thread Glen Pike
Hi, Sorry, I just replied to your other thread, but now I see your code... Try something like this... function removeClip(thenameoftheobject) { thenameoftheobject.parent.removeChild(thenameoftheobject); } Glen Gustavo Duenas wrote: I have several buttons which create

Re: [Flashcoders] help removing an display object created

2009-06-04 Thread Gustavo Duenas
Hi Glen, problem is that for each button it creates a different clip named newWindow. I have them named and it works according to your last formula the name of each one is root1 + the name on the object I 'm trying to make a code to see first which is the object that is already created

[Flashcoders] help removing an display object created

2009-06-03 Thread Gustavo Duenas
I have several buttons which create some windows based on a movie clip that exports for actioncript. Everything is ok, with the creation, but when it comes to close them ( I have a button in the window itself that can remove the child), I will trying to do it using actionscript. if

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-18 Thread Jiri
For the archive. This is the way to do it. function convert(tFlaPath , tExportPath , tFilename){ debugMessage += \n Vectorizing file : + tFilename + on + (new Date()).toGMTString() + \n; debugMessage += SettingstraceBitmap(100, 2, 'normal' , 'normal') \n;

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-10 Thread Jiri
Sent: Monday, February 09, 2009 9:47 AM Subject: [Flashcoders] Help jsfl traceBitmap Hello, i was wondering if someone can help me out with the following. I have a the maintimeline with on it a movieclip. Inside this movieclip is a png, that I would like to trace as a bitmap. I can't seem

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-10 Thread Jiri
: [Flashcoders] Help jsfl traceBitmap Hello, i was wondering if someone can help me out with the following. I have a the maintimeline with on it a movieclip. Inside this movieclip is a png, that I would like to trace as a bitmap. I can't seem to target the png that is nested in the movieclip. If i

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-10 Thread Muzak
This one threw me off a bit :) You have to move the timeline playhead for traceBitmap to work. When you enter edit mode, you automatically end up in the first frame, so that's why traceBitmap works for the first frame, and not the others. So, loop through the number of frames, set

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-10 Thread Jiri
This one threw me off a bit :) Tell me about it, it did my head in all day.. When you enter edit mode, you automatically end up in the first frame, That explains why, although looping through the frames, it was always only the first one to be converted before the error was thrown. I will

[Flashcoders] Help jsfl traceBitmap

2009-02-09 Thread Jiri
Hello, i was wondering if someone can help me out with the following. I have a the maintimeline with on it a movieclip. Inside this movieclip is a png, that I would like to trace as a bitmap. I can't seem to target the png that is nested in the movieclip. If i understand correctly I will

Re: [Flashcoders] Help jsfl traceBitmap

2009-02-09 Thread Muzak
:47 AM Subject: [Flashcoders] Help jsfl traceBitmap Hello, i was wondering if someone can help me out with the following. I have a the maintimeline with on it a movieclip. Inside this movieclip is a png, that I would like to trace as a bitmap. I can't seem to target the png that is nested

[Flashcoders] help stopping an external clip on as3

2009-01-16 Thread Gustavo Duenas
Ok Coders I have a loader which loads a external movieclip, and I want it to stop when I say, but unfortunately all my efforts are useless I've been using. in some frame. myLoader.stop(); and nothing or myLoader.stop; and is the same...any ideas? every time is the same error,

RE: [Flashcoders] help stopping an external clip on as3

2009-01-16 Thread Robert Leisle
Of Gustavo Duenas Sent: Friday, January 16, 2009 10:43 AM To: Flash Coders List Subject: [Flashcoders] help stopping an external clip on as3 Ok Coders I have a loader which loads a external movieclip, and I want it to stop when I say, but unfortunately all my efforts are useless I've been using

[Flashcoders] Help Please

2008-09-10 Thread Eng. Omar Eltonoby
Hello, I'm trying to resize the created movie clip (via width and height) but that seems to have no effect. Is there any restrictions on that? I tried to resize it using the properties panel dimensions didn't change. thanks in advance for your help -- Eng. Omar Abouzied Eltonoby Computer

Re: [Flashcoders] Help Please

2008-09-10 Thread Paul Andrews
- Original Message - From: Eng. Omar Eltonoby [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, September 10, 2008 4:41 PM Subject: [Flashcoders] Help Please Hello, I'm trying to resize the created movie clip (via width and height) but that seems to have

Re: [Flashcoders] Help Please

2008-09-10 Thread eric e. dolecki
A created mc (with code) has a height and width of 0 until it's populated with something. If this is something that you created and placed on the stage, you should be able to use the property inspector to change those. Eric On Wed, Sep 10, 2008 at 11:41 AM, Eng. Omar Eltonoby [EMAIL

[Flashcoders] Help with AS3 Flash NumericStepper component

2008-08-19 Thread jonathan howe
Hi, AS3, CS3, non-Flex: I'm trying to use a NumericStepper to cycle through a different range in different situations. I have the appropriate range in a pseudo-struct called propertyDefinition. So, I instantiate the NumericStepper and assign it to the var stepper and apply minimum and maximum

Re: [Flashcoders] Help! Webcam + lineTo on mousemove = webcam freeze

2008-07-05 Thread Alias Cummins
Well for a start, you're going to be creating loads of geometry. Are you rendering your drawings to bitmaps at all? Sounds like a performance issue to me. Drawing vector lines takes CPU - this is just a fact of life. What I'd recommend is something along these lines: User presses mouse User

[Flashcoders] Help! Webcam + lineTo on mousemove = webcam freeze

2008-06-29 Thread Johnny Zen
Hi all I am writing an application where I have a whiteboard and webcam. When I freehand draw a lot using lineTo (sprite), the webcam freezes. (Drawing.graphics.lineTo(sourcePt.xPos, sourcePt.yPos);) - on mousemove Any idea why this would happen ? When I am drawing like crazy, I can see my

[Flashcoders] help again.. NaN

2008-05-17 Thread rlyn ben
need to display number to the resultTxt but when i press the first number it displays NaN.. when i enter the second number.. it display the number but with the NaN.. :( stop(); ageField.addEventListener(TextEvent.TEXT_INPUT, convertAge); function convertAge (event:TextEvent):Number {  var

Re: [Flashcoders] help again.. NaN

2008-05-17 Thread Steven Sacks
Your textfield is probably set to multiline or something like that. Anything like a carriage return will cause parseInt to break. rlyn ben wrote: need to display number to the resultTxt but when i press the first number it displays NaN.. when i enter the second number.. it display the number

Re: [Flashcoders] help again.. NaN

2008-05-17 Thread Juan Pablo Califano
It seems like the TEXT_INPUT event is fired before the .text property is set with the user's input. So, when you try to read the value from the text input, it returns an empty string; which, parsed as an integer, returns NaN. So, you have get the current input char from the event.text field, and

Re: [Flashcoders] help again.. NaN

2008-05-17 Thread Juan Pablo Califano
PD: Actually, the parseInt part is not needed if you are going to manipulate the input as text... So, you can change this line: resultTxt.text = (parseInt(ageField.text) + inputChar).toString(); to: resultTxt.text = ageField.text + inputChar; Since parseInt(ageField.text) is converted to a

Re: [Flashcoders] help again.. NaN

2008-05-17 Thread Steven Sacks
You can just cast it as int and it will resolve as 0 if it's empty string or contains non-numeric characters. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] help again.. NaN

2008-05-17 Thread rlyn ben
what i started now.. - Original Message From: Juan Pablo Califano [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Saturday, May 17, 2008 3:14:48 PM Subject: Re: [Flashcoders] help again.. NaN It seems like the TEXT_INPUT event is fired before the .text

[Flashcoders] Help needed AS3 -- [Embed(source='library.swf' symbol='backgroud_mc')]

2008-03-24 Thread Cor
Hi list, I have a library.swf with a movie clip Background_mc in the library I am trying to embed from this swf into another through a class. In this document class I do: [Embed(source='library.swf' symbol='Backgroud_mc')] Private var Background_mc:Class; Private var _myBG:MovieClip Function

Re: [Flashcoders] Help needed AS3 -- [Embed(source='library.swf' symbol='backgroud_mc')]

2008-03-24 Thread Glen Pike
Try _myBG = new instead of myBG = new Cor wrote: Hi list, I have a library.swf with a movie clip Background_mc in the library I am trying to embed from this swf into another through a class. In this document class I do: [Embed(source='library.swf' symbol='Backgroud_mc')] Private var

RE: [Flashcoders] Help needed AS3 -- [Embed(source='library.swf'symbol='backgroud_mc')]

2008-03-24 Thread Cor
I know, typo in this topic mail but not in my class. Thanks! -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Glen Pike Verzonden: maandag 24 maart 2008 14:16 Aan: Flash Coders List Onderwerp: Re: [Flashcoders] Help needed AS3 -- [Embed(source

Re: [Flashcoders] Help needed AS3 -- [Embed(source='library.swf' symbol='backgroud_mc')]

2008-03-24 Thread Jon Bradley
On Mar 24, 2008, at 8:30 AM, Cor wrote: This throws an error: TypeError: Error #1007: Instantiation attempted on a non-constructor. What am I doing wrong? You can't call new Background_mc() when it's an instance of Class - there's no constructor for it that the compiler recognizes. My

Re: [Flashcoders] Help needed AS3 -- [Embed(source='library.swf' symbol='backgroud_mc')]

2008-03-24 Thread Glen Pike
Hi, When Embedding symbols in AS3, you do construct instances of your assets using new VariableName - http://www.bit-101.com/blog/?p=853 However, I don't think that the Flash IDE supports this as it does not support the [Embed] metadata type... The only way around this is to

Re: [Flashcoders] Help needed AS3 -- [Embed(source='library.swf' symbol='backgroud_mc')]

2008-03-24 Thread Jon Bradley
Oops... my last email was kinda based on the idea that you were running this in Flex. My bad - replying to two lists at once. http://www.digitalflipbook.com/archives/2007/03/associating_cus.php - jb On Mar 24, 2008, at 8:30 AM, Cor wrote: This throws an error: TypeError: Error #1007:

[Flashcoders] Help Needed. UILoader coordinate track problem on MOUSE_UP

2008-02-26 Thread anuj sharma
Hi All I am dragging the UI loader component containing external SWfs in them. On Mouse Release I use stop drag, and on stop drag- I am using myUIloader.move(mouseX,mouseY). However the output is little bouncy, the stage is taking the topleft corner of UIloader as main point and on stop drag it is

[Flashcoders] help with flash project

2008-01-27 Thread Michelon Jeanty
Hi everyone, my name is Michelin; I'm a Harvard student, and also a member of the mailing list. I'm looking for partners to start an interesting project. Let me know if any of you guys interested, and we can chat. It's an open source project/startup. All of our work would be available to the open

[Flashcoders] Help in bytes reading with AS3

2008-01-14 Thread Flap Flap
Hi there, I'm starting a new personnal project and I need to be able to read bytes from a file to extract infos. Beacause I'm not familiar with this type of manipulation. So any of you know some good helper classes and / or tuts it will be good :) Thanks to all -- Benoît Milgram / Flapflap

RE: [Flashcoders] Help in bytes reading with AS3

2008-01-14 Thread Merrill, Jason
To: flashcoders@chattyfig.figleaf.com; FlexCoders; Open Source Flash Mailing List Please don't cross post. Thank you, Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community

Re: [Flashcoders] Help with listener for custom class (AS3)

2007-09-13 Thread Rob Romanek
Hi Dane, Here are some thoughts for you to try. First off since you are not actually working with a display object you don't need this class to extend sprite. The easiest way to give the class the ability to send out events is to have it extend EventDispatcher and then you can have it

[Flashcoders] Help with listener for custom class (AS3)

2007-09-12 Thread Dane Williams
Greetings All, I'm trying to do more and more of my projects with external classes and, along with that, creating classes for routines that I regularly do. I have a class that reads an XML file and CSS file once it's called. It has worked fine for the first few projects I used it in. With my

Re: [Flashcoders] Help with listener for custom class (AS3)

2007-09-12 Thread Arul Prasad M L
From your cssLoaded and xmlLoaded methods, dispatch an event each, announcing the completion of load. eg public function xmlLoaded(event:Event):void { newXML = XML(event.target.data); dispatchEvent(new Event(xmlLoaded)); } And on the timeline, you can add a listener to that event by

[Flashcoders] help with a thread in cs3

2007-06-16 Thread Gustavo Duenas
hi coders I have this code and I'd like to have the loader to some new size but thing are not going as expected, the code is: package { import flash.display.Sprite; import flash.display.*; import flash.events.*; import flash.accessibility.*; import

RE: [Flashcoders] help with a thread in cs3

2007-06-16 Thread David Ngo
); } } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Saturday, June 16, 2007 7:15 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] help with a thread in cs3 hi coders I have this code and I'd like to have the loader to some new size

[Flashcoders] Help with Flash Video Encoding

2007-06-15 Thread Guy Parton
Evening Everyone, Just wanted to know how to convert / encode an AVI that has been pre-edit in wide screen format into a FLV whilst retaining its' aspect ratio. I have been recently tinkering with the Flash 8 Video Encoder and do not seem to be coming right. Any assistance in this regard would

RE: [Flashcoders] Help with Flash Video Encoding

2007-06-15 Thread Palmer, Jim
Palmer ! Mammoth Web Operations -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Guy Parton Sent: Wednesday, June 13, 2007 2:11 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Help with Flash Video Encoding Evening Everyone, Just

[Flashcoders] Help me disect some Flash work please?

2007-05-30 Thread LHWH Interactive
These three presentations really have nothing in common except a couple of things I'm trying to figure out, but haven't ever actually done before, so I'm kinda lost. What I'm most interested in is, how *technically* do they synchronize the sound so well to the animation? I notice that no matter

Re: [Flashcoders] Help me disect some Flash work please?

2007-05-30 Thread Mark Winterhalder
I'm a programmer who would be relying on an art department to provide all the media, but I'm just not sure how to set it up... does this make sense? ...and being a programmer is why you don't know how to do it. :) I'm not sure anymore (too much of a programmer that shuns the timeline myself),

Re: [Flashcoders] Help me disect some Flash work please?

2007-05-30 Thread Muzak
PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 30, 2007 5:24 PM Subject: [Flashcoders] Help me disect some Flash work please? These three presentations really have nothing in common except a couple of things I'm trying to figure out, but haven't ever actually done before, so

Re: [Flashcoders] Help me disect some Flash work please?

2007-05-30 Thread LHWH Interactive
On 5/30/07, Muzak [EMAIL PROTECTED] wrote: The others are more powerpoint-type animations, which you can either create in Flash (using the timeline and streaming sound) So you're on the same page as Mark, above? embed the sound directly into the timeline and just animate around it? When the

[Flashcoders] HELP!! cannot seem to embed fonts

2007-05-23 Thread a
mx:Style @font-face{ src: url(./assets/ARIAL.TTF); fontFamily: aArial; fontStyle: regular; } .mystyle1 { fontFamily:aArial; fontSize: 12pt; } /mx:Style mx:Panel x=40.5 y=22 width=325.5

Re: [Flashcoders] help with a menu in xml : solved

2007-05-23 Thread Gustavo Duenas
Sent: Tuesday, May 22, 2007 1:20 PM To: Flashcoders mailing list Subject: [Flashcoders] help with a menu in xml Hi coders, this is thread is the second part of the other. well I have the buttons created and I have this onRelease behavior attached to a every single button, but when I tried to read

[Flashcoders] help about buttons from xml file.

2007-05-22 Thread Gustavo Duenas
Hi, I'm creating buttons dinamycally using a xml file, this is my code: stop(); menus = new XML(); menus.ignoreWhite = true; menus.onLoad = function(success) { //portfolioTag = this.firstChild; titleMenus = this.firstChild.childNodes.length; menuContent =

Re: [Flashcoders] help about buttons from xml file.

2007-05-22 Thread Allandt Bik-Elliott (Receptacle)
are the rest of them dissappearing off the top of the movie (this.buttonsMenu._y=-10*i;)? try using a positive number just to see if they appear On 22 May 2007, at 19:41, Gustavo Duenas wrote: Hi, I'm creating buttons dinamycally using a xml file, this is my code: stop(); menus

Re: [Flashcoders] help about buttons from xml file: solved

2007-05-22 Thread Gustavo Duenas
I've just resolved this, It was in the this.getNextHighestDepth(); . I use the , 10+1 instead of, and voila!!! it works On May 22, 2007, at 2:41 PM, Gustavo Duenas wrote: Hi, I'm creating buttons dinamycally using a xml file, this is my code: stop(); menus = new XML();

[Flashcoders] help with a menu in xml

2007-05-22 Thread Gustavo Duenas
Hi coders, this is thread is the second part of the other. well I have the buttons created and I have this onRelease behavior attached to a every single button, but when I tried to read into a text field part of the xml(text) this one only reads one, not the others and when I traced them ,

RE: [Flashcoders] help with a menu in xml

2007-05-22 Thread Jesse Graupmann
www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Tuesday, May 22, 2007 1:20 PM To: Flashcoders mailing list Subject: [Flashcoders] help with a menu

[Flashcoders] help needed : CCForFlash and simple netstream

2007-05-16 Thread cedric newsletter
hi all, has anyone ever tried to use the free Captioning Component CCForFlash ( http://ncam.wgbh.org/webaccess/ccforflash/). is there an simple example with CCForFlash used with a simple video object ? i can't make it work ! :-( any help will be greatly appreciated :) have a good day ! cédric

Re: [Flashcoders] help

2007-05-02 Thread syam s
how can we print a variable value in our execution screen..? - Yahoo! Answers - Got a question? Someone out there knows the answer. Tryit now. ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] help

2007-05-02 Thread Danny Kodicek
how can we print a variable value in our execution screen..? 'execution screen'? Do you just mean displaying a variable on screen? Try var tField:TextField = _root.createTextField(out, _root.getNextHighestDepth(), 100, 100, 200, 20) tField.text = String(myVariable) Danny

  1   2   3   4   >