Re: [Flashcoders] Shared fonts issue

2006-05-25 Thread David Serrano
I load 12 shared fonts in a different swf's separately. I have tested the application in a different pc. The player version is 8. I think the problem is when I load the swf's in one movie , his content needs to redistribute it to the others movies(similar to use any Macromedia component). I put

[Flashcoders] PDF generation Though Flash

2006-05-25 Thread Sachin Desai
Hi All, I am a new bee to this forum. I have a small query as follows : Does anybody know how to generate a PDF through flash? Is there any 3rd party tool available which will take the Flash Content and generate pdf out of it? Thanks and Regards, Sachin M Desai __

RE: [Flashcoders] PDF generation Though Flash

2006-05-25 Thread Mayur Bais
Hi, There could be components like blazePDF available to generate pdf from flash Which may generate jpg and then pdf Check out http://www.blazepdf.com/ it's a ready made component Mayur -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sachin Desai

RE: [Flashcoders] PDF generation Though Flash

2006-05-25 Thread Mayur Bais
Also check out http://www.adobe.com/products/flashpaper/ flash paper 2 it may help Mayur! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sachin Desai Sent: Thursday, May 25, 2006 2:22 PM To: Flashcoders mailing list Subject: [Flashcoders] PDF generat

[Flashcoders] FLV Playback problems.

2006-05-25 Thread Aasim Momin
Hi, I am using an FLV Playback component inn my file for streaming videos from FMS. I need to changes the videos on the click of a button. This I have achieved by changing the contentPath parameter dynamically. The contentPath values are coming from an XML file. If I place the FLV Playback compon

[Flashcoders] Image loading issue

2006-05-25 Thread Adrian MacTaggart
Hi all, I have a quiz that I created 2 years ago (in Flash MX) that brings in different question types (text type, single image question type, 3ximage question type etc) from an XML file. Only now when coming to use the quiz again and needing to have a couple of '3ximage questions' appear one

[Flashcoders] Problems with Tween Class

2006-05-25 Thread Nik Derewianka
Hi all, Basically i attachMovie my character (which is an AS2.0 class extended MovieClip) to _root, then move it back and forwards across the screen using the Tween class, unloadMovie my character, go to a different frame, attachMovie my character back again, but this time it seems as though ther

Re: [Flashcoders] Streaming Audio to Mobile Devices with FlashLite 2

2006-05-25 Thread Nick Gerig
3gp is a bit less than mp3 in size "Cingular's data transfer rate in my area is" - that says it all really data cost everywhere,every provider, every plan is different, charges in Europe probably average at $3-4 per mb, which means you're looking at $12 each streamed 3gp file :) Cheers Nic

Re: [Flashcoders] Problems with Tween Class

2006-05-25 Thread Weldon MacDonald
It's early in the morning, but it seems to me your not finishing the tween in your test. Try calling the stop() method before you unload. There may be a call to setInterval that doesn't get cleared if you don't. That begs the question of why you want to unload and reload it. there must be a way f

[Flashcoders] cellRender with comboBox: setting the dropdown.rowHeight?

2006-05-25 Thread grimmwerks
Hey again. I'm trying to set the comboBox cellRenderer I'm using to have a dropdown.rowHeight of 60 (big text) -- since I'm using the cellRender in a dataGrid, this slows everything down to a crawl. Is this the only way that I can set a comboBox's rowHeight? Is there anyway I can do it with setS

Re: [Flashcoders] Shared fonts issue

2006-05-25 Thread Anggie Bratadinata
What about loading those fonts into the main movie? I did it on my flash site and it worked just fine. -- Anggie Bratadinata Web|Graphic|Flash Jl. Raya Langsep 21 Malang - East Java I N D O N E S I A http://design.ibshastautama.com David Serrano wrote: I load 12 shared fonts in a different swf

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Christian
Obviously this may sound harsh, but because the app you wrote was buggier or harder to build isn't a reflection of the technology in my opinion. I've been following this thread pretty closely and have begun going through all the responses. Flex to me has seemed to discredit a lot of the flash

[Flashcoders] Getting the class name?

2006-05-25 Thread David Skoglund
Hi, I' trying to get the class name of a class in order to serialize a scene. Since I don´'t have a traditional programming background I have a hard time searching for this since I really don't know the vocabulary. In this code I'd like the trace function to output "MyClass": class MyClass exte

RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Merrill, Jason
>>Obviously this may sound harsh, but because the app you wrote >>was buggier or harder to build isn't a reflection of the >>technology in my opinion. It is to me. There are a lot of things you can do with Flex in a day that would take weeks to do in straight Flash/Actionscript. This is a fact

RE: [Flashcoders] Getting the class name?

2006-05-25 Thread Merrill, Jason
Given: >>class MyClass extends MovieClip { >> >> function MyClass (){ >> trace (this.className) >> } The name of the class is "MyClass" - or do you mean the instance name? Jason Merrill Bank of America Learning Technology Solutions ___

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Marcelo de Moraes Serpa
Well, I think you should just stick with the tool that works for you. I´m currently using Flash 8 IDE to build the layout and assets, and, for me, it is pretty good to build forms as well. The rest I do outside Flash, in FlashDevelop and compile with MTASC ;) It´s just another way to build the vi

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Nicolas Cannasse
>>>Obviously this may sound harsh, but because the app you wrote >>>was buggier or harder to build isn't a reflection of the >>>technology in my opinion. > > > It is to me. There are a lot of things you can do with Flex in a day > that would take weeks to do in straight Flash/Actionscript. Th

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Marcelo de Moraes Serpa
would say it's far from being an advantage of Flex itself, but more of the component library with MXML representation. The same thing can be done in Flash/ActionScript2. For instance the people of the ActionStep project worked on such an XML representation that could instanciate the UI. Nicolas

RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Merrill, Jason
>>For >>instance the people of the ActionStep project worked on such >>an XML representation that could instanciate the UI. Funny, that's essentially the same thing I was doing on this project - the Panel was defined in XML, and a Panel class I wrote rendered it in the player. It just took a wh

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread David Skoglund
Yes, i know that the class name is MyClass when writing the code, but does the object know what class it is constucted from at runtime? I want to save out scene objects to a XML-file and need to save what class the objects are constructed from (or their linkage ID in set in the Flash IDE). /

RE: [Flashcoders] Getting the class name?

2006-05-25 Thread Merrill, Jason
You mean the Class type then - for a custom class, I think you would have to create a property to hold that. class MyClass extends MovieClip{ public var type:String = "MyClass" } class MyOtherClass extends MovieClip{ public var type:String = "MyOtherClass" } In Flash: var a:MyCl

[Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Éric Thibault
Hello all! Is there a way to know via PHP the dimensions (height & width) of a SWF file? I need this information to construct an html interface with all kinds of SWF loaded via UFO script! Thanks a million! -- === Éric Thibault Pr

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Muzak
> The other issue i see with flex is it's ability to scale. It doesn't > seem to have the ability to handle a ton of simultaneous connections very > well, ala Flash Media Server. Perhaps I'm off base > here, but I'd prefer to develop the front ends in flash and communicate back > and forth wi

RE: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Ashwan Wadhwa
This is in ASP, but you could find alternative commands in PHP: http://www.4guysfromrolla.com/webtech/tips/t102001-1.shtml Ashwan. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault Sent: Thursday, May 25, 2006 9:42 AM To: Flashcoders mail

Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Steve Webster
Hi Eric, Is there a way to know via PHP the dimensions (height & width) of a SWF file? I need this information to construct an html interface with all kinds of SWF loaded via UFO script! The built-in getimagesize() function supports SWF files: http://uk.php.net/getimagesize Enjoy! -- St

[Flashcoders] Object's popertys definition prob lem ¿?

2006-05-25 Thread Jorge Antonio Diaz Gutierrez
Hi there, I have a problem. This class doesn't work correctly. When I create an Object, all it's property's values become undefined even if I Insert Items trough the "Nueva_Ruta" method. When I Call the "SHOW ALL" method for tracing , all Array items are empty/undefined. I really need help abo

Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Ian Thomas
Well, you learn something new every day... *throws away existing code*. Thanks, Steve! Ian On 5/25/06, Steve Webster <[EMAIL PROTECTED]> wrote: The built-in getimagesize() function supports SWF files: http://uk.php.net/getimagesize Enjoy! ___ Flas

Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Éric Thibault
Thanks! That ASP class reads the header of the SWF file. Is this header the same between flash versions and stable for a while ;-) A+ Ashwan Wadhwa a écrit : This is in ASP, but you could find alternative commands in PHP: http://www.4guysfromrolla.com/webtech/tips/t102001-1.shtml Ashwan

Re: [Flashcoders] Object's popertys definition problem �?

2006-05-25 Thread Muzak
you have to create/set the array's in the constructor. private var cantidad:Number; private var ruta:Array; private var nombre_ruta:Array; //-CONSTRUCTOR public function Ruta() { ruta = new Array(); nombre_ruta = new Array(); cantidad = 0; } regards, Muzak - Origina

Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Éric Thibault
SUPER! Thanks! 8-) Steve Webster a écrit : Hi Eric, Is there a way to know via PHP the dimensions (height & width) of a SWF file? I need this information to construct an html interface with all kinds of SWF loaded via UFO script! The built-in getimagesize() function supports SWF files:

RE: [Flashcoders] Object's popertys definition pro blem ¿?

2006-05-25 Thread Wouter Steidl
If i`m correct, your constructor should contain: nombre_ruta = new Array(); HTH Wouter -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jorge Antonio Diaz Gutierrez Sent: Thursday, May 25, 2006 3:53 PM To: Flashcoders mailing list Subject: [Flashcoders

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread eka
Hello :) you can use my ContructorUtil class with the statics getName, getPackage and getPath methods : http://live.burrrn.com/browser/projects/VEGAS/AS2/trunk/src/vegas/util/ConstructorUtil.as More precision in http://osflash.org/vegas to install VEGAS with SVN :) you can read in french my TRA

RE: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Ashwan Wadhwa
I haven't tried that code for version 8 swf. It worked fine for version 7 and 6 when we used it with C#. A- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Éric Thibault Sent: Thursday, May 25, 2006 10:03 AM To: Flashcoders mailing list Subject: Re: [Fla

RE: [Flashcoders] Object's popertys definition p roblem ¿?

2006-05-25 Thread Jorge Antonio Diaz Gutierrez
Thanks Muzak, I'm blind. Thanks a lot. -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Muzak Enviado el: jueves, 25 de mayo de 2006 10:13 Para: Flashcoders mailing list Asunto: Re: [Flashcoders] Object's popertys definition problem ¿? you have to create/set

[Flashcoders] May 29 Sydney Developers Group study group

2006-05-25 Thread Chris Velevitch
On Monday 29th May, we'll be studying Actionscript 3. 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 topic. The meeting is on at 6:30pm for 7pm start and finishes around 8:30pm.

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread mike cann
im not entirely sure but can you use "instanceof" against a switch statement to check if its of a particular class? On 25/05/06, eka <[EMAIL PROTECTED]> wrote: Hello :) you can use my ContructorUtil class with the statics getName, getPackage and getPath methods : http://live.burrrn.com/brows

Re: [Flashcoders] PHP :: Dimensions of a SWF file?

2006-05-25 Thread Chris Hill
http://getid3.sourceforge.net/ This will get you not only width and height, but a lot of really useful information such as bg color, frame rate, etc... And here's my (somewhat old) php code for rendering the swf: $fileInfo = GetAllFileInfo($filePath,'swf'); $ve

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread Arul Prasad
instanceof does not return anything - It is not a method, but an operator. You can use instanceof only to compare - like this: var xx:XML = new XML(); trace (xx instanceof XML); // output will be true. ~Arul Prasad. On 5/25/06, mike cann <[EMAIL PROTECTED]> wrote: im not entirely sure but

[Flashcoders] Class Newb Question

2006-05-25 Thread Marlon Harrison
I've been asked to build increasingly more complex flash-based pieces for my employer - and I would really like to begin to componentize my code as much as possible to minimize me having to reinvent the wheel with each project. I've never coded using class files…all of the code that I've created h

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread mike cann
so you could do: var myClassName:String; var xx= new myClass(); if (xx instanceof myClass){myClassName="myClass";} else if (xx instanceof someOtherClass){myClassName="someOtherClass";} maybe? On 25/05/06, Arul Prasad <[EMAIL PROTECTED]> wrote: instanceof does not return anything - It is not

Re: [Flashcoders] FLV Playback problems.

2006-05-25 Thread Arul Prasad
You should be able to change the contentPath property and change the currently playing video. You can have more than one video load into the FLVPlayback component by adding more videoPlayers inside the same component. You can achieve this using the activeVideoPlayerIndex and the visibleVideoPl

[Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Rifled Cloaca
Flashcoders, So this is one of those things I wonder about. If I type a var to a custom type, doesn't the compiler automatically import the associated class files? When or why would I need to explicitly need to use the import directive? Thanks in advance! -g

Re: [Flashcoders] Class Newb Question

2006-05-25 Thread Nick Weekes
Essential Actionscript 2.0 : Colin Moock. Thats all you need... Marlon Harrison wrote: I've been asked to build increasingly more complex flash-based pieces for my employer - and I would really like to begin to componentize my code as much as possible to minimize me having to reinvent the wh

Re: [Flashcoders] Class Newb Question

2006-05-25 Thread Manuel Saint-Victor
I would run out and get a copy of the Friends of Ed Object oriented programming in Flash 8- and check out kirupa's object oriented programming tutorial- They actually build a media player i

[Flashcoders] Getting the Symbol Name?

2006-05-25 Thread August Gresens
The other thread reminded me of a question I have. I know you can retrieve the instance name of a clip by accessing the _name property. But is it possible to get the symbol name of a clip at runtime as well? Thanks, August -- - --

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread Arul Prasad
:) that will work - but won't be feasible, unless you are checking against a selected set of classes. If they are classes that you write, the best thing to do would be have a variable inside ur class right away called 'ClassName' and use it. ( like how macromedia did in V2 component classes ;-)

Re: [Flashcoders] Problems with Tween Class

2006-05-25 Thread Jason Lutes
> So how do i completely unload my MC and my Tween so that there are no > references hanging around ?? How can i find out how many references > there are for a given object (similar to the ref count in lingo > objects in Director) ?? And is this only happening because of AS 2.0 It sounds like a

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread eka
Hello :) i think it's more easy to use my class :) [code] import vegas.util.ConstructorUtil ; import myPackage.MyConstructor ; var instance = new MyConstructor() ; var name:String = ConstructorUtil.getName( instance ) ; trace("class name : " + name) ; // output : 'MyClass' var package:String

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread mike cann
If you are talking about flash, no i believe it doesnt automatically import your class for you. You may be getting confused with the new Flex Builder 2 which does infact import automatically for you. On 25/05/06, Rifled Cloaca <[EMAIL PROTECTED]> wrote: Flashcoders, So this is one of those thi

RE: [Flashcoders] Class Newb Question

2006-05-25 Thread phaedrus
I've been trying to teach myself good OOP approaches with flash (in a hurry). I've bought a number of books, so far the two I'd recommend most are: Essential ActionScript 2.0 by Colin Moock (O'REILLY) - has several chapters devoted to actionscript implementation of commonly used design patterns.

RE: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Merrill, Jason
>>So this is one of those things I wonder about. If I type a >>var to a custom type, doesn't the compiler automatically >>import the associated class files? >>When or why would I need to explicitly need to use the import >>directive? Because if Flash imported every class available to it automa

RE: [Flashcoders] MXI Files

2006-05-25 Thread phaedrus
Thank You! > http://www.muzakdeezign.com/mxi_creator/ (And Thank You!) - phaedrus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Wednesday, May 24, 2006 5:55 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] MXI Files Here's the m

[Flashcoders] Loading Child SWF Files in a swfPanel

2006-05-25 Thread Manuel Saint-Victor
I'm building a custom panel that needs a child swf file to be loaded- How does one reach the child swf files from a custom panel. Will I be able to just call the loadMovie() function as usual and just call a folder relative to my parent swf location or are there some special circumstances becau

[Flashcoders] XML Parsing

2006-05-25 Thread Matt Jurgemeyer
I'm building my menus dynamically from xml docs, but I'm having a problem with a lag while the xml parses. I have a graphic indicating that the xml is loading, but it isn't showing up for me on broadband. I'm assuming that this is because the xml file is so small, it loads instantly. I still have t

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Mike Chambers
What are you basing that on? The underlying Player, not framework handles the low level connections, so it is the same regsardless of whether the content was built in Flash Authoring or the Flex Framework. In fact, Flex was originally built and designed with scalability as a primary goal (a

[Flashcoders] SOLVED Loading Child SWF Files in a swfPanel

2006-05-25 Thread Manuel Saint-Victor
Okay- Nevermind- The answer is yes you can On 5/25/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: I'm building a custom panel that needs a child swf file to be loaded- How does one reach the child swf files from a custom panel. Will I be able to just call the loadMovie() function as usua

[Flashcoders] IDE Fonts problem

2006-05-25 Thread MBDI ICSC Rodrigo E. Curiel Salazar
Hi all ! I have the most strange behavior in flash IDE, I have just changed PC, so I passed my project & installed the fonts from one PC to the other, well, the thing is: when I open the FLA, if the textfield is using the font "normal*" (defined by me, and sharing it from fontlibrary.swf) show'

RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread fdeluca
Hi, I've been too busy developping in Flash lately to give a try to the new Flex yet, so excuse me if the following question sounds stupid: Flex use to be a server product, but with the new Flex Builder can you simply build a swf file like you do with flash and include it in regular html page? (an

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread eka
??? you speak about my ConstructorUtil class ? :) My methods search in the _global object the instance and this Constructor and build a little private property "__path__". I use a pattern of reflexion and a storage of the result to avoid seeking the name and the namespace of the class each time

RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Dave Watts
> Flex to me has seemed to discredit a lot of the flash developers > out there buy putting advanced functionality at the finger tips > of the average user. This is the nature of programming; what was once difficult becomes simple, and what was once impossible becomes difficult! Once upon a time,

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Arul Prasad
import in AS2, is to help you avoid typing in the complete package name everytime u reference a class. The following code import mx.controls.Button; var playBtn:Button; ... var stopBtn:Button; var pauseBtn:Button; will look like this: var playBtn:mx.controls.Button; ... var st

RE: [Flashcoders] Class Newb Question

2006-05-25 Thread Lee McColl-Sylvester
I concur with regard to Essential Actionscript by Colin Moock Lee -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of phaedrus Sent: 25 May 2006 16:43 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Class Newb Question I've been trying to teach mys

RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Jim Robson
Frank, You are correct - with 2.0 you don't need the server. The server components are only required for certain functionalities such as messaging. I'm just starting with Flex myself, and so far I like it. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Be

RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Merrill, Jason
Yes, the new Flex will come with a free compiler to take your regular old .swf files created with it and upload to your server. No Flex server required as it is now. Download the Flexbuilder2 beta and check it out - you can make .swf files with it. Pretty cool. Jason Merrill Bank of America Le

[Flashcoders] sending HTML image map data to Flash

2006-05-25 Thread Marc Hoffman
Anyone have tips on making Flash read the image map on the host html page and parse it into a multi-dimensonal array (as would happen if we were importing xml)? In a web-based project, we provide non-flash browsers with a jpg and image map. We want to grab the image map data directly from the

Re: [Flashcoders] XML Parsing

2006-05-25 Thread Mike Britton
How many nodes are in the XML file? Can you post the code that does the parsing? Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Nick Weekes
With Flex 2.0, there is no need for a server, the swf's can be deployed in the same way as Flash swf's. Adobe are even going to release a command line compiler if you dont want to pay the (rumoured) $1000 for Flex Builder 2.0. [EMAIL PROTECTED] wrote: Hi, I've been too busy developping in F

RE: [Flashcoders] XML Parsing

2006-05-25 Thread Matt Jurgemeyer
Oops ... misspelled my link: http://www.jurgemeyer.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Jurgemeyer Sent: Thursday, May 25, 2006 9:53 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] XML Parsing I'm building my menus dyna

Re: [Flashcoders] MXI Files

2006-05-25 Thread Christian
Muzak, would I be able to email you about an MXI issue? I'm pulling my hair out over here. phaedrus wrote: Thank You! http://www.muzakdeezign.com/mxi_creator/ (And Thank You!) - phaedrus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muz

Re: [Flashcoders] XML Parsing

2006-05-25 Thread Mike Boutin
Yes im having the same problem, but with Flash Remoting. Matt Jurgemeyer wrote: I'm building my menus dynamically from xml docs, but I'm having a problem with a lag while the xml parses. I have a graphic indicating that the xml is loading, but it isn't showing up for me on broadband. I'm assumin

Re: [Flashcoders] Getting the class name?

2006-05-25 Thread mike cann
i agree, i just tested your class eka and it works very well, nicely done mate :) On 25/05/06, eka <[EMAIL PROTECTED]> wrote: ??? you speak about my ConstructorUtil class ? :) My methods search in the _global object the instance and this Constructor and build a little private property "__path

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Rich Rodecker
ok its early for me but I think you dont actually need to import if you provide the full classpath for your datatypes: private var myVar:com.blah.MyDataType will work just fine, without an import, i beleive. however, if you wanted to do: private var myVar:MyDataType; then you would need to te

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Ian Thomas
Errm - actually that's not such a good reason. The 'import' statement doesn't actually embed a class into the .swf. All it does is tell the compiler that when you type (for example) MyClass, you are actually referring to com.fred.MyClass. You could just type com.fred.MyClass throughout the body

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread jcanistrum
and what about OpenLaszlo, has someone given it a try ? I saw some very good demos overthere http://www.openlaszlo.org/demos 2006/5/25, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Hi, I've been too busy developping in Flash lately to give a try to the new Flex yet, so excuse me if the follo

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Jonathan Berry
I think what he is asking is if this is the same as import: var myObj:mx.core.UIObject = new mx.core.UIObject; I think one of the answers is that it saves on typing out the class info for every reference. Any other benefits to import? On 5/25/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: >>So

[Flashcoders] Strings, ANSI and UTF8

2006-05-25 Thread Danny Kodicek
I've got a string that's been passed to Director, which is encoded with UTF8 but as far as Director is concerned is just a string of ANSI characters. Now I want to pass the string to Flash and have Flash interpret it as a Unicode string. I've written my own UTF8 decoder function, but unfortunate

[Flashcoders] TextInput disabled when loaded into a Window Component into a child swf

2006-05-25 Thread Manuel Saint-Victor
I have a window that is loading a swf file which has a movieclip with a TextInput in it that refuses to work- Is this a known bug and is there a workaround? Thanks Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search t

[Flashcoders] sending HTML image map data to Flash

2006-05-25 Thread Marc Hoffman
[My apologies if you receive this twice -- didn't seem to go through the first time.] Anyone have tips on making Flash read the image map on the host html page and parse it into a multi-dimensonal array (as would happen if we were importing xml)? In a web-based project, we provide non-fla

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Kevin Newman
Marcelo de Moraes Serpa wrote: Well, I think you should just stick with the tool that works for you. I´m currently using Flash 8 IDE to build the layout and assets, and, for me, it is pretty good to build forms as well. The rest I do outside Flash, in FlashDevelop and compile with MTASC ;) It´

[Flashcoders] Compute a point guarateed to be within a irregular polygon

2006-05-25 Thread Kjel Anderson
Hello list, Has anyone implemented something like this? An example would be extremely helpful. Thanks, Kjel ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/

RE: [Flashcoders] XML Parsing

2006-05-25 Thread Matt Jurgemeyer
Below are examples of my xml and the code I use to parse it. THIS IS ONE OF MY XML FILES: website_CNE(1).jpg website_CNE(2).jpg

RE: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Merrill, Jason
>>The 'import' statement doesn't actually embed a class into the .swf. >>All it does is tell the compiler that when you type (for example) >>MyClass, you are actually referring to com.fred.MyClass. Err...that has not been my understanding at all. If that is the case, then why do you NOT need to i

[Flashcoders] eLearning built in Flex

2006-05-25 Thread Dan Thatcher
Jason and the other guy that mentioned building e-learning in Flex, Did you bring a link to the e-learning that you mentioned that was built in Flex? Would love to see it :-) Dan Thatcher Online Learning The American Academy of Professional Coders 801-238-9893 (office) 801-879-9253 (m

Re: [Flashcoders] Shared fonts issue

2006-05-25 Thread Marcelo de Moraes Serpa
That´s exactly what I did... loading all the fonts in the main movie... Also remember about the "SharPoint" technique... in simpler words, when you load your shared library swf, you have to wait at least 1 frame and have a at least one symbol from the shared library placed in this frame so that a

[Flashcoders] SWF Ecnrypt, ASO or both?

2006-05-25 Thread Marcelo de Moraes Serpa
I´m thinking about buying SWF Encrypt, but as there´s also ASO (ActionScript Obfuscator Pro) I would like to ask your suggestion about what to use? What is better? Or are they complementary (use both)? Thanks, Marcelo. ___ Flashcoders@chattyfig.figleaf

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Mike Boutin
Yes OpenLaszlo is a great solution. Ive used it quite a bit. They have a awesome community for help and getting started with it. jcanistrum wrote: and what about OpenLaszlo, has someone given it a try ? I saw some very good demos overthere http://www.openlaszlo.org/demos 2006/5/25,

[Flashcoders] Controlling an Embedded SWF

2006-05-25 Thread Loren R. Elks
Hi: I have a SWF (SWF A) that I'm loading into a movieclip (Movieclip C)which is part of another SWF (SWF B). Basically, SWF B functions as a player, with play and pause controls. These controls control Movieclip C where the external SWF A is loaded into. Normally, I have had no problem with th

RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Jim Robson
I spent some time evaluating OpenLaszlo for my employer, and it's very nice. We nearly chose it over Flex. However, Flex turned out to be the winner for us. Here are some of the reasons: - Flex has native XML socket server support - Flex supports SOAP in compiled SWF deployments (Laszlo only suppo

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Nick Weekes
I think Ian stated that Importing a class will not affect the swf, but instanciating an object contained in the class will. So: import MyCoolNewClass; does not affect swf var MyCoolNewClass:MyCoolNewClass = new MyCoolNewClass(); does affect swf Merrill, Jason wrote: The 'import' statemen

Re: [Flashcoders] XML Parsing

2006-05-25 Thread Mike Britton
At first glance it seems to be doing a lot inside the while statement. That could account for the lag. 15 times through the loop could slow things down, especially if you're instantiating a moviecliploader each time around. Mike On 5/25/06, Matt Jurgemeyer <[EMAIL PROTECTED]> wrote: Belo

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Jonathan Berry
I think what he is saying is that if you had a dozen imports or imported an entire package (*) it would not include the specific classes until you actually referenced them. On 5/25/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: >>The 'import' statement doesn't actually embed a class into the .sw

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Christian
Thanks for all the info everyone. Definitely good stuff to go read and learn more about. I just get frustrated as things get easier for those who don't work at it, while those who work at it get set packing. I'll attack things with open mind and revisit my opinions. Muzak wrote: The other

RE: [Flashcoders] eLearning built in Flex

2006-05-25 Thread Merrill, Jason
I got busy last night and forgot. It was the season finale of Lost, and I'm hoping they made it out of the hatch alive. I'll try and dig it up tonight. Jason Merrill Bank of America Learning Technology Solutions >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashc

RE: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread j.c.wichman
Hi, it is included, but not solely becoz of the import statement. I might be wrong, but I believe this is even a 'bug'. Expected behavior: import MyClass causes inclusion of MyClass in the swf Real behavior: import MyClass still requires you to use MyClass somewhere in the code as in var myClass:

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread jcanistrum
great review I will use it from here 2006/5/25, Jim Robson <[EMAIL PROTECTED]>: I spent some time evaluating OpenLaszlo for my employer, and it's very nice. We nearly chose it over Flex. However, Flex turned out to be the winner for us. Here are some of the reasons: - Flex has native XML

RE: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Merrill, Jason
I see - gotcha. Jason Merrill Bank of America Learning Technology Solutions >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Jonathan Berry >>Sent: Thursday, May 25, 2006 1:58 PM >>To: Flashcoders mailing list >>Subject: Re

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Derek Vadneau
The import statement embeds, but so does this: var a:mx.controls.Button; import also allows you to use a shortcut as has been mentioned already. >From the docs: "Lets you access classes without specifying their fully qualified names." .. "You must issue the import statement before you try to acce

[Flashcoders] Image alpha fade

2006-05-25 Thread Corey Knafelz
I'm creating a slideshow. I've accomplished creating an alpha fade in to 100 when the image loads. I need to also have the alpha fade back to zero *before* the next image loads. I'd like to call this from the nextImage() function below. Ideas? this.onEnterFrame = function() { filesize =

Re: [Flashcoders] TextInput disabled when loaded into a Window Component into a child swf

2006-05-25 Thread mike cann
On 25/05/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: I have a window that is loading a swf file which has a movieclip with a TextInput in it that refuses to work- Is this a known bug and is there a workaround? Thanks Mani ___ Flashcoders@chattyf

Re: [Flashcoders] OOP 101: Is import really necessary?

2006-05-25 Thread Geoff Stearns
import in flash is only used to save you some typing. when you use import com.package.Class; the class is *not* included in the swf until you reference that class in your code somewhere. like var blah:Class; you don't have to use import, you can also use: var blah:com.package.Class; and

  1   2   >