[Flashcoders] AS3 ROLL_OVER or MOUSE_OVER ? Which one, and why ?

2007-09-07 Thread Patrick Matte|BLITZ
In the AS3 class MouseEvent, what is the use for ROLL_OVER and ROLL_OUT? They seem to be the same as MOUSE_OVER and MOUSE_OUT... ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.co

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Kerry Thompson
Troy Rollins wrote: > Liar. ;-) > > You went the other way. We kicked you up to FlashCoders. There's a fair amount of truth in that. As I progressed (slowly, very slowly), I finally reached a point where my questions were too advanced for Newbie. Troy did, indeed, suggest that Flashcoders would

[Flashcoders] #SharedObject not so shared

2007-09-07 Thread Troy Gardner
We are running into a baffelling behavior using SharedObject. We have a a few Desktop Flash applications: One is a main application, the other an update utility for the main app. They use a Flash Cookie to find each other, as the main app could be installed anywhere (USB, C). The apps are based

Re: [Flashcoders] Function call from a function

2007-09-07 Thread Troy Rollins
On Sep 7, 2007, at 4:32 PM, Kerry Thompson wrote: I never felt out of place, and, once I felt I had a good enough handle on Flash's way of doing things, I signed up for Flashcoders. Liar. ;-) You went the other way. We kicked you up to FlashCoders. -- Troy RPSystems, Ltd. http://www.rps

RE: [Flashcoders] coding a world clock

2007-09-07 Thread Keith Reinfeld
Thanks again, Marcelo! The DST Policies scheme works wonderfully. Brilliant! I'm sure I read somewhere that you need to delete the Date object once you are done with it. Otherwise it will persist in memory. Have you noticed any memory leaks associated with these calcs? Regards, -Keith

[Flashcoders] Security Sandbox Violation

2007-09-07 Thread Shane Higgins
Can anyone help me with a Security Sandbox Violation that I can't seem to figure out? I'm testing using Flash Player 8 Debug version (IE7 ActiveX and Firefox 2.0.0.6 plugin). I'm trying to load a remote swf (http://xyz.a.server2.net/datadir/data.swf) from a web-hosted swf (http://www.server1.com/

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Kerry Thompson
Lee Marshall wrote: > Sorry is this an advanced forum? Pretty much, yes. Flashnewbie is a better forum when you're just coming up to speed. Not that we don't want you here--it's just that we usually discuss more esoteric issues. Newbie sounds like it's really just very basic, but there are some

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Merrill, Jason
Just simpler IMO, but it's probably slightly better to use a listener I suppose since that's how it's done in AS3 and you can access event.target and such. Either way works Jason Merrill Bank of America GT&O Learning & Leadership Development eTools & Multimedia Team >>-Original Message

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Merrill, Jason
>>Sorry is this an advanced forum? More or less yes, but I still think your question is totally legit here (your asking an actionscript question which isn't totally a newbie thing, it's more intermediate IMO), so don't feel like the thread has to Flashnewbies. Jason Merrill Bank of America GT&O

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Hal Leonard
Jason - Is there any reason for not using the event Listener? Just curious, is all. Hal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, September 07, 2007 12:18 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcod

RE: [Flashcoders] Static without extending Movieclip (2.0)

2007-09-07 Thread Kerry Thompson
T. Michael Keesey wrote: > I'm confused--why would you extend MovieClip for a static class? Or do > you mean something other than "a class that only has static fields and > methods" when you say "static class"? It is confusing, and I'll admit my post wasn’t real clear. "static" has a couple mea

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Lee Marshall
Sorry is this an advanced forum? From: [EMAIL PROTECTED] on behalf of Helmut Granda Sent: Fri 07/09/2007 16:14 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Function call from a function you have scope issues, the function never gets called b

RE: [Flashcoders] RESUME: Senior Flash/Flex Developer

2007-09-07 Thread V HH
The candidate of course Kerry Thompson <[EMAIL PROTECTED]> wrote: > Give him a sample problem and time his generation of a solution Who, the recruiter or the candidate? ;-) Ok, it's Friday. Back to Flash. Cordially, Kerry Thompson ___ Flashcoders@

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Merrill, Jason
>>Should be something more like this. >> >>target_mc.closer_mc.addEventListener("onRelease", >>Delegate.create(this, getPopHolder)); Or, I would just do this instead: target_mc.closer_mc.onRelease = Delegate.create(this, getPopHolder); (Then of course in AS3 you do: theContainer.addEventListen

RE: [Flashcoders] Re: Drawing Advanced Shape

2007-09-07 Thread Hal Leonard
You'll probably have to use the lineTo function in order to draw a compound shape like that. Hal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of macromedia flash Sent: Friday, September 07, 2007 11:11 AM To: flashcoders@chattyfig.figleaf.com Subject: [Fla

Re: [Flashcoders] RESUME: Senior Flash/Flex Developer

2007-09-07 Thread Martin Miller
I have requested resumes from this recruiter after they contacted me... BUT, nothing made it into my inbox... type is cheap... Martin ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figlea

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Paul Venton
target_mc.closer_mc.onRelease = Delegate.create(this, getPopHolder); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee Marshall Sent: 07 September 2007 18:24 To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Function call from a function

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Hal Leonard
target_mc.closer_mc.onRelease = function() { Delegate.create(this, getPopHolder); Should be something more like this. target_mc.closer_mc.addEventListener("onRelease", Delegate.create(this, getPopHolder)); You might be new, but at least you're declaring all your c

[Flashcoders] Re: Drawing Advanced Shape

2007-09-07 Thread macromedia flash
Hi guys..I tried to draw this shapes, but doesn't work for me, does anybody can help me on this? or is there any Tutorials I can learn about ti? I really have to finish it by the end of day.. thanks http://www.minlab.net/upload/files/shapes.swf Have a nice weekend On 9/6/07, macromedia flas

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Merrill, Jason
>>Still not working... I think it is a scoping issue. >> Yup. You're still using anonymous functions: >>swfListen.onLoadInit = function(target_mc:MovieClip):Void { Those don't fly in AS2 classes very well. You can use them once, but anything within them will have only the scope of the specifi

RE: [Flashcoders] caching loaded swfs and jpegs

2007-09-07 Thread Paul Venton
You could use: var urlNoCache:String = (System.capabilities.playerType == "External" ? "?" + getTimer(): ""); Appending urlNoCache to your url will only add a string when played in an external player or test movie. Testing in anything else creates an empty string. Substitute getTimer with wha

Re: [Flashcoders] Static without extending Movieclip (2.0)

2007-09-07 Thread T. Michael Keesey
On 9/7/07, Kerry Thompson <[EMAIL PROTECTED]> wrote: Helmut Granda wrote: > When creating a static class that extends movieclip I'm confused--why would you extend MovieClip for a static class? Or do you mean something other than "a class that only has static fields and methods" when you say "stat

RE: [Flashcoders] RESUME: Senior Flash/Flex Developer

2007-09-07 Thread Kerry Thompson
> Give him a sample problem and time his generation of a solution Who, the recruiter or the candidate? ;-) Ok, it's Friday. Back to Flash. Cordially, Kerry Thompson ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

RE: [Flashcoders] caching loaded swfs and jpegs

2007-09-07 Thread Hal Leonard
Andrew - There's a cachebuster class put out by communityMX, but it basically just encapsulates the random number. Some people do a random number based on the date and time, but it all equates to roughly the same thing. Hal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Lee Marshall
Still not working... I think it is a scoping issue. Here's my code (Excuse the bloat, I am very much learning!) import flash.filters.DropShadowFilter; import mx.utils.Delegate; class PopupIll { //Initialise variables public static var t:MovieClip; public static var ref:M

Re: [Flashcoders] RESUME: Senior Flash/Flex Developer

2007-09-07 Thread V HH
Give him a sample problem and time his generation of a solution Beau Gould <[EMAIL PROTECTED]> wrote: My candidate is a Senior-level Flash, Flex and Web Developer with an extensive background in OOP/OOD currently working for an interactive agency in New York City. He has 6+ years experience worki

RE: [Flashcoders] Static without extending Movieclip (2.0)

2007-09-07 Thread Kerry Thompson
Helmut Granda wrote: > When creating a static class that extends movieclip it loads into > another movie properly but if I do not extend the static class to > movieclip the movie remains. Does anyone has any idea why this > specific behavior happens? I think it's part of the architecture. I assu

[Flashcoders] caching loaded swfs and jpegs

2007-09-07 Thread Andrew Sinning
I have 2 questions about the caching of loaded files: I'm building a wrapper movie around the Loader and ProgressBar classes. During testing from within Flash, once I've loaded a file it remains cached by the Flash Player. This makes it hard to test the loader. I've had to add a random numb

Re: [Flashcoders] stage.stageheight bug in as3

2007-09-07 Thread Matt Muller
you shouldnt have to do that :) On 9/7/07, Muzak <[EMAIL PROTECTED]> wrote: > > trace("- stageHeight = " + stage.stageHeight); > > function stageResizeHandler(evt:Event):void { > trace("Application ::: stageResizeHandler"); > trace("- stageHeight = " + stage.stageHeight); > } > stage.addEv

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Merrill, Jason
>> Function function1() >> { >> target_mc.closer_mc.classRef = this; >> target_mc.closer_mc.onRelease = function() >> this.classRef.removeMC(); >> }; >> } That's how I used to do it before I discovered Delegate. I

[Flashcoders] how to resize loaded external swf when stage resize

2007-09-07 Thread giovanni pagliarulo
I have produced a bunch of swf files. Positions and dimensions of interface elements in these swf files is inside stage resize event listeners functions... alone they work really fine. Now I'm loading these swf files as external files in a 'hosting' file to make a sort of gallery of all my as3 a

[Flashcoders] Re: Static without extending Movieclip (2.0)

2007-09-07 Thread Helmut Granda
Figured it out, it wasnt the static class but the way the whole project was built. :\ On 9/7/07, Helmut Granda <[EMAIL PROTECTED]> wrote: > > When creating a static class that extends movieclip it loads into > another movie properly but if I do not extend the static class to > movieclip the movie

Re: [Flashcoders] the disappearing menu

2007-09-07 Thread Helmut Granda
No issues here... (MAC OSX) On 9/7/07, Corban Baxter <[EMAIL PROTECTED]> wrote: > > hey guys can you all take a look at this site for me really quickly? I am > getting a strange problem with a menu i built but it only happens on mac. > ok > o here is the url... > > http://livemodernhomes.com/test/

Re: [Flashcoders] getURL issues with IE (was: tracking & travelling)

2007-09-07 Thread Helmut Granda
On 9/7/07, Paul Freedman <[EMAIL PROTECTED]> wrote: > > > > which explained everything and included this: > getURL("javascript:location.href='http://www.google.com' > ;javascript:doSometh > ingElse();"); Nice - Another way that has fixed this issue is firing one getURL and then wait 500ms with a

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Hal Leonard
You have a scoping issue. It's looking for removeMC() on your target_mc.closer_mc clip. Try out some event listening and function delegating. Hal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lee Marshall Sent: Friday, September 07, 2007 7:48 AM To:

Re: [Flashcoders] stage.stageheight bug in as3

2007-09-07 Thread Helmut Granda
MaTT: This "bug" has been there since Flash 8, ( i think it has been there since flash MX but dont have it to confirm it). Muzak: Thanks for the code On 9/7/07, Muzak <[EMAIL PROTECTED]> wrote: > > trace("- stageHeight = " + stage.stageHeight); > > function stageResizeHandler(evt:Event):voi

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Geoff Bower
Its quite hard to figure out the problem without more code, but it sounds like a scope issue. Try assigning a reference to the class on the button: //DOESN'T WORK Class myClass { Function function1() { target_mc.closer_mc.onRelease = function()

Re: [Flashcoders] Function call from a function

2007-09-07 Thread Andy Herrman
You're having scope issues. When the onRelease function is called its scope is the movie clip (closer_mc), not the class. Try this: At the top of your class' file: import mx.utils.Delegate; Then define the onRelease function this way: target_mc.closer_mc.onRelease = Delegate.create(this, re

Re: [Flashcoders] Function call from a function

2007-09-07 Thread eric e. dolecki
can we see all the code? probably a scoping issue. On 9/7/07, Lee Marshall <[EMAIL PROTECTED]> wrote: > > I have created a Class that has 2 functions within it > > Function 1 loads a movie clip > > Function 2 removes the movieclip > > > I have a button setup in function 1 that reads like this: > >

Re: [Flashcoders] Function call from a function

2007-09-07 Thread Helmut Granda
you have scope issues, the function never gets called because the MovieClip cant "see" it. target_mc.closer_mc.onRelease = function() _parent.removeMC(); }; or if you are in AS2 you can also use Delegate target_mc.closer_mc.onRelease = Delega

RE: [Flashcoders] Function call from a function

2007-09-07 Thread Merrill, Jason
Within a class, you're losing scope because you are assigning the onRelease to an anonymous function - i.e. a function that has no name and only exists in the first function. So it's not going to have scope, and this not be able to "see" removeMC(). For Actionscript 2, use Delegate instead: targ

[Flashcoders] Static without extending Movieclip (2.0)

2007-09-07 Thread Helmut Granda
When creating a static class that extends movieclip it loads into another movie properly but if I do not extend the static class to movieclip the movie remains. Does anyone has any idea why this specific behavior happens? Basically I have 10 movies and 9 of them were built the normal way but this

Re: [Flashcoders] stage.stageheight bug in as3

2007-09-07 Thread Muzak
trace("- stageHeight = " + stage.stageHeight); function stageResizeHandler(evt:Event):void { trace("Application ::: stageResizeHandler"); trace("- stageHeight = " + stage.stageHeight); } stage.addEventListener(Event.RESIZE, stageResizeHandler); regards, Muzak - Original Message ---

[Flashcoders] Function call from a function

2007-09-07 Thread Lee Marshall
I have created a Class that has 2 functions within it Function 1 loads a movie clip Function 2 removes the movieclip I have a button setup in function 1 that reads like this: target_mc.closer_mc.onRelease = function() removeMC(); }; Of

Re: [Flashcoders] how to read a plain text file

2007-09-07 Thread Andrew Sinning
thanks Hans! ___ 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] getURL issues with IE (was: tracking & travelling)

2007-09-07 Thread Paul Freedman
First, thanks to Glen, who answered. When this started, all I knew was that I had two getURL()s in quick succession. Two weeks ago when I first tested this process it worked in both FireFox and IE. Tuesday, when I had to deliver a finished product, it didn't work in IE. My original test was almos

Re: [Flashcoders] Flash CS3 UI Bug

2007-09-07 Thread Cedric Muller
just don't use the IDE. Actions Panel should be disabled. It seems that the best is to NOT open any panel and to work with a screen switched off... :( Cedric This is what I saw when I opened a project file this morning: http://muzakdeezign.com/flashcoders/fcs3_ui_bug.jpg Other UI bugs

Re: [Flashcoders] coding a world clock

2007-09-07 Thread Corban Baxter
nice move john much appreciated! On 9/6/07, John VanHorn <[EMAIL PROTECTED]> wrote: > > yes, the flash Date object provides all the necessary properties to > calculate the time for different time zones, but it still wont be accurate > if the user's clock is off. > > for more accuracy, youll need t

[Flashcoders] stage.stageheight bug in as3

2007-09-07 Thread Matt Muller
put this in an empty doc on the first frame trace('stage.stageHeight = ' + stage.stageHeight); if you publish with the bandwidth explorer open it shows the stageheight as 100 px less than it is. - MaTT ___ Flashcoders@chattyfig.figleaf.com To change y

[Flashcoders] the disappearing menu

2007-09-07 Thread Corban Baxter
hey guys can you all take a look at this site for me really quickly? I am getting a strange problem with a menu i built but it only happens on mac. ok o here is the url... http://livemodernhomes.com/test/the_studio.html now on the homepage when the profile loads a menu appears on the far left sid

Re: [Flashcoders] how to read a plain text file

2007-09-07 Thread Hans Wichman
Hi, yep use the onData instead of onLoad for loadvars. greetz JC On 9/7/07, Andrew Sinning <[EMAIL PROTECTED]> wrote: > > In AS2, is it possible to read in a plain text file. I've used LoadVars > and XML.load(), but in this instance I want to read all of the data into > a single variable. All

[Flashcoders] how to read a plain text file

2007-09-07 Thread Andrew Sinning
In AS2, is it possible to read in a plain text file. I've used LoadVars and XML.load(), but in this instance I want to read all of the data into a single variable. All I can think of is using a php script to url encode the text. I.e. echo ("txt=".urlencode(fread ($file, filesize ($filename))

Re: [Flashcoders] RESUME: Senior Flash/Flex Developer

2007-09-07 Thread Ricky Bacon
eric e. dolecki wrote: come on... is this really the place? Beau is well known in a few circles and has been kicked from at least one other list I'm on. His sock puppets were kicked too. -Ricky ___ Flashcoders@chattyfig.figleaf.com To change your

[Flashcoders] AIR & SWFLoader Question

2007-09-07 Thread eric e. dolecki
I have a SWFLoader in Flex 3 that runs in a transparent application. I have the SWFLoader set to 100% height of the application window its in. I have a local SWF that I load in there, and I want it to resize the Flash to the height of the window. The SWF loads in fine, but the onResize() in the SWF

Re: [Flashcoders] Print Rows DataGrid

2007-09-07 Thread Geografiek
Hi Veiky, How about cloning your data grid to a seperate frame and scale it down, so that all rows fit on stage (so small they are probably unreadable on screen). You can set this frame as the target to be printed. HTH, Willem van den Goorbergh Op 6-sep-2007, om 16:43 heeft Vivek Gaikwad h

Re: [Flashcoders] Flash CS3 UI Bug

2007-09-07 Thread Cedric Muller
fun. this happens with Flash 8 on OSX. At least for me. I do see these bugs. (OS X French(10.4.10), Flash 8 english) Moreover: I do have the *is currently loading, has not ended* and the *non returned query results* CRASHES since flash mx. (then MX 2004 Pro, then Flash 8, and I know that CS

RE: [Flashcoders] Flash CS3 UI Bug

2007-09-07 Thread Giles Taylor
Steven Sacks, it's sounds like I'll have to keep up my funky flash workey properly rain dance, or maybe it's the weekly sacrifices ;) I seem to remember a bunch of bugs that were very system specific (no rhyme or reason) when flash 8 came out! Macromedia had real problems reproducing them. Have yo