Re: [Flashcoders] Creating a SWF to dynamically create SWF';s

2006-10-08 Thread Peter O'Brien
- Från: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] För Peter O'Brien Skickat: den 5 oktober 2006 10:51 Till: Flashcoders mailing list Ämne: Re: [Flashcoders] Creating a SWF to dynamically create SWF';s How can a swf generate a swf? I've been asked about the subject of dynamicall

Re: [Flashcoders] Creating a SWF to dynamically create SWF';s

2006-10-05 Thread Peter O'Brien
How can a swf generate a swf? I've been asked about the subject of dynamically creating a bunch of swfs. I guess mtasc, swfmill and perhaps ant tasks - tho i know next to nothing about ant tasks. Another way would be to use jsfl. but how can a swf generate swfs?

Re: [Flashcoders] MovieClipLoader Reusage

2006-09-07 Thread Peter O'Brien
try subbing your code from onLoadComplete to an onLoadInit function, that looks like it should do the trick On 9/7/06, Helmut Granda <[EMAIL PROTECTED]> wrote: Can the MovieClipLoader class be reused? I have the following code: var myMCL:MovieClipLoader = new MovieClipLoader(); var myListener

Re: [Flashcoders] jsfl - loop through all textfields?

2006-09-07 Thread Peter O'Brien
Danny, thanks very much you have saved me alot of time and frustration, and jsfl has too! Heartfelt thanks to you both! On 9/7/06, Danny Kodicek <[EMAIL PROTECTED]> wrote: Here's one I used before. It exports the text itself rather than the fields (I was using it to get the text into a spreadsh

[Flashcoders] jsfl - loop through all textfields?

2006-09-07 Thread Peter O'Brien
Hi guys, Could anyone sample a jsfl script that will loop through all textfields that sit on a FLAs stage (many frames). I want to change the font and the anti-alias on all of them. Have tried google but can't find what I'm looking for. I have "Extending Flash MX 2004" which is pointing me to

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-20 Thread Peter O'Brien
Hey guys thanks for the code and input. The route I think I'm taking because it's html text and formatted, is to keep trimming at 's and checking if page is not too high. The page to print symbol I'm using has an aspect ratio for an A4 page (1: 1.414) and one big html text field (with 20px blank

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-18 Thread Peter O'Brien
I have the same problem as the original poster. I don't suppose anyone can provide more info as a solution than Hans, or Hans if you're there I would love to see some code. What are flash mc dimensions to match an A4 page? Doesn't it vary according to screen resolution? How can you efficiently

[Flashcoders] mirror effect using bitmapdata and matrix

2006-07-17 Thread Peter O'Brien
Hi coders, I am trying to get a mirror effect to work. The effect has a number of x and y reflections in a set sized mc (this case a 240x180), which is intended to result in a tiled effect (the more reflections the smaller the tile) Senoculars tutorial on the matrix is pretty comprehensive but

Re: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Peter O'Brien
Thanks very much Scott, Jason, Steven and Ryan. Your expertise (and defence) is much appreciated On 6/16/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: >>> You cannot extend the TextField class or static classes >>(from: http://livedocs.macromedia.com/flash/8/main/1359.html) >> >>took me 1

[Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Peter O'Brien
title says it all really, I'd prefer not to use prototype, is there anyway I can make an instance of my AS2 extension of TextField? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.

Re: [Flashcoders] Single giant bitmap vs Multiple smaller bitmaps - Performance Effects?

2006-04-21 Thread Peter O'Brien
Hey lee, thanks for your thoughts, but we'll only be scaling the giant bitmaps (2 of them) up to about 300%. It works ok at the moment with both a 4000px and 6000px (bitmap filled) mc being tweened across the horizon. i just wanted some clarification on whether this is pretty bad for perfo

Re: [Flashcoders] Single giant bitmap vs Multiple smaller bitmaps - Performance Effects?

2006-04-21 Thread Peter O'Brien
Hey list, hope all is well. I have a question about performance, thats been asked before but I can't find receiving any answer. Is it much more desirable to chop a massive bitmap up when scrolling it across the horizon? In my specific case I have bitmaps of between 4000px - 6000px in leng

[Flashcoders] createEmptyMovieClip for flash player 7

2006-03-31 Thread Peter O'Brien
createEmptyMovieClip shouldn't return a mc for Flash Player 7, correct? I ask because my flash ide is telling me in a roundabout way it does, in my class: mcExample=stage.createEmptyMovieClip('mcExample',10); // in a separate method: trace(mcExample);// Output: level0.mcExample In flash IDE in

Re: [Flashcoders] EventDispatcher being un-initialized

2006-03-23 Thread Peter O'Brien
r I am calling the EventDispatcher.initialize(this); > and then the next line is init(); > > > On 3/23/06, Peter O'Brien <[EMAIL PROTECTED]> wrote: > > > > Don't know if this might help but are you initialising EvtDis serpartely > > in > > the classe

Re: [Flashcoders] EventDispatcher being un-initialized

2006-03-23 Thread Peter O'Brien
Don't know if this might help but are you initialising EvtDis serpartely in the classes constructor before initializing the class in a separate call like init() for example "Manuel Saint-Victor" <[EMAIL PROTECTED]> wrote: > I have a Singleton that I am trying to l have dispatch events but for som

[Flashcoders] Why a strange character inserted before the £ sign in a textfield?

2006-03-23 Thread Peter O'Brien
This is really wierd to me. The following line in an application: tf.text = obj.prop + ' = £' + obj.amt; ... is outputting a wierd character before the pound sign. (On the mac it looks like L rotated 90degrees, on windows it looks like an A with a hyphen above it) It's a dynamically created te

Re: [Flashcoders] SEO for Flash .....

2006-03-16 Thread Peter O'Brien
On 16 Mar 2006, at 10:21, Adrian Park wrote: Does anyone have any good links or advice for optimising Flash for search engines. There's alot of stuff out there on this like SEFFS http:// wahlers.com.br/claus/blog/seffs-to-flash-or-not-to-flash/ and this recent post at deconcept is another a

[Flashcoders] stop() an empty movieclip still relevant for FP8?

2006-03-09 Thread Peter O'Brien
Looking at converting someone elses AS1 code to AS2, and there's a practise of: createEmptyMovieClip('ex',1); ex.stop(); which is noted to save cpu usage. Is this a relevant optimisation for FP8? ___ Flashcoders@chattyfig.figleaf.com To change your s

Re: [Flashcoders] Robust Drawing Classes?

2006-02-22 Thread Peter O'Brien
I can't testify to their quality but Senocular has some pretty interesting looking drawing classes you might want to check out: http://www.senocular.com/flash/actionscript.php?file=ActionScript_2.0/ com/senocular/ProgressiveDrawing.as On 22 Feb 2006, at 11:51, Luca Candela wrote: Hi, does an

[Flashcoders] Does FP8 upgrade require admin privileges?

2005-11-01 Thread Peter O'Brien
Does a Flash Player 8 upgrade require admin privileges? I'm guessing it's not a straight yes or no... but any info regarding this would be much appreciated. Cheers, Pete ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.

Re: [Flashcoders] setInterval() and the trouble

2005-10-30 Thread Peter O'Brien
perhaps it's liable to change On 30 Oct 2005, at 21:50, Derek Vadneau wrote: Actually, it's not documented. I remember reading about it at some point, but the local docs and livedocs do not have setTimeout, and it does not light-up for syntax highlighting. It works, but why this would not

Re: [Flashcoders] Macromedia's poor documentation WAS Selecting anitem off a List component withactionscript

2005-10-28 Thread Peter O'Brien
ster). > Flex 2, even in alpha, has decent documentation. Lots of stuff still missing, > but that is to be expected. > So things have certainly improved and MM have learned their lesson ;-) > > regards, > Muzak > > > - Original Message - > From: "Peter O'Br

Re: [Flashcoders] Macromedia's poor documentation WAS Selecting an item off a List component withactionscript

2005-10-28 Thread Peter O'Brien
item by default. > my_list.selectedIndex = 0; > > var listListener:Object = new Object(); > listListener.change = function(evt_obj:Object) { > trace("selectedIndex = " + evt_obj.target.selectedIndex); > } > my_list.addEventListener("change", listListener); > > > &

Re: [Flashcoders] Selecting an item off a List component with actionscript

2005-10-28 Thread Peter O'Brien
it would really help if MM would supply more code examples, it's damn annoying for a single developer spending ages trying to find one line of code that is no doubt used a great deal by changing search engines found it: articles_list.selectedIndex=0; "Peter O'Brien" <[

[Flashcoders] Selecting an item off a List component with actionscript

2005-10-28 Thread Peter O'Brien
Hi List, this concerns you the component. How does one select an item off a dynamically created List with actionscript? The following: > articles_list.dispatchEvent( {type:'change', target:{value:0}} ); causes the event to fire but not for the item on the List to appear selected. Please help m

Re: [Flashcoders] MM combo box doesn't drop down in the browser... ?

2005-10-21 Thread Peter O'Brien
ahhh finally found my solution via the archives: so just incase repointing this out saves someone time: I found a fix by placing a copy of the comboBox in my Main shell movie's library i.e. that pesky preloading shell! On 21 Oct 2005, at 11:56, Peter O'Brien wrote: Sorry I do

Re: [Flashcoders] TextField - how to put caret into textfield?

2005-10-21 Thread Peter O'Brien
Selection.setFocus('my_tf'); should be Selection.setFocus(my_tf); On 21 Oct 2005, at 13:38, Oleg Filipchuk wrote: Hi list. maybe this is trivial question but I didn't google the way to do it. I need to create TextField and put the blinking caret into TextField without user clicking on T

Re: [Flashcoders] MM combo box doesn't drop down in the browser... ?

2005-10-21 Thread Peter O'Brien
your browser). MM has a technote on the topic if this is your problem. On 10/20/05, Peter O'Brien <[EMAIL PROTECTED]> wrote: hi guys and gals, i haven't all the much experience working with components so I might be missing something very obvious (I hope!) my combo box drops

[Flashcoders] Differences between mac and windows flash text fields?

2005-10-20 Thread Peter O'Brien
I have been creating a flash which includes alot of text loaded from xml (in CDATA chunks). I have been inserting '' between the 's to create some vertical spacing like so public function addBRtoPs(string:String):String { while(string.indexOf('',0)!=-1){ string=s

[Flashcoders] MM combo box doesn't drop down in the browser... ?

2005-10-20 Thread Peter O'Brien
hi guys and gals, i haven't all the much experience working with components so I might be missing something very obvious (I hope!) my combo box drops down fine in the IDE, but not in the browser (safari & firefox tested), it just shows the first item and refuses to drop...? i've tried wai