[Flashcoders] NumericStepper.checkValidValue() method

2006-08-20 Thread Fumio Nonaka
The NumericStepper component in Flash 8 seems to have a problem. Where minimum = 1, maximum = 10, stepSize = 2, value = 1, the second value on clicking the up arrow is 2. Then it is changing to 4 6 8 10. What I expect is 1 3 5 7 9 10. Therefore, I modified

Re: [Flashcoders] Actionscript 3.0 compiler Qs

2006-08-20 Thread Nicolas Cannasse
Here are some things I've been wondering about Actionscript 3.0s compiler and runtime engines: I'm assuming AS 3.0 compiles to a bytecode. What kind of bytecode does it compile to? Is it more like Java/.NET CLR, or more like Mozilla's Spidermonkey compiler? I don't know about SpiderMonkey,

[Flashcoders] Strange flashing bug

2006-08-20 Thread Nick Kuh
Hi I have come up against a very strange bug that I can't work out the cause... I've built a game that used to work just fine. Recently some of the graphics in the game were updated and resent to me from the designer. I copied them in. Now the bug occurs: In certain parts of the game a few of

Re: [Flashcoders] Strange flashing bug

2006-08-20 Thread Nick Kuh
Further to this post I managed to resolve the bug. The bug is on Flash 8 pro Mac version. By publishing the same files on PC the bug was resolved. Annoying for me as I prefer to work on Mac. From: Nick Kuh [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] RE: Best way to learn OO Analysis and Design with ActionScript

2006-08-20 Thread james
http://www.amazon.com/gp/product/0735713804/104-7942318-0256721?v=glancen=283155 Sorry authors... but I found this book to be a waste of space. Too much sucking up, too little content. Maybe, if you already know about OOP it doesn't really help bring anything new to the table, It is clearly

Re: [Flashcoders] Strange flashing bug

2006-08-20 Thread Shane Korin
Ack! I've had almost the same problem before, but I was never publishing on a Mac, always from a PC :/ Although my clips weren't flashing, they were just not appearing... Still haven't figured out why it's happening :( On 8/20/06, Nick Kuh [EMAIL PROTECTED] wrote: Further to this post I

RE: [Flashcoders] Flash 8 generate xml file for input

2006-08-20 Thread Paul Steven
Thanks Tom and Julien - very useful links and advice. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of julien castelain Sent: 19 August 2006 13:00 To: Flashcoders mailing list Subject: Re: [Flashcoders] Flash 8 generate xml file for input hi paul, maybe

RE: [Flashcoders] Strange flashing bug

2006-08-20 Thread Paul Steven
I had a similar problem with graphics not appearing, mine being jpgs from the library that I had placed on the stage. Originally I just placed the jpg (bitmap) directly on the stage and when published they were not appearing. However when I made the jpg a group (CTRL - G), this seemed to solve the

[Flashcoders] Import fonts at runtime

2006-08-20 Thread Paul Steven
My application allows users to type text using a font chosen from a drop down list of fonts. I was wondering if it is possible to import the actual font at runtime rather than embedding all the fonts (there may be about 100 fonts). Hence I would have a folder containing a ttf file or swf for

Re: [Flashcoders] ClassFactory and Reflection in Actionscript 3.0

2006-08-20 Thread Jens Halm
I'm coding an introspection framework for as3, but i have a problem by creating instance at runtime without using new operator. I have no problem to create instances of classes with no operators at its construction function. The code is this one: public class ClassFactory{ public

[Flashcoders] Workflow question: attaching scripts to external movieClips

2006-08-20 Thread js
I was searching for a solution to an issue that I am having and I came across a post in the Flashcoders archive from 2005. The post describes exactly the same issues I am having right now, but it was unfortunately never answered. If anyone can address the issues described in the post below, it

[Flashcoders] strange scope behaviour

2006-08-20 Thread Martin Weiser
Hello, just take a while and try this: function area55() { if (_root) { trace(_root true) function f() { var g; var h; } } //g=0 trace(f +f) function h() { } function jj() { for (var i in this) { trace(i+ : +this[i]); } } jj(); } area55(); and this: function area55() { function

[Flashcoders] Cant access sound.id3 tags despite seemingly correct crossdomain.xml file

2006-08-20 Thread hank williams
I cant access my sound file's ID3 tags. My crossdomain.xml file is at the root of storage.elroynetworks.com and all of my sound files are there. But the the flash security system wont let me access the ID3. I can of course access the sound. Here is my crossdomain.xml ?xml version=1.0 ? -

Re: [Flashcoders] RE: Best way to learn OO Analysis and Design with ActionScript

2006-08-20 Thread John McCormack
I am very interested in this topic since I really need to adopt OOP and UML to get a better overview of the tasks I am trying to code for.The books look very useful.This article is really good on UML... http://bdn.borland.com/article/0,1410,31863,00.html I am trying to create a math's Fraction

Re: [Flashcoders] ClassFactory and Reflection in Actionscript

2006-08-20 Thread Miguel Serrano
Oh, it's very sad. I developed a script language that can be loaded and run at runtime in a flash movie. At this moment I can create instances with no arguments, it's very impressive, but if I can not pass arguments I can't continue the project. I'm coding an introspection framework for

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-20 Thread Peter O'Brien
Hey guys thanks for the code and input. The route I think I'm taking because it's html text and formatted, is to keep trimming at br's and checking if page is not too high. The page to print symbol I'm using has an aspect ratio for an A4 page (1: 1.414) and one big html text field (with 20px

Re: [Flashcoders] ClassFactory and Reflection in Actionscript

2006-08-20 Thread John McCormack
Could you send the parameters/arguments into a text file and retrieve them from there using loadVars? John - Original Message - From: Miguel Serrano [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Sunday, August 20, 2006 6:45 PM Subject: Re: [Flashcoders] ClassFactory and

RE: [Flashcoders] strange scope behaviour

2006-08-20 Thread Andreas Weber
AS 1 and 2 actually do have a strange (buggy?) way to handle function definitions in block statements like for, catch, try, finally and if. As there is no block-level scope in ActionScript we'd expect that function definitions are scoped to the parent timeline / surrounding scope - however they

Re: [Flashcoders] RE: Best way to learn OO Analysis and Design with ActionScript

2006-08-20 Thread james
I am trying to create a math's Fraction object that can relate to various realities in which in can apply itself. Does anyone know of any detailed examples of state diagrams and activity diagrams? Under images on google I have searched for State Diagram etc but I need deep, practical

[Flashcoders] FLV, attachMovie, and missing controls

2006-08-20 Thread Jeff Jonez
I have a 4 megabyte flv file that loads via attachMovie into my swf file. When I run from my computer everything works fine. Once I post the swf on the net, the controls (play, pause, volume) disappear when I load the movie. Any tips? Thanks, Jeff ___

[Flashcoders] [Ann-FlashDev-Syd] Flash's 10th Birthday Celebrations

2006-08-20 Thread Chris Velevitch
The next meeting on the 28th August is a special 10th birthday celebration fro Flash. There'll be a special presentation by Kevin Lynch, Mike Downey, Mike Chambers and Eric Wittman, all of Adobe. There'll give-a-ways and prizes including software to those who rsvp. The meeting is on at 6:30pm

Re: [Flashcoders] RE: Best way to learn OO Analysis and Design with ActionScript

2006-08-20 Thread Anthony Lee
also, I came to Flash recently (as in about 6 weeks ago) and I found it very useful to get all the information in one place, i.e. does AS2 have abstract interfaces?, is there try...catch construct for unit testing with assertions?, are classnames treated as types, can you override the

Re: [Flashcoders] PRINTJOB HELL, PRINTJOB NIGHTMARE with several PAGES

2006-08-20 Thread Haikal Saadh
My approach to printing oodles of multiline text is to let the browser do it: * When the print button is pressed, save the contents of the text field to a Local Shared Object * Open up an empty HTML page, which has as invisible flash movie which can then: o Read that

[Flashcoders] htacess and loaded SWFs

2006-08-20 Thread Jay Bibby
Hi folks, I've spent all evening trying to find an answer to this question, and I've just recently subscribed to this list, so I apologize in advance if this has already been covered. I have set up a directory to serve up SWFs from with an htaccess file that prevents direct access to the SWFs

Re: [Flashcoders] htacess and loaded SWFs

2006-08-20 Thread Haikal Saadh
This would be why: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=b06f1712 Currently the SWF format does not include HTTP referrer information when sending http requests. Macromedia is aware of this issue and is considering possible future solutions. Jay Bibby wrote: Hi folks,

[Flashcoders] Component bug after converting to compiled clip

2006-08-20 Thread Telmo Dias
Hello everyone, I have been working with flash since version 4, though I only started my first steps on to component development 5 months ago. I have successfully developed a few components, like a tooltip manager, a movieclip scrollbar and a combo box. The reson I write you is because on

RE: [Flashcoders] htacess and loaded SWFs

2006-08-20 Thread Robin Burrer
Hi there, Does anybody know if there is free weather forecast web-service? I went to the yahoo website but all I could find is an RSS feed, which seems to be a bit buggy. Plus it only gives you the forecast the next day. Thanks Robin -Original Message- From: [EMAIL PROTECTED]

RE: [Flashcoders] htacess and loaded SWFs

2006-08-20 Thread Bjorn Schultheiss
Hey Robin, Try http://www.webservicex.net/WS/WSDetails.aspx?CATID=12WSID=56 I used ServiceCapture on Eric Dolecki's blog www.ericd.net and found it in the traffic logs Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED]

[Flashcoders] RE: weather web service

2006-08-20 Thread Robin Burrer
Thanks Bjorn, This one seems to be a bit better than the Yahoo feed. What I like about the yahoo feed though is that it returns you a weather code for each weather condition (e.g. 29 for cloudy). This is really handy if you want visualize the current weather condition. Well I guess you can't

[Flashcoders] Live Preview and Laying out Components

2006-08-20 Thread Haikal Saadh
Doing a little looking about Flash Components, and I've made some skinnable components. Now, in the default instance, they're quite boring, the idea being that you associate them with various movie clip instances in the Library to customise the look of these components. (I.e, each instance on