Re: [Flashcoders] weird htmlText problem...

2006-09-11 Thread Kenneth Kawamoto
At least you need to add this: mTitle.multiline = true; -- // Kenneth Kawamoto (on the road) // materia prima limited // [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] // www.materiaprima.co.uk http://www.materiaprima.co.uk quote Ok, I've got a class that I've used that all it does is take in a

Re: [Flashcoders] scrollpane not showing scrollbars - dynamic content

2006-09-11 Thread Adrian Ionut Beschea
happened to me some time ago but I can't remember exactly what solved it. It might be one of this things : - call redraw(true) before you start working with it - before you set the contentPath, wait a few frames to make sure your scrollpane is fully loaded (use doLater if you can) -

Re: [Flashcoders] Re: Re: Re: Re: Re: Re: new logger for as 2

2006-09-11 Thread Hans Wichman
Hi peeps, this project now has a page on osflash: http://www.osflash.org/xflas2 greetz JC On 9/6/06, Hans Wichman [EMAIL PROTECTED] wrote: Soo... all the important data has been recovered:) and after my next deadline I'm back on this proejct as well. Did anyone have time to look at it since

Re: [Flashcoders] weird htmlText problem...

2006-09-11 Thread GregoryN
Seems this problem is quite the same as I described recently in my Textfield optimizes itself in a weird way thread in August. It was about Flash eating out the space between B or I etc tags... I've ended up considering it as a bug and created my own optimization (based on split().join() ) .

[Flashcoders] fp xhtml render

2006-09-11 Thread Hans Wichman
Hi list, i was wondering if any of you have experience with fp_xhtml_render? I am looking for an easy way to include forms in my html etc, for exampe radio buttons, by simple loading a html page containing them. Has anybody tried this? kind regards JC

[Flashcoders] Re: Using a multiple layered movieclip as a mask

2006-09-11 Thread Marcelo de Moraes Serpa
No hints on that? :( On 9/10/06, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: It seems that you can't use a multi-layered MovieClip as a mask in Flash (I'm using Flash 8). When you try to use it, Flash only uses one of the layers as the mask and not the whole movieclip as I expected. Take

[Flashcoders] local NetStream play with playlists

2006-09-11 Thread Andreas R
Is there any reason why local NetStreams won't accept playlists such as ns.play(test.flv,-1,0,false); ns.play(test.flv,-1,0,false); ? Is this only serverside? If so, how else can i easily set up seamless playlists locally? - A ___

[Flashcoders] way to get textFileld's line count?

2006-09-11 Thread grimmwerks
I've got textFields using html text that I need to get an accurate way of finding the line count...I got it working when I knew the size of the font attributed to that textField, but with one field it can have multiple formats. It's been a long tired weekend of sleepless coding, so I'm going to

[Flashcoders] classes vs external .as files

2006-09-11 Thread Adrian Ionut Beschea
Hello, I've just had a debate with a colleague of mine about the some of the as 2.0 best practice. We both like to separate design from code, but we have slightly different ways of doing it. This is what he does : He leaves design elements on stage and includes and external .as file to

[Flashcoders] Embedded Cue Points in an FLV stream

2006-09-11 Thread Sean Scott
Hey guys, I have googled and searched the mailing list for an answer to this particular question with no luck. I am trying to see what are the optionbs out there for embedding cue point timing into an FLV. I know i can create an array of points and then associate it with a particular FLV but

Re: [Flashcoders] Re: Using a multiple layered movieclip as a mask

2006-09-11 Thread Marcelo de Moraes Serpa
Hey Zeh, thanks for replying :) If I understood correctly, it should work if I set the mask through setMask()? Currently I'm masking directly on the timeline layer. Marcelo. On 9/11/06, Zeh Fernando [EMAIL PROTECTED] wrote: You actually can do it, it's just that the preview is always wrong

RE: [Flashcoders] Embedded Cue Points in an FLV stream

2006-09-11 Thread Ryan Potter
Here is an article I found helpful. http://www.communitymx.com/abstract.cfm?cid=124DB -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Scott Sent: Monday, September 11, 2006 10:08 AM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders]

RE: [Flashcoders] integrating flash with java

2006-09-11 Thread Mark Lapasa
Screenweaver and Zinc can facilate transfer of objects between Java and Flash? That's impressive. However, I can't find it on either site how this is possible. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Arul Prasad M L Sent: Monday, September 11,

Re: [Flashcoders] integrating flash with java

2006-09-11 Thread slangeberg
No, Java is not in the picture at all. Is Java a requirement for your project? Scott On 9/11/06, Mark Lapasa [EMAIL PROTECTED] wrote: Screenweaver and Zinc can facilate transfer of objects between Java and Flash? That's impressive. However, I can't find it on either site how this is

[Flashcoders] The Align panel

2006-09-11 Thread Andrew J Kirkham
When aligning a group of objects using the Align panel, is there a way of keeping one of the objects static and having all the others align with it? Andy Kirkham ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

RE: [Flashcoders] The Align panel

2006-09-11 Thread Mendelsohn, Michael
I believe the static item is either the leftmost and the topmost item -- only. You might want to put a guide on the stage at the left/top of the item you'd like to be static, align them, then just the realigned group back to the guides. Hope that helps, - Michael M. When aligning a group of

Re: [Flashcoders] The Align panel

2006-09-11 Thread Marc Hoffman
If aligning left, move all other objects to the right of the one you want as the reference object. If aligning top, move them below. And so on for bottom and right. For center, I've found the smaller object(s) must be placed within the horizontal and/or vertical limits of the largest object,

Re: [Flashcoders] classes vs external .as files

2006-09-11 Thread Meinte van't Kruis
it's more of a taste thing i guess, and this question kinda revolves around 'oop vs procedural' etc. These discussions have been 'waged' alot of times, and often result in language religion wars ;) Personally, if code is readable and makes sense, it's allright by me. Meinte On 9/11/06, Adrian

RE: [Flashcoders] integrating flash with java

2006-09-11 Thread Mark Lapasa
Javaflash is an LGPL Java Projector or Player for Flash. It is a glue between Flash and Java. At the frontend, the programmer can embed Flash as a widget into the Java GUI in a platform-independent manner. And at the backend, Javaflash provides a service framework for communication between Flash

RE: [Flashcoders] classes vs external .as files

2006-09-11 Thread Mike Keesey
Far more errors can be caught compile-time using classes than using timeline script. Rather than finding out halfway into a project that you've mistyped a variable's name in several places, you find out the first time you try to compile. Classes also make for easier unit testing. I think it's

[Flashcoders] this['box_ratio'] works but this.box_ratio or just box_ratio does not

2006-09-11 Thread Alexander Farber
Hello, I have an mc which loads an external image file (a user avatar) using MovieClipLoader.loadClip and while doing so displays percentage of currently loaded bytes in a TextField loaded_txt: class User extends MovieClip { private var loaded_txt:TextField; private var

[Flashcoders] Shared objects with variable in the name...any issues?

2006-09-11 Thread Clayton
Hey all, A quick question; has anyone ever had problems creating a sharedObject that uses a variable as a part of the name? I've a scenario with multiple groups of mapping data (saving coordinates, and items for each). I've programmed the sharedObject to contain a group of arrays that hold each

Re: [Flashcoders] this['box_ratio'] works but this.box_ratio or just box_ratio does not

2006-09-11 Thread John Axel Eriksson
Very simple. You have defined the method resize_clip in the User class which does have a loaded_txt var but doesn't have the box_width and box_height etc vars. The fact that you use that function in another context doesn't matter to the compiler. That's why you get those errors. You could

[Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
Hi Folks, I've read up on grant skinners' articles about the garbage collector and how the new memory management gets done in as3. I've build some test cases to see how the new virtual machine handles stuff, and came upon some weirdness. I have two classes, GCTester and GCTarget. GCTester

[Flashcoders] Re: AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
done some more testing. If I don't use a constructor and just do this; var b:GCTarget=new GCTarget(); b.x=0; b.y=0; b=null; it never gets deleted as well.. On 9/12/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: Hi Folks, I've read up on grant

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Ian Thomas
On 9/11/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: GCTarget only listens to an enterframe event and traces something so I know wether it's still alive or not. So you're saying you've passed GCTarget as a target of a listener? Did you use weak references? Because if not, there's your

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
thanks for replying, I am using weak references for the listener, here's the code (within GCTarget): this.addEventListener(Event.ENTER_FRAME,onFrame,false,0,true); } private function onFrame(e:Event):void{ trace(A); } So I don't think

[Flashcoders] parsing full instance pathname? or am I completely wrong strategy?

2006-09-11 Thread James
Hi I have an application in which I create various buttons in various panes of an accordion component. I am having trouble handling events... I use: buttonName.addEvent.Listener(click,this); and then function click(eventObject:Object) { // decide what to do } but the only way I

[Flashcoders] Re: parsing full instance pathname? or am I completely wrong strategy?

2006-09-11 Thread Jim Kremens
use the _name property. On 9/11/06, James [EMAIL PROTECTED] wrote: Hi I have an application in which I create various buttons in various panes of an accordion component. I am having trouble handling events... I use: buttonName.addEvent.Listener(click,this); and then function

Re: [Flashcoders] parsing full instance pathname? or am I completely wrong strategy?

2006-09-11 Thread Mischa Williamson
How about: function click(eventObject:Object) { trace( eventObject.target._name ); trace( eventObject.target._parent._name ); } ? But if you are doing different actions for each button it is preferable to use a Delegate and create separate function handlers as it make the

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
it DOES however get deleted when setting the useCapture flag to true; this.addEventListener(Event.ENTER_FRAME,onFrame,true,0,true); Isn't this weird? Why would this be? -Meinte On 9/12/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: thanks for replying, I am using weak references for

Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van't Kruis
nevermind bout the onCapture bit, probably bubbles the event instead of firing the local onFrame function.. On 9/12/06, Meinte van't Kruis [EMAIL PROTECTED] wrote: it DOES however get deleted when setting the useCapture flag to true;

RE: [Flashcoders] parsing full instance pathname? Delegate / Event Listener

2006-09-11 Thread Weaver Hickerson
Here is a tutorial on Adobe for addding your own event listeners (delegates). In the non-delegate example, they also might shine some light on your original question (They do a switch() on eventobj.target .. http://www.adobe.com/devnet/flash/articles/eventproxy.html -Original

Re: [Flashcoders] way to get textFileld's line count?

2006-09-11 Thread Andrey Scherbakov
var lineHeight:Number, linesCount:Number; var tf:TextField = yourTextField; with (tf) { autoSize = true; multiline = true; wordWrap = true; html = true; htmlText = some text at 1 line; } lineHeight = tf.textHeight; tf.htmlText = some html text . text ; linesCount =

Re: [Flashcoders] way to get textFileld's line count?

2006-09-11 Thread Josh Santangelo
textfield.maxscroll - [the number of lines it's displaying] -josh On Sep 11, 2006, at 8:28a, grimmwerks wrote: I've got textFields using html text that I need to get an accurate way of finding the line count...I got it working when I knew the size of the font attributed to that textField, but

[Flashcoders] Actionscript Programmer from Chennai having Opportunity in Singapore

2006-09-11 Thread Santhakumar K
Flashcoders, Anybody from chennai willing to work in singapore. Please forward your resume with detailed description about your role and online links to me at [EMAIL PROTECTED] . It is an immediate requirement. Requirement: 2 to 3 years Flash Actionscript 2.0 OOP's programming Sending and