[Flashcoders] How to remove scrollbar on Flash Paper via Flash Paper component

2007-02-01 Thread Paul Steven
Hi list I am using the FlashPaper Component 0.7 to display flashpaper elements in my Flash movie (Flash 8 PC CDROM) Does anyone know how to remove the scrollbar? I have managed to remove all the other UI elements with the following code but a scrollbar is still appearing on the right hand side.

[Flashcoders] Transformation Matrix to MovieClip properties

2007-02-01 Thread Andre
Hi, I'm working on a jsfl script that should get movieclips properties for future use. Taking a look at the jsfl reference, I realized that's possible to get the Transformation Matrix of an element, instead of getting the _xscale, _yscale and _rotation directly. The thing is I didn't get it how

Re: [Flashcoders] How to remove scrollbar on Flash Paper via FlashPaper component

2007-02-01 Thread Muzak
google http://www.google.com/search?hl=enq=flashpaper+component+remove+scrollbarmeta= http://blog.lastashero.com/flash_actionscript/ - Original Message - From: Paul Steven [EMAIL PROTECTED] To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com Sent: Thursday, February 01,

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

2007-02-01 Thread Keith Salisbury
Funny enough, they are also less widely known as the Four Gangsters after a someone with limited English skills referred to them this way at a conference. Perhaps it was actually English skillz ;-) ___ Flashcoders@chattyfig.figleaf.com To change

RE: [Flashcoders] How to remove scrollbar on Flash Paper viaFlashPaper component

2007-02-01 Thread Paul Steven
Thanks Muzak Strange as I did google it and didn't come up with anything though it was the wee early hours of the morning and I was not fully functional!! Cheers anyway - that looks like just the trick! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

[Flashcoders] Antialiasing BitmapData in AS2?

2007-02-01 Thread Henry Cooke
Hey all, I've been mucking about with a metablob-type thing, and have got it rendering quite nicely. However, it only renders a black-or-white (1bit) bitmap - does anyone know of a good technique to do fast antialiasing on such a bitmap? I've tried blurring a bit (which is slow as hell, and

Re: [Flashcoders] SCORM?

2007-02-01 Thread Dave Mennenoh
Thanks for all the info on SCORM, it really helped a lot. Carolina mentioned using objectives to record all 21 answers. Nice idea... But I'm not entirely sure about what you mentioned regarding having to initialize them all first. I have an array of 21 values - can I just iterate that and set

[Flashcoders] streaming SWF

2007-02-01 Thread Thomas Silver
Hi there! Is it it possible to play a loaded swf without it being fully downloaded? Right now I'm using the movieClipLoader class to download a big swf animation but it won't play until it's downloaded completely. The strange thing is that it does display the first frame of the target swf (this

Re: [Flashcoders] streaming SWF

2007-02-01 Thread Hans Wichman
Hi, yes it is, but if you have a very big movie, and everything is exported on frame 1, it almost amounts to the same thing as waiting until its fully loaded. greetz JC On 2/1/07, Thomas Silver [EMAIL PROTECTED] wrote: Hi there! Is it it possible to play a loaded swf without it being fully

[Flashcoders] Q:Extending Class with Static Variables, recommended practice

2007-02-01 Thread moveup
Hi I'm cuurrently refactoring some code in a project with lots of extended classes. What is the recommended practice in declaring static vs non-static (private static vs private) variables? Should they be declared in both the super and sub classes? My goal is to avoid any redundant code. Thanks

Re: [Flashcoders] streaming SWF

2007-02-01 Thread Thomas Silver
Yes! now it works...great! Thank you JC! Thomas On 2/1/07, Hans Wichman [EMAIL PROTECTED] wrote: Hi, yes it is, but if you have a very big movie, and everything is exported on frame 1, it almost amounts to the same thing as waiting until its fully loaded. greetz JC On 2/1/07, Thomas

[Flashcoders] Flash 8 Pro - new interface (for me)

2007-02-01 Thread BOYD SPEER
just a quick question.. I just upgraded to Flash 8 and am switching back to Flash after a Director project so my mind is trying to overcome inertia and go back to actionscript mode. Is there a way in Flash 8 to search all scripts in a project for instances of a phrase (as we can in

RE: [Flashcoders] Flash 8 Pro - new interface (for me)

2007-02-01 Thread Alain Rousseau
While in the workspace you can do CTRL-F (PC) or Command-F (Mac) to open the search window. It will search in all frames, all clips, etc ... Alain -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of BOYD SPEER Sent: 1 février 2007 09:32 To: Flashcoders

Re: [Flashcoders] Flash 8 Pro - new interface (for me)

2007-02-01 Thread Matthias Dittgen
in the german version it is called Film Explorer (Alt+F3), where you can look through your scripts and such. If you speak of class file (.as-Files), I suggest using some external tool. hth, Matthias 2007/2/1, BOYD SPEER [EMAIL PROTECTED]: just a quick question.. I just upgraded to Flash 8 and

[Flashcoders] Job - Flash Designer

2007-02-01 Thread Bill Abel
Birmingham, AL Flash Designer About The Slaughter Group: The Slaughter Group is a brand development firm providing sound strategy and exceptional creativity in Corporate and Brand Identity and Strategic Design. The firm has a depth of experience in serving clients with the highest

Re: [Flashcoders] Job - Flash Designer

2007-02-01 Thread Bill Abel
Send inquiries/resumes/portfolios to [EMAIL PROTECTED] On Feb 1, 2007, at 9:02 AM, Bill Abel wrote: Birmingham, AL Flash Designer ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Cancelling a load in progress : has this issue ever been fully resolved ???

2007-02-01 Thread David Bellerive
Hi! Just wondering if anyone ever found a solution to stop loading something that is currently loading in the Flash Player (an image, a sound, an XML file, etc.)? I've heard and tried about loading a dummy (non-existent) file in place of the file being loaded to stop the load process. When I

Re: [Flashcoders] Q:Extending Class with Static Variables, recommended practice

2007-02-01 Thread Andy Herrman
You only need to declare things in child classes if you're overriding them, so unless you're doing that you should just declare them in the super class. Also, I tend to think it's bad idea to override variables, but that may just be me. -Andy On 2/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED]

[Flashcoders] Re: Highlighting dates in DateChooser SOLVED

2007-02-01 Thread Jonathan Berry
Hello all, I used the following code to clear all the dates on scroll and to highlight the events each month. Tell me if you think I am just hacking it here and that there is something that is more efficient/correct. Thanks! for(var q=0;q8;q++){ for(var r=1;r7;r++){

[Flashcoders] Detecting NaN

2007-02-01 Thread Andy Herrman
I'm trying to convert an arbitrary object into a Number, and then detect if the conversion actually succeeded. In theory I would convert it and then check if the converted value is NaN, but this doesn't seem to work. Here's my test. In a blank FLA I put the following code: -- var foo

[Flashcoders] sort 2d array

2007-02-01 Thread Kevin . Dowd
Hello, Can anybody tell me how to sort the following array based upon the second value within each array item myArray:Array = [ [20,40],[20,10],[30,15],[30,35],[40,100],[1000,1]]; this should be something like [[1000,1], [20,10], . Faster the better cos its for a game and gets called a

RE: [Flashcoders] Detecting NaN

2007-02-01 Thread Alain Rousseau
Simply use isNAN() method : http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Partsfile=1737.html if (isNAN(fooN)¨{ // do stuff else { // do else stuff } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Flashcoders] sort 2d array

2007-02-01 Thread eka
Hello :) you must creates benchs to test all solutions but the first is the sort() method with a custom method var myArray:Array = [ [20,40], [20,10], [30,15], [30,35], [40,100], [1000,1] ]; var compare:Function = function ( a , b ) { if ( a[1] b[1] ) {

[Flashcoders] 2-d sort solver

2007-02-01 Thread Kevin . Dowd
Hello, aa = [ [20,40],[20,10],[30,15],[30,35],[40,100],[1000,1]]; aa.sort( mySorter) function mySorter(a,b){ if (a[1] b[1]){ return 1 } } for (var i = 0; iaa.length; i++) { trace([ + aa[i][0] + , + aa[i][1] + ]) } returns [ 1000 , 1 ] [

Re: [Flashcoders] 2-d sort solver

2007-02-01 Thread Andy Herrman
Shouldn't your mySorter() function have a return at the end or in an 'else' block? Otherwise you're only returning a value when the condition passes, which isn't really a good idea. -Andy On 2/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, aa = [

[Flashcoders] 1D Perlin Noise

2007-02-01 Thread Mike Cobb
- Hello, Has anybody successfully created a 1-dimensional perlin number generator in actionscript? I had built one in Lingo using this website: http://freespace.virgin.net/hugo.elias/models/m_perlin.htm to help me, but when I converted it into actionscript, the numbers just kept rising!

Re: [Flashcoders] sort 2d array

2007-02-01 Thread Thomas Fowler
/** * @param myArray, sortIndex, left, right * * @usage where myArray is the 2d array you want to sort, sortIndex is *the index of the second array on which you wish to sort, *left is the lower bound of myArray and right is the upper *bound of myArray * */ function

Re: [Flashcoders] Q:Extending Class with Static Variables, recommended practice

2007-02-01 Thread T. Michael Keesey
On 2/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I'm cuurrently refactoring some code in a project with lots of extended classes. What is the recommended practice in declaring static vs non-static (private static vs private) variables? Should they be declared in both the super and sub

[Flashcoders] fullscreen javascript

2007-02-01 Thread Gustavo Duenas
hi guys Iknow this is not for javascript but I think you might know of this, is a easy thing, I'm trying to open a browser window fullscreen, using javascript, in safari looks great and maybe in IE but in firefox, open the window but less than I expect in size. the code is. If one of you

Re: [Flashcoders] sort 2d array

2007-02-01 Thread Joshua Sera
Just as a fun thing to do on the side, I'd try researching priority queues, which were designed for exactly this sort of problem. They get used a lot in pathfinding algorithms for games, which probably makes them doubly relevant. --- [EMAIL PROTECTED] wrote: Hello, Can anybody tell me

Re: [Flashcoders] fullscreen javascript

2007-02-01 Thread Helmut Granda
Gustavo, the fullScreen command only works in IE (I didnt know it did work in Safari). So you have to look for an alternative to launch a fullscreen in FF/Netscape/Moz On 2/1/07, Gustavo Duenas [EMAIL PROTECTED] wrote: hi guys Iknow this is not for javascript but I think you might know of

Re: [Flashcoders] fullscreen javascript

2007-02-01 Thread Gustavo Duenas
well it works on safari, there is a way to detect the browser type in order to redirect or to open a window Regards. On Feb 1, 2007, at 1:58 PM, Helmut Granda wrote: Gustavo, the fullScreen command only works in IE (I didnt know it did work in Safari). So you have to look for an

Re: [Flashcoders] Q:Extending Class with Static Variables, recommended practice

2007-02-01 Thread Paul V.
Hi, I am not an expert, but from what I have read. Private variables, don't need to be declared, so if you don't need them outside the function, or event I think you can keep things neat by not declaring them at all until you assign them. And non-static variables, (dynamic variables) I would

[Flashcoders] controlling quicktime and windows media player from flash via javascript

2007-02-01 Thread Josh Santangelo
Longest. Subject line. Ever. I have a project which requires a Flash UI to control either a Quicktime or Windows Media Player plugin instance (based on a user preference). I'm guessing the way to do this is using externalinterface, javascript, and each player's respective UI. I can

Re: [Flashcoders] Q:Extending Class with Static Variables, recommended practice

2007-02-01 Thread Andy Herrman
I think you might be a bit confused. private variables aren't ones that are just used in individual functions, but are data that the class needs to persist but doesn't want visible to those using the class. These should always be declared (and I think they have to be or the compiler will choke,

Re: [Flashcoders] fullscreen javascript

2007-02-01 Thread Andy Herrman
It would probably be better if you find one solution that works for all browsers (that you want to support) instead of trying to switch between different methods for different browsers. Browser detection isn't always completely accurate, and it adds unnecessary complexity. We do something like

RE: [Flashcoders] fullscreen javascript

2007-02-01 Thread Hairy Dog Digital
Gustavo, You could write a Javascript function that resizes the browser window to screen size. it's not exactly the same and maximizing, but it would fill the screen. ...Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent:

Re: [Flashcoders] Q:Extending Class with Static Variables, recommended practice

2007-02-01 Thread T. Michael Keesey
On 2/1/07, Andy Herrman [EMAIL PROTECTED] wrote: Even if you're extending Object (so you can do things like this.foo = stuff without foo being declared) it's still a good idea to declare them. Actually, you have to even if extending Object. The only time you don't have to declare private

[Flashcoders] (no subject)

2007-02-01 Thread Robert W Johnson
hi ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training

[Flashcoders] Flash diagnostic tools

2007-02-01 Thread David Ham
I am working on a Flash app and it is starting to exhibit some performance problems. Is there any tool or technique people use to analyze Flash apps as they are running? Aside from the beloved trace () of course? Thanks for any advice you can offer, OK DAH

[Flashcoders] Simple clip stop problem?

2007-02-01 Thread Martin Scott Goldberg
Hey all, I'm having what should be a simple thing turn in to a problem. Have a ship sprite for my game, that's a movie clip. I designed it with two layers (one for the images, one for actionscript). The clip contains three sections - 1) Plain ship (1 keyframe), 2) Ship with engine on (1

Re: [Flashcoders] Detecting NaN

2007-02-01 Thread Brandon Barkley
Andy, Like the other poster said, us isNaN, but I was also curious about why this might be true. I found this link on the subject that will be helpful (original page down):

Re: [Flashcoders] Simple clip stop problem?

2007-02-01 Thread Helmut Granda
The way you described it should work, maybe there is something else that is triggering the loop. What else is happening on your stage after the explosion? On 2/1/07, Martin Scott Goldberg [EMAIL PROTECTED] wrote: Hey all, I'm having what should be a simple thing turn in to a problem. Have a

Re: [Flashcoders] Q:Extending Class with Static Variables, recommended practice

2007-02-01 Thread Andy Herrman
Nothing to apologize for. These are the kinds of things that help you become the expert. :) I realized after posting that that it might have sounded a bit degrading towards you, and if it came off that way I didn't mean it to. Just trying to be helpful. -Andy On 2/1/07, Paul V. [EMAIL

Re: [Flashcoders] Simple clip stop problem?

2007-02-01 Thread Joseph McHeffey
Not sure why it would repeat like that. You can try making a new movieclip for the explosion then place that on the 3rd frame. In that case you would just have to call .gotoAndStop(3); --- Martin Scott Goldberg [EMAIL PROTECTED] wrote: Hey all, I'm having what should be a simple thing turn

RE: [Flashcoders] sort 2d array

2007-02-01 Thread neo binedell
Consider: myArray.sortOn( 1, Array.NUMERIC ); From a quick test this is 2-3 times faster than the callback compare way. 10K entries sorted in: sortOn(1) : 5ms sort(compare) : 13ms This works because array indices are considered as

Re: [Flashcoders] Simple clip stop problem?

2007-02-01 Thread Joseph McHeffey
Not sure why it would repeat like that. You can try making a new movieclip for the explosion then place that on the 3rd frame. In that case you would just have to call .gotoAndStop(3); --- Martin Scott Goldberg [EMAIL PROTECTED] wrote: Hey all, I'm having what should be a simple thing turn

RE: [Flashcoders] Flash diagnostic tools

2007-02-01 Thread Trevor Burton
I had similar issues a while ago - there's not a great deal out there, there's asprof ( http://www.nochump.com/asprof/ )- which you'll need to integrate with your code - I've never used it but it looks like it'll do what it says on the tin - there's also Xray ( http://osflash.org/xray ) - which is

[Flashcoders] how do I setvalue and then getvalue between flash and scorm server

2007-02-01 Thread Zhu dan
Hello all, I am working on a flash video learning program. I have encoded the FLV video with 5 cuepoints that set to navigation cuepoint. I have full playback features for this video and five buttons to let the audiences to directly go to the cuepoint if they want to. Here is my problem, I

Re: [Flashcoders] Class Initiation Q:

2007-02-01 Thread eric dolecki
http://www.bit-101.com/blog/?p=857 not sure you can completely get away with code on timeline, unless its an as3 document class. On 2/1/07, Helmut Granda [EMAIL PROTECTED] wrote: I created a simple class for an object that would be attached to the Stage with a simple: attachMovie(blah,

Re: [Flashcoders] sort 2d array

2007-02-01 Thread Thomas Fowler
Sorry, had a 1 instead of SortIndex in there earlier /** * @param myArray, sortIndex, left, right * * @usage where myArray is the 2d array you want to sort, sortIndex is *the index of the second array on which you wish to sort, *left is the lower bound of myArray and right is the

Re: [Flashcoders] fullscreen javascript

2007-02-01 Thread Cay Garrido H.
man, I hate that... ^^ Hairy Dog Digital escribió: Gustavo, You could write a Javascript function that resizes the browser window to screen size. it's not exactly the same and maximizing, but it would fill the screen. ...Rob -Original Message- From: [EMAIL PROTECTED]

[Flashcoders] Q:Hittest and transparent PNG's

2007-02-01 Thread moveup
Hi Does anyone know if there is a way to get hitTest to ignore transparent areas in dynamically loaded PNG's? [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce

Re: [Flashcoders] Q:Hittest and transparent PNG's

2007-02-01 Thread Cay Garrido H.
You could convert it to a bitmapData and check the transparency level with getPixel32... [EMAIL PROTECTED] escribió: Hi Does anyone know if there is a way to get hitTest to ignore transparent areas in dynamically loaded PNG's? [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca

Re: [Flashcoders] Q:Hittest and transparent PNG's

2007-02-01 Thread David Ham
You could also create another movieclip in the shape of the area you want to hitTest, and set the hitArea of your main movieclip to point to it. OK DAH On Feb 1, 2007, at 8:20 PM, Cay Garrido H. wrote: You could convert it to a bitmapData and check the transparency level with

Re: [Flashcoders] Class Initiation Q:

2007-02-01 Thread Alain Rousseau
check out also this link : http://www.osflash.org/flashcoders/as2#creating_a_class_instance_based_on_movieclip_without_a_symbol_in_the_library I've used it a few times and it works great ! Helmut Granda wrote: I created a simple class for an object that would be attached to the Stage with

Re: [Flashcoders] how do I setvalue and then getvalue between flash and scorm server

2007-02-01 Thread Alain Rousseau
if you can use ExternalInterface (Flash 8) or the Javascript Integration Kit (http://osflash.org/flashjs) to communicate back and forth with your LMS. As for having cuepoints triggering your actions you should look up FLVPlayback.cuePoint events

Re: [Flashcoders] Cancelling a load in progress : has this issue ever been fully resolved ???

2007-02-01 Thread Omar Fouad
currently using actionScript 1 or 2 is not possible. AS 3 has this function but if you wont use it so i try loading into the same level or the same container a an swf that doesnt exists. Since you are trying to load an swf into the same level or movie it will override the firsl loading and trying

Re: [Flashcoders] Cancelling a load in progress : has this issue ever been fully resolved ???

2007-02-01 Thread Omar Fouad
*Reviewed ** currently using actionScript 1 or 2 is not possible. AS 3 has this function but if you wont use it so i ADVICE to load an SWF that doesnt exists into the same level or the same container Since you are trying to load an swf into the same level or movie it will override the firsl

Re: [Flashcoders] Cancelling a load in progress : has this issue ever been fully resolved ???

2007-02-01 Thread Omar Fouad
*BUT* if you try to use the same process i told you about to stop loading an xml file. i think the entire flash movie will freeze... Just check it out and let me update Thanks in advance On 2/2/07, Omar Fouad [EMAIL PROTECTED] wrote: *Reviewed ** currently using actionScript 1 or 2 is not

Re: [Flashcoders] RE: Q:Dynamically Scale a MovieClip by dragging

2007-02-01 Thread Omar Fouad
that's soo cool!!! Just what i needed Good work man! I wish i could be fluible with using class that way one day :( add me on your msn [EMAIL PROTECTED] Thanks so much On 2/2/07, Jack Doyle [EMAIL PROTECTED] wrote: To interactively scale/rotate/move any MoveClip in an intuitive way at