Re: [Flashcoders] duplicateMovieClip() ?

2006-03-15 Thread zikey Han
I can invoke this function in my Scene. function alot(max) { var basename:String = circle_mc; for (var i = 0; imax; i++) { _root.it_mc.duplicateMovieClip(basename+i, this.getNextHighestDepth ()); _root[basename+i]._x = 100+i*5; _root[basename+i]._y = 100+i*5; }

RE: [Flashcoders] Encrypting data

2006-03-15 Thread André Goliath
Yes it is, but you could create a kind of checksum, for example take the highscore and append the senders IP and then hash this string, and check if the server´s hash results in the same checksum. Kind of a shared secret technique -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[Flashcoders] Requests

2006-03-15 Thread Dennis - I Sioux
Hey, Was wondering if anyone had any problems with the addRequestHeader. A few requests comming to the server when i use loadvars.send in a _blank window have lost their post and the headers i attached in flash. Many thanks! Best regards, Dennis Dennis I Sioux B.V. Verlengde

RE: [Flashcoders] Memory leak in Flash projector

2006-03-15 Thread Mike Mountain
I know there's an issue with using bitmapdata - http://www.gskinner.com/blog/archives/2005/10/major_flash_pla.html Does that help anyone? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Goliath Sent: 14 March 2006 23:01 To:

RE: [Flashcoders] Still need help-Can't reference library fontfromclass

2006-03-15 Thread Jim Tann
Try this Jason, http://www.codesortium.com/demo/simpletextfield/simpletextfield.zip Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 13 March 2006 20:53 To: Flashcoders mailing list Subject: RE: [Flashcoders] Still need

[Flashcoders] crosspost: update your flash-players immediately

2006-03-15 Thread Michael Stuhr
http://www.microsoft.com/technet/security/advisory/916208.mspx http://www.macromedia.com/devnet/security/security_zone/apsb06-03.html micha ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Help with shared library fonts

2006-03-15 Thread Jim Tann
This is not exactly true, you can do it quite easily with shared libraries, I have posted this example on this forum a few times, I think I might have to put it on my blog . Using shared library fonts is very easy, just a but touchy. Download this zip and take a look at how easy it is.

[Flashcoders] Help with Tree Component

2006-03-15 Thread James Marsden
Hey folks, I'm trying to customise the Tree component to intercept itemRollOver events to stop the highlight on the component if a node is set to 'disabled'. Can anyone point me to the right method/object in the hierarchy to acheive this please? TIA, J

[Flashcoders] [ann] 20th March Sydney Developers study group meeting

2006-03-15 Thread Chris Velevitch
On Monday 20th March is the next meeting of the study group we will be studying FlexUnit 2, the unit testing framework for Flex 2. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the

[Flashcoders] Uploading file problem on MAC

2006-03-15 Thread Michael K
I made an app where the user can upload pictures to the swf file. Works finr in IE and Firefox on PC. However, on the Mac, when the browser dialog box comes up all files are non-selectable. I can get the browse window up, but I cant select any files? Has anyone experienced this before? I

Re: [Flashcoders] crosspost: update your flash-players immediately

2006-03-15 Thread John Giotta
Anyone know if this posses a threat for Flash Player 8.5? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software

[Flashcoders] Windows IE Cache Problem

2006-03-15 Thread Bo Parker
I have a client that has webcams that are sending images via ftp to a folder every 15 seconds to a static link and overwriting the previous image of the same name. I am bringing those images into a flash interface and am refreshing those images every 15 seconds with a setInterval loop.

Re: [Flashcoders] Windows IE Cache Problem

2006-03-15 Thread Janis Radins
guess the very default routine to deal with cache should do smthn.loadImage(webCamImg.jpg?dummy=+new Date()*1) 2006/3/15, Bo Parker [EMAIL PROTECTED]: I have a client that has webcams that are sending images via ftp to a folder every 15 seconds to a static link and overwriting the previous

RE: [Flashcoders] Windows IE Cache Problem

2006-03-15 Thread André Goliath
Hi Bo, try loading from a fake dynamic reference, such as www.yourdomain.com/image.jpg?fake=+Math.round(Math.random()*10) that should work I guess -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bo Parker Sent: Wednesday, March 15, 2006 2:52 PM To:

Re: [Flashcoders] Windows IE Cache Problem

2006-03-15 Thread Danny Kodicek
I have a client that has webcams that are sending images via ftp to a folder every 15 seconds to a static link and overwriting the previous image of the same name. I am bringing those images into a flash interface and am refreshing those images every 15 seconds with a setInterval loop.

[Flashcoders] Timing Tweens Effectively

2006-03-15 Thread Kevin Cannon
Hi, I'm looking to improve my handling of timed events for the sites I'm building. I'm using a lot of tweens, and stacking them using callbacks, and sometimes setInterval to achieve what I want. It's not particularly clean, so I was wondering if there's any methods or libraries, to code timed

[Flashcoders] tooltip in the combobox.

2006-03-15 Thread Rodrigo Guerra
hi all, i was wondering if there is a way to put some kind of tooltip in the combobox options, so putting the mouse over an combobox optin besides it get highlighted i can have a tip about the option. regards, rodrigo.___

Re: [Flashcoders] Windows IE Cache Problem

2006-03-15 Thread Bo Parker
thanks for all your suggestions. Worked great. -- Bo Parker, AIGA RMC 215 S Jennings Avenue Fort Worth, Texas 76104 817.332.4700 phone 817.332.4710 facsimile www.rmcfw.com On Mar 15, 2006, at 8:05 AM, Danny Kodicek wrote: I have a client that has webcams that are sending images via ftp

Re: [Flashcoders] tooltip in the combobox.

2006-03-15 Thread eric dolecki
yup. look for an event:itemRollOver like this... foo.itemRollOver = function ( oEvt ):Void { var indx:Number = oEvt.index; // pop your own tooltip using this event ... - e.dolecki On 3/15/06, Rodrigo Guerra [EMAIL PROTECTED] wrote: hi all, i was wondering if there is a way to put

Re: [Flashcoders] Uploading file problem on MAC

2006-03-15 Thread Josh Buhler
When specifying the file types that are allowed to upload, are you specifying a macType as well? If a file wasn't actually created on a Mac, it won't have a macType, and won't be selectable, even if it's still technically of the type you want to allow. Setting the macType isn't required,

[FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
Hello everyone, How can I remove a bitmap that I have attached on a movieclip at a certain depth? The only approach I was able to find was to attach another bitmap 1x1 transparent at the same depth, but I think this is a pretty stupid approach... Am I missing something? Thanks, Dimitrios

RE: [Flashcoders] Flex2 Project Conversion

2006-03-15 Thread Merrill, Jason
i don't quite agree with your argument. I am not making any argument - not sure where you're getting that - I just said I wouldn't risk it myself, personally. Macromedia just posted in this thread that It is always risky to build on a beta... you need to judge your tolerence for risk. It's

Re: [Flashcoders] Uploading file problem on MAC

2006-03-15 Thread Michael K
I am not completly sure what you mean. I have tried and i cant select pictures created on a MAC or a PC so I guess that cant be the issue...? From: Josh Buhler [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list

RE: [Flashcoders] advanced flash AS 2.0/3.0 book?

2006-03-15 Thread Merrill, Jason
Agreed, the Friend of Ed book on Object Oriented Actionscript is great. Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent: Sunday, March 12, 2006

Re: [Flashcoders] Timing Tweens Effectively

2006-03-15 Thread Sam Thorne
Check out Fuse: http://www.mosessupposes.com/ On 15 Mar 2006, at 14:11PM, Kevin Cannon wrote: Hi, I'm looking to improve my handling of timed events for the sites I'm building. I'm using a lot of tweens, and stacking them using callbacks, and sometimes setInterval to achieve what I

RE: [Flashcoders] crosspost: update your flash-players immediately

2006-03-15 Thread Merrill, Jason
I would think if it's fixed in 8.0.24.0 they wouldn't go back to the same problem again in 8.5, which isn't officially out yet, only pre-release. As for the pre-release version, it's possible the problem is there too, but I think Adobe would hope you're not pushing that on your customers yet

[Flashcoders] Launching PPT presentations (or whatever) from a CD

2006-03-15 Thread Bruce Denham
I've searched the archives on this but didn't find much related to this so. Does anyone know of a best practice or design pattern or code example or article that can point to an efficient and flexible way of building a Flash projector that can act as a menu system for launching PPT

Re: [Flashcoders] crosspost: update your flash-players immediately

2006-03-15 Thread Steve Webster
On 15 Mar 2006, at 14:49, Merrill, Jason wrote: I would think if it's fixed in 8.0.24.0 they wouldn't go back to the same problem again in 8.5, which isn't officially out yet, only pre-release. As for the pre-release version, it's possible the problem is there too, but I think Adobe would

[Flashcoders] Authoring Test player version update?

2006-03-15 Thread Isaac Rivera
Yesterday I got an ran the stand-alone updater for Mac. All 3 players inside Macromedia Flash 8 folder have been updated. These are: * /Applications/Macromedia Flash 8/Players/SAFlashPlayer * /Applications/Macromedia Flash 8/Players/Debug/SAFlashPlayer * Applications/Macromedia Flash

Re: [Flashcoders] crosspost: update your flash-players immediately

2006-03-15 Thread Aaron Silvers
In case JD is reading this (Hi JD), what about the plugin for those of us on the intel Macs? I apologize if this has been brought up already. -a- On 3/15/06, Steve Webster [EMAIL PROTECTED] wrote: On 15 Mar 2006, at 14:49, Merrill, Jason wrote: I would think if it's fixed in 8.0.24.0 they

Re: [Flashcoders] Uploading file problem on MAC

2006-03-15 Thread Josh Buhler
When using FileReference.browse(), you can specify the types of files you want to allow in an array. For example: var typeLIst:Array = [{description: Image files, extension: *.jpg;*.gif;*.png, macType: JPEG;jp2_;GIFF}, {description: Flash Movies, extension: *.swf, macType: SWFL}];

[Flashcoders] How to fork between F7/F8 loadMovie instances in actionscript?

2006-03-15 Thread Ken Fine
Adobe provides code to allow you to fork between F7 and F8 instances of your movie. This works just fine. So the issue I'm running into now is that I've done a nice job abstracting my content into a bunch of separate .swfs that are reassembled into a finished movie. What I need to know is how to

[Flashcoders] Advice on how to make a copy of an object

2006-03-15 Thread Manuel Saint-Victor
I need to make a local copy of an object- basically I have a model with some default values and would like each view to create a local model with customizations to some parameters. I've seen some ActionScript 3 ways to do this but am looking for the way it was done in AS2. Thanks, Mani

RE: [Flashcoders] Advice on how to make a copy of an object

2006-03-15 Thread Merrill, Jason
If done it with just: myObject2 = new Object(); myObject2 = myObject1 Or are you looking for something else? Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Manuel

Re: [Flashcoders] Advice on how to make a copy of an object

2006-03-15 Thread Janis Radins
Guess this should do: public static function cloneObject(object:Object):Object { var __return:Object = new Object(); for(var i:String in object){ __return[i] = object[i]; } return __return; } 2006/3/15, Merrill, Jason [EMAIL PROTECTED]: If done it

Re: [Flashcoders] Uploading file problem on MAC

2006-03-15 Thread Michael K
That works - thank you! So you dont want macExtension types when using a mac?? Strange. But again, thank you. From: Josh Buhler [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: Re:

RE: [Flashcoders] Flex2 Project Conversion

2006-03-15 Thread Merrill, Jason
All I said was I wouldn't risk building a project for a client that relies on a beta version of a product. Mr. Mendels at Macromedia replied with basically the same response. I think that's pretty common reasoning, but apparently not everyone would agree and that's OK. I'm entitled to my

RE: [Flashcoders] Flex2 Project Conversion

2006-03-15 Thread Kevin Aebig
Thanks for everyone's input and suggestions. I appreciate hearing from the new Mother ship, so thanks for chiming in David. I think we'll slowly begin migrating our app and deal with the issues as they arise... Thanks, Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Flashcoders] Advice on how to make a copy of an object

2006-03-15 Thread eric dolecki
import mx.utils.ObjectCopy; obj = new Object(); obj.color = red; obj2 = ObjectCopy.copy( obj ); obj2.color = blue; trace( obj.color ); trace( obj2.color ); On 3/15/06, Janis Radins [EMAIL PROTECTED] wrote: Guess this should do: public static function cloneObject(object:Object):Object {

Re: [Flashcoders] Advice on how to make a copy of an object

2006-03-15 Thread Manuel Saint-Victor
I think those should work- I'm going to give it a try. I had found one solution that was using a for...in loop but was not sure if the methods would be copied. Thanks- I'll update you guys on how it turns out. Mani On 3/15/06, Janis Radins [EMAIL PROTECTED] wrote: Guess this should do:

Re: [Flashcoders] Advice on how to make a copy of an object

2006-03-15 Thread JesterXL
To make a true clone, it's about the same in AS2 AS3: class YourModel { public var prop:String; public var data_array:Array; function YourModel ( p_prop:String ) { prop = p_prop; data_array = [1, 2, 3, 4]; } public function clone():YourModel {

Re: [Flashcoders] Timing Tweens Effectively

2006-03-15 Thread Adrian Park
I've used Alex Uhlmann's animation package a lot - it's pretty in depth and some think OTT but I like it :) http://www.alex-uhlmann.de/flash/animationpackage/ Adrian P On 3/15/06, Kevin Cannon [EMAIL PROTECTED] wrote: Hi, I'm looking to improve my handling of timed events for the sites I'm

Re: [Flashcoders] Flex2 Project Conversion

2006-03-15 Thread Michael Bedar
The question that I would be asking myself if I was thinking of using Flex2 for a real world project right now, is, if at some point in the development cycle it would be ok to have to rewrite/rework an unknown percent of the code, due to a new beta or final release.. if that does not sound

[Flashcoders] Can I consider my netstream object my Model?

2006-03-15 Thread Manuel Saint-Victor
If I have a streaming video would I consider my Netstream object my model and use my multiple views such as buttons and the Video symbol and give each view controllers to manipulate that stream. I'm reasonably confident that this is my best approach- Where things get murky for me is when I have

Re: [Flashcoders] Advice on how to make a copy of an object

2006-03-15 Thread Johannes Nel
interesting you should say its the same in as3 jese. i take it you are aware of peter halls post on this http://www.peterjoel.com/blog/index.php?archive=2006_02_01_archive.xml#114064012876401732 however that does not work ala as2, since all private members are ignored. (which leaves me to suspect

Re: [Flashcoders] Uploading file problem on MAC

2006-03-15 Thread Josh Buhler
Not if you're trying to use FileReference. I've noticed that only some applications on the Mac would embed that filetype info. But, when the file gets transferred from the Mac to PC then back, sometimes the info would get lost. But, most files on OSX now use file extensions, so you can

Re: [Flashcoders] Advice on how to make a copy of an object

2006-03-15 Thread Manuel Saint-Victor
Holy crap--excuse me- I never thought of it that way- I was looking at was looking at a similar clone function but didn't realize that it was just a matter of calling the constructor from inside and customizing it. Initially I was trying to design this with a singleton model that would hold a

Re: [Flashcoders] Help with Tree Component

2006-03-15 Thread Andrey Ermilkin
In the itemRollOver event listener set style property useRollOver to false. Set it back to true inside itemRollOut listener. Best regards, Andrey Ermilkin -Original Message-- Date: Wed, 15 Mar 2006 14:09:51 + From: James Marsden [EMAIL PROTECTED] Subject: [Flashcoders] Help

[Flashcoders] Node Edge performance question

2006-03-15 Thread George Jagodzinski
Has anyone who has worked with very large node/edge graphs within Flash have any ballpark performance numbers? I am looking to build a social network visualizer.. drag nodes, select nodes , zoom , pan, hide edges/nodes etc... I just wanted to get a ballpark figure on limitiations within FP-8.

Re: [Flashcoders] Memory leak in Flash projector

2006-03-15 Thread Steve Mathews
This is the same thing that I discovered on a project last year. We even discussed the issue with Macromedia and they basically told us that the player was not intended to run for long periods of time. The minimize, restore does seem to work though. It seems to allow the GC to actually release

RE: [Flashcoders] Flex2 Project Conversion

2006-03-15 Thread Kevin Aebig
FYI, this tool won't be released to our clients until probably 3 to 5 months after the new plug-in has been released. Unfortunately, this application is massive and it'll take probably close to a year to finish a full conversion. To Michael and Jason, I appreciate both of your opinions and have

Re: [Flashcoders] tooltip in the combobox.

2006-03-15 Thread Rodrigo Guerra
thank you very much.! - Original Message - From: eric dolecki [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 15, 2006 11:22 AM Subject: Re: [Flashcoders] tooltip in the combobox. yup. look for an event:itemRollOver like this...

Re: [Flashcoders] Help with Tree Component

2006-03-15 Thread James Marsden
Hey, Thanks for the reply. I was about to have a hernia. I've snooped through as much of this component as I'm willing to bare. If you mean this: tree.addEventListener('itemRollOver', treeListener); tree.addEventListener('itemRollOut', treeListener); treeListener.itemRollOver =

[Flashcoders] preloader issue

2006-03-15 Thread Edward Hotchkiss
I am really trying to have my preloader work, with a site that is 100% AS. the entire site resides either in classes or as on the first frame. there has got to be some way to preload a site, with a single function that is entirely dynamic. this is what i have, but it will not even appear on the

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Ryan Matsikas
bmpdata.dispose() On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Hello everyone, How can I remove a bitmap that I have attached on a movieclip at a certain depth? The only approach I was able to find was to attach another bitmap 1x1 transparent at the same depth, but I think this

Re: [Flashcoders] Help with Tree Component

2006-03-15 Thread Steve Webster
James, Thanks for the reply. I was about to have a hernia. I've snooped through as much of this component as I'm willing to bare. If you mean this: tree.addEventListener('itemRollOver', treeListener); tree.addEventListener('itemRollOut', treeListener); treeListener.itemRollOver =

[Flashcoders] Instantiate AS2 classes from AS1...

2006-03-15 Thread Boon Chew
Hi, I am posting this once more in case the post got buried. I have a body of AS1.0 code that I inherited that is compiled under 1.0. I would like to keep it compiled with AS 1.0 but make it use any newly written AS2.0 classes. Compiling the existing 1.0 code under AS2.0 setting causes too

Re: [Flashcoders] Help with Tree Component

2006-03-15 Thread Steve Webster
On 15 Mar 2006, at 17:38, Steve Webster wrote: James, Thanks for the reply. I was about to have a hernia. I've snooped through as much of this component as I'm willing to bare. If you mean this: tree.addEventListener('itemRollOver', treeListener); tree.addEventListener('itemRollOut',

Re: [Flashcoders] crosspost: update your flash-players immediately

2006-03-15 Thread John Dowdell
Aaron Silvers wrote: In case JD is reading this (Hi JD), what about the plugin for those of us on the intel Macs? Intel-based Macs have been tricky... there's not yet an official Adobe release of Flash Player for that platform. Should be soon, though... best info I know at the moment is

Re: [Flashcoders] Help with Tree Component

2006-03-15 Thread Andrey Ermilkin
Then I suppose you can override onRowRollOver method in your subclass for the tree component. You can find source code in the mx.controls.listclasses.ScrollSelectList class. It is an ancestor of a tree class. If current row is disabled just skip drawRow invocation. Hopefully it will work. Andrey

Re: [Flashcoders] Trying Again:External Interface API and External .js Files

2006-03-15 Thread John Dowdell
Christian wrote: I'm trying to rewrite some tracking functionality that I have utilizing external .js files and I can't seem to use the external API unless the JavaScript function is on the page in between the script tags. Can you do this with external .js files? If so, is there somewhere you

[Flashcoders] Standalone and SSL

2006-03-15 Thread Pedro Furtado
Hi there, Does flash 8 support socket connections trough SSL ? TIA. Pedro. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by

[Flashcoders] Updating the authoring player.

2006-03-15 Thread Isaac Rivera
Yesterday I got an ran the stand-alone updater for Mac. All 3 players inside Macromedia Flash 8 folder have been updated. These are: * /Applications/Macromedia Flash 8/Players/SAFlashPlayer * /Applications/Macromedia Flash 8/Players/Debug/SAFlashPlayer * Applications/Macromedia Flash

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
So that means I have to keep a reference of the BitmapData obj. What if I have dozens of bitmaps I attach on a movieclip and I don't want to keep references for all of them. Isn't there just a simple way to *clear* the movieclip at a specific depth? Thank you, Dimitrios - Original Message

Re: [Flashcoders] Help with Tree Component

2006-03-15 Thread James Marsden
Thanks again :) Andrey Ermilkin wrote: Then I suppose you can override onRowRollOver method in your subclass for the tree component. You can find source code in the mx.controls.listclasses.ScrollSelectList class. It is an ancestor of a tree class. If current row is disabled just skip drawRow

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Johannes Nel
you could loop through the movieclip, check if the object you are encountering is an instance of bitmapdata and remove them. this could be done in reomvemoveiclip so you know when you remove a movieclip it will be sorted. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: So that means I

[Flashcoders] gotoAndPlay?

2006-03-15 Thread Edward Hotchkiss
i have my preloader on frame 1. i have my entire site on frame 2. once i finish preloading, i need to delete the first frame, and go to the next frame.. the site just loops, any ideas? // preloader function preloadMe() { // reference to _root ref = _root; ref.onEnterFrame = function()

Re: [Flashcoders] gotoAndPlay?

2006-03-15 Thread Éric Thibault
Try this. Edward Hotchkiss wrote: i have my preloader on frame 1. i have my entire site on frame 2. once i finish preloading, i need to delete the first frame, and go to the next frame.. the site just loops, any ideas? // preloader function preloadMe() { // reference to _root ref =

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
check if the object you are encountering is an instance of bitmapdata and remove them How exactly can you remove a bitmap data from a movieclip? That's what I haven't figured out yet. Thanks, Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Johannes Nel
for (var e in clip) { if(clip[e] instanceof BitmapDAta) { clip[e].dispose(); } } i think that could work. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: check if the object you are encountering is an instance of bitmapdata and remove them How exactly can you remove a bitmap data

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
Thank you Johannes. But what if I need to remove bitmaps only at a certain depth? Because I really don't want to clear all BitmapData from the movieclip... Dimitrios - Original Message - From: Johannes Nel [EMAIL PROTECTED] To: Flashcoders mailing list

[Flashcoders] Yahoo Maps

2006-03-15 Thread Kevin Aebig
Hey all, Has anyone successfully created a custom marker by inheriting from the existing classes? If so, could you shed some light as to why a simple test is bombing on me and won't attach anything. //

Re: [Flashcoders] gotoAndPlay?

2006-03-15 Thread Edward Hotchkiss
this still does not work. when i simulate download, the text does not appear, then suddenly it pops up, and then it says 100 percent, no in between state, then onto the next frame ... any ideas? // preloader function preloadMe() { ref = _root; // create the preloader mc

[Flashcoders] Find Nearest Color?

2006-03-15 Thread Josh Buhler
I'm working on a project that requires that I take an uploaded image, and convert it to use a limited palette of colors - around 5-10 colors. I've got the custom palette I have to work with stored in an array, and for each color in my image, I've got it finding the color in the array it's

Re: [Flashcoders] Is it possible to make AS1.0 code instantiate AS2.0 objects without compiling it under AS2.0?

2006-03-15 Thread elibol
Since you're strapped for time and can't classify the code to as2, you shouldn't even bother trying to classify it in as1 if you're having trouble converting it to as2. I recommend classifying the as1 code using as2, if you don't and use a hybrid of as1 and as2 with poorly decoupled as1 code (

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Johannes Nel
ok i see what your after. you are using attachBitmap basically. i would wrap that bitmap in its own movieclip and remove that. i was refereing to disposing the bitmapadata instances for memory mangement. On 3/15/06, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Thank you Johannes. But what if I

Re: [Flashcoders] crosspost: update your flash-players (is: MacTel Player)

2006-03-15 Thread John Dowdell
Aaron Silvers wrote: In case JD is reading this (Hi JD), what about the plugin for those of us on the intel Macs? Speak of the devil... it's available now: http://weblogs.macromedia.com/emmy/archives/2006/03/flash_player_8.cfm jd -- John Dowdell . Adobe Developer Support . San Francisco

Re: [Flashcoders] crosspost: update your flash-players (is: MacTel Player)

2006-03-15 Thread eric dolecki
Thats cool. Will there be a public beta of the player that runs as a Universal Binary? (I know... thats not going to be possible until the PPC and Wintel 8.5 players are released -- right?) e.dolecki On 3/15/06, John Dowdell [EMAIL PROTECTED] wrote: Aaron Silvers wrote: In case JD is reading

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread elibol
There is no getDepth() method for bitmapData Objects. What's the problem with keeping a refrence to your bitmapData Objects? I would argue that it's better practice to refrence them anyways, and as of now, if you do not call dispose() and just remove MovieClips with bitmapData attached, the

[Flashcoders] Looking for Flashcoder in Chicago, IL

2006-03-15 Thread Gene Jannece
Email me off list if you are interested in a Flash Developer/programming Position in Chicagoland area. Gene Jannece ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Find Nearest Color?

2006-03-15 Thread elibol
This sounded interesting so I wrote something up for you Josh: //color that is being compared var a:Number = 0x12345; //color set to use var b:Array = [0x00, 0xFF, 0xFF, 0x00FF00, 0xFF, 0x00, 0xFF00FF, 0x00]; //get the distance between two colors function

Re: [Flashcoders] Find Nearest Color?

2006-03-15 Thread elibol
I tried comparing the hex values directly, but there were inaccuracies, maybe the same ones you've been having. I think since the value of a particular color precedes with a 0 even when it's below 17(0F), the preceding 0 causes a shifting in the comparison. It would, for example, cause 0x00 to

[Flashcoders] swfdraw2jpg

2006-03-15 Thread Rafael Benitez
Hi there! I was searching google for David Stern's swfdraw2jpg application and found my way here. His original f-mod.com site is no longer in operation and I can't seem to find swfdraw2jpg anywhere - need to refer to the code for a kids site i'm building. If anyone could pls e-mail me the source

Re: [Flashcoders] crosspost: update your flash-players (is: MacTel Player)

2006-03-15 Thread Aaron Silvers
SWEET! Thanks, JD! -a- On 3/15/06, John Dowdell [EMAIL PROTECTED] wrote: Aaron Silvers wrote: In case JD is reading this (Hi JD), what about the plugin for those of us on the intel Macs? Speak of the devil... it's available now:

Re: [Flashcoders] Find Nearest Color?

2006-03-15 Thread elibol
K, here is some better math for getRGB, performance will probably be important: return [c16, c8~0xFF00, c~0xF00]; You can also try using the ColorTransform or Color class to get the rgb values, except they might be slower than getting the raw math right. M. On 3/15/06, Josh Buhler

[Flashcoders] System.security oddness

2006-03-15 Thread Steve Krichten
In the flash IDE. I'm suddenly getting this error when I compile my swf ... There is no method with the name 'security' from this line of code... System.security.allowDomain(whatever.com); I'm confused, this makes no sense. Anyone have any idea why this would suddenly start happening?

RE: [Flashcoders] flv local playback on linux

2006-03-15 Thread Woodage, Alison
I had a similar problem, but it was on a Mac. It turned out to be a bug with Flash Player 7 - something to do with resolving relative paths (I can't remember exactly). This bug was fixed in Flash Player 8 - so we resolved it by publishing for Flash Player 7, but requiring Flash Player 8 on a

[Flashcoders] DataGrid Component Performance

2006-03-15 Thread varfoo
Anyone have a feel for how this component performs. Can you expand rows? Can it handle thousands of rows? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] DataGrid Component Performance

2006-03-15 Thread Grant Cox
What do you mean by expand rows? But I think the answer is no - all grid rows need to be the same height (this height is adjustable, but applies to all rows). The datagrid component can handle many thousand rows, but becomes very unresponsive with a number of columns. In an application

RE: [Flashcoders] DataGrid Component Performance

2006-03-15 Thread Scott Hyndman
Expand rows? Like a tree/table idea? No, it can't. It is build to handle thousand of rows, but there a couple of issues. Population of the datagrid is slow as molasses. You might be able to short circuit your way into some better performance, but it's a crapshoot. Also, don't even bother

RE: [Flashcoders] DataGrid Component Performance

2006-03-15 Thread Scott Hyndman
It might be interesting to try delegating sorting to the server and getting a permutation vector back...but even then, it might give you trouble. I rethought this. I imagine the issue surrounding the sort is related to the calculations done by the grid, and probably not the sort itself. Scott

Re: [Flashcoders] flv local playback on linux

2006-03-15 Thread Chris Hill
Hmm...just tried playing flv locally on linux via a flash movie within an html page. Didn't work at all :( Ubuntu with Firefox and Flash 7. I don't see why it wouldn't work. Did you read something somewhere stating whether or not its possible? Chris Alfonso Florio wrote: A request from a

Re: [Flashcoders] Memory leak in Flash projector

2006-03-15 Thread Darren Cook
There was also a utility that someone on the team found that would force it to release the memory. But it was Windows only, and we had to support Mac so we ended up taking it out. Do you have a link or a name for that utility (I only need to support windows in the current project so that may

Re: [Flashcoders] flv local playback on linux

2006-03-15 Thread Mark Winterhalder
Ubuntu with Firefox and Flash 7. I don't see why it wouldn't work. Did you read something somewhere stating whether or not its possible? i never got loading local content directly as a file working. i always go over a local webserver, which works just fine, but isn't really an option for a

Re: [Flashcoders] advanced flash AS 2.0/3.0 book?

2006-03-15 Thread Mark Winterhalder
On 3/11/06, Jonathan Berry [EMAIL PROTECTED] wrote: Hey Flashers, how about a book for an intermediate/advanced level coder? how about a book that isn't specifically for flash? after reading one recommendation for it after another, i finally got myself Heads First: Design Patterns

Re: [Flashcoders] OT: PSP getting the Flash Player this spring!

2006-03-15 Thread Ramon Miguel M. Tayag
From the Flashmobilegroup: It looks like it is going to be Flash 6 based... Like the current situation of PDA devices and flash You can read more about it here: http://girlstoys.co.nz/?p=135#comments - Hope to catch you all tomorrow for the ZoDAL breeze presentation on our Multi-Player

[Flashcoders] SEO for Flash .....

2006-03-15 Thread Stephen Ford
Does anyone have any good links or advice for optimising Flash for search engines. Please let me know if anyone can advise on this or if some research has been done in this area. Thanks, Stephen.___ Flashcoders@chattyfig.figleaf.com To change your

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

2006-03-15 Thread Rich Rodecker
have you tried google? On 3/15/06, Stephen Ford [EMAIL PROTECTED] wrote: Does anyone have any good links or advice for optimising Flash for search engines. Please let me know if anyone can advise on this or if some research has been done in this area. Thanks,

Re: [Flashcoders] crosspost: update your flash-players immediately

2006-03-15 Thread Fumio Nonaka
Have the players 8.0r24 for developers including debug version and SAFlashPlayer been available, too? Regards, Fumio Nonaka mailto:[EMAIL PROTECTED] http://www.FumioNonaka.com/ My bookshttp://www.FumioNonaka.com/Books/index.html Flash communityhttp://F-site.org/