Re: [Flashcoders] JSON vs. XML for CDROM configuration

2007-01-30 Thread Ian Thomas
Um - surely there's a third option, which is plain text? It does depend what you're configuring, but our external configuration files look like java.properties files: language=en useDirectX=true etc. etc. We just read them in using LoadVars (overriding onData) and parse them. Very

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread T. Michael Keesey
On 1/29/07, David Ham [EMAIL PROTECTED] wrote: startObjectDrag triggered by obj_mc.onPress checkForSnaptriggered bysetInterval or onEnterFrame type of event, in this case onObjectDrag stopObjectDrag triggered byobj_mc.onRelease This looks more like the Broadcaster pattern or

RE: [Flashcoders] JSON vs. XML for CDROM configuration

2007-01-30 Thread Paul Steven
Hmm good point Ian. Any reason why people would use xml or json files rather than plain text? Ease of editing, speed of loading etc? With regards security implications, just wanted to be sure there was no problem reading data from the CDROM as I am sure I read somewhere about some issue that

Re: [Flashcoders] Trace the _x and _y from node of Tree component

2007-01-30 Thread Lois IN
I'm sure that print the _x and the _y from node to the tree component, is impossible; but now I trying to print some element by roll over the mouse. I have the same listener, but this traces the atribute in the node of the xml: var listenerObject:Object = new Object();

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread Hans Wichman
Hi, maybe a dumm question but would it be off limits to express this changing-behaviour in the interface? For example in such an object as you are describing, you could add a method setResizeBehaviour(r:ResizeBehaviorImpl) (in pseudo then). Then you can change a certain type of behavior at

Re: [Flashcoders] JSON vs. XML for CDROM configuration

2007-01-30 Thread Ian Thomas
We've had absolutely no problem reading text files from CD-ROM using Flash 8. :-) XML/JSON wouldn't be any faster to read in. I'd choose XML if you had a much more complex configuration task that needed lots of nested config (unlikely unless you've got a huge sprawling app - you can handle most

RE: [Flashcoders] JSON vs. XML for CDROM configuration

2007-01-30 Thread Paul Steven
Thanks Ian for the useful advice. I would appreciate your thoughts and indeed the thoughts of anyone else, on my use of a config file for this project. Not sure if a config file is the best solution for what I am doing. Basically the CDROM consists of 60 separate pages / sections. I have just

Re: [Flashcoders] Flex vs. Laszlo

2007-01-30 Thread Matthias Dittgen
Nicolas is developer and promotions team for haXe all in one. ;-) But haXe alone can't compete with Laszlo and Flex in some aspects. For example, just because these frameworks offer a XUL like attempt for fast developing GUIs. What I mean is, that both are using a declarative, xml-based

Re: [Flashcoders] JSON vs. XML for CDROM configuration

2007-01-30 Thread eka
Hello :) I use Eden (Ecmascript data exchange notation) write by zwetan to creates config in my application. For the moment the Eden page project is down in http://www.burrrn.com/ but you can try this library in my opensource framework with a little version : VEGAS my openSource project :

Re: [Flashcoders] Tooltip for disabled buttons: Ideas?

2007-01-30 Thread Stefan Thurnherr
Thanks Andy and Hans for sharing your solutions. I like both of them and will implement one of them...not sure yet which one, though. stefan. On 1/26/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, we use a ButtonTooltipWrapper thingy. Basicly you do: new Tooltip (myButton, myTooltip, [hitArea])

RE: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread Erik Bianchi
Just to clarify mixins and strategy are a bit different. One is more structural while the other is more behavioral. Also mixins aren't really considered a design pattern but it is made up of composites, proxies / facades (all structural design patterns ) + interfaces. They are used to emulate

RE: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread Erik Bianchi
Actually my definition of a mixin is very strict compared to a decorator; it uses design by contract, composition and declares type: Class ClassA implements IClassB, IClassC { private var classB:ClassB; private var classC:ClassC; private function classBMethod():Boolean{...}; private function

[Flashcoders] Launch an application from CDROM based projector

2007-01-30 Thread Paul Steven
I am creating an application using Flash 8 (PC only) and need to launch an application that is installed on the users hard drive. I think this can be fairly easily achieved using a third party app such as Zinc. However I need to do a bit more than just launch the application. I also need to get

AW: [Flashcoders] Re: IE6 problem with SWFAddress?

2007-01-30 Thread Peter Oliver Geller
Ok i´ll try it out, thanks for help jason and steven :) Cheers Peter »» -Ursprüngliche Nachricht- »» Von: [EMAIL PROTECTED] »» [mailto:[EMAIL PROTECTED] Im »» Auftrag von Steven Sacks | BLITZ »» Gesendet: Dienstag, 30. Januar 2007 00:08 »» An: Flashcoders mailing list »» Betreff:

[Flashcoders] File upload in flash

2007-01-30 Thread Claudio M. E. Bastos Iorio
Hi guys, I hope you can help me on this. I need to add an upload file control inside a flash form, like the one in html. I'm working with php and MySql in the backend. But I don't really know how to add such a feature in flash. Any help/links examples will be much appreciated.

RE: [Flashcoders] File upload in flash

2007-01-30 Thread Petro Bochan
Claudio M. E. Bastos Iorio Hi guys, I hope you can help me on this. I need to add an upload file control inside a flash form, like the one in html. I'm working with php and MySql in the backend. But I don't really know how to add such a feature in flash. Any help/links examples will be much

Re: [Flashcoders] File upload in flash

2007-01-30 Thread Henry Cooke
Or FileReference, if you just want to save the file out on a server somewhere.. h. On 30/01/07, Petro Bochan [EMAIL PROTECTED] wrote: Claudio M. E. Bastos Iorio Hi guys, I hope you can help me on this. I need to add an upload file control inside a flash form, like the one in html. I'm

RE: [Flashcoders] File upload in flash

2007-01-30 Thread Claudio M. E. Bastos Iorio
Thanks for your help Petro and Henry! This class is for AS3 on Flex2, right? I'm working with Flash 8 and AS2. The loader class that I found in AS2 seems to allow me retrieve content from a remote location and pull it into a Flash application (from help) Is the same class?. And Henry, yes, I need

[Flashcoders] Player 8 fluidity

2007-01-30 Thread PR Durand
Hi list Since player 8 is out, it seems to be impossible to make a fluent animation if there are more frames than pixels, i.e a simple 100 pix tween on _x in 50 frames It's not really the player, but the compiler. see example here, it's the same code, juste changed the export player version,

Re: [Flashcoders] Player 8 fluidity

2007-01-30 Thread Zeh Fernando
Since player 8 is out, it seems to be impossible to make a fluent animation if there are more frames than pixels, i.e a simple 100 pix tween on _x in 50 frames It's not really the player, but the compiler. see example here, it's the same code, juste changed the export player version, and

Re: [Flashcoders] Flash 9 Public Alpha stability issues

2007-01-30 Thread Frederico Ferro Schuh
That's odd, but good to hear that not everyone is having problems. Maybe with some tweaking I may be able to avoid these crashes. Do you have any huge images in your project? I have a 1600x1200 jpeg image that represents the track. Maybe that has something to do with the crashes, since I don't

Re: [Flashcoders] Flash 9 Public Alpha stability issues

2007-01-30 Thread James Marsden
Hey, We have some enormous images, but we're chopping them up into 256px squares and tiling them with a scrolling engine, as the game would chug badly on lesser graphics cards throwing images of that size around. J Frederico Ferro Schuh wrote: That's odd, but good to hear that not everyone

[Flashcoders] AS DTD validation

2007-01-30 Thread Oliver Müller
Hi, is there any AS2/3 class or script that performs DTD validation on a xml-document? -- cheers, Olli ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] File upload in flash

2007-01-30 Thread Henry Cooke
Hmm. I don't think you want a Loader if you just want to pass the file through (as opposed to loading its content *into* Flash) - if you're just duplicating the functionality of an HTML file upload form element then FileReference is definitely what you need - you give it a form catcher to POST

[Flashcoders] Using drawing API to draw dotted lines?

2007-01-30 Thread Tom Jackson
quick request really, was wondering if anyone knows a way to use the flash drawing api to create lines such as those seen when using the line tool in the IDE, you have many options like dot length and gap length, wavyness etc in the ide but only thickness from what I can tell with the api. Anyway

Re: [Flashcoders] Player 8 fluidity

2007-01-30 Thread PR Durand
hi Zeh thx for answer, but at the end of my mail, I said that it isn't related to textfield, as the problem remains the same with a shape or bitmap inside a movieClip... it seems that it's alaways moved on pixels... ++ PiR Zeh Fernando a écrit : Since player 8 is out, it seems to be

Re: [Flashcoders] Launch an application from CDROM based projector

2007-01-30 Thread Shang
why not you try it in DOS commands first. You need to check what kind of parameters the application supports . If the application does support a parameter like -o filename, then you can write a bat file and use fscommand to call it. On 1/30/07, Paul Steven [EMAIL PROTECTED] wrote: I am creating

Re: [Flashcoders] Using drawing API to draw dotted lines?

2007-01-30 Thread Andy Herrman
well, you can always simulate a dotted line with multiple lines with spaces between them. I don't see any way to do it in the API, so you may need to do it that way (and that may even be the way the IDE does it, I don't know). Doing some quick googling I came across this. Maybe it'll help you:

Re: [Flashcoders] Tooltip for disabled buttons: Ideas?

2007-01-30 Thread Shang
I have a third suggestion. You don't need to set the button enabled=false, instead you create your own parameter of tracking the status. when the button is disabled, just set the useHandCursor to false. onRollOver if(btnEnabled) showRollOverEffect else showToolTip onRelease if(btnEnabled)

Re: [Flashcoders] JSON vs. XML for CDROM configuration

2007-01-30 Thread Henry Cooke
I'd probably do that in XML, as what you're defining is a bunch of different sections, each with a number of different properties. A simple text config is more suitable for basics like screen size, basic interface text strings, resource locations etc (IMHO) I'd probably do it something like

Re: [Flashcoders] Using drawing API to draw dotted lines?

2007-01-30 Thread Tom Jackson
ah thanks for the googling andy, that dashTo class is perfect, thanks On 30/01/07, Andy Herrman [EMAIL PROTECTED] wrote: well, you can always simulate a dotted line with multiple lines with spaces between them. I don't see any way to do it in the API, so you may need to do it that way (and

Re: [Flashcoders] Player 8 fluidity

2007-01-30 Thread Zeh Fernando
The same can occur with bitmaps because of the different way the players treat bitmap smoothing - Flash 8+ actually respects the smoothing property from the image (on the library) while Flash 7- depends on your global _quality settings first. So you might have to turn on the smoothing option

[Flashcoders] full screen window

2007-01-30 Thread Ravi Marella
Hi all, This might be simple but I'm trying this from last 4 hours and got no answer anywhere. How can you open a window in full screen mode using JavaScript? I want to open the same window in full screen mode, I mean with out using any other window to launch this full screen window or any

RE: [Flashcoders] full screen window

2007-01-30 Thread David Brunswick
This is for a swf http://www.kirupa.com/developer/mx2004/fullscreen.htm and for a .exe add this to the first frame fscommand(fullscreen, true); David Brunswick Senior Multimedia Developer/OLP Administrator FedEx Customer Information Services Customer Service Organizational Learning

RE: [Flashcoders] full screen window

2007-01-30 Thread Danny Kodicek
This might be simple but I'm trying this from last 4 hours and got no answer anywhere. How can you open a window in full screen mode using JavaScript? I want to open the same window in full screen mode, I mean with out using any other window to launch this full screen window or any

RE: [Flashcoders] full screen window

2007-01-30 Thread David Brunswick
Or this html body script language=JavaScript !-- window.open (http://yahoo.com;, ,fullscreen=yes) -- /script /body /html David Brunswick Senior Multimedia Developer/OLP Administrator FedEx Customer Information Services Customer Service Organizational Learning 901-434-6605 -Original

Re: [Flashcoders] full screen window

2007-01-30 Thread Henry Cooke
Ravi, It's a tricky one, most modern browsers are specifically designed not to allow you to size up to fullscreen onLoad, as it was being abused by scammers and such. http://developer.mozilla.org/en/docs/DOM:window.open#Note_on_position_and_dimension_error_correction Probably explains why

RE: [Flashcoders] full screen window

2007-01-30 Thread Ravi Marella
I cant afford two windows as the window which I have to open will get opened by a link on client's site which will just launch this window and so if I use another window, it'll make two popups opening using a single link which is not desired. I got this code on net: self.moveTo(0,0);

RE: [Flashcoders] full screen window

2007-01-30 Thread Ravi Marella
Then...can we atleast hide the status bar/address bar and other standard buttons of the same window? RaviKiran Marella -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henry Cooke Sent: Tuesday, January 30, 2007 9:20 PM To: Flashcoders mailing list

Re: [Flashcoders] full screen window

2007-01-30 Thread eric dolecki
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html - ericd. On 1/30/07, Ravi Marella [EMAIL PROTECTED] wrote: Then...can we atleast hide the status bar/address bar and other standard buttons of the same window? RaviKiran Marella -Original Message- From: [EMAIL

Re: [Flashcoders] full screen window

2007-01-30 Thread Henry Cooke
I'm no JavaScript coder, but I don't think you can change the properties of an already open window. Not sure though, Google about a bit, see what you can find.. h. On 30/01/07, Ravi Marella [EMAIL PROTECTED] wrote: Then...can we atleast hide the status bar/address bar and other standard

RE: [Flashcoders] full screen window

2007-01-30 Thread David Brunswick
You state there is a link on a page which launches the window then use this html body script !-- function fullwin(){ window.open(yourswf.html,,fullscreen,scrollbars) } //-- /script A HREF=javascript:onClick=fullwin() Minimize/A /body /html David Brunswick Senior Multimedia Developer/OLP

Re: [Flashcoders] full screen window

2007-01-30 Thread Jah
i think this is still in the realm of techniques illegitimate designs used in the early days of the web. additionally... you should probably consider how many users won't return to your site bc you've messed with thier primary browser settings, as most users might not have the knowledge to turn

[Flashcoders] Job opportunity Montreal : Game Flash Programmeur AS2/AS3

2007-01-30 Thread Nicolas Lee
Tribal Nova is a company of development and exploitation of interactive properties which works in close relationship to the industry of the media and the entertainment. Our expertise is mainly on the design, the production and the marketing of interactive products for children based on the most

RE: [Flashcoders] full screen window

2007-01-30 Thread Ravi Marella
I'll tell you the exact scenario I'm facing: I'm making a course in flash MX which has to be uploaded on Client's LMS. The course needs to be compatible with 800*600 screen resolution, which we have achieved. but the client can't see the course completely coz the toolbars are not hidden on the

Re: [Flashcoders] full screen window

2007-01-30 Thread David Ham
The best user experience would be two windows: have a launch page with a link that would open a new JavaScript child window, and tell the user that the course is going to open in fullscreen. Then you can control the size and properties of the window as much as you like, and the user

Re: [Flashcoders] Flex vs. Laszlo

2007-01-30 Thread Cortlandt Winters
Warning William ... Brain Dump in Progress... First I want to mention that I try not to compare them too much on email lists because what invariably happens is that somebody somewhere reads the post, takes a line or two out of context and it becomes overemphasized. Or somebody compiles all the

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread T. Michael Keesey
How is this any different from a Decorator/Wrapper? Looks like a double decorator. On 1/30/07, Erik Bianchi [EMAIL PROTECTED] wrote: Actually my definition of a mixin is very strict compared to a decorator; it uses design by contract, composition and declares type: Class ClassA implements

[Flashcoders] Cannot Access Superclass Static Var from Subclass in FLA

2007-01-30 Thread msgboards
Hi all. It's been a LONG time since I've posted and now I need your help again. I have come across something that to me doesn't seem correct and I don't know why things are behaving this way. I have 2 classes, one a subclass of the other. Both have public static variables (AS2.0 Flash 7). class

[Flashcoders] Re: full screen window

2007-01-30 Thread Dan Styles
script language=JavaScript function fullScreen(theURL) {window.open(theURL, '', 'fullscreen=yes, scrollbars=auto'); /script ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] (AS3.0) new TextField -- what is wrong?

2007-01-30 Thread John Mueller
Johannes, at a minimum the following attributes need to be set for your text field: [textfield instance].html [textfield instance].wordwrap [textfield instance].multiline 'wordwrap' is necessary unless you also include tags like br within your text. jm

RE: [Flashcoders] File upload in flash

2007-01-30 Thread John Mueller
Cladio, perhaps it is the FileReference class you need.. its in the Help file..used to upload/download files from the server... x From: Claudio M. E. Bastos Iorio [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com To: 'Flashcoders mailing list'

[Flashcoders] Remove / Hide a video component

2007-01-30 Thread Paul Steven
I have a flash 8 movie that is composed of 60 sections and hence there are 60 labels. Some of these sections include a video clip playing and I have used the Flash 8 FLVPlybk component. What I would like to do is have this on stage in the correct position and then hide or remove it for sections

Re: [Flashcoders] Remove / Hide a video component

2007-01-30 Thread Mick G
I just did a quick test and dragged a component on stage and set myvid._visible = false; and it seemed to hide the component just fine Failing that you could always change it's x or y position to somewhere off stage like myvid._x = -1000 On 1/30/07, Paul Steven [EMAIL PROTECTED] wrote: I

RE: [Flashcoders] Launch an application from CDROM based projector

2007-01-30 Thread Alain Rousseau
You cannot send parameters from fscommand to the bat file. Allready tried once to no avail. It is a security feature If I remember right my readings on the subject. Zinc would be a better option than fscommand. Or if you want to avoid Zinc, use fscommand to call a bat file that has all the

RE: [Flashcoders] Remove / Hide a video component

2007-01-30 Thread Paul Steven
Thanks - yeah you are right, I was mistaken that the video was still there as I had a black overlay movie clip the same size as the video on a higher layer. However I notice that even when the video component is not visible, the video still plays - so if a user navigates to a section with no

Re: [Flashcoders] Launch an application from CDROM based projector

2007-01-30 Thread Cortlandt Winters
Hi Paul, I know that swf studio has a shell object that allows you to call an execute function and pass it parameters , but it's that application that will determine what it can receive. Generally if you launch an application with parameters after the app name they will get sent to the app, but

Re: [Flashcoders] Cannot Access Superclass Static Var from Subclass in FLA

2007-01-30 Thread ChrisRM
I was able to have someone test the sample code below and it worked fine for them. I had their files sent to me but couldn't open the FLA. I'm using MX2004 and I assume they have 8 or higher. I tested using the sample that was sent and still had the same errors. Has anyone heard of this before?

RE: [Flashcoders] Launch an application from CDROM based projector

2007-01-30 Thread Paul Steven
Thanks Alain Yes Zinc looks promising and has the necessary function. Just need to get some info on the actual application I want to call and if it can accept parameters. Cheers Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alain Rousseau Sent:

Re: [Flashcoders] Flash 9 Public Alpha stability issues

2007-01-30 Thread John Dowdell
Frederico Ferro Schuh wrote: Do you have any huge images in your project? I have a 1600x1200 jpeg image that represents the track. Maybe that has something to do with the crashes, since I don't remember having any problems when I was just prototyping the car's physics with no assets at all.

RE: [Flashcoders] Launch an application from CDROM based projector

2007-01-30 Thread Paul Steven
Thanks Cort - the application is one that exists already. I have emailed the developers and fingers crossed the application accepts parameters. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cortlandt Winters Sent: 30 January 2007 18:31 To: Flashcoders

Re: [Flashcoders] Launch an application from CDROM based projector

2007-01-30 Thread Ron Wheeler
If you are just trying to run a Flash application and get it to read parameters from a file, you can use the projector that comes with flash and have it read an XML file or a text file from the CD or hard disk or a server. Sometimes we have a small text file that tells our projector

Re: [Flashcoders] Cannot Access Superclass Static Var from Subclass in FLA

2007-01-30 Thread JOR
Static variables are not inherited by subclasses in ECMAScript therefore can not be referenced through derived class objects. This differs from Java and C#. James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train [EMAIL PROTECTED] wrote: Hi

RE: [Flashcoders] full screen window

2007-01-30 Thread Joey Rivera
If I understand correctly, you want users to click on a link that then opens up a new window that is fullscreen and closes the previous window that is now behind. This is what we do: script language=Javascript function openWindow() {

Re: [Flashcoders] Flex vs. Laszlo

2007-01-30 Thread John Dowdell
I'm not in a position to have an opinion (everyone would think I'm tainted ;-) , but I just made an interesting observation, when comparing the size of the mailing list for creating Laszlo, to that of the mailing list for using it: http://www.openlaszlo.org/pipermail/laszlo-dev/

Re: [Flashcoders] Cannot Access Superclass Static Var from Subclass in FLA

2007-01-30 Thread ChrisRM
Thanks for the input James. I understand what you're saying but the fact that accessing inherited static variables works in another class but not on the timeline still gets me. This solution was proposed to me and seems to work. In Orange.as add: private static var __proto__:Function =

[Flashcoders] FMS 2.0 Flash 8 Flv Player Continues Playback after Window Close

2007-01-30 Thread Jeff Harrington
Hi, the guys on the FMS list quasi-suggested I contact you guys as you might have encountered similar playback enigmae? I've been working around some strange errors in NetStream codes (InvalidArg) which prevents seeks from working sometimes and now I've created a player that just will not

Re: [Flashcoders] Flex vs. Laszlo

2007-01-30 Thread Cortlandt Winters
Hi John, Yes, I watch the traffic too and find it interesting, but not really startling. I wouldn't read TOO much into it. Just so you know, at this time last year Flashcoders traffic was about the same as Flexcoders, but now it's about a quarter of Flexcoders traffic as well. I would trust,

[Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread nelson ramirez
So I have this quiz app that at the end allows the user to print out their answers with results plus some static content. We normally use Flash paper for printing the static assets. I was wondering if there's a way to incorporate the dynamic user answers into the static flash paper print content.

Re: [Flashcoders] FMS 2.0 Flash 8 Flv Player Continues Playback after Window Close

2007-01-30 Thread Andy Herrman
Could you put some javascript in the window the movie actually plays in (you said it's a browser window, so I'm guessing javascript is doable) that detects when the window is closed and sends a message to the Flash movie? The flash movie can then detect that and stop playing? That is weird that

RE: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread Erik Bianchi
A decorator is meant to be dynamic. It adds responsibilities to an object at run time. You take ComponentA and add methods to it on mouseclick, that's a decorator. ComponentB is made up of ComponentC and ClassA, that's a composite. My implementation of a mixin which I borrowed from java is

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread Joseph McHeffey
I normally just create a new movieclip and set it up with the questions/answers the way that it should print. Then I just use print(my_mc); --- nelson ramirez [EMAIL PROTECTED] wrote: So I have this quiz app that at the end allows the user to print out their answers with results plus some

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread Andy Herrman
I've never tried any of this, and I'm not really familiar with Flash Paper, but... Google gives me this: http://www.blazepdf.com/ It's commercial (you have to buy it), but it looks like it can do what you want. Might be worth looking into if you can't find other solutions. -Andy On

RE: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread Erik Bianchi
Opps meant to add: that's my interpretation anyways. I could be wrong. I'm wrong all the time. In fact I consider myself a professional mistake maker. -erik -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Bianchi Sent: Tuesday, January 30, 2007 1:49

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread nelson ramirez
Yeah I normally do the same. but sometimes there are issues with the safari browser on macs. Plus , i really like flash paper, I guess i'm more wondering wether it can be done or if there are any better methods than the standard way. thanks On 1/30/07, Joseph McHeffey [EMAIL PROTECTED] wrote:

Re: [Flashcoders] FMS 2.0 Flash 8 Flv Player Continues Playback after Window Close

2007-01-30 Thread Jeff Harrington
Hey Andy, Wow... and duh... Thanks for making me look at it again, I was modifying the onunload code for something which gets pushed into a sub-div. That fixed it! The onunload videoController.destroy method just wasn't getting called. Thanks for making me reexamine my code. Ouch!

[Flashcoders] import package

2007-01-30 Thread rc2406
I'm just now trying to wrap my head around AS3.0, so this is a very basic question. Why is the import statements necessary? The Adobe site says that in AS2.0 it was a shortcut, so you didn't have to type the full path, but in AS3.0 it is a requirement. So why does the following simple code work

RE: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread Rost, Andrew
The answer is no. We recently tried going down this path, but the FP API does not support data integration. Andrew Rost -Original Message- From: nelson ramirez [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 30, 2007 4:00 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] -

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread eka
Hello :) Flash paper is dead... Apollo is the next big project of Adobe and replace for me FlashPaper to display books etc. With apollo you can display a PDF or a HTML page in a MovieClip. For me Digital Edition is baed on Apollo : http://labs.adobe.com/technologies/digitaleditions/ In 6 month

RE: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread Merrill, Jason
Flash paper is dead... Apollo is the next big project of Adobe and replace for me FlashPaper to display books etc. Uh, isn't Apollo going to be a desktop app though? I understand how Apollo can render HTML and connect to the internet and the like, what about users running IE or Firefox?

Re: [Flashcoders] import package

2007-01-30 Thread Ron Wheeler
If it works without it, it is not required. Import is a compiler directive. It does not result in any code being generated. It merely tells the compiler that If I mention some function or class/object/datatype that I do not define, you should also look here to see if this code has a

Re: [Flashcoders] AS DTD validation

2007-01-30 Thread T. Michael Keesey
I don't know of any, but that would be awesome. It would be easier, actually, to do XML Schema validation, since XML Schema is itself XML. Thus, you could use Flash's native XML processing to help validate. But, again, I don't know if anyone's done this. Definitely a worthwhile project for

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread eka
hello :) About apollo : read : http://blogs.zdnet.com/Stewart/?p=234 http://blog.digitalbackcountry.com/?p=75 http://casario.blogs.com/mmworld/2006/10/load_html_pages.html http://labs.adobe.com/wiki/index.php/Apollo:DeveloperFAQ watch :

RE: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread Merrill, Jason
About apollo : read : LOL. I think you need to read those very links you sent. Apollo targets operating systems (Windows and Mac), not browsers. People using browsers will not use Apollo in the browser. Apollo is a desktop app you download and install, which can load in RIAs. It's not a

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread eka
helo :) I think it's very really interesting to speak about the futur of Flash/FLEX and AS3 ... if you want only ask a question and don't speak about the question of the future of the Flash technology .. sorry Now FlashPaper don't work in AS3... and you can't modify the content. I Use

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread JOR
A decorator object composites the object it wishes to decorate and is used in it's place. Since the decorator inherits from the the same base class as the object it decorates they can both be used interchangeably through polymorphism. consider something like this: var myBagel:Bagel = new

[Flashcoders] set and retrieve a netstream property

2007-01-30 Thread Kelly Smith
Howdy - I'm upgrading a video application from stage-based code to OO, and have run into a sticky problem: Using metadata injection, I am able to read a duration property on the netStream class, and pass the value to another function, as such: public function metaDataInfo(obj:Object) {

RE: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread Erik Bianchi
I've seen examples of it both ways where a decorated object maintains the objects interface or it adds additional methods so it breaks polymorphism. Don't have the GOF book with me to reference so no idea what they actually outlined. Doing a quick search wikipedia states 1 to 1 where doFactory

Re: [Flashcoders] Flex vs. Laszlo

2007-01-30 Thread greg h
Cort, Thank you very much for your very thoughtful and informed post. This is a great time to be a Flash developer. It is great watching the Flash/SWF ecosystem expanding. I have my hands full with Flash and Flex. But I appreciate having an understanding of how others generate swfs. Your

[Flashcoders] Caps Lock behaviour inconsistent between Mac and Windows!

2007-01-30 Thread Daniel Barber
I posted about this a while back and didn't get much of a response. Am hoping someone might have discovered a workaround as this bug is a bit of a show-stopper for the project I am working on. I am trying to trap whether the Caps Lock key is down at any given moment, not toggled, but down.

[Flashcoders] Tiles Based game engine

2007-01-30 Thread Weyert de Boer
Hello! I am curious if anyone happen to know a nice AS2 based tiles based game engine for use to create Mario Bros or Commander Keen like games. Somehow I don't get the scrolling and/or ladder stuff working correctly. Stupid games ;) Yours, Weyert de Boer

[Flashcoders] Known limitation for length for loaded content's path

2007-01-30 Thread Éric Thibault
Hello all! I have a strange case... i've built a projector for mac and pc with external content (images, flashpapers, videos...). Everything works well except on some PCs?!? I dont have access to those PCs (student's) but is there a known issu regarding path length (every path is relative to

Re: [Flashcoders] - dynamic content for flash paper?

2007-01-30 Thread Muzak
You can generate flashpaper swf's on the fly with Coldfusion. Muzak - Original Message - From: Rost, Andrew [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Tuesday, January 30, 2007 11:16 PM Subject: RE: [Flashcoders] - dynamic content for flash

Re: [Flashcoders] FLV Encoding at 640x480 Frame dropping

2007-01-30 Thread Muzak
Try dropping the framerate (divide by 2 seems to work well) If original video is 30 fps, encode at 15 fps If original video is 24 fps, encode at 12 fps. regards, Muzak - Original Message - From: Yehia Shouman [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread JOR
Yes, it's very common to add additional methods in your subclasses for additional behaviour. Polymorphism is maintained only through the base case's interface. I'll have to check out doFactory, haven't heard of it before. James O'Reilly — Consultant Adobe Certified Flash Expert

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread David Ham
Been a while since I've posted here, a few years I think. I miss the geek tangents / debates. =) Good man! Seriously, the world affords precious few opportunities to truly geek out on design patterns and such. Internet mailing lists excepted of course. I have the Head First Design

[Flashcoders] Q: offset x,y in StartDrag()

2007-01-30 Thread moveup
Hi I have a nested MovieClip with an onPress handler. OnPress I create a mirror copy of this nested MovieClip but in _root and initiate a StartDrag(false) on this MovieClip. The problem is this mc ( in _root ) is offset from the Mouse position by the x,y coordinates of the nested MovieClip.

[Flashcoders] Re: set and retrieve a netstream property

2007-01-30 Thread jason vancleave
You just need to declare var vidDuration outside the metaDataInfo function for it to remain persistent in the instance of the Class containing it. class WhateverClass{ var vidDuration:Number; public function metaDataInfo(obj:Object) { times = obj.keyframes.times; vidDuration =

Re: [Flashcoders] FMS 2.0 Flash 8 Flv Player Continues Playback after Window Close

2007-01-30 Thread Geoff Stearns
this is a sort-of-known issue - i don't think adobe ever posted a knowledge base article about it, but they implemented a fix for it in flash player 9 (which was buggy) i replied to your post here: http://blog.deconcept.com/swfobject/forum/discussion/123/fms-20-

Re: [Flashcoders] Flair Pattern bad mixins good (?)

2007-01-30 Thread JOR
The Head First Design Patterns book rocks and I definitely recommend it to anyone wanting to learn about design patterns. I actually got a kick out of the clip art and humor but I'm kind of quirky that way I guess. The Java examples were trivial to port to ActionScript and a good exercise.

  1   2   >