RE: [Flashcoders] Weird getURL behavior

2006-08-07 Thread Darren Bowers
Yeah we had this issue for a while now - not just FP8 does it. It doesn't work on my machine but will on a random machine I use. We use it a lot for CDROM learning materials we create. We used to do some JavaScript in the getURL before FP8 came out but it throws a security exception now so we

[Flashcoders] Reporting load success from a delegate

2006-08-10 Thread Darren Bowers
Wat is the easiest way to report back success or failure at the time the class (myClass) is instantiated? Since doSomething() has taken control of the load handling, I cant pass a value back via the constructor function of load success. Any help would be appreciated. import mx.utils.Delegate;

RE: [Flashcoders] Reporting load success from a delegate

2006-08-10 Thread Darren Bowers
with a capital letter (MyClass in stead of myClass). Darren Bowers wrote: Wat is the easiest way to report back success or failure at the time the class (myClass) is instantiated? Since doSomething() has taken control of the load handling, I cant pass a value back via the constructor

[Flashcoders] aslib HashTable key

2006-08-14 Thread Darren Bowers
to create a unique key for a hashtable (a number) based on a string that could effectively be any length? What does Number(num:Object) actually do with the object passed to it? cheers, Darren Bowers Learning Media Specialist WestOne Services Department of Education and Training 1 Prospect

RE: [Flashcoders] aslib HashTable key

2006-08-14 Thread Darren Bowers
len) { // (hash5)-hash always = 31 (prime#) hash = (hash5)-hash + str.charCodeAt(offset++); } return hash; } any thoughts or should I just run with it? _ From: Darren Bowers Sent: Mon 14/08/2006 5:06 PM To: 'flashcoders@chattyfig.figleaf.com' Subject: [Flashcoders] aslib

RE: [Flashcoders] aslib HashTable key

2006-08-14 Thread Darren Bowers
={id:SomeID,href:http://somesite.com http://somesite.com }; myTable[myObject.id]=myObject; trace(myTable[SomeID].href); // gives http://somesite.com http://somesite.com HTH, Ian On 8/14/06, Darren Bowers [EMAIL PROTECTED] wrote: ok, after scouring some Java sites and their buglists I have come

[Flashcoders] debugger weird behaviour

2006-08-16 Thread Darren Bowers
When I try to debug a function in one of my classes, as soon as some code tries to get a property from a class using a Get function, all the local variables in the local window disappear when it returns back to the original function. Is this normal behaviour? this is the function I am debugging:

RE: [Flashcoders] Classes, Components and a Greyed out box ...

2006-08-21 Thread Darren Bowers
Hi Stephen, Check the linkage properties of the component in the library and uncheck export in first frame. HTH -Original Message- From: Stephen Ford [mailto:[EMAIL PROTECTED] Sent: Monday, 21 August 2006 3:15 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Classes,

[Flashcoders] Multiline text in a Tree Component

2006-08-22 Thread Darren Bowers
Hi all, I am having a major pain implementing a multiline textfield in a Tree component using the Cellrenderer API. I am using the basic multiline code framework from Macrodobe here: ttp://www.adobe.com/support/documentation/en/flash/fl8/samples.html

RE: [Flashcoders] Multiline text in a Tree Component

2006-08-23 Thread Darren Bowers
] Behalf Of Darren Bowers Sent: Tuesday, August 22, 2006 11:07 AM To: Flashcoders mailing list Subject: [Flashcoders] Multiline text in a Tree Component Hi all, I am having a major pain implementing a multiline textfield in a Tree component using the Cellrenderer API. I am using the basic

RE: [Flashcoders] Changing the Volume of a loaded FLV

2006-09-06 Thread Darren Bowers
Karim, Are you using the FLVPlayback component? If you are then you need to apply the volume to the FLVPlayback Object not create a new sound object. E.g. my_FLVPlybk.volume = 0; If not, then you need to create a new sound object and attach it to the MC you want to adjust: E.g. var my_vol =

Re: [Flashcoders] Need help

2007-02-08 Thread Darren Bowers
Hi Abhi, We have looked into PDF server and it is a nice solution for student forms, assignments, worksheets, etc - if you are willing to pay the large amount Adobe asks to buy it. Its not a trivial amount. You will definitely need to wrap your SWF into Zinc to keep or update persistent user

Re: [Flashcoders]problem with embeded fonts

2007-02-19 Thread Darren Bowers
If you want bold to appear for any text field (that doesnt have bold selected), you can just create a dummy text field off-stage and put some bold text of that font into it. It doesnt matter what you write as long as the field off-stage is a dynamic text field. I use it a lot with HTML font

Re: [Flashcoders] XPathAPI recursive XML search

2007-02-27 Thread Darren Bowers
cant remember where i found this, but i use it quite a lot. Just drop the xml root node in as your source node and it will return an array of all node names that match your query string. /* ** Function: findAllTag(source:XMLNode, key:String):Array ** ** Purpose: Recursively searches for,

[Flashcoders] Mouse event handlers

2007-03-07 Thread Darren Bowers
Hi all, I have a grid of mc's arranged in a square. When you click on any one of the mc's the mc changes appearance (ie inactive to active, active to inactive) - pretty simple. I am trying to create a group of handlers that detect if the mouse is held down and wiped across the other mc's. If it

Re: [Flashcoders] Mouse event handlers

2007-03-08 Thread Darren Bowers
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Bowers Sent: donderdag 8 maart 2007 5:56 To: Flashcoders mailing list Subject: [Flashcoders] Mouse event handlers Hi all, I have a grid of mc's arranged in a square. When you click on any one of the mc's the mc changes appearance

Re: [Flashcoders] Mouse event handlers

2007-03-08 Thread Darren Bowers
listener then onMouseMove = function () { your code here ... (like hitTest ...) } quite abstract, but if you paste some code, I may be able to interpret my idea :S hth, Cedric cant you check for onMouseDown and then while its down, do a hitTest on mcs? - eric On 3/8/07, Darren Bowers

[Flashcoders] problems with getURL and local frame targeting in FP9

2007-05-30 Thread Darren Bowers
I have a two frame page - the left frame is a custom flash Tree object that parses an IMS-compliant manifest (basically a tree menu structure) and the right frame displays the page/object in that manifest. If i run this from a server, it works fine and displays all links in the right frame. But

Re: [Flashcoders] problems with getURL and local frame targeting in FP9

2007-05-31 Thread Darren Bowers
I tried the Access network only and it would work great but I have to load a number of XML files locally to build the Tree structure. This prevents access to these files. I have been searching Adobe and the net for ages and I cant find any official reference to this change in behaviour as a

[Flashcoders] Weird testing behaviour

2007-06-07 Thread Darren Bowers
Here's a weird one: I created a frame 1 preloader that simply displays load progress onscreen and then issues a nextFrame() command when it's done. When I run it in the IDE, it works fine and runs as expected. If I publish it to a website, it also works as expected. If I Simulate Download in the

Re: [Flashcoders] problems with getURL and local frame targeting in FP9

2007-06-07 Thread Darren Bowers
becuse you are running inside the local security sandbox anyway. Big thumbs down to Macradobe on this one. On 31/05/07, Darren Bowers [EMAIL PROTECTED] wrote: I tried the Access network only and it would work great but I have to load a number of XML files locally to build the Tree structure

[Flashcoders] Selecting All in a TextArea

2007-06-22 Thread Darren Bowers
I am trying to create a Select All button for a textArea component and I cant seem to get the selected text to stay selected. It gains focus, selects the text and then then unselects itself immediately. Am I missing something here? btnSelectAll.onPress = function() {

Re: [Flashcoders] Selecting All in a TextArea

2007-06-22 Thread Darren Bowers
legend :) why is it you never try the obvious things first?... On 22/06/07, Danny Kodicek [EMAIL PROTECTED] wrote: I am trying to create a Select All button for a textArea component and I cant seem to get the selected text to stay selected. It gains focus, selects the text and then then

Re: [Flashcoders] getURL with doc doesn't work in IE

2007-07-26 Thread Darren Bowers
Hi Daniel, Yes we have encountered this quite a lot as we used to link to quite a few docs from a flash movie from CDROMs. Never really had a fix for it except to create an HTML document that automatically redirected to the DOC from within. Problem was, you couldnt send a query string to the

[Flashcoders] Depth issues...

2007-08-07 Thread Darren Bowers
I have written a class that simply creates movieclips (grids) on screen. It draws everything from actionscript so no library items are required. However, I am passing this class on to developers that will use it as they see fit. The problem is with the depth management. It seems I am stuck with

Re: [Flashcoders] Depth issues...

2007-08-07 Thread Darren Bowers
Thats great! exactly what I was looking for. cheers, Darren On 07/08/07, Jack Doyle [EMAIL PROTECTED] wrote: I ran into the same problems a while back. I created a LevelsManager class to get around it which you can set to hijack the getNextHighestDepth() function. That way, you can run one