[Flashcoders] swfobject at runtime

2008-06-24 Thread Martin Klasson
Hello Great Coders, I am in the need of changing the WMODE-property in the browser, and I am using the swfobject. But dont know if it is possible. I am to use opaque mode since my discovery that I have mentioned on the list before gives huge performance benefits in Firefox. but when writing in

Re: [Flashcoders] External Class Casting

2008-06-24 Thread Ian Thomas
2008/6/24 Gen [EMAIL PROTECTED]: So I guessing, having same namespace/class name in parent and child swf will generate an error. I tried changing the ApplicationDomain but that didn't help either. Gen - it shouldn't generate an error to have exactly the same class in parent and child swfs.

Re: [Flashcoders] calling public static methods on Class using getDefinitionByName

2008-06-24 Thread Kenneth Kawamoto
trace(getDefinitionByName(Test).parse(false)); Output false Kenneth Kawamoto http://www.materiaprima.co.uk/ Patrick Matte | BLITZ wrote: Does anybody know if it's possible to call a static method of a reference to a class created with getDefinitionByName without actually creating an instance

Re: [Flashcoders] External Class Casting

2008-06-24 Thread Gen
Hi Ian Gen - it shouldn't generate an error to have exactly the same class in parent and child swfs. Oops, my bad. I didn't test it with files in same domain. It did work if as long as its in same domain. It's much more likely that you're either hitting an ApplicationDomain issue of some

Re: [Flashcoders] Flash player crashes

2008-06-24 Thread Abe Pazos
Also hard to find can be internal compiler errors. Last week a few hours before the deadline, both FlexBuilder and FlashDevelop where spitting internal / java errors. No idea where to look at. No file / line numbers. You start wondering... is it the operating system? a virus? The compiler was

Re: [Flashcoders] calling public static methods on Class using getDefinitionByName

2008-06-24 Thread Wagner Amaral
On Tue, Jun 24, 2008 at 6:14 AM, Kenneth Kawamoto [EMAIL PROTECTED] wrote: trace(getDefinitionByName(Test).parse(false)); Nice Then maybe this works too (no compiler available right now, so just guessing): var c:Class = getDefinitionByName(Test) as Class; (c as Object).parse(false);

[Flashcoders] FLVPlayback component stops video for no reason

2008-06-24 Thread Matt Muller
Hi I have an issue where when I throttle bandwidth to 500 kbps to simulate a slow connection on a progressive stream the video will completely download but stops playing after a couple minutes. It wont restart playing. When I am not throttling, there is no issue. Could this be some sort of

Re: [Flashcoders] Focus problem

2008-06-24 Thread SJM - Flash
Yes sorry the links only work when my machine is on, i will leave on over noight for you guys to take a look! Many thanks! SJM - Original Message - From: Cor To: 'Flash Coders List' Sent: Friday, June 20, 2008 7:43 PM Subject: RE: [Flashcoders] Focus problem Link are

[Flashcoders] AS3 - Button follow cursor within image area

2008-06-24 Thread Vayu Robins
Hi coders. I have an issue I cant seem to find a solution to. I have an image gallery with invisble next and previous buttons. When the mouse is over the left side of the image, the left button becomes visible and follows the mouse. So far so good. :-) The problem is that when the button is

RE: [Flashcoders] calling public static methods on Class using getDefinitionByName

2008-06-24 Thread Patrick Matte | BLITZ
Ah ok, the reason it wasn't working was that I was casting ClassReference as Class instead of Object... Now this works. var ClassReference:Object = getDefinitionByName(Test) as Object; var bool:Boolean = ClassReference.parse(false); //would return false; BLITZ | Patrick Matte - 310-551-0200

[Flashcoders] how to embed br and nbsp for htmlText

2008-06-24 Thread Andrew Sinning
I'm working in AS2. I have some TextFields with html = true and I've embedded uppers, lowers, numerals, punctuation and basic latin for Arial font. The htmlText gets set dynamically. In the htmlText, I'm using nbsp; for any two spaces in a row and br/ for line breaks. If I don't embed the

Re: [Flashcoders] Bitrate discrepancy in AS3 streaming?

2008-06-24 Thread Shant Parseghian
I should have been a little clearer. I made an MP# plater in AS3. I made a seekbar so the user can skip to the end of the mix. I've checked and rechecked my math, and everything looks good. I use the math to determine a new amount of milliseconds to tell the sound object to switch the position to

Re: [Flashcoders] AS3 - Button follow cursor within image area

2008-06-24 Thread Vayu Robins
I think I have found a solution to my problem. Dont know if its the best, but instead of adding a listener to the image, I added a listener to the stage and found the coordinates and width of image and made my buttons visible when inside these coordinates. Cordially Vayu On 6/24/08 7:27 PM,

[Flashcoders] Bitmap data for presentation

2008-06-24 Thread eric e. dolecki
I don't know if it would always be prudent, but I've found if I have components or UI composed of lists of Sprites, etc. instead of using a mask, I use BitmapData to present the visuals instead... so basically you need almost nothing on the display tree whatsoever. I know its a RAM hit (a little),

[Flashcoders] Scott A Mowry is out of the office.

2008-06-24 Thread samowry
I will be out of the office starting 06/24/2008 and will not return until 06/30/2008. I will respond to your message when I return. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Bitrate discrepancy in AS3 streaming?

2008-06-24 Thread Shant Parseghian
Hi everyone, Through a bit of searching of other flashcoders emails I found this topic had been discussed before and my problem was accurately targeting milliseconds in the 44.1khz. I was using some MP3s encoded at 48khz. Sorry to rehash a previous bug discussion. On Tue, Jun 24, 2008 at 1:55

Re: [Flashcoders] AS3 - Button follow cursor within image area

2008-06-24 Thread Ashim D'Silva
You can also disable the button and use the image itself as a button. On click on the image, the event will feed you local mouse coords which will tell you which side of the image the mouse is on. Layered buttons are a bit troublesome, but there's workarounds. 2008/6/25 Vayu Robins [EMAIL

Re: [Flashcoders] Bitmap data for presentation

2008-06-24 Thread Ashim D'Silva
I've thought about it, but it didn't make enough sense to me to try. That was under the assumption that Flash's re-draw area organisation would make it more efficient. If your performance is improving, I might give it a look for certain situations. Any numbers yet? 2008/6/25 eric e. dolecki