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

[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

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

[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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

<    1   2