[Flashcoders] Levels and Classes

2006-03-30 Thread Peter Måseide
I have a base swf (_level0) and I´m loading an swf into _level2 and another swf into _level3. The swfs in _level2 and _level3 both use classes with the same name, but the content of the classes are different. I found out that when I loaded the _level3-swf the classes in the _level2-swf was

[Flashcoders] Re: diagonal slices of a grid (was: Displaying objects)

2006-03-30 Thread Andreas Weber
To get the indeces of the tiles in diagonal 'rows' or 'slices' in a grid you could do something like this: function getDiagonalGridSlices(numRows:Number, numCols:Number, startingCorner:String):Array{ var a1 = new Array(), a2 = new Array(), c = 0; for(var i=0; inumCols; i++){

Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Danny Kodicek
It´s possible to make the radio button dispatch the click event if i select it by code? Not directly, but you could add something like this (I haven't used the rb component for a while, but I think this would work radioButton.autoClick=function() { this.selected=true linkType_cml.setType() }

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-30 Thread
I agree with your sentiments Ron, that future designers of RIAs authored with Flash need to be aware of this issue. To clarify my own situation, I have inherited half-way through development an extremely complex system, that has just gone live with several thousand users. The system is a

[Flashcoders] Re: yet another screwing from micrsoft

2006-03-30 Thread A.Cicak
depends, if you ask customers to pay for that change, it may not be too bad. Andy Johnston [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I couldnt give a stuff about the lost lawsuit, 0.001% revenue loss for MS compared to all legacy flash sites that I will have to dig up log in

Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Aaron Smith
Sure its possible!!! Marcelo, here is a solution: put two radio buttons on the stage and call it rb1 / rb2. then in the actions layer put: import mx.controls.RadioButton; import mx.utils.Delegate; import mx.events.EventDispatcher; var dispatchEvent:Function;

Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Danny Kodicek
Crap, I keep forgetting about Dispatchers. Apologies - been coding in MX too long. Danny - Original Message - From: Aaron Smith [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, March 30, 2006 9:40 AM Subject: Re: [Flashcoders]

RE: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Lee McColl-Sylvester
Get with the times... Cor, first you're talking bout Director, then I hear you're still using MX... Tsk... You're obviously not on the forefront of technology, huh? ;-) Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: 30 March

RE: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-30 Thread Steven Sacks
As the system is composed of many V2-style components, many of which use interval timers to get around initialization issues, and has a lot of real-time financial data transfer going on in the background, setintervals, etc etc, that to reengineer it at this stage is totally out of the

Re: [Flashcoders] Levels and Classes

2006-03-30 Thread Ramon Miguel M. Tayag
The classes in level2 and 3 have the same name but do different things? You must find a way to make them different. Can you change the name of the class? On 3/30/06, Peter Måseide [EMAIL PROTECTED] wrote: I have a base swf (_level0) and I´m loading an swf into _level2 and another swf into

Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Danny Kodicek
Get with the times... Cor, first you're talking bout Director, then I hear you're still using MX... Tsk... You're obviously not on the forefront of technology, huh? ;-) It's true. The problem is, I can't quite see the point of getting completely up to speed with AS2 when AS3 is just round

Re: [Flashcoders] Radiobutton - Dispatch event on code selected?

2006-03-30 Thread Marcelo Volmaro
Thank you both... I found another way (not an elegant one, but it works): radioButton.onRelease(); Regards, On Thu, 30 Mar 2006 05:40:34 -0300, Aaron Smith [EMAIL PROTECTED] wrote: Sure its possible!!! Marcelo, here is a solution: put two radio buttons on the stage and call it rb1 /

[Flashcoders] shared library preloading problem

2006-03-30 Thread Nitin
Hi List, Am facing a strange issue using shared libraries. I'll describe the detail : 1. 2 shared libraries. 141kb and 40kb approx. 2. The main movie preloads the 2 shared libraries in the first frame using MovieClipLoader. When both the shared libraries get loaded, onLoadComplete the control

Re: [Flashcoders] mp3 with FLVPlayback component?

2006-03-30 Thread mika
I was about to ask the exact same question. only workaround I found is to encode the mp3s as flv (of course) but it will require a lot more encoding time. Anyone? mika On 3/28/06, ojorus [EMAIL PROTECTED] wrote: Hello, Is there an easy (or any) way of playing mp3 with the FLVPlayback

[Flashcoders] Flash and various date formats ...

2006-03-30 Thread Stephen Ford
I have a little flash app. that pulls in various dates that are formatted in numerous ways. Before I look at creating a class that will return me a standard way to display the date, has anyone done anything like this before or know where I can download something similar to use or build on ?.

Re: [Flashcoders] Levels and Classes

2006-03-30 Thread Peter Måseide
Thats my only solution so far. It works OK (except for an ugly rename job) as long as I´m in controll of all the classes. But if I get anothers authors swf with same-name classes and want to load it I can ´t see an easy solution. Den 30. mar. 2006 kl. 11.23 skrev Ramon Miguel M. Tayag:

[Flashcoders] what´s the catch?

2006-03-30 Thread Peter Måseide
try { loadMovieNum(filename, 3); } catch (error:Error) { trace(An error!); } If filename is a path to a non-existing file i want the code in the catch to be executed. I only get an Error opening URL file:///Macintosh%20HD/... swf in my Output window, either if I

Re: [Flashcoders] Levels and Classes

2006-03-30 Thread Peter Måseide
No, they´re not. Thank you for the advice! I´ll stick to it in the future. Peter Den 30. mar. 2006 kl. 14.09 skrev [EMAIL PROTECTED]: Just a thought but are your classes in a package hierarchy with class names qualified to a package? That should stop any class name conflicts and will

RE: [Flashcoders] what´s the catch?

2006-03-30 Thread Sönke Rohde
You should use the MovieClipLoader-Class which fires an onLoadError-event. There are many examples in the helpfiles. Cheers, Sönke -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Måseide Sent: Thursday, March 30, 2006 2:10 PM To:

[Flashcoders] RE: what´s the catch?

2006-03-30 Thread
Someone please correct me if I'm wrong, but the Macromedia library functions don't throw errors that are catchable in Actionscript using try/catch (unlike for example, Java libraries, which are all designed to throw errors which are catchable by the developer). The try/catch clause in

RE: [Flashcoders] what�s the catch?

2006-03-30 Thread Derek Vadneau
loadMovieNum (loadMovie, loadVariables, etc.) is an asynchronous function, meaning it doesn't return immediately. If it did, it would mean Flash would have to halt all execution until it received a response from a server in order to get the SWF either completely loaded or at least get the

Re: [Flashcoders] PrintJob causes Abort Script error message.

2006-03-30 Thread Ron Wheeler
Let us know how it all works out. Good luck. Ron [EMAIL PROTECTED] wrote: I agree with your sentiments Ron, that future designers of RIAs authored with Flash need to be aware of this issue. To clarify my own situation, I have inherited half-way through development an extremely complex

[Flashcoders] FLV and DRM

2006-03-30 Thread Yotam Laufer
Hello List, What are the options if any to DRM FLVs? Now that I've discovered the VLC player plays FLVs very well they don't seem so hard to handle anymore. I require a real method of DRMing. Do streaming FLVs get cached? Is there a way to disable the caching? Thanks, Yotam. --

RE: [Flashcoders] FLV and DRM

2006-03-30 Thread Sönke Rohde
There is no real DRM using FLV. With the use of the Flash Media Server you can avoid caching the FLVs. Cheers, Sönke -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yotam Laufer Sent: Thursday, March 30, 2006 3:39 PM To: Flashcoders mailing list

[Flashcoders] Problem with DestroyObject

2006-03-30 Thread Keith Takayesu
(Sorry for the cross-post, I accidentally sent it to FlashObject first.) Hey all, need to see if anyone has had this problem: - create a V2 Component (say C1) that uses a ComboBox, Text and MovieClip - create a 2nd V2 Component (C2) that instantiates a given number of C1s - Create a test FLA

[Flashcoders] MTASC and spaces in classpath

2006-03-30 Thread Sam Thorne
Hi all, I'm getting the error Class not found Support.Macromedia.Flash when my classpath is /Users/sam/Library/Application Support/Macromedia/Flash 8/en/ Configuration/Classes Seems Mtasc doesn't like classpaths which have spaces in them on OS X, it tries to interpret the a directory name

[Flashcoders] Counter in function assigned inside a for loop

2006-03-30 Thread Alejandro Diaz
Heya guys, I am assigning the button behaviors to a set of movieclips through a for loop, however, I am coming up against something where I know what is happening, but don't know how to fix it. Basically, inside that for loop I assign each of the button behaviors as a function but I don't know

[Flashcoders] looking for some .NET to Flash tools

2006-03-30 Thread Brad Kozak
I'm working on a project that involves a .NET backend database. So far, we've successfully used XPath/XML to interface with the DB, but the database guy wants to eliminate the XML output. He's not willing to invest in ColdFusion, so I was wondering if anybody knows of a component that might make

Re: [Flashcoders] looking for some .NET to Flash tools

2006-03-30 Thread eric dolecki
remoting :) On 3/30/06, Brad Kozak [EMAIL PROTECTED] wrote: I'm working on a project that involves a .NET backend database. So far, we've successfully used XPath/XML to interface with the DB, but the database guy wants to eliminate the XML output. He's not willing to invest in ColdFusion,

Re: [Flashcoders] FLV and DRM

2006-03-30 Thread Pranav Negandhi
For a recent project that required that the FLV's not be cached, we created a buffer PHP script that read and served the FLV after altering the headers and turning on no-cache. I don't have the code off hand, but a quick googling on headers should take you to the right path. Regards, Pranav

[Flashcoders] converting/printing swf to eps

2006-03-30 Thread Gabriel
Hi everybody... anybody knows a solution to convert/print from the server side a swf to eps?. cheers, GaB ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] looking for some .NET to Flash tools

2006-03-30 Thread Lee McColl-Sylvester
That's expensive though... Use Fluorine... It really kicks the lama's ass (to put it the way WinAmp does). Plus, it works for .NET web apps and desktop apps with direct assembly access WITH sessions. Something Macromedia's remoting doesn't even do. Try it Lee -Original Message- From:

[Flashcoders] MovieClip.loadMovie(), accessing assets in another Library.

2006-03-30 Thread
Now, I always thought this couldn't be done. In the past I've designed Flash systems that dynamically load in hundreds of swf asset files, and the controlling container swf has instructed loaded-in swfs to attachMovie assets in their own Library.. eg, the controller has told a loaded movie to