RE: [Flashcoders] FileReference onIOError
Macromedia Support confirmed that there is a bug in Flash Player 8. They posted a message in the Macromedia web forum: http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid= 288threadid=1059687 -Original Message- From: Sullivan, Sean C - MWT Sent: Thursday, November 03, 2005 3:56 PM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] FileReference onIOError It appears that FileReference.upload does not work with HTTPS URL's http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid= 288threadid=1059687 -Original Message- I am using the FileReference class in Flash Player 8 My listener is receiving the onIOError callback. Unfortunately, the callback does not provide any specific details about the error. How can I get error details for the onIOError callback? Sean ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Text Trailing
Hi I have embedded 10 fonts in my application. And whenever I increase the size of the text from 10 to 70 or more (from a lower value to a very higher value)and than try to drag the text it gives a trailing effect Can any one tell why it gives this type of the effect?Is this a bug of flash Can any one suggest some solution to this ? Thanks in advance Sumeet kumar ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] test
test Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Accessing variable value across several flash movies
Thanks nils That looks just the trick Cheers Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nils Millahn Sent: 09 November 2005 19:20 To: Flashcoders mailing list Subject: Re: [Flashcoders] Accessing variable value across several flash movies Hi Paul, you should have a look at local shared object (SharedObject class). ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Looping an external mp3 file seamlessly
I am trying to play a looping external mp3 file but am having no joy as it only plays once. I tried this mySound=new Sound(); mySound.loadSound(track1.mp3,true); mysound.start(startTime,numloops); Any help much appreciated Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] onMouseMove false
Is there an efficient way to trigger an onMouseNOTMove without having to run an interval or do an onEnterFrame to constantly check the mouse? I want to set a varialble when mouse is moving and reset it when mouse is still. ie. something like if it were possible: this.onMouseMove = function(){ moving=true; } this.onMouseStop = function(){ moving=false; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] embed(test.swf#mc1)
I've seen this in Flex, does it also work in Flash ? Like : loadMovie(test.swf#mc1); It should load a movieclip from the library of test.swf. Thx, Lieven Cardoen And another question : When I embed my fonts, htmlText doesn't work anymore... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Character sets embedding
Many thanks Muzak! Untitled Document Dennis I Sioux B.V. Verlengde Zuiderloswal 4 1216 BX Hilversum T. +31 (0) 35 6216028 F. +31 (0) 35 6223806 E. [EMAIL PROTECTED] - Original Message - From: Muzak [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, November 08, 2005 3:34 PM Subject: Re: [Flashcoders] Character sets embedding These may help: http://www.unicode.org/ http://www.unicode.org/charts/ http://www.columbia.edu/kermit/csettables.html http://www.biega.com/special-char.html regards, Muzak - Original Message - From: Dennis - I Sioux [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, November 08, 2005 11:59 AM Subject: [Flashcoders] Character sets embedding Hey Guys, I was wondering what the character sets are to embed if you want to display Polish Text. And if someone might have a site with a list what languages uses which character sets in Flash. Many Thanx Dennis I Sioux B.V. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flipbook in AS2
Back in the days of player 6 there was a sample floating around that demonstrated a book whose pages could be 'flipped' - dragged open from one to the next. The author (the copy I have attributes pixelwit.com but if I recall there was some issues with the original source of the idea) did a great job with masking, gradients, and rotation to simulate the act of page turning. But it doesn't translate to AS2. Anyone seen anything similar? Skewing pre-existing bitmaps won't work for me...I'm generating page content at runtime. Thnkx --steve... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] DisplacementMapFilter and 2880 pixel limit
On 11/9/05, Claudia Barnal [EMAIL PROTECTED] wrote: When reading the DisplacementMapFilter documentation I found this piece of information: A filter is not applied if the resulting image would exceed 2880 pixels in width or height. For example, if you zoom in on a large movie clip with a filter applied, the filter is turned off if the resulting image reaches the 2880-pixel limit. So, my question is: How can I dynamically know the width of the resulting image? Can you use BitmapData.generateFilterRect ? Determines the destination rectangle that the applyFilter() method call affects, given a BitmapData object, a source rectangle, and a filter object. For example, a blur filter normally affects an area larger than the size of the original image. A 100 x 200 pixel image that is being filtered by a default BlurFilter instance, where blurX = blurY = 4 generates a destination rectangle of (-2,-2,104,204). The generateFilterRect() method lets you find out the size of this destination rectangle in advance so that you can size the destination image appropriately before performing a filter operation. -David R ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Ajax and Flash
AJAX is based on javascript Ascynch callbacks. Flash can process web requests asynchronously using Events. AJAX is, as far as Im concerned, irrelevant to flash development because of the veryprocess that AJAX uses is built into flash. Why go back to javascript? I wish all this marketing hyperbole in regards to web 2.0 and AJAX would blow away. At least users without javascript on their browsers (or not even using a browser) can run flash asynchronously..oh yeah, and its cross platform. Anyway, I cant see a reason to use flex to do this particular thing either. Talk about sledgehammers and nuts.. Neil On 11/10/05, Michael Klishin [EMAIL PROTECTED] wrote: Jaye Morris wrote: http://casario.blogs.com/mmworld/2005/11/aflax_a_javascr.html I can't understand why AFLAX library authors put such unindicative demos to their site. These demos look like good old Flash sources and show no advantage of using AJAX with Flash. Just no client-server iteraction at all... -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- www.neilhighley.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Question from newbie
I'm just learning Flash and I have a very basic question. How do you get the flash movie to stop and redirect to the next page? Mine gets to the end and keeps repeating. Thanks for your patience from a newbie. Joan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Dynamic resizing of flash object throught JS calls
Hey folks! I have here flash page which is ment to change it's size dynamcally through JS calls but somehow I cannt manage to get it bug free on anything else than FireFox. The idea is that I have flash movie with: [AS] Stage.scaleMode = noScale; Stage.align = TL; [/AS] initaly set to width and height 100% of page, when flash content expands I call fscommand that gets throught to JS located in page that does the very simple thing like: [JS] var element = document.all ? document.all[objectID] : document[objectID]; if(document.body.clientHeight __height){ element.height = document.body.clientHeight; } else { element.height = __height; } [/JS] Movie handles Stage.onResize events and keep itself centered horizontally. As i allready mentioned everything is beautifull in FF while IE shows strange behavior, flash object is resized only in case __height (which is fscommand param for ner height) is larger than current size of flash object, so calls that should make flash object smaller doesnt seem to be applyed. Even thought IE do receive new values, as I tested. Just tested that in Opera 9 and it gets even worse somehow Opera thinks that flash has made infinte loop, think that might be something with way Opera flash plugin deals with flash loadMovie calls. One thing I thought about as possible cause for those errors might be flash javascript communication kit, which i am using togeather with fscommand to have flash js communications though it would be kindof strange if it would affect sutch things. At this point I'm with no clue how to make it right, any help will be appreciated. Regards Jānis ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] embed(test.swf#mc1)
Nope. - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 8:21 AM Subject: [Flashcoders] embed(test.swf#mc1) I've seen this in Flex, does it also work in Flash ? Like : loadMovie(test.swf#mc1); It should load a movieclip from the library of test.swf. Thx, Lieven Cardoen And another question : When I embed my fonts, htmlText doesn't work anymore... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flipbook in AS2
http://www.iparigrafika.hu/pageflip/ I've used this for a few projects. It's put together very well. But it still doesn't translate to AS2. Chad. On Nov 11, 2005, at 5:49 AM, Stephen Hueners wrote: Back in the days of player 6 there was a sample floating around that demonstrated a book whose pages could be 'flipped' - dragged open from one to the next. The author (the copy I have attributes pixelwit.com but if I recall there was some issues with the original source of the idea) did a great job with masking, gradients, and rotation to simulate the act of page turning. But it doesn't translate to AS2. Anyone seen anything similar? Skewing pre-existing bitmaps won't work for me...I'm generating page content at runtime. Thnkx --steve... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Looking for a Math Whiz to write a component
Hey Flashcoders, We're looking for a Math Whiz Flash programmer who can write a component for us. Please contact me off list if you have time and are interested, along with your hourly rate. Thanks, Steven Sacks [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Offline/Online Security in FP8
So it seems that John don't help beause of his time, so I will contact Macromedia support staff, because I need it... Does anybody have working solution now? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] onMouseMove false
I think you'll have to use an interval, but you don't have to constantly check the mouse. Pseudo-code below: this.onMouseMove = function(){ // When the mouse is moved, clear any pending not moved timeout // interval so the callback *isn't* called (Note // clearMouseNotMoveTimeout isn't a real API function)... clearMouseNotMoveTimeout(); // Do processing for mouse movement... moving=true; // Reset the not moved timeout interval callback (note this would be // a call to something like setInterval(); setMouseNotMoveTimeout // isn't a real API function)... setMouseNotMoveTimeout(notMoveTimeoutCallback); } function notMoveTimeoutCallback(){ // Handle code for mouse not moving in specified timeframe... } Hope this helps... -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mick Gow Sent: Thursday, November 10, 2005 11:05 PM To: Flashcoders mailing list Subject: [Flashcoders] onMouseMove false Is there an efficient way to trigger an onMouseNOTMove without having to run an interval or do an onEnterFrame to constantly check the mouse? I want to set a varialble when mouse is moving and reset it when mouse is still. ie. something like if it were possible: this.onMouseMove = function(){ moving=true; } this.onMouseStop = function(){ moving=false; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flipbook in AS2
The most impressive one I've seen: http://www.flippingbook.com/ They charge for it, but considering what it does the price seems reasonable. Derek Vadneau - Original Message - From: Stephen Hueners [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 6:49 AM Subject: [Flashcoders] Flipbook in AS2 Back in the days of player 6 there was a sample floating around that demonstrated a book whose pages could be 'flipped' - dragged open from one to the next. The author (the copy I have attributes pixelwit.com but if I recall there was some issues with the original source of the idea) did a great job with masking, gradients, and rotation to simulate the act of page turning. But it doesn't translate to AS2. Anyone seen anything similar? Skewing pre-existing bitmaps won't work for me...I'm generating page content at runtime. Thnkx --steve... ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] TextField Caret Callback?
I need to know when the text field's insertion caret or selection is changed either by the keyboard or by the mouse. Is there any textfield function to do this, or any easy way to do it? I know I can add listeners for Mouse and Keyboard, filter out unwanted events, check the Selection object etc, but I was hoping there was an easy way to restrict it to the text field of interest without writing the code to figure that out myself. -- Chris Bare [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] FLV's crashing the browser on Cuepoints
No, but very interested, since I am about to start one myself. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vrijdag 11 november 2005 15:25 To: Flashcoders mailing list Subject: [Flashcoders] FLV's crashing the browser on Cuepoints Hi, Im building a largescale video project, after a certain amounts of cuePoints, the browser crashes hard, says a problem with the following plug in has occured. Ive tried absolutley everything, has anyone else experienced this? MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] embed/filesize woes with Arial Versus Arial Unicode
Hey Coders. A little test I made to embed Greek-charset ended up with that when using Arial Unicode MS, it ended up being about twice the size if I only would have used Arial (or Arial Greek) How come it turns out to be like this? I was about to use Arial Unicode MS for building font-files for different languages. But since the filesize is getting doubled up, it wont be a good solution. So how come the filesize does like it does with Arial Unicode MS / martin ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Logic Help
I have a mc that is 357x394 that I am loading various images into... these images are of various sizes but all are larger than the mc they are being loaded into... I need to scale them down proportionally so the whole image can be seen... how should I go about this so an image that is 840x680 would be scaled down so it looks right (to scale) and an image that is 680x840 would too ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Loadmovie and sounds
attachSound() - method which attached sound object from library if want load sound you must use method loadSound() if you say gotoAndPlay(step2) in event onSoundComplete() - you say it objSound but not you movie use link to movie clip, example: var objSound = new Sound(); var handler = this; //link to movie clip with label step2 objSound.attachSound(step1) objSound.start(0, 0) objSound.onSoundComplete = function(){ handler.gotoAndPlay(step2) } stop(); 2005/11/9, Brunswick, David [EMAIL PROTECTED]: Hello I am using LoadMovie to play multiple swfs within the loaded swf I am using the sound object as so var objSound = new Sound() objSound.attachSound(step1) objSound.start(0, 0) objSound.onSoundComplete = function(){ gotoAndPlay(step2) } stop(); Although I can not get the sound to play when loaded into the parent clip. What should I change in the loaded file to play the sound? David Brunswick Training Specialist II VeriSign E - [EMAIL PROTECTED] P - 912-527-4110 elearning.verisign.com Knowledge Speaks - Wisdom Listens - Jimi Hendrix ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Questions Using MVC Pattern with Flash
Hi Mike, Can you elaborate on how the Command pattern can be used instead of MVC? thanks, Jim Kremens On 11/9/05, Mike Britton [EMAIL PROTECTED] wrote: You'll quickly get into framework-building, something that can delay your project. Why not use an existing open source framework like ARP? http://www.osflash.org/ARP I've gone the route of employing MVC in every aspect of my architectures, then I discovered the command pattern, which ARP uses. Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLV's crashing the browser on Cuepoints
mate, ive been working on this for 4 months, its a 250k project, did it all in flash 7, all comped video with 3d, awesome project, until flash 8 player comes out, then I discovered it crashes, after a few vids have played, so I created a flash 8 version, using flvplayback and cuepoints right, but it still crashes always on events, doesnt trace the event out, so its the media crashing the browser, pulled the whole project apart, used all sorts of FLV creaters, captionate, and flash video encoder to embed cuepoints, nothing, ive got flashcom here, so im just configuring and im going to try streaming as a last resort, literally, ive spent a week debugging so... anyone, anyone... On 11/11/05, Hauwert, Ralph [EMAIL PROTECTED] wrote: No, but very interested, since I am about to start one myself. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vrijdag 11 november 2005 15:25 To: Flashcoders mailing list Subject: [Flashcoders] FLV's crashing the browser on Cuepoints Hi, Im building a largescale video project, after a certain amounts of cuePoints, the browser crashes hard, says a problem with the following plug in has occured. Ive tried absolutley everything, has anyone else experienced this? MaTT ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] FLV's crashing the browser on Cuepoints
What are 'certain amounts'? Can you pinpoint a threshold? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vrijdag 11 november 2005 15:25 To: Flashcoders mailing list Subject: [Flashcoders] FLV's crashing the browser on Cuepoints Hi, Im building a largescale video project, after a certain amounts of cuePoints, the browser crashes hard, says a problem with the following plug in has occured. Ive tried absolutley everything, has anyone else experienced this? MaTT ___ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] strange behavior of img in textfield
Well, I load dynamically some text into a textfield, from a .txt file. The file has inside the HTML code to load some jpg images too. The size of textfield is 576 px horizontal, and 403 vertical. The first strange behavior, is that if the image is large 570 px, the textfield show it truncated on right side, and dont load the following text; after some trying, I solve this setting the size of image at 540 px. Well, now the image is showed fully, and the following text is loaded... but - and this is the very strange behavior - the text is hidden behind the image for the rows that is equivalent to height of image itself! The only way to see all the text, is to set the image size at a significant minor width than the textfield width (i.e., 360 px); if so, the text flow around the image. The problem is that I need some large image. How can I move around this bug? Enrico Tomaselli + web designer + [EMAIL PROTECTED] http://www.metatad.it ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] using forward slash in inspectable properties ( / )
I am trying to use the following code for a component and the forward slashes escape out the commas. Ideas? [Inspectable(name=Date Format,type=String,enumeration=4/30, 4/30/05, 04/30/05, 30-Mar, 30-Mar-05, 30-Mar-2005, Mar-01, March-01, March 30, 2005,defaultValue=4/30/05,category=dateFormat)] var dateSelection:String; Thanks! Wade Arnold ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] using forward slash in inspectable properties ( / )
I am trying to use the following code for a component and the forward slashes escape out the commas. Ideas? [Inspectable(name=Date Format,type=String,enumeration=4/30, 4/30/05, 04/30/05, 30-Mar, 30-Mar-05, 30-Mar-2005, Mar-01, March-01, March 30, 2005,defaultValue=4/30/05,category=dateFormat)] var dateSelection:String; Thanks peace and love; Wade Arnold ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Logic Help
var scaling_factor:Number = Math.min(357 / image_mc.width, 394 / image_mc.height); loader_mc._xscale = scaling_factor; loader_mc._yscale = scaling_factor; -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lehr, Theodore M. Sent: Thursday, November 10, 2005 7:58 AM To: Flashcoders mailing list Subject: [Flashcoders] Logic Help I have a mc that is 357x394 that I am loading various images into... these images are of various sizes but all are larger than the mc they are being loaded into... I need to scale them down proportionally so the whole image can be seen... how should I go about this so an image that is 840x680 would be scaled down so it looks right (to scale) and an image that is 680x840 would too ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] TextField Caret Callback?
There is no event. You can make one, though: lastIndex = null; function onEnterFrame() { currentIndex = Selection.getCaretIndex(); if(currentIndex != lastIndex) { var old = lastIndex; lastIndex = currentIndex; trace(onCaretIndexChanged: was: + old + , now: + lastIndex); } } - Original Message - From: Chris Bare [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 4:17 PM Subject: [Flashcoders] TextField Caret Callback? I need to know when the text field's insertion caret or selection is changed either by the keyboard or by the mouse. Is there any textfield function to do this, or any easy way to do it? I know I can add listeners for Mouse and Keyboard, filter out unwanted events, check the Selection object etc, but I was hoping there was an easy way to restrict it to the text field of interest without writing the code to figure that out myself. -- Chris Bare [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLV's crashing the browser on Cuepoints
Can you post a sample SWF / FLA that demo's the crashing behavior ? - Guy At 12:50 PM 11/11/2005, Matt Muller wrote: mate, ive been working on this for 4 months, its a 250k project, did it all in flash 7, all comped video with 3d, awesome project, until flash 8 player comes out, then I discovered it crashes, after a few vids have played, so I created a flash 8 version, using flvplayback and cuepoints right, but it still crashes always on events, doesnt trace the event out, so its the media crashing the browser, pulled the whole project apart, used all sorts of FLV creaters, captionate, and flash video encoder to embed cuepoints, nothing, ive got flashcom here, so im just configuring and im going to try streaming as a last resort, literally, ive spent a week debugging so... anyone, anyone... -- Guy McLoughlin New Media Developer Toronto Ontario Canada E: [EMAIL PROTECTED] --- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] DisplacementMapFilter and 2880 pixel limit
Sorry to insist, but does this fall into the too obvious to answer category or does it fall into the what you want isn't possible category? If it is the first one, I really would appreciate if you guys could point me to some docs where I can find out. If it is the latter, please tell me, so that I can stop looking for an answer. Thank you very much, and sorry to insist ;) Caludia When reading the DisplacementMapFilter documentation I found this piece of information: A filter is not applied if the resulting image would exceed 2880 pixels in width or height. For example, if you zoom in on a large movie clip with a filter applied, the filter is turned off if the resulting image reaches the 2880-pixel limit. So, my question is: How can I dynamically know the width of the resulting image? Thanks, Claudia _ The new MSN Search Toolbar now includes Desktop search! http://toolbar.msn.co.uk/ ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Expandable banners
I'm not talking about Flash banners, I'm talking about people who think people should stop bashing people who make Flash banners. If someone creates unsavory content, I and others will associate them with such. Fact of life. If they do not want negative comments directed towards them, they need to stop associating themselves with the negativity they create. - Original Message - From: Clive Sweeney [EMAIL PROTECTED] To: Flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 7:52 PM Subject: [Flashcoders] Re: Expandable banners Speaking about Flash banners and the people who make them, JesterXL wrote: You can throw all the theortical, non-corraborated numbers around you want, but you're still using Flash banners. Email spammers who defend themselves as targeted email marketers are still spammers. Your industry sucks. Deal with it. Most of us can understand the reaction here, but ultimately it makes no more sense than saying Flash sucks. Deal with it. It's true that Flash, and thus all of us who use it, and everyone who uses the Internet have actually benefited from Flash banners, even if we don't like them. Knee-jerk, over-generalized comments about the evils of banners and/or the evils of Flash are more suited to SlashDot than Flashcoders. ::. clive ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Singleton in AS3
Hi guys, Have anyone got ideas how to implement Singleton pattern in AS3 best? Constructor in AS3 can only be public or internal, which is not private anyway. .. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] TextField Caret Callback?
Actually, I take that back. The only way to move a caret position is with the arrow keys and a mouse click, right? You could then do something like: lastIndex = null; function onKeyDown() { checkForChange(); } function onKeyUp() { checkForChange(); } function onMouseDown() { checkForChange(); } function onMouseUp() { checkForChange(); } function checkForChange() { if(Selection.getFocus() == my_txt) { var currentIndex = Selection.getCaretIndex(); if(currentIndex != lastIndex) { // change event } } } - Original Message - From: Chris Bare [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 4:17 PM Subject: [Flashcoders] TextField Caret Callback? I need to know when the text field's insertion caret or selection is changed either by the keyboard or by the mouse. Is there any textfield function to do this, or any easy way to do it? I know I can add listeners for Mouse and Keyboard, filter out unwanted events, check the Selection object etc, but I was hoping there was an easy way to restrict it to the text field of interest without writing the code to figure that out myself. -- Chris Bare [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: Flash FileReference and Firefox 1.0.7
This bug has also been reported by a developer in France: http://www.liguorien.com/blog/archives_125.html His workaround for this bug: manually append the jsessionid to the URL Sean -Original Message- From: Sullivan, Sean C - MWT Sent: Tuesday, November 01, 2005 3:54 PM To: 'flashcoders@chattyfig.figleaf.com' Subject: Flash FileReference and Firefox 1.0.7 I am having a problem with the FileReference class in Flash Player 8 and Firefox 1.0.7 This is my system configuration: Microsoft Windows XP IBM Websphere 4.0.7 Firefox 1.0.7 Flash Player version 8,0,22,0 On the server-side, my Java application server (Websphere) sets this cookie: [11/1/05 15:41:25:684 PST] 6f4fa5da SystemOut U Cookie: JSESSIONID=J5NBY1F4IHBZRCQXAQK5HPA:-1 In the same session, we use Flash's FileReference class to upload a file to the server. Flash Player 8 sends two HTTP POST's to the server. The cookie contained in Flash's file upload request is wrong: [11/1/05 15:42:05:325 PST] 6f4fa5da SystemOut U Cookie: JSESSIONID=SQL1B013JUL1140XYU2YONY:-1 Why is the JSESSIONID changing? The problem exists with Firefox but not in Internet Explorer. We have reproduced this bug on two different PC's. Is there a fix or workaround? Thanks in advance, Sean ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Logic Help
private function proportionalScale( who:MovieClip, mcHolder:MovieClip, nDesiredWidth:Number, nDesiredHeight:Number ):Void { var scaleBy:Number = Math.min(nDesiredWidth / who.width, nDesiredHeight /who.height); mcHolder._xscale = scaleBy; mcHolder._yscale = scaleBy; } Maybe something like that? On 11/10/05, Lehr, Theodore M. [EMAIL PROTECTED] wrote: I have a mc that is 357x394 that I am loading various images into... these images are of various sizes but all are larger than the mc they are being loaded into... I need to scale them down proportionally so the whole image can be seen... how should I go about this so an image that is 840x680 would be scaled down so it looks right (to scale) and an image that is 680x840 would too ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Question from newbie
Hi Joan, If you're using the timeline, try adding this actionscript to a keyframe at the end of your animation: stop(); getURL(http://google.com;); Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Singleton in AS3
You can't yet as for the reason you stated. Bitch on the forums pretty please; you, many many others, and I all want this changed. http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=587entercat=y - Original Message - From: Michael Klishin [EMAIL PROTECTED] To: Flashcoders ML flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 12:16 PM Subject: [Flashcoders] Singleton in AS3 Hi guys, Have anyone got ideas how to implement Singleton pattern in AS3 best? Constructor in AS3 can only be public or internal, which is not private anyway. .. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Singleton in AS3
Why should a public constructor prevent the creation of a Singleton? All you need is a static getInstance() method and a private attribute to hold the created instance. Sure, the public constructor means someone else could instantiate the class on their own without using getInstance(), but if you're writing the code, you'll do it the proper way anyhow, no? -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, November 11, 2005 1:32 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Singleton in AS3 You can't yet as for the reason you stated. Bitch on the forums pretty please; you, many many others, and I all want this changed. http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=587e ntercat=y - Original Message - From: Michael Klishin [EMAIL PROTECTED] To: Flashcoders ML flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 12:16 PM Subject: [Flashcoders] Singleton in AS3 Hi guys, Have anyone got ideas how to implement Singleton pattern in AS3 best? Constructor in AS3 can only be public or internal, which is not private anyway. .. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Looping an external mp3 file seamlessly
Thanks Alain You are right about the typo but even after fixing the typo it still does not loop. Is it true that streaming external audio will not loop? Thanks Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alain Rousseau Sent: 11 November 2005 16:55 To: Flashcoders mailing list Subject: Re: [Flashcoders] Looping an external mp3 file seamlessly Paul Steven wrote: I am trying to play a looping external mp3 file but am having no joy as it only plays once. I tried this mySound=new Sound(); mySound.loadSound(track1.mp3,true); mysound.start(startTime,numloops); Any help much appreciated Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Hi Paul this is a typo error ... you defined mySound but called mysound.start() keep your eyes open ;) Alain ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Questions Using MVC Pattern with Flash
The Command pattern is a true design pattern, while MVC is an architectural pattern. It's difficult to explain how one could be used in place of the other because the Command pattern can be used inside an MVC design/architecture. Similarly, MVC can be used inside a Command. I believe Brent's original question dealt with using MVC triads throughout an application design. I felt he was on the right track understanding the need to separate model from view, but could benefit from using the Command pattern to encapsulate actions. It would lessen the complexity (and thus improve the scalability) of his application. It's for this reason I suggested ARP. ARP has a good implementation of the Command pattern. Rather than redesign his own framework, Brent could benefit from using one that has a good community around it. Model-View-Controller http://en.wikipedia.org/wiki/Model_view_controller Command Pattern http://en.wikipedia.org/wiki/Command_pattern Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FLV's crashing the browser on Cuepoints
well i the entrance flv is fine, when i get into the md's office mostly i get through all 4 flv's in there, then i move to the server room, just do the intro, then go to reception where it normally crashes, but the journey is non linear so if i go to reception first it will crash in server room, btw its for a interactive who dunnit. Id love to post it but its not due for release for another 2 weeks, its for a blue chip client so im sure they wouldnt be happy, we are talking 120mb's here of video and swfs :| just about to test with flashcom, ill let ya know. MaTT On 11/11/05, Guy McLoughlin [EMAIL PROTECTED] wrote: Can you post a sample SWF / FLA that demo's the crashing behavior ? - Guy At 12:50 PM 11/11/2005, Matt Muller wrote: mate, ive been working on this for 4 months, its a 250k project, did it all in flash 7, all comped video with 3d, awesome project, until flash 8 player comes out, then I discovered it crashes, after a few vids have played, so I created a flash 8 version, using flvplayback and cuepoints right, but it still crashes always on events, doesnt trace the event out, so its the media crashing the browser, pulled the whole project apart, used all sorts of FLV creaters, captionate, and flash video encoder to embed cuepoints, nothing, ive got flashcom here, so im just configuring and im going to try streaming as a last resort, literally, ive spent a week debugging so... anyone, anyone... -- Guy McLoughlin New Media Developer Toronto Ontario Canada E: [EMAIL PROTECTED] --- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Singleton in AS3
That's fine for use Flashers who are used to using such methods to get what we want. However, other languages are more strict, and from the perception of new programmers coming into ActionScript 3, not meeting their expectations is a failure of the language... to point. Bottom line, they see our methods as hacks, and that's a bad thing. The correct way is to use getInstance, yes. But, it should also throw an exception if you try to instantiate it: var a:MyClass = new MyClass(); That should not work, but it does currently because you have no choice. In an effort to make ActionScript more clean, strict, and helpful, this is one of the additions. The language itself should be self-explanatory to use it, and should support common programming patterns such as Singleton. Supporting design patterns in a language, to me is iffy, but there are a enough business use cases in my opinion to support it. - Original Message - From: Chris Wilson [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 1:40 PM Subject: RE: [Flashcoders] Singleton in AS3 Why should a public constructor prevent the creation of a Singleton? All you need is a static getInstance() method and a private attribute to hold the created instance. Sure, the public constructor means someone else could instantiate the class on their own without using getInstance(), but if you're writing the code, you'll do it the proper way anyhow, no? -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, November 11, 2005 1:32 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Singleton in AS3 You can't yet as for the reason you stated. Bitch on the forums pretty please; you, many many others, and I all want this changed. http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=587e ntercat=y - Original Message - From: Michael Klishin [EMAIL PROTECTED] To: Flashcoders ML flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 12:16 PM Subject: [Flashcoders] Singleton in AS3 Hi guys, Have anyone got ideas how to implement Singleton pattern in AS3 best? Constructor in AS3 can only be public or internal, which is not private anyway. .. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] placing an action at the end of a FLV video!
please tell me if this is even close to right! stop(); listenerObject = new Object(); listenerObject.cuePoint = function(eventObject){ //load Movie Behavior if(this.mainloader == Number(this.mainloader)){ loadMovieNum(homemovie.swf,this.mainloader); } else { this.mainloader.loadMovie(homemovie.swf); } //End Behavior } myMedia.addEventListener(cuePoint, listenerObject) I can't seem to get it to work! thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Looping an external mp3 file seamlessly
Try: mySound=new Sound(this); // notice the this mySound.onSoundComplete = function() { this.start(); }; mySound.loadSound(track1.mp3,true); - Original Message - From: Paul Steven [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 1:40 PM Subject: RE: [Flashcoders] Looping an external mp3 file seamlessly Thanks Alain You are right about the typo but even after fixing the typo it still does not loop. Is it true that streaming external audio will not loop? Thanks Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alain Rousseau Sent: 11 November 2005 16:55 To: Flashcoders mailing list Subject: Re: [Flashcoders] Looping an external mp3 file seamlessly Paul Steven wrote: I am trying to play a looping external mp3 file but am having no joy as it only plays once. I tried this mySound=new Sound(); mySound.loadSound(track1.mp3,true); mysound.start(startTime,numloops); Any help much appreciated Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Hi Paul this is a typo error ... you defined mySound but called mysound.start() keep your eyes open ;) Alain ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Looping an external mp3 file seamlessly
Thanks Jester That now loops:) Only problem is that it is not seamless - there seems to be a slight delay:( Cheers Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of JesterXL Sent: 11 November 2005 18:52 To: Flashcoders mailing list Subject: Re: [Flashcoders] Looping an external mp3 file seamlessly Try: mySound=new Sound(this); // notice the this mySound.onSoundComplete = function() { this.start(); }; mySound.loadSound(track1.mp3,true); - Original Message - From: Paul Steven [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 1:40 PM Subject: RE: [Flashcoders] Looping an external mp3 file seamlessly Thanks Alain You are right about the typo but even after fixing the typo it still does not loop. Is it true that streaming external audio will not loop? Thanks Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alain Rousseau Sent: 11 November 2005 16:55 To: Flashcoders mailing list Subject: Re: [Flashcoders] Looping an external mp3 file seamlessly Paul Steven wrote: I am trying to play a looping external mp3 file but am having no joy as it only plays once. I tried this mySound=new Sound(); mySound.loadSound(track1.mp3,true); mysound.start(startTime,numloops); Any help much appreciated Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Hi Paul this is a typo error ... you defined mySound but called mysound.start() keep your eyes open ;) Alain ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Singleton in AS3
Agreed on all points, but when the deadline is approaching and the code needs to be done... Ironically to your points, I'm relatively new to Flash (~2 months), and have come to this language from C, C++, and Java. It's been *far* more difficult to learn than I expected, in many cases due to the hacks you mentioned. (Whaddya' mean 'this' doesn't refer to the class instance when you're in a callback function _that's_a_method_of_the_class_!?!) That said, I'm a pragmatist when it comes to finishing a project. :-] -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, November 11, 2005 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Singleton in AS3 That's fine for use Flashers who are used to using such methods to get what we want. However, other languages are more strict, and from the perception of new programmers coming into ActionScript 3, not meeting their expectations is a failure of the language... to point. Bottom line, they see our methods as hacks, and that's a bad thing. The correct way is to use getInstance, yes. But, it should also throw an exception if you try to instantiate it: var a:MyClass = new MyClass(); That should not work, but it does currently because you have no choice. In an effort to make ActionScript more clean, strict, and helpful, this is one of the additions. The language itself should be self-explanatory to use it, and should support common programming patterns such as Singleton. Supporting design patterns in a language, to me is iffy, but there are a enough business use cases in my opinion to support it. - Original Message - From: Chris Wilson [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 1:40 PM Subject: RE: [Flashcoders] Singleton in AS3 Why should a public constructor prevent the creation of a Singleton? All you need is a static getInstance() method and a private attribute to hold the created instance. Sure, the public constructor means someone else could instantiate the class on their own without using getInstance(), but if you're writing the code, you'll do it the proper way anyhow, no? -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, November 11, 2005 1:32 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Singleton in AS3 You can't yet as for the reason you stated. Bitch on the forums pretty please; you, many many others, and I all want this changed. http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=587e ntercat=y - Original Message - From: Michael Klishin [EMAIL PROTECTED] To: Flashcoders ML flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 12:16 PM Subject: [Flashcoders] Singleton in AS3 Hi guys, Have anyone got ideas how to implement Singleton pattern in AS3 best? Constructor in AS3 can only be public or internal, which is not private anyway. .. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Singleton in AS3
I totally agree bro... but ActionScript is moving away from a pure RAD type of language, hence being more strict. Exactly; hopefully people from your background won't have pain in the future. Again, as it's been funnily pointed out, Ruby and Java both have been trying to get more dynamic why we get more strict, but bottom line, both started from different points and have different business goals. - Original Message - From: Chris Wilson [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 1:59 PM Subject: RE: [Flashcoders] Singleton in AS3 Agreed on all points, but when the deadline is approaching and the code needs to be done... Ironically to your points, I'm relatively new to Flash (~2 months), and have come to this language from C, C++, and Java. It's been *far* more difficult to learn than I expected, in many cases due to the hacks you mentioned. (Whaddya' mean 'this' doesn't refer to the class instance when you're in a callback function _that's_a_method_of_the_class_!?!) That said, I'm a pragmatist when it comes to finishing a project. :-] -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, November 11, 2005 1:51 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Singleton in AS3 That's fine for use Flashers who are used to using such methods to get what we want. However, other languages are more strict, and from the perception of new programmers coming into ActionScript 3, not meeting their expectations is a failure of the language... to point. Bottom line, they see our methods as hacks, and that's a bad thing. The correct way is to use getInstance, yes. But, it should also throw an exception if you try to instantiate it: var a:MyClass = new MyClass(); That should not work, but it does currently because you have no choice. In an effort to make ActionScript more clean, strict, and helpful, this is one of the additions. The language itself should be self-explanatory to use it, and should support common programming patterns such as Singleton. Supporting design patterns in a language, to me is iffy, but there are a enough business use cases in my opinion to support it. - Original Message - From: Chris Wilson [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 1:40 PM Subject: RE: [Flashcoders] Singleton in AS3 Why should a public constructor prevent the creation of a Singleton? All you need is a static getInstance() method and a private attribute to hold the created instance. Sure, the public constructor means someone else could instantiate the class on their own without using getInstance(), but if you're writing the code, you'll do it the proper way anyhow, no? -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, November 11, 2005 1:32 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Singleton in AS3 You can't yet as for the reason you stated. Bitch on the forums pretty please; you, many many others, and I all want this changed. http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=587e ntercat=y - Original Message - From: Michael Klishin [EMAIL PROTECTED] To: Flashcoders ML flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 12:16 PM Subject: [Flashcoders] Singleton in AS3 Hi guys, Have anyone got ideas how to implement Singleton pattern in AS3 best? Constructor in AS3 can only be public or internal, which is not private anyway. .. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] POST bug - player8 + Paypal
hi All, Lost the link to the player8 post bug posted recently... :) Now it's time to turn this Paypal code into a Flash button: form action=https://www.paypal.com/cgi-bin/webscr; target=paypal method=post p align=center input type=hidden name=bn value=.888 input type=hidden name=cmd value=_cart input type=hidden name=business value=emailatmail.net input type=hidden name=display value=1 input type=image src=view_cart_03.gif border=0 name=submit width=78 height=23 /form Is that the POST command that's broken in the newest player? thanks, Dave_Matthews ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Singleton in AS3
Chris Wilson wrote: Agreed on all points, but when the deadline is approaching and the code needs to be done... That said, I'm a pragmatist when it comes to finishing a project. :-] For sure. But as long as AS3 is going to become one of senior programming languages... ;) -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Expandable banners
Thanks for your replies, im going to investigate more about it, just another doubt, an expandable banner has to be in a layer? and js its the best option to to handle it? i want to buy a book about it some recommendation? thanks __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: 网易邮箱自动回复: [Flashcoders] Dynamic res izing of flash object throught JS calls
Does everyone received my post as bunch of '? ? 2005/11/10, [EMAIL PROTECTED] [EMAIL PROTECTED]: 您发给我的信件已经收到。 网易163邮箱--专业电子邮局,2000M超大空间,支持超大附件,全国唯一24小时客户服务。 欢迎您来注册使用。网易126邮箱:http://www.126.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Looping an external mp3 file seamlessly
Or you can try this little thing I made here, exactly for looping mp3 seamlessly : http://lab.daroost.ca/source/SoundLoop2.mxp it's just a Class that I packaged with helpPanel and codehints info. You got all the info needed to make it work inside. Hope this helps and works out well Alain JesterXL wrote: I know... I have that on some mp3's. You can try either adjusting the startTime, OR fading in a completely new soundObject . - Original Message - From: Paul Steven [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 1:56 PM Subject: RE: [Flashcoders] Looping an external mp3 file seamlessly Thanks Jester That now loops:) Only problem is that it is not seamless - there seems to be a slight delay:( Cheers Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of JesterXL Sent: 11 November 2005 18:52 To: Flashcoders mailing list Subject: Re: [Flashcoders] Looping an external mp3 file seamlessly Try: mySound=new Sound(this); // notice the this mySound.onSoundComplete = function() { this.start(); }; mySound.loadSound(track1.mp3,true); - Original Message - From: Paul Steven [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 1:40 PM Subject: RE: [Flashcoders] Looping an external mp3 file seamlessly Thanks Alain You are right about the typo but even after fixing the typo it still does not loop. Is it true that streaming external audio will not loop? Thanks Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alain Rousseau Sent: 11 November 2005 16:55 To: Flashcoders mailing list Subject: Re: [Flashcoders] Looping an external mp3 file seamlessly Paul Steven wrote: I am trying to play a looping external mp3 file but am having no joy as it only plays once. I tried this mySound=new Sound(); mySound.loadSound(track1.mp3,true); mysound.start(startTime,numloops); Any help much appreciated Thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Hi Paul this is a typo error ... you defined mySound but called mysound.start() keep your eyes open ;) Alain ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS2Lib Examples
Does anyone have a basic AS2Lib example application they don't mind sharing? Coming from an ARP perspective, AS2Lib looks like it provides the same benefits, but the learning curve is harder. I'm checking out the API docs now and it looks pretty deep. I like how it has a testing framework built in though, so I thought i'd take it for a whirl. Mike ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Remoting and .NET Framework 2.0
Can anyone confirm whether or not Flash Remoting functions correctly with ASP.NET 2.0? I read a post on the MM forum suggesting that it's broken. Thanks, -Tony ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Multilingual Dynamic TextFields
Hi, I've got a Flash app that needs to display Japanese text on demand. I'm getting the text via Flash Remoting back to CF from SQL Server. Works fine so long as I don't have the TextField.embedFonts = true. It would appear that the fonts I've imported into the movie don't have the outlines I'm looking for - is there something I'm missing here? I had thought by creating a font symbol, I had all the unicode font outlines. Is this not the case? Do I need to specially stipulate the range I'm looking for? Note that I'm not creating any TextFields in the Flash IDE itself - everything is being done via ActionScript. Jeff Battershall Application Architect Dow Jones Indexes [EMAIL PROTECTED] (609) 520-5637 (p) (484) 477-9900 (c) ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] shared Fonts
I'd like to be able to make a component that uses a custom made font. If I make a Font Symbol with linkage and export, technically any developer who installs my component should have that font available (working in the component), correct? e.d. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] skinnig the listbuttons of mcom combobox (how)
hi i know it is possible somehow to skin the listboxbuttons of a combobox of mcom components. but i do not get it and the docs are not giving an example of that. has anyone expirience in skinning that combobox listbuttons or the listbox of mcom. thx marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] using forward slash in inspectable properties ( / )
Try this: [Inspectable(name=Date Format,type=String,enumeration=4/30, 4/30/05, 04/30/05, 30-Mar, 30-Mar-05, 30-Mar-2005, Mar-01, March-01, March 30, 2005,defaultValue=4/30/05,category=dateFormat)] e.dolecki On 11/11/05, Wade Arnold [EMAIL PROTECTED] wrote: I am trying to use the following code for a component and the forward slashes escape out the commas. Ideas? [Inspectable(name=Date Format,type=String,enumeration=4/30, 4/30/05, 04/30/05, 30-Mar, 30-Mar-05, 30-Mar-2005, Mar-01, March-01, March 30, 2005,defaultValue=4/30/05,category=dateFormat)] var dateSelection:String; Thanks! Wade Arnold ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] shared Fonts
poop. On 11/11/05, JesterXL [EMAIL PROTECTED] wrote: No, that's just a pointer to the font. You actually have to have the font on your machine for it to compile it into the SWF. You can, however, compile the font into a SWF, and distribute the SWF, but it won't work unless you have an instance of it in _level0, thus the only way realistically is to use something like SWFMill to exract it (if it can do that). ... or distribute the font. - Original Message - From: eric dolecki [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 3:43 PM Subject: [Flashcoders] shared Fonts I'd like to be able to make a component that uses a custom made font. If I make a Font Symbol with linkage and export, technically any developer who installs my component should have that font available (working in the component), correct? e.d. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how)
You'll wanna create a movieclip in yer library to replace the compilied asset. Its linkage ID will be com.metaliq.controls.ComboBox:ComboButton and its should use com.metaliq.controls.GraphicButton as its as2 class You'll need to setup yer timeline to work with the GraphicButton class, it has 4 states, up, over, down disabled.. make frames for those states and labels.. Hope that helps, Ryan Matsikas On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi i know it is possible somehow to skin the listboxbuttons of a combobox of mcom components. but i do not get it and the docs are not giving an example of that. has anyone expirience in skinning that combobox listbuttons or the listbox of mcom. thx marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] span class= is breaking ASDT in Eclipse
Hey folks, Has anyone using Eclipse noticed this problem? I rely on my Outline view to navigate my large class files, and when I switched from using font to span this afternoon, it broke my Outline view. before: ref.htmlText = font face='Verdana' size='12' color='#00'Black Text Here/font; after ref.htmlText = span class='Verdana12Black'Black Text Here/span; Try using span class... anywhere in your document... I think it's the word class itself that's breaking it. When I change it to span classy... it unbreaks my Outline. Any suggestions on how to fix this would be quite welcome! -steve warren ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: 网易邮箱自动回复:[Flashcoders] RE: A sUnit needs you!
Hi zhoujie0111, I couldn’t understand your message. I speak English and Spanish but not your message's language. Bye, jb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, November 11, 2005 1:15 PM To: Jonathyn B. Tellez Subject: 网易邮箱自动回复:[Flashcoders] RE: AsUnit needs you! 您发给我的信件已经收到。 网易163邮箱--专业电子邮局,2000M超大空间,支持超大附件,全国唯一24小时客户服务。 欢迎您来注册使用。网易126邮箱:http://www.126.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] PODCAST and RSS feeds in flash audio player
I posted this a little while ago. I was wondering it anyone had any insight into this. Here is the link and login again http://www.blogamp.com/blogamp_admin/index.php user - 123 pass - 123 Thanks! Lou -Original Message- Hi all --- I posted a question a month or so ago about right clicking to subscribe to a feed. I tried a few things and I have a working model done but would like some advice. Please check out the flash player and admin below http://www.blogamp.com/blogamp_admin/index.php Any suggestions to right click menu on the podcast link would be great. I am also looking for a solution to allow clients to record their audio and convert it to mp3 for podcasts and all done through a interface like this. Thanks in advance! Lou ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
AW: [Flashcoders] skinnig the listbuttons of mcom combobox (how)
hi this works fine but i want to change the buttons of the box that opens when i click that button. do also know how to make that thx marcel -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Matsikas Gesendet: Freitag, 11. November 2005 22:15 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) You'll wanna create a movieclip in yer library to replace the compilied asset. Its linkage ID will be com.metaliq.controls.ComboBox:ComboButton and its should use com.metaliq.controls.GraphicButton as its as2 class You'll need to setup yer timeline to work with the GraphicButton class, it has 4 states, up, over, down disabled.. make frames for those states and labels.. Hope that helps, Ryan Matsikas On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi i know it is possible somehow to skin the listboxbuttons of a combobox of mcom components. but i do not get it and the docs are not giving an example of that. has anyone expirience in skinning that combobox listbuttons or the listbox of mcom. thx marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] PODCAST and RSS feeds in flash audio player
If that thing had an approachable interface I would probably spend more than 4 seconds on it. e.dolecki On 11/11/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I posted this a little while ago. I was wondering it anyone had any insight into this. Here is the link and login again http://www.blogamp.com/blogamp_admin/index.php user - 123 pass - 123 Thanks! Lou -Original Message- Hi all --- I posted a question a month or so ago about right clicking to subscribe to a feed. I tried a few things and I have a working model done but would like some advice. Please check out the flash player and admin below http://www.blogamp.com/blogamp_admin/index.php Any suggestions to right click menu on the podcast link would be great. I am also looking for a solution to allow clients to record their audio and convert it to mp3 for podcasts and all done through a interface like this. Thanks in advance! Lou ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: chinese spam 网易邮箱 自动回复
This is chinese, if you don't have chinese language installed, you wont be able to read it. I've gotten like 10 of these exact messages already, i think it's someone who screwed up their email auto responder config, and is now spamming the list. -David R On 11/11/05, Janis Radins [EMAIL PROTECTED] wrote: Does everyone received my post as bunch of '? ? 2005/11/10, [EMAIL PROTECTED] [EMAIL PROTECTED]: 您发给我的信件已经收到。 网易163邮箱--专业电子邮局,2000M超大空间,支持超大附件,全国唯一24小时客户服务。 欢迎您来注册使用。网易126邮箱:http://www.126.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: chinese spam 网易邮箱自动回复
I DO have Chinese installed, and I still can't read it ;) e.dolecki On 11/11/05, David Rorex [EMAIL PROTECTED] wrote: This is chinese, if you don't have chinese language installed, you wont be able to read it. I've gotten like 10 of these exact messages already, i think it's someone who screwed up their email auto responder config, and is now spamming the list. -David R On 11/11/05, Janis Radins [EMAIL PROTECTED] wrote: Does everyone received my post as bunch of '? ? 2005/11/10, [EMAIL PROTECTED] [EMAIL PROTECTED]: 您发给我的信件已经收到。 网易163邮箱--专业电子邮局,2000M超大空间,支持超大附件,全国唯一24小时客户服务。 欢迎您来注册使用。网易126邮箱:http://www.126.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how)
thats the scrollbar on a list box, you'll need to skin that aswell.. You had another thread and emailed me off list saying you got a scrollbar skin working.. did you not? Anyway here are the linkages for the scrollbar, com.metaliq.controls.UIScrollBar:ThumbBottom com.metaliq.controls.UIScrollBar:ThumbGrip com.metaliq.controls.UIScrollBar:ThumbMiddle com.metaliq.controls.UIScrollBar:ThumbTop com.metaliq.controls.UIScrollBar:TrackBottom com.metaliq.controls.UIScrollBar:TrackMiddle com.metaliq.controls.UIScrollBar:TrackTop com.metaliq.controls.UIScrollBar:DownArrow com.metaliq.controls.UIScrollBar:UpArrow That should cover it.. Also, none of these assets have classes binded to them.. Cheers, Ryan On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi this works fine but i want to change the buttons of the box that opens when i click that button. do also know how to make that thx marcel -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Matsikas Gesendet: Freitag, 11. November 2005 22:15 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) You'll wanna create a movieclip in yer library to replace the compilied asset. Its linkage ID will be com.metaliq.controls.ComboBox:ComboButton and its should use com.metaliq.controls.GraphicButton as its as2 class You'll need to setup yer timeline to work with the GraphicButton class, it has 4 states, up, over, down disabled.. make frames for those states and labels.. Hope that helps, Ryan Matsikas On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi i know it is possible somehow to skin the listboxbuttons of a combobox of mcom components. but i do not get it and the docs are not giving an example of that. has anyone expirience in skinning that combobox listbuttons or the listbox of mcom. thx marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] POST bug - player8 + Paypal
On 11/11/05, dave matthews [EMAIL PROTECTED] wrote: Lost the link to the player8 post bug posted recently... :) Now it's time to turn this Paypal code into a Flash button: Is that the POST command that's broken in the newest player? POST bugs that I know about: 1. POST sometimes doesn't work in the authoring environment 2. POST sometimes doesn't work from a flash movie inside a frame within Internet Explorer -David R ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] on2 VP6 encoding question
Does anybody know how the Flash 8 video encoder determines when to insert keyframes if you set the value to automatic? All of the other encoding software I've used requires that you specify a keyframe setting, so this automatic setting is new to me. Does the encoder somehow intelligently calculate the best locations for keyframes? If so, that would be really cool, but I can't prove this one way or the other. thanks, Josh ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how)
The dropdown list for the ComboBox is a List component and uses the UIScrollBar, so if the assets are in yer library yer done.. Is this not working for you, if so what exactly is happening.. can you provide me a fla with yer assets so i can test.. - Ryan On 11/11/05, Lanny McNie [EMAIL PROTECTED] wrote: Hey The ComboBox clickable button is the asset with linkage com.metaliq.controls.ComboBox:ComboButton Regards, - Lanny On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: the scrollbar works also fine and thats not the problem it is the list box of the combo box i hope you can provide me help with that, i tried a few hours now -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Matsikas Gesendet: Freitag, 11. November 2005 22:39 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) thats the scrollbar on a list box, you'll need to skin that aswell.. You had another thread and emailed me off list saying you got a scrollbar skin working.. did you not? Anyway here are the linkages for the scrollbar, com.metaliq.controls.UIScrollBar:ThumbBottom com.metaliq.controls.UIScrollBar:ThumbGrip com.metaliq.controls.UIScrollBar:ThumbMiddle com.metaliq.controls.UIScrollBar:ThumbTop com.metaliq.controls.UIScrollBar:TrackBottom com.metaliq.controls.UIScrollBar:TrackMiddle com.metaliq.controls.UIScrollBar:TrackTop com.metaliq.controls.UIScrollBar:DownArrow com.metaliq.controls.UIScrollBar:UpArrow That should cover it.. Also, none of these assets have classes binded to them.. Cheers, Ryan On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi this works fine but i want to change the buttons of the box that opens when i click that button. do also know how to make that thx marcel -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Matsikas Gesendet: Freitag, 11. November 2005 22:15 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) You'll wanna create a movieclip in yer library to replace the compilied asset. Its linkage ID will be com.metaliq.controls.ComboBox:ComboButton and its should use com.metaliq.controls.GraphicButton as its as2 class You'll need to setup yer timeline to work with the GraphicButton class, it has 4 states, up, over, down disabled.. make frames for those states and labels.. Hope that helps, Ryan Matsikas On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi i know it is possible somehow to skin the listboxbuttons of a combobox of mcom components. but i do not get it and the docs are not giving an example of that. has anyone expirience in skinning that combobox listbuttons or the listbox of mcom. thx marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
AW: [Flashcoders] skinnig the listbuttons of mcom combobox (how)
com.metaliq.controls.ComboBox:ComboButton is the button on the right of the combo box i don't mean this one what i mean is: - i click the com.metaliq.controls.ComboBox:ComboButton - the box with the list of combobox items is opening - i would like to skin the buttons of that combobox items in that box sorry about my english, and i hope i explained it right this time thanks marcel -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Lanny McNie Gesendet: Freitag, 11. November 2005 22:56 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) Hey The ComboBox clickable button is the asset with linkage com.metaliq.controls.ComboBox:ComboButton Regards, - Lanny On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: the scrollbar works also fine and thats not the problem it is the list box of the combo box i hope you can provide me help with that, i tried a few hours now -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Matsikas Gesendet: Freitag, 11. November 2005 22:39 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) thats the scrollbar on a list box, you'll need to skin that aswell.. You had another thread and emailed me off list saying you got a scrollbar skin working.. did you not? Anyway here are the linkages for the scrollbar, com.metaliq.controls.UIScrollBar:ThumbBottom com.metaliq.controls.UIScrollBar:ThumbGrip com.metaliq.controls.UIScrollBar:ThumbMiddle com.metaliq.controls.UIScrollBar:ThumbTop com.metaliq.controls.UIScrollBar:TrackBottom com.metaliq.controls.UIScrollBar:TrackMiddle com.metaliq.controls.UIScrollBar:TrackTop com.metaliq.controls.UIScrollBar:DownArrow com.metaliq.controls.UIScrollBar:UpArrow That should cover it.. Also, none of these assets have classes binded to them.. Cheers, Ryan On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi this works fine but i want to change the buttons of the box that opens when i click that button. do also know how to make that thx marcel -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Matsikas Gesendet: Freitag, 11. November 2005 22:15 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) You'll wanna create a movieclip in yer library to replace the compilied asset. Its linkage ID will be com.metaliq.controls.ComboBox:ComboButton and its should use com.metaliq.controls.GraphicButton as its as2 class You'll need to setup yer timeline to work with the GraphicButton class, it has 4 states, up, over, down disabled.. make frames for those states and labels.. Hope that helps, Ryan Matsikas On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi i know it is possible somehow to skin the listboxbuttons of a combobox of mcom components. but i do not get it and the docs are not giving an example of that. has anyone expirience in skinning that combobox listbuttons or the listbox of mcom. thx marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] span class= is breaking ASDT in Eclipse
this is a bug in the current public build of ASDT, it doesnt handle keywords in string literals properly. Its fixed in CVS, but I dont expect you to build it :) There will be a new release *sometime soon* if you dont want to build from CVS. thanks, Martin Steve Warren wrote: Hey folks, Has anyone using Eclipse noticed this problem? I rely on my Outline view to navigate my large class files, and when I switched from using font to span this afternoon, it broke my Outline view. before: ref.htmlText = font face='Verdana' size='12' color='#00'Black Text Here/font; after ref.htmlText = span class='Verdana12Black'Black Text Here/span; Try using span class... anywhere in your document... I think it's the word class itself that's breaking it. When I change it to span classy... it unbreaks my Outline. Any suggestions on how to fix this would be quite welcome! -steve warren ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Detecting when a swf loses focus
We are looking for a solution to this issue as well. It would be a great help in DRM (Digital Rights Management) to keep not just test takers honest. Anyone yet have a strong enough knowledge of the browser and JavaScript to crack this one? Tyler On 11/8/05, Muzak [EMAIL PROTECTED] wrote: Mmmm, mind explaining the buggy, unstable and CPU hogging? If you have any problems with screenweaver you can always join the mailing list or visit the forum: http://osflash.org/mailman/listinfo/screenweaver_osflash.org http://www.screenweaver.org/forums/index.php regards, Muzak - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Tuesday, November 08, 2005 11:00 PM Subject: RE: [Flashcoders] Detecting when a swf loses focus Use a 3rd party wrapper like mProjector. http://www.binarynoise.com/ Way better than the buggy, unstable and CPU hogging Screenweaver. -Steven ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: ÍøÒ×ÓÊÏä×Ô¶¯»Ø¸ ´: Re: [Flashcoders] span class= is breaking ASDT in Eclipse
thats easy for you to say. [EMAIL PROTECTED] wrote: Äú·¢¸øÎÒµÄÐżþÒѾÊÕµ½¡£ ÍøÒ×163ÓÊÏä--רҵµç×ÓÓʾ֣¬2000M³¬´ó¿Õ¼ä£¬Ö§³Ö³¬´ó¸½¼þ£¬È«¹úΨһ24Сʱ¿Í»§·þÎñ¡£ »¶ÓÄúÀ´×¢²áʹÓá£ÍøÒ×126ÓÊÏ䣺http://www.126.com -- want to know what i think? probably not http://relivethefuture.com/choronzon ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] HTTP 206 Partial Content and LoadMovie
I do not believe that the problem is related to the 206 HTTP response. I have seen the same thing happen with only 2 swf libraries. Im not a flash coder myself, but I can vouch for the fact that there can be a load ordering dependency introduced when multiple objects are loaded that results in a hang. I can reproduce this every time in Firefox. Perhaps it is due to prefetching? __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Detecting when a swf loses focus
There is code out there used to fake modal dialogs in a browser that checks if a browser window loses focus and forces the window to take focus again. Really, a google search will help you on your way. Writing JS isn't too difficult if you know AS1. http://www.eggheadcafe.com/articles/javascript_modal_dialog.asp Basically, the event is onBlur. body onBlur=myLoseFocusFunction(); function myLoadFocusFunction() { -- tell flash something if you want -- or handle it directly in the browser -- like alert(You have attempted # times to exit the test); -- and on the threshold, you can load another page that doesn't have -- the flash anymore } I'm sure there's an easy solution to what you're trying to do. -Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tyler Wright Sent: Friday, November 11, 2005 2:47 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Detecting when a swf loses focus We are looking for a solution to this issue as well. It would be a great help in DRM (Digital Rights Management) to keep not just test takers honest. Anyone yet have a strong enough knowledge of the browser and JavaScript to crack this one? Tyler On 11/8/05, Muzak [EMAIL PROTECTED] wrote: Mmmm, mind explaining the buggy, unstable and CPU hogging? If you have any problems with screenweaver you can always join the mailing list or visit the forum: http://osflash.org/mailman/listinfo/screenweaver_osflash.org http://www.screenweaver.org/forums/index.php regards, Muzak - Original Message - From: Steven Sacks [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Tuesday, November 08, 2005 11:00 PM Subject: RE: [Flashcoders] Detecting when a swf loses focus Use a 3rd party wrapper like mProjector. http://www.binarynoise.com/ Way better than the buggy, unstable and CPU hogging Screenweaver. -Steven ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Singleton in AS3
Have anyone got ideas how to implement Singleton pattern in AS3 best? Constructor in AS3 can only be public or internal, which is not private anyway Hey Michael, One way (as mentioned in another email) is to throw an error in the constructor if some restriction has not been met. The following example may not be the *greatest* hack, because there really isn't any way to catch the error that's being thrown. But it's a hack that gets you to a singleton with pretty high confidence that it was created via the factory method. Another (more complicated) alternative is to use some convoluted namespace scheme. Another (less reliable) possibility is to simply pass an argument to the constructor - and throw if the argument is null. I have to admit that I've been one of the most vocal proponents for the private constructor argument, but want to make the point that the Singleton pattern should be avoided whenever possible. It's very difficult to isolate and test singletons, you wind up needing to add a destroy method or some such other hack. In my experience, almost every time I find myself leaning toward a Singleton, I find a more elegant OO solution. Here's a pretty good discussion about why to avoid Singletons: http://www.softwarereality.com/design/singleton.jsp I hope this helps. Luke Bayes www.asunit.org http://www.asunit.org package { import flash.util.trace; import flash.errors.IllegalOperationError; import flash.util.setTimeout; public class SingletonExample { private static var instance:SingletonExample; public function SingletonExample(isSingleton:Boolean = false) { setTimeout(checkSingleton, 1); } private function checkSingleton():Void { if(this != SingletonExample.instance) { throw new IllegalOperationError(SingletonExample instantiated directly, you should use the static getInstance method instead); } } public static function getInstance():SingletonExample { if(SingletonExample.instance == null) { SingletonExample.instance = new SingletonExample(true); } return SingletonExample.instance; } public function toString():String { return Singleton instance created successfully; } } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Expandable banners
I think this tread ahs gone WAY OT now - lets just agree to disagree on this one. It's realy not all that important :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: 10 November 2005 00:36 To: Flashcoders mailing list Subject: Re: [Flashcoders] Expandable banners I don't need to accept them at all; it's called FlashBlock. - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 09, 2005 7:22 PM Subject: Re: [Flashcoders] Expandable banners I agree - but we dont live in a perfect world and not all websites can be google. And if they were it would be a pretty grey/vnial/boring world. I do understand you might feel that flash based ads are intrusive - but you need to accpet them as just an important part of the online landscape as google keywords. Wether you coose to belive me or not they do work. on 10/11/05 12:05 AM, Flashcoders mailing list flashcoders@chattyfig.figleaf.com wrote: Jakob Nielsen said it best; Google's done well because they made ads that aren't annoying. Google ads can remain on a webpage and allow me to read without giving me a seizure, nor to do they appear over the top of my webpage that I'm reading with no discernable close button. Google has not become the billion dollar company they are because of ads; they became that because of good search capabilities, ads that are relevant not distracting, and allowing others to share in the revenue they generate. - Original Message - From: Daniel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 09, 2005 6:41 PM Subject: Re: [Flashcoders] Expandable banners something to consider is that google works off adds. If it weren't for thier adds you would have to pay for it. Same with Yahoo. I could keep going but I won't. I agree with pete here. I don't like adds being everywhere, but I do see the purpose and so I accept it. Its easy enough to ignor. Sometimes you'll get lucky and find something interesting. But if you don't, just ignor it. Flash banners, java script banners, basic jpeg/gif banners really arn't that much different. The flash ones are just more fun to play with. ;) Personaly I'd hate it if they got rid of banner advertising. They would probably go back to pop ups everywhere wich is even more anoying. Oh, and some of us arn't rich and can't afford to pay for every site we go to. Daniel ryanm wrote: But when the quality of programming on TVnose dives, You mean it gets worse than America's Next Top Model and The Biggest Loser? 8-O Right now I pay $12.99 a month for high quality programming without commercials, it's called HBO. it costs you $60 to go to the movies, At $9 a ticket we're not far from that now. a daily news papaer is $10 a day, Like I'd pay to read that crap... and finaly you have to pay $99 per month just to use your favour websites (that used to be free) The good ones don't need ads. If you content is worth consuming, people will pay to consume it. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Expandable banners
I agree to disagree. - Original Message - From: Pete Hotchkiss [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 7:19 AM Subject: RE: [Flashcoders] Expandable banners I think this tread ahs gone WAY OT now - lets just agree to disagree on this one. It's realy not all that important :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: 10 November 2005 00:36 To: Flashcoders mailing list Subject: Re: [Flashcoders] Expandable banners I don't need to accept them at all; it's called FlashBlock. - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 09, 2005 7:22 PM Subject: Re: [Flashcoders] Expandable banners I agree - but we dont live in a perfect world and not all websites can be google. And if they were it would be a pretty grey/vnial/boring world. I do understand you might feel that flash based ads are intrusive - but you need to accpet them as just an important part of the online landscape as google keywords. Wether you coose to belive me or not they do work. on 10/11/05 12:05 AM, Flashcoders mailing list flashcoders@chattyfig.figleaf.com wrote: Jakob Nielsen said it best; Google's done well because they made ads that aren't annoying. Google ads can remain on a webpage and allow me to read without giving me a seizure, nor to do they appear over the top of my webpage that I'm reading with no discernable close button. Google has not become the billion dollar company they are because of ads; they became that because of good search capabilities, ads that are relevant not distracting, and allowing others to share in the revenue they generate. - Original Message - From: Daniel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 09, 2005 6:41 PM Subject: Re: [Flashcoders] Expandable banners something to consider is that google works off adds. If it weren't for thier adds you would have to pay for it. Same with Yahoo. I could keep going but I won't. I agree with pete here. I don't like adds being everywhere, but I do see the purpose and so I accept it. Its easy enough to ignor. Sometimes you'll get lucky and find something interesting. But if you don't, just ignor it. Flash banners, java script banners, basic jpeg/gif banners really arn't that much different. The flash ones are just more fun to play with. ;) Personaly I'd hate it if they got rid of banner advertising. They would probably go back to pop ups everywhere wich is even more anoying. Oh, and some of us arn't rich and can't afford to pay for every site we go to. Daniel ryanm wrote: But when the quality of programming on TVnose dives, You mean it gets worse than America's Next Top Model and The Biggest Loser? 8-O Right now I pay $12.99 a month for high quality programming without commercials, it's called HBO. it costs you $60 to go to the movies, At $9 a ticket we're not far from that now. a daily news papaer is $10 a day, Like I'd pay to read that crap... and finaly you have to pay $99 per month just to use your favour websites (that used to be free) The good ones don't need ads. If you content is worth consuming, people will pay to consume it. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] POST bug - player8 + Paypal
POST may fail with LoadVars.send() when the swf resides in an html frameset. Use LoadVars.sendAndLoad() instead. Has been like this since F6. (http://www.muzakdeezign.com/downloads/loadvars_post) Have not tested with F8 (an F8 published swf that is) yet, so it may have been fixed. regards, Muzak - Original Message - From: David Rorex [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 10:39 PM Subject: Re: [Flashcoders] POST bug - player8 + Paypal On 11/11/05, dave matthews [EMAIL PROTECTED] wrote: Lost the link to the player8 post bug posted recently... :) Now it's time to turn this Paypal code into a Flash button: Is that the POST command that's broken in the newest player? POST bugs that I know about: 1. POST sometimes doesn't work in the authoring environment 2. POST sometimes doesn't work from a flash movie inside a frame within Internet Explorer -David R ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] hot spots for buttons not where they appear
Hello--- I hope someone can help me with this problem, which I have had a bunch of times in Flash: I often make hypertext in Flash by making an invisible button and placing instances of it on a layer above the text I want to make clickable. I make the button by having nothing in the up, over, or down frames and a square in the hit frame. Then when you drag the button onto the stage, it appears as a transparent blue square which you can resize and place over the text you want people to click, and then you define call-back functions on each instance to make it execute whatever code is desired... (I can't use HTML links to do what I want since I want complex Actionscript to execute when there is a click, not just to load a web page...) Unfortunately, when I test my movies sometimes, the acual hot area is not quite where the blue area is in the authoring environment. I just did a piece with 30 hyperlinked words this way, and the buttons had to be positioned by trial and error and to make them work, they had to be put at least 30 pixels offset from where it looked like they should be placed. Does anyone have an explanation or fix for this? It happens only in some projects and I always create the invisible buttn the same way. I am using Flash MX 2004 Pro on a PC/Win XP. Millie www.sporkworld.org ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how)
You have to make a new Row Renderer to change the look of the indivdual items inside the drop down in the combobox. See here for info: http://www.metaliq.com/mcom/getting_started.htm#rowRenderers -David R On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: rayn, any idea how to skin that list row? -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Matsikas Gesendet: Freitag, 11. November 2005 23:01 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) The dropdown list for the ComboBox is a List component and uses the UIScrollBar, so if the assets are in yer library yer done.. Is this not working for you, if so what exactly is happening.. can you provide me a fla with yer assets so i can test.. - Ryan On 11/11/05, Lanny McNie [EMAIL PROTECTED] wrote: Hey The ComboBox clickable button is the asset with linkage com.metaliq.controls.ComboBox:ComboButton Regards, - Lanny On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: the scrollbar works also fine and thats not the problem it is the list box of the combo box i hope you can provide me help with that, i tried a few hours now -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Matsikas Gesendet: Freitag, 11. November 2005 22:39 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) thats the scrollbar on a list box, you'll need to skin that aswell.. You had another thread and emailed me off list saying you got a scrollbar skin working.. did you not? Anyway here are the linkages for the scrollbar, com.metaliq.controls.UIScrollBar:ThumbBottom com.metaliq.controls.UIScrollBar:ThumbGrip com.metaliq.controls.UIScrollBar:ThumbMiddle com.metaliq.controls.UIScrollBar:ThumbTop com.metaliq.controls.UIScrollBar:TrackBottom com.metaliq.controls.UIScrollBar:TrackMiddle com.metaliq.controls.UIScrollBar:TrackTop com.metaliq.controls.UIScrollBar:DownArrow com.metaliq.controls.UIScrollBar:UpArrow That should cover it.. Also, none of these assets have classes binded to them.. Cheers, Ryan On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi this works fine but i want to change the buttons of the box that opens when i click that button. do also know how to make that thx marcel -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Ryan Matsikas Gesendet: Freitag, 11. November 2005 22:15 An: Flashcoders mailing list Betreff: Re: [Flashcoders] skinnig the listbuttons of mcom combobox (how) You'll wanna create a movieclip in yer library to replace the compilied asset. Its linkage ID will be com.metaliq.controls.ComboBox:ComboButton and its should use com.metaliq.controls.GraphicButton as its as2 class You'll need to setup yer timeline to work with the GraphicButton class, it has 4 states, up, over, down disabled.. make frames for those states and labels.. Hope that helps, Ryan Matsikas On 11/11/05, marcel vogt [EMAIL PROTECTED] wrote: hi i know it is possible somehow to skin the listboxbuttons of a combobox of mcom components. but i do not get it and the docs are not giving an example of that. has anyone expirience in skinning that combobox listbuttons or the listbox of mcom. thx marcel ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- - Lanny McNie ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com
Re: [Flashcoders] Re: chinese spam 网易邮箱 远�回复
I read only my virus scanner log: VIRUS DETECTED. I can read, but not comprehend! Lol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric dolecki Sent: sexta-feira, 11 de novembro de 2005 19:39 To: Flashcoders mailing list Subject: Re: [Flashcoders] Re: chinese spam 网易邮箱自动回复 I DO have Chinese installed, and I still can't read it ;) e.dolecki On 11/11/05, David Rorex [EMAIL PROTECTED] wrote: This is chinese, if you don't have chinese language installed, you wont be able to read it. I've gotten like 10 of these exact messages already, i think it's someone who screwed up their email auto responder config, and is now spamming the list. -David R On 11/11/05, Janis Radins [EMAIL PROTECTED] wrote: Does everyone received my post as bunch of '? ? 2005/11/10, [EMAIL PROTECTED] [EMAIL PROTECTED]: 您发给我的信件已经收到。 网易163邮箱--专业电子邮局,2000M超大空间,支持超大附件,全国唯一24小时 客户服务。 欢迎您来注册使用。网易126邮箱:http://www.126.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Mit freundlichen Gr��en Maximilian Reuss mailto:[EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] poor preformance of the flash data grid
how many rows? If you have a lot - there you go. Lots of lookups and styling. The v2 dataGrid doesn't do paging - but I think there are some out there that do. Google for em. ed On 11/9/05, Robin Burrer [EMAIL PROTECTED] wrote: Hi there, Whenever I try to format the text in a v2 datagrid component the performance of my flash application dramatically goes down. The flash application freezes for one to two seconds (depending On the processor speed) before the data grid is displayed. If I don't call the formatDataGrid method (see below) my applications runs smoothly. Any ideas? Cheers Robin // formatDataGrid private function formatDataGrid():Void { myGrid.rowHeight = 30; // first column var locationColum = myGrid.getColumnAt(0); locationColum.setStyle(fontWeight, bold); locationColum.setStyle(color, 0x00538D); locationColum.setStyle(fontSize, 15); locationColum.setStyle(fontStyle, italic); locationColum.width = 145; locationColum.embedFonts = true; locationColum.fontFamily =myFont // second column var datesColum= myGrid.getColumnAt(1); datesColum.setStyle(color, 0x00538D); datesColum.width = 260; datesColum.embedFonts = true; datesColum.fontFamily =myFont; // third column var registerColum = myGrid.getColumnAt(2); registerColum.setStyle(color, 0x00538D); registerColum.setStyle(fontStyle, italic); registerColum.setStyle(fontWeight, bold); registerColum.embedFonts = true; registerColum.fontFamily =myFont; } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Questions Using MVC Pattern with Flash
Design patterns are just a way of doing things... I once posted on my blog after reading the Head First Design Patterns book (which I think is a must-read for people getting into DP's) that you might know how to play some notes on a guitar (this is would liken to creating some variables), and you may know how to build some chords( classes ) but if you play certain notes and chords a certain way then you might be playing the blues (a design pattern). MVC is a design pattern made of other design patterns. if you get to know those first, you'll understand mvc better. there's a fine line to walk between knowing that you CAN use design patterns in your design, and that you MUST (usually people think this because someone else is doing it). Don't worry about forcing them into your work yet...but look for spots where they might be appropriate and try to work them in (by this i mean, dont worry about starting off saying, i am going to build this using the pattern). Defintely look into ARP...it's a framework that uses a bunch of design patterns to show you a good way to develop a flash app. ( Don't be worried by the word framework either -- you might even think of it as a reusable application template). On 11/9/05, Brent Gore [EMAIL PROTECTED] wrote: I think I get the idea, relax about MVC... but not too much ;). Starting out with MVC is kind of like having ten different maps that all get to the same place by different paths. Because of my own specific application needs, certain implementations (or maps) will be much better than others and figuring out which one to use is mind-boggling. Even worse, doing it with Flash is like having an extra mountain range (or something) smack dab in the middle. Taking Mikes suggestion I'm looking into ARP more. It looks pretty good but its kind-of a learning curve. I think the framework will help filter out some of the options. Anywhoo, thanks for your guys' help! I'm sure I'll feel better about this whole thing once I start actually making some progress ;). Best, Brent Message: 21 Date: Wed, 9 Nov 2005 19:58:14 + From: Johan Lopes [EMAIL PROTECTED] Subject: Re: [Flashcoders] Questions Using MVC Pattern with Flash To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 I've tried building the view completely by the controller with AS createEmptyMovieClip and such but was wasting too much time not being able to see anything at design time. I've stayed away from that too. This approach is advantageous when you're working with designers who wants to have full access to your views during design time. I chose not to pass event objects but rather fire a generic onUpdate() event on each listener. Inside oController.onUpdate() I request the info I need from the composited oModel and pass that info along to the composited view_mc. This allowed me to have different views listening to the model and each requesting only the info they needed instead of getting all-or-nothing. When my model's data changed, it all changed but all of it's listening views didn't need all of the data. I like that idea too. It's close to Moock's MVC with Observer Pattern passing only the needed data is really cool. /Johan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Double line returns when reading vars.txt file
I need help getting a text field to do single line-spacing under an odd circumstance. I'm using LoadVars to read a txt file that my non-programmer client will maintain on his site. To make it more readable for him, I have it formatted like this: --- myContacts= John Doe 15 Elm St. Newville, MD 12345 Bill Henry 23 Apple Terrace Oldtown, ID 54321 Jo Hill 14 Walnut Metropolis, MN 32415 etc. -- This gets displayed in a text field. Problem is, Flash is double-spacing every carriage return. I could reduce the line spacing in the text field, but I also have some text that's displayed from a constant and that text then gets sqeezed much too tight. I don't want to ask the client to put all the text on one line, with br tags. Is there any other way to make the above line breaks come out single rather than double? TIA, Marc ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Expandable banners
ooh we're back on topic :) Thanks for your replies, im going to investigate more about it, just another doubt, an expandable banner has to be in a layer? Yes, because the unexpanded banner space is a fixed size to fit within the page content, the only way to allow the expanded banner to have the new size is to lay it on a layer on top of the existing. This also means you need 2 seperate SWFs for the expanded/unexpanded - there are way to make the two communicate (your banner publisher will have documents and special FScommands for this). I don't know of any books that deal with the technical side of expandable banners (as all publishers handle it differently and are always changing their methods). The only way to get good is really experience and trial and error. - Mick On 11/12/05, JesterXL [EMAIL PROTECTED] wrote: I agree to disagree. - Original Message - From: Pete Hotchkiss [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 7:19 AM Subject: RE: [Flashcoders] Expandable banners I think this tread ahs gone WAY OT now - lets just agree to disagree on this one. It's realy not all that important :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: 10 November 2005 00:36 To: Flashcoders mailing list Subject: Re: [Flashcoders] Expandable banners I don't need to accept them at all; it's called FlashBlock. - Original Message - From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 09, 2005 7:22 PM Subject: Re: [Flashcoders] Expandable banners I agree - but we dont live in a perfect world and not all websites can be google. And if they were it would be a pretty grey/vnial/boring world. I do understand you might feel that flash based ads are intrusive - but you need to accpet them as just an important part of the online landscape as google keywords. Wether you coose to belive me or not they do work. on 10/11/05 12:05 AM, Flashcoders mailing list flashcoders@chattyfig.figleaf.com wrote: Jakob Nielsen said it best; Google's done well because they made ads that aren't annoying. Google ads can remain on a webpage and allow me to read without giving me a seizure, nor to do they appear over the top of my webpage that I'm reading with no discernable close button. Google has not become the billion dollar company they are because of ads; they became that because of good search capabilities, ads that are relevant not distracting, and allowing others to share in the revenue they generate. - Original Message - From: Daniel [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, November 09, 2005 6:41 PM Subject: Re: [Flashcoders] Expandable banners something to consider is that google works off adds. If it weren't for thier adds you would have to pay for it. Same with Yahoo. I could keep going but I won't. I agree with pete here. I don't like adds being everywhere, but I do see the purpose and so I accept it. Its easy enough to ignor. Sometimes you'll get lucky and find something interesting. But if you don't, just ignor it. Flash banners, java script banners, basic jpeg/gif banners really arn't that much different. The flash ones are just more fun to play with. ;) Personaly I'd hate it if they got rid of banner advertising. They would probably go back to pop ups everywhere wich is even more anoying. Oh, and some of us arn't rich and can't afford to pay for every site we go to. Daniel ryanm wrote: But when the quality of programming on TVnose dives, You mean it gets worse than America's Next Top Model and The Biggest Loser? 8-O Right now I pay $12.99 a month for high quality programming without commercials, it's called HBO. it costs you $60 to go to the movies, At $9 a ticket we're not far from that now. a daily news papaer is $10 a day, Like I'd pay to read that crap... and finaly you have to pay $99 per month just to use your favour websites (that used to be free) The good ones don't need ads. If you content is worth consuming, people will pay to consume it. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com
Re: [Flashcoders] Double line returns when reading vars.txt file
The only way I know around that without using html formatting is a processing-intensive replacement of crlf's with just lf's: str = str.split('\r\n').join('\n'); It's an ok solution if you don't have too much text. Helen Marc Hoffman wrote: This gets displayed in a text field. Problem is, Flash is double-spacing every carriage return. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Double line returns when reading vars.txt file
Try either saving your text file in unix format (or dos format - you can do this in word). Or replacing carriage returns in flash with line breaks. yourText = blah blah; temp = yourText.split(%r); finalText = temp.join(\r); I'm not 100% sure that %r is the right code for a carriage return, may have to look that up. On 11/12/05, Marc Hoffman [EMAIL PROTECTED] wrote: I need help getting a text field to do single line-spacing under an odd circumstance. I'm using LoadVars to read a txt file that my non-programmer client will maintain on his site. To make it more readable for him, I have it formatted like this: --- myContacts= John Doe 15 Elm St. Newville, MD 12345 Bill Henry 23 Apple Terrace Oldtown, ID 54321 Jo Hill 14 Walnut Metropolis, MN 32415 etc. -- This gets displayed in a text field. Problem is, Flash is double-spacing every carriage return. I could reduce the line spacing in the text field, but I also have some text that's displayed from a constant and that text then gets sqeezed much too tight. I don't want to ask the client to put all the text on one line, with br tags. Is there any other way to make the above line breaks come out single rather than double? TIA, Marc ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] strange behavior of img in textfield
try: different image alignments (or no image alignment) img src='file.jpg' align='left' or img src='file.jpg' or put some brbr after your image or img src='file.jpg' Pput your text after the image inside paragraph breaks/P On 11/12/05, MetaArt [EMAIL PROTECTED] wrote: Well, I load dynamically some text into a textfield, from a .txt file. The file has inside the HTML code to load some jpg images too. The size of textfield is 576 px horizontal, and 403 vertical. The first strange behavior, is that if the image is large 570 px, the textfield show it truncated on right side, and dont load the following text; after some trying, I solve this setting the size of image at 540 px. Well, now the image is showed fully, and the following text is loaded... but - and this is the very strange behavior - the text is hidden behind the image for the rows that is equivalent to height of image itself! The only way to see all the text, is to set the image size at a significant minor width than the textfield width (i.e., 360 px); if so, the text flow around the image. The problem is that I need some large image. How can I move around this bug? Enrico Tomaselli + web designer + [EMAIL PROTECTED] http://www.metatad.it ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Double line returns when reading vars.txt file
Thanks, Helen! This was a perfect fix, as there's never more than maybe a hundred lines of text. - Marc At 05:59 PM 11/11/2005, Helen Triolo wrote: The only way I know around that without using html formatting is a processing-intensive replacement of crlf's with just lf's: str = str.split('\r\n').join('\n'); It's an ok solution if you don't have too much text. Helen Marc Hoffman wrote: This gets displayed in a text field. Problem is, Flash is double-spacing every carriage return. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Singleton in AS3
Security by obscurity, while applicable satisfying pioneers early adopters, is still unacceptable; we need private constructors. However, you do bring up a good point; I think, non intentionally, the new mx framework works like that; like, they use namespaces, in part to support namespaces for MXML (I think). - Original Message - From: Fruber Malcome [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Friday, November 11, 2005 10:24 PM Subject: RE: [Flashcoders] Singleton in AS3 There are many cases where you'd want to ensure that someone can't create a new instance of a class that you've published. An interesting workaround is to hide your class in a namespace that is 'not publicly known', then write a wrapper class that someone can call NEW on - and the constructor of that class checks to see if that object exists. This doesn't ensure that it doesn't happen, but someone would have to have intimate knowledge of some unknown namespace in order to create an instance of that object.. Just an idea. Thanks - Fruber -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Wilson Sent: Friday, November 11, 2005 10:40 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Singleton in AS3 Why should a public constructor prevent the creation of a Singleton? All you need is a static getInstance() method and a private attribute to hold the created instance. Sure, the public constructor means someone else could instantiate the class on their own without using getInstance(), but if you're writing the code, you'll do it the proper way anyhow, no? -Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL Sent: Friday, November 11, 2005 1:32 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Singleton in AS3 You can't yet as for the reason you stated. Bitch on the forums pretty please; you, many many others, and I all want this changed. http://www.macromedia.com/cfusion/webforums/forum/categories.cfm?catid=587e ntercat=y - Original Message - From: Michael Klishin [EMAIL PROTECTED] To: Flashcoders ML flashcoders@chattyfig.figleaf.com Sent: Thursday, November 10, 2005 12:16 PM Subject: [Flashcoders] Singleton in AS3 Hi guys, Have anyone got ideas how to implement Singleton pattern in AS3 best? Constructor in AS3 can only be public or internal, which is not private anyway. .. -- Michael Antares Klishin, Email: [EMAIL PROTECTED] Web: www.novemberain.com Non progredi est regredi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Multilingual Dynamic TextFields
Battershall, Jeff wrote: Hi, I've got a Flash app that needs to display Japanese text on demand. I'm getting the text via Flash Remoting back to CF from SQL Server. snip / You need to assess if embeded fonts are necessary for your application. Double byte characters can take up alot of space ( 2MB) in applications if you want to include fonts. Stick to system fonts if possible. -Ricky ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders