[Flashcoders] Re: Flash 9: BitmapData with RTMP stream

2006-07-31 Thread John Grden
Never mind: http://weblogs.macromedia.com/emmy/archives/2006/07/new_security_wh.cfm "* Restricted access to media data originating from RTMP servers: Flash Player 9 cannot access video data or sound spectrum data for media loaded from RTMP (Flash Media Server) sources, although it can display an

[Flashcoders] Flash 9: BitmapData with RTMP stream

2006-07-31 Thread John Grden
We just found that using draw() on a source that is using RTMP to stream in video doesn't work in FP9, but it DOES in FP8. Can anyone confirm this being a bug? or is this yet another security feature addition? Thanks for the help, -- John Grden ___ Fl

RE: [Flashcoders] Interactive Map Examples

2006-07-31 Thread Kevin Aebig
With a pretty good fight, you can really customize the yahoo maps component. http://www.oceancityguide.com/hotels/more.cfm?guideID=321 !k -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wood Sent: Monday, July 31, 2006 6:14 PM To: Flashcoders mail

[Flashcoders] ExternalInterface, embed tag and IE

2006-07-31 Thread Vishal Kapur
Hello, I am trying to use ExternalInterface on a flash movie loaded via an tag in Internet Explorer. (For specific reasons I do not want to use the tag and I can't use firefox). I have set allowScriptAccess="always" and I have specified the 'name' attribute. However, when I try to call an AS

Re: [Flashcoders] Interactive Map Examples

2006-07-31 Thread Dave Wood
Hi Matt i'm looking for examples of interactive flash maps. i'm trying to see what else is out there as i build out my application...which will be a map of the US. I'm still very much a beginner myself with this map stuff, but you are welcome to have a peep at this, and I'll do my best t

[Flashcoders] Image Loading causes Flash slowness and high cpu utilization

2006-07-31 Thread Eric Raymond
We have a Flex application which loads many copies of an image on the fly. In some situations the image loading seems to cause Flash to slow down (and use more CPU). The slowdown stays with Flash beyond the loading of the image. We can wait a hour and the load is still high. And each time this ha

RE: [Flashcoders] RE: help with linking a flash button to a filefolder

2006-07-31 Thread Ben Smith
Thanks for the response. The local folder I want the button to link to is called 01_company. I am not sure where to insert this name and so far all my experiments have failed. Any further suggestions? Thanks, Ben Smith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTE

Re: RE: [Flashcoders] Problems getting the brightness of a colorreturnedfrom getPixel

2006-07-31 Thread James Deakin
Thanks to all of you for your comments that has been tremedously helpful and informative. James On 7/31/06, Janis Radins <[EMAIL PROTECTED]> wrote: Brightness of color can be found in quite easy way. If we have decimal representation of RGB brightness in percents will be 100*(((R+G+B)/3)/255)

Re: [Flashcoders] RE: help with linking a flash button to a file folder

2006-07-31 Thread James Deakin
google "mprojector" or "zinc + actionscript" On 7/31/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: Not sure about a CD, but should work something like this? myDynamicFilepath = this._url.slice(0, this._url.lastIndexOf("/")+1)+"myfile.html"; Jason Merrill Bank of America Learning & Organizatio

Re: [Flashcoders] Enabling NetConnection debugger with ActionScript 2.0

2006-07-31 Thread James Deakin
Try this instead use Service Capture http://www.kevinlangdon.com/serviceCapture/release_notes.html On 7/31/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: > Is there any way to do step 1 (or bypass it) using actionscript? No. ___ Flashcoders@cha

[Flashcoders] FLVPlayback -- pause works, but resume happens at a different point?

2006-07-31 Thread Josh Santangelo
I'm running into an odd bug which I'm not sure I can do anything about. I'm using the FLVPlayback component with custom controls, but otherwise as-is, to stream video over RTMP from thePlatform (theplatform.com). It all works just fine. However, when I hit my pause button, wait a while, and

RE: [Flashcoders] Enabling NetConnection debugger with ActionScript 2.0

2006-07-31 Thread Steven Sacks | BLITZ
> Is there any way to do step 1 (or bypass it) using actionscript? No. ___ 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 Le

[Flashcoders] Enabling NetConnection debugger with ActionScript 2.0

2006-07-31 Thread phaedrus
According to the help files, one starts up the NetConnection Debugger as follows: 1. Drag the RemotingDebugClasses library to the stage. For information on adding and removing the RemotingDebugClasses library to your application, see The NetConnection Debugger. 2. Import the NetDebug class in th

Re: [Flashcoders] Express Install is reliable?

2006-07-31 Thread Geoff Stearns
There was mention on the SWFObject list that the expressinstall servers were being hit pretty hard right now because myspace (the #1 site on the internet traffic wise) started requiring Flash Player 9, and are using expressinstall... so there's thousands (millions?) of people upgrading righ

[Flashcoders] Express Install is reliable?

2006-07-31 Thread orange
Hi, I have been implementing the Express Install feature on my site for the last few days, and after extensively testing it, I have found some of the servers it relays on are intermittently not available. It really fails very often. I have tested this for several days, on different browsers,

RE: [Flashcoders] Problems with Object-Oriented Actionscript

2006-07-31 Thread André Goliath
Thats at least the third time that movie was posted here,... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Randal Sent: Monday, July 31, 2006 9:13 PM To: Flashcoders mailing list Subject: [Flashcoders] Problems with Object-Oriented Actionscript Take a

RE: [Flashcoders] Dynamically loading a Shared Library symbol

2006-07-31 Thread Michael A. Jordan
You'll have to use the absolute root path in the shared font symbol, which makes local testing kind of a pain. This post may help: http://chattyfig.figleaf.com/pipermail/flashcoders/2006-May/166686.html If you develop on a Mac, you'll have to create two shared font files, one for local testing th

[Flashcoders] Problems with Object-Oriented Actionscript

2006-07-31 Thread Randal
Take a look at: http://www.albinoblacksheep.com/flash/animator -- Randal ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailma

RE: [Flashcoders] RE: help with linking a flash button to a file folder

2006-07-31 Thread Merrill, Jason
Not sure about a CD, but should work something like this? myDynamicFilepath = this._url.slice(0, this._url.lastIndexOf("/")+1)+"myfile.html"; Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-Original Message- >>From: [EMAIL PROTECT

[Flashcoders] RE: help with linking a flash button to a file folder

2006-07-31 Thread Ben Smith
I am trying figure out how to create a flash presentation on cd with buttons that open file folders in windows explorer also on the cd. I have found that I can use the "get url" behavior to open file folders in the default web browser using the absolute pathname, but I need to be able to use a rel

RE: [Flashcoders] Loading a 3500 entry XML file

2006-07-31 Thread Frederic v. Bochmann
My advice is: Hock yourself up with a SAX XML Parser simply and easily. This type of XML parser can easily be leveraged to parse HUGE streaming XML data, without needing to keep the XML data in memory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike

RE: [Flashcoders] Loading a 3500 entry XML file

2006-07-31 Thread Mike
Now there's an interesting problem. I have one really awkward idea. I'm assuming the XML structure is something like this? - Use the XML object's onData handler so that you can work with the raw string data. - Strip out the root open

Re: [Flashcoders] Help...cant unload the xml menu...!!

2006-07-31 Thread Jose Maria Barros
i singed too soon...when i test locally everything works great...but when i try it in internet..it doesnt..he doestn load the xml file why...? The code is the same...but i did alter the url..like you said..: //EDIT XML PATH menuInfoXML = "./xml/menu.xml"; // DO NOT EDIT BELOW.. System.useC

[Flashcoders] Loading a 3500 entry XML file

2006-07-31 Thread Clayton
Hi all, For reasons I'd rather not get into :s I'm loading an XML file into flash with 3500 entries (each has 13 child nodes describing elements of the entry). To my initia, happyl surprise, Flash 8 only took several seconds to load it! I'm easing into processing to vars, and realized I needed

[Flashcoders] Interactive Map Examples

2006-07-31 Thread Matthew Ganz
hi. i'm looking for examples of interactive flash maps. i'm trying to see what else is out there as i build out my application...which will be a map of the US. what i'd like is that a user can click a state and that state will be the prominent viewpoint from which a user can select a county.

Re: [Flashcoders] skinning the DataGrid component

2006-07-31 Thread Tyson Tune
Thanks Andy. Worked like a charm. Tyson Tune [EMAIL PROTECTED] mobile -Original Message- From: "Andy Stone" <[EMAIL PROTECTED]> Date: Mon, 31 Jul 2006 09:45:59 To:"'Flashcoders mailing list'" Subject: RE: [Flashcoders] skinning the DataGrid component This will work. var alpha = 20;

RE: [Flashcoders] AS3 - From BitmapAsset to BitmapData?

2006-07-31 Thread jim
You don't attach the BitmapData, you have to attach a Bitmap object via the addChild method. To get the BitmapData onto a movieclip you need to make a new Bitmap object with the BimapData, of course you could just attach the original image. [Embed(source="image.png")] private var imageClass:Class;

[Flashcoders] 5 Star Rating System

2006-07-31 Thread [EMAIL PROTECTED] Ammor
Thanks for the illumination! However, here's a link with a nice voting system To Whom It May Concern... http://www.flashkod.com/code.aspx?ID=18813 ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http:/

Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread John VanHorn
cacheAsBitmap is a boolean property of a moive clip, so cant you set it to true while it is static, and then false before you have to scale or rotate it? On 7/31/06, Seb L <[EMAIL PROTECTED]> wrote: Yes that's exactly what I'm about to do, but I remember seeing someone else had done that a whil

RE: [Flashcoders] skinning the DataGrid component

2006-07-31 Thread Andy Stone
This will work. var alpha = 20; var color = 0xFF; // _global.styles.ScrollSelectList.backgroundColor = null; mx.controls.listclasses.SelectableRow.prototype.drawRowFill = function(mc:MovieClip, newClr:Number):Void { mc.clear(); if (newClr == null) { mc.beginFil

Re: [Flashcoders] Help...cant unload the xml menu...!!

2006-07-31 Thread Jose Maria Barros
Oh manthank you so much..i was getting so frustrated...well..i am ...but at least..the problem is solved.. On 7/31/06, eric dolecki <[EMAIL PROTECTED]> wrote: You are attaching everything to the _root, so you need to clean up the clips one by one, unless you decide to better nest your menu

Re: [Flashcoders] Help...cant unload the xml menu...!!

2006-07-31 Thread eric dolecki
You are attaching everything to the _root, so you need to clean up the clips one by one, unless you decide to better nest your menu & submenu items in one movieclip. You could then remove it much easier, etc. On 7/31/06, Jose Maria Barros <[EMAIL PROTECTED]> wrote: Hello, i have a xml menu and

Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread Seb L
Yes that's exactly what I'm about to do, but I remember seeing someone else had done that a while back, and I was asking if anyone could tell me who it was, to save me the trouble :-) Seb On 31/07/06, Howard Nager <[EMAIL PROTECTED]> wrote: Have you tried drawing the movieclip to a bitmap using

RE: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread Howard Nager
Have you tried drawing the movieclip to a bitmap using the BitmapData draw() methos? You could display (scale/rotate) the bitmap instead of the cacheAsBitmap movieclip. -Original Message- From: [EMAIL PROTECTED] on behalf of eric dolecki Sent: Mon 7/31/2006 8:20 AM To: Flashcoders maili

Re: [Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread eric dolecki
If you are scaling and rotating a clip often, it wouldn't seem likely to be a good candidate for cacheAsBitmap in the first place. - e.d. On 7/31/06, Seb L <[EMAIL PROTECTED]> wrote: Hi guys, So cacheAsBitmap is great, but it re-renders the bitmap every time you scale or rotate. I remember se

[Flashcoders] Custom cacheAsBitmap with scale and rotate

2006-07-31 Thread Seb L
Hi guys, So cacheAsBitmap is great, but it re-renders the bitmap every time you scale or rotate. I remember seeing some code that you could apply to a movie clip and it manually cached a bitmap version of the clip, which was scaled and rotated as a bitmap... but I can't remember where... can anyo

Re: RE: [Flashcoders] Problems getting the brightness of a colorreturnedfrom getPixel

2006-07-31 Thread Janis Radins
Brightness of color can be found in quite easy way. If we have decimal representation of RGB brightness in percents will be 100*(((R+G+B)/3)/255) Color brightness represents position of particular color in color tween from 0xFF at 0 position The base color at position 127.5 and 0x0 at 255. 2

RE: [Flashcoders] AS and virtual functions

2006-07-31 Thread André Goliath
If you are concerned about performance differences between virtual and non-virtual functions than AS2 is propably the wrong language for you ;) I can´t think of other downsides except that you would be able to override a function at compile-time by mistake without making the compiler shouting at

Re: [Flashcoders] AS and virtual functions

2006-07-31 Thread Ian Thomas
Only the standard "be really careful what you do when calling methods in your constructor" issue. i.e. class A { function A() { someFunction(); } function someFunction() { // do Something } } class B extends A { function B() { super(); // set up some initialisation stuff he

[Flashcoders] Help...cant unload the xml menu...!!

2006-07-31 Thread Jose Maria Barros
Hello, i have a xml menu and when i go to other frame my menu doenst unload... i tried with the functions clearMenu and clearSubMenu but they dont work..please help..i will send the code: import mx.xpath.XPathAPI; var infoHolder:XML = new XML(); infoHolder.load(menuInfoXML); infoHolder.ignoreWh

[Flashcoders] AS and virtual functions

2006-07-31 Thread Andreas R
Just reading up on some C++ and realized all functions in an AS2 class are virtual.. Anyone know if this has any negative implications? :) Cheers, - A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: htt

Re: [Flashcoders] FLVPlayback connectionError

2006-07-31 Thread Jerome Cordiez
Good things to know I think I'll look further into this next time i have to deal with flv players, for now i'll simply stick with the above mentionned hack, can't afford to waste any more time experimenting :) Thank you very much for your input, it'll certainly come in handy the next time!

RE: [Flashcoders] AS3 - From BitmapAsset to BitmapData?

2006-07-31 Thread Sascha Balkau
Thanks Charles! However I didn't wanted to put a MovieClip into a BitmapData, I wanted to do the opposite. But I think I have just found out how to do that ... by putting the BitmapData into a new Bitmap object ... img = new Bitmap(imageBitmapData); mc.addChild(img); Thanks for the help! >

[Flashcoders] just a test

2006-07-31 Thread Robin Burrer
___ 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 Premier Authorized Adobe Consulting and Training http://www.fi