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

[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

[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

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

[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

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

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

[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

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

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. This is a

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 whole

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:MyClass

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 with a

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! --

[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 about

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! ___

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

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:

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:

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

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 :

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');

[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

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 a

[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

[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

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 automatically,

[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

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

[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 usual

[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's

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?

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, if

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

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

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

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

[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

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

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

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

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

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

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

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] 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

[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

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 ;)

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: ?xml version=1.0 encoding=iso-8859-1? INTERACTIVE BUTTON title=website client=CNE buttonIMAGE=webSite_CNE.jpg IMAGES

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

[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

[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. ___

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

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

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'

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: Below

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 .swf.

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]

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

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 access

[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 ___

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;

RE: [Flashcoders] eLearning built in Flex

2006-05-25 Thread Dan Thatcher
Well... I don't know about Eko, Desmond and Locke...but Charlie made it. My brain is still crunching on what exactly happened last night. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Thursday, May 25, 2006 11:59 AM To: Flashcoders

RE: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Jim Robson
Mike, I didn't have much luck with the Laszlo community. I posted several questions, and most of them went unanswered. Maybe they just don't like ignorant newbies? I also couldn't get Laszlo Systems to answer all of my questions. They sent me a nice email when I joined their forum, but when I

[Flashcoders] movie clip load order FIFO or FILO

2006-05-25 Thread Jason C Reynolds
Hi, I recently purchased Zinc to simply have more control over the window (placement, title, icon - that's all I wanted for this project!!) and it is causing issues with my program. I use the following code to create some movie clips: for (var i=0;icount;i++) { filePath = pstrFolderPath

RE: [Flashcoders] XML Parsing

2006-05-25 Thread Jason Lutes
Matt, On a reasonably fast computer, a file of 4600+ XML nodes can be slurped in under one second, required download time aside. Your XML requirements are not that steep, so it seems to me that your issue is likely something else not completely obvious in your code sample. Suggestions: 1. If

Re: [Flashcoders] Controlling an Embedded SWF

2006-05-25 Thread Éric Thibault
What number do you get if you trace the total number of frames that your SWF (A) contains ? Maybe it's a path issue :-\ A+ Loren R. Elks a écrit : 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

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

2006-05-25 Thread Steven Sacks
Also interesting to note here. If you make two layers in the timeline and in the top layer you put x = 10; And the bottom layer you put trace(x); you'll get 10. However, if in the top layer you put import SomeStaticClass; And in the bottom layer you put SomeStaticClass.someMethod(); It

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

2006-05-25 Thread Weldon MacDonald
The import statements tell the compiler where to find the classes your going to use, it compiles into the byte code only the classes you use. You could also do it by giving the full package.class of the class too. Import statements aren't strictly necessary, but they save a lot of typing if your

RE: [Flashcoders] eLearning built in Flex

2006-05-25 Thread Merrill, Jason
Locke has to make it - he's an even better character than Hurley, also one of my favs. Jason Merrill Bank of America Learning Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Dan Thatcher Sent: Thursday, May

RE: [Flashcoders] Controlling an Embedded SWF

2006-05-25 Thread Merrill, Jason
clicking the controls on SWF I created has NO EFFECT on the SWF I created in Captivate. It just keeps playing. I believe that's a Captivate-produced-.swf thing. You're assuming the main timeline of the Captivate .swf is where the animation happens, and that the animation can be stopped with a

RE: [Flashcoders] eLearning built in Flex

2006-05-25 Thread Steven Sacks
The writing on the show (I'm a huge fan and have suspended disbelief for a long time) has become extremely weak over the past few episodes. They force extremely unrealistic reactions from people and have characters completely ignore stuff going on around them. Tell me. If the earth shook, there

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

2006-05-25 Thread James Booth
There is a bit of an anomaly with importing classes... For example you have 3 classes. Let's call them FirstClass, SecondClass and ThirdClass. Within FirstClass you import and create an instance of SecondClass and within SecondClass you import and create an instance of ThirdClass, creating a

RE: [Flashcoders] Controlling an Embedded SWF

2006-05-25 Thread Biehn, Matthew P.
In Captivate Help, search for Controlling Captivate movies with variables. Matthew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Merrill, Jason Sent: Thursday, May 25, 2006 2:06 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Controlling an

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

2006-05-25 Thread Derek Vadneau
Then how do you explain my results? 43 bytes for a SWF with nothing in it compared to 42.5 KB (that's kilobytes) with only 5 import statements. How do you account for the ~42.4 KB? And how do you account for the fact that a trace of the class using [] notation traces out [type Function]? If

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

2006-05-25 Thread Rifled Cloaca
Derek, Where did you place those imports? On the timeline, or in an external AS class file? Would it make a difference? -g ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Flex vs. Flash IDE

2006-05-25 Thread Mike Boutin
I found the Laszlo mailinglist to be very helpful. I got a quicker response rather than using the forums. I believe the sign up is at openlaszlo.org Mike Jim Robson wrote: Mike, I didn't have much luck with the Laszlo community. I posted several questions, and most of them went

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

2006-05-25 Thread James Booth
Adding...Importing it as a package does properly exclude the classes. From my example, obviously why import a class and not use it, but I'm trying to understand the logic of the compiler. - James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James

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

2006-05-25 Thread Ian Thomas
Yep - just to reiterate (and hopefully make it more clear): The line: import com.fred.MyClass; Is _not enough_ to get Flash to compile MyClass into your .swf file. You need to actually _reference_ MyClass for it to be included. e.g. var a:MyClass=new MyClass(); In fact, import is _nothing to

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

2006-05-25 Thread Ian Thomas
Hi Derek, That's really interesting - and goes against everything I'd expect. Particularly when your other results have kind of proved the opposite (and I've certainly proved the opposite before with ClassFinder situations). A couple of other tests might prove illuminating... - Is the same true

  1   2   >