[Flashcoders] test mail

2007-07-12 Thread Ravi Marella
Thanks and Regards ___ Ravikiran Marella ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flash

[Flashcoders] swfobject and AS3/Player 9

2007-07-12 Thread Count Schemula
If I'm doing a site in F9/AS3 is it enough to use swfobject just have it test for player 9 and force upgrade accordingly? It's a small personal site and I won't be making am F8/AS2 version. Thanks. -- count_schemula ___ Flashcoders@chattyfig.figleaf.c

Re: [Flashcoders] Q:Google API and gmaps

2007-07-12 Thread Andrei Thomaz
I still have not done it yet, but, if some of you want to write it in PHP, I would like to help. It would great for me, and I can program in PHP (but not in ASP). []'s andrei On 7/12/07, Glen Pike <[EMAIL PROTECTED]> wrote: Hi, You could write your own proxy to pass the request the for t

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Muzak
I'm afraid that makes no sense to me. It's perfectly allright to make instances private, as long as they're created through code. package { import flash.display.MovieClip; import fl.controls.Button; public class MyComponent extends MovieClip { private var _btn:Button; function MyCompon

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Muzak
Hi Helen, I'm aware of the lack of private (and protected) constructors. What I'm talking about is something different though. It's about assets (movieclips or whatever) that are part of a class, but placed on stage rather than created through code. Let's say you have a movieclip "MyComponent" w

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Francis Cheng
Sorry, I wasn't clear about my theory. Let me try again. I think that you have to declare variables that represent stage instances as public because Flash CS3 automatically executes an assignment statement at runtime that involves those variables. If those variables are declared as private, they ar

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Muzak
I'm aware of the differences, I just don't understand why it *has* to be public. Or put differently, I don't like that it has to be public. If I had to guess, I'd say it has something to do with the display list. regards, Muzak - Original Message - From: "Francis Cheng" <[EMAIL PROTECTED

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Helen Triolo
Colin Moock's book says it's because of adherence to ECMAScript 4, and points to this page for explanation: http://kuwamoto.org/2006/04/05/as3-on-the-lack-of-private-and-protected-constructors Helen Francis Cheng wrote: I'm guessing that the odd reason has something to do with the behavior

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Francis Cheng
I'm guessing that the odd reason has something to do with the behavior of the "private" attribute in AS2 versus AS3. As most of you are aware, the "private" attribute in AS2 only restricts access at compile time. In AS3, however, "private" restricts access at both compile time and runtime. Just a g

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Muzak
> This means that you either have to declare the variables yourself (and they > have to be public, by the way) > or declare the class as dynamic so that the variables can be added at runtime > (specifically, at the time the > assignment statements are executed). I think the "has to be public" th

[Flashcoders] Cool Flash project!

2007-07-12 Thread Mary Cregut
We are looking for someone to provide consulting work for approximately 6 weeks. We desire to have the programmer on sight at our offices near Saratoga Springs, NY. We are a small tech company founded by two RPI students in 2000- our products are high end consumer electronics and a very coo

Re: [Flashcoders] Q:Google API and gmaps

2007-07-12 Thread Glen Pike
Hi, You could write your own proxy to pass the request the for the google map images via your own server. Should be fairly simple in PHP / ASP. Then it would look like the images game from your own server and you would not have Cross domain problems. Glen Andrei Thomaz wrote:

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Francis Cheng
It looks to me like Matt avoided the namespace conflict by using a private variable that differs from the instance name in case only. Note that he uses all lowercase 'fullscreen' to represent the instance name 'fullScreen'. Just to provide some background as to what's going on here, Flash CS3 is a

Re: [Flashcoders] Q:Google API and gmaps

2007-07-12 Thread Andrei Thomaz
hello, yes, I guess it uses the script to get the api key. I am using the gmap component to load some maps in flash, and I had some problems, because flash player doesn't allow me to access the maps as bitmaps. I posted the problem in afcomponents forum, and the answer can be useful for you: "Th

[Flashcoders] Oddities with content scale in AS3 Application

2007-07-12 Thread Jeff Tapper
I'm in the process of upgrading parts of an AS2 application to AS3, and am noticing some very odd behavior. It seems every display object i load (whether it is an AV1Movie, a BitMap, etc) is loading in at a much larger scale. The Flex Builder debugger is showing its height and width as i expect

Re: [Flashcoders] MouseEvent.DOUBLE_CLICK Bug?

2007-07-12 Thread Enrique Chávez
Damn, I have to read the Docs first... I have to read the Docs first... I have to read the Docs first... I have to read the Docs first... jeje. Thanks a Sorry. Rákos Attila escribió: You have to enable this event by setting the object's doubleClickEnabled property to true. Attila =-=-=

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Laurie Jensen
Hi Matt, I spent an embarrassing amount of time recently playing with ways to import common classes and libraries in AS3, so your post drew my attention. Then I ran the class from your first post and had no error: your fullScreen variable traces as null, as expected. So then I read the subsequent

Re: [Flashcoders] MouseEvent.DOUBLE_CLICK Bug?

2007-07-12 Thread R�kos Attila
You have to enable this event by setting the object's doubleClickEnabled property to true. Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Enrique Chávez <[EMAIL PROTECTED]> To: Flashcoders mailing list Date:Thursday, July 12, 2007, 9:

[Flashcoders] Flash Media Server Component Usage Survey

2007-07-12 Thread greg h
Do you work with the Flash Media Server? If so, the FMS product team would like feedback on how you use the FMS components. Or, if you do not use them, why not. The product team has opened up a survey at the following link.

[Flashcoders] MouseEvent.DOUBLE_CLICK Bug?

2007-07-12 Thread Enrique Chávez
Hi. I am trying to use the doubleClick event, but it never trigger the handler My function is something like that private function loadIconComplete(event:Event):void { var rIcon:LoaderInfo = event.target as LoaderInfo var fIcon = rIcon.loader var iStage = lIcon.content as MovieClip

[Flashcoders] Q:refresh bug in Firefox

2007-07-12 Thread moveup
Zeh no 9,0,16,0 installed I wonder if it has anything to do with the object embed code... [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca "...all improvisation is life in search of a style." - Bruce Mau,'LifeStyle' __

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Jim Kremens
"I've been declaring classes extending MovieClip as dynamic." They claim that you'll lose speed by doing this. Jim ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/lis

[Flashcoders] Q:Google API and gmaps

2007-07-12 Thread moveup
Hi Has anyone used the free gmaps component from afcomponents.com? I noticed that the component calls a php script on the afcomponent site. Does anyone know the purpose of this? I'm assuming its simply a way to bypass the need for individual api keys. [e] jbach at bitstream.ca [c] 416.668.003

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread elibol
I've been declaring classes extending MovieClip as dynamic. Using this to get the child seems to work. this.fullScreen; And to get the object to cast to the proper type, I've had to have it in the code. FullScreen; trace(this.fullScreen); //should trace [object FullScreen] FYI, I've been using

[Flashcoders] I'm a Shared library dumb dumb

2007-07-12 Thread Chris Bell
I learned that the problem with my current approach. If a parent loads a child, none of the clips in the child's library can be attached to the parent's timeline and vice-versa. >From Ian Thomas that "in AS2, you can't attach a symbol from one .SWF's library into another movie's timeline." H

Re: [Flashcoders] Papervision 3D technique

2007-07-12 Thread Joshua Sera
Yeah, that pretty much looks like what's going on to me. A coworker came up with a similar technique that's in use on a few sites, but it wasn't taken anywhere near to Papervision's level, what with the phong shading and the like. --- Hans Wichman <[EMAIL PROTECTED]> wrote: > Hi Joshua, > > can

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Sunil Jolly
Does that work? I'm getting a namespace conflict. Sunil -Original Message- Thanks all, I ended up with something like this... package com.foo.view.playerSkins { import flash.display.MovieClip; import com.sky.view.playerSkins.*; public class SkinInventory extends MovieClip{

[Flashcoders] [JOB] Flash Developer – Pho enix AZ

2007-07-12 Thread Steve Mathews
We are in need of an experienced Flash developer and would prefer AS3 experience. We are currently a small company, and will be expanding greatly in the near future. It is a great environment with lots of opportunity for growth and learning. Check the full job posting at http://seeker.dice.com/jo

Re: [Flashcoders] Application Structure - Flash Remoting& MovieClipLoader

2007-07-12 Thread eka
Hello :) An other framework it's VEGAS : http://code.google.com/p/vegas/ Install the framework : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN The tutorials in english : http://code.google.com/p/vegas/wiki/TutorialsVEGAS (in progress) Examples in the svn repository of the project : h

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Matt Muller
Thanks all, I ended up with something like this... package com.foo.view.playerSkins { import flash.display.MovieClip; import com.sky.view.playerSkins.*; public class SkinInventory extends MovieClip{ private var fullscreen:MovieClip; public function SkinInventory()

Re: [Flashcoders] Application Structure - FlashRemoting& MovieClipLoader

2007-07-12 Thread Ron Wheeler
I recommend reading "Head First Design Patterns". The code examples are Java but the principles are universal and you get to see how classes can be made to work effectively. The Singleton pattern is one of the patterns discussed. Very entertaining approach to a serious subject. It will save you

Re: [Flashcoders] tween in a function doesn't working

2007-07-12 Thread elibol
I'm not sure what it could be, but you should try delegating the onRelease function to this: import mx.util.Delegate; plus6_mc.plus6_btNext_mc.onRelease = Delegate.create(this, btNext_mc_onRelease); function btNext_mc_onRelease() { plus6_mc._y = -160; response2_mc._y = 123; animateIt(resp

RE: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Sunil Jolly
Hi Matt, AS3 is slightly different. You need to say: private var fullScreen_mc:MovieClip = getChildByName("fullscreen"); Note that the reference (fullscreen_mc) can't be the same as the name on the stage ("fullscreen"). Also in AS3 you can actually set instance variables outside of functions. I

RE: [Flashcoders] Application Structure - FlashRemoting& MovieClipLoader

2007-07-12 Thread Sunil Jolly
I think that if you're just starting out with classes then using MVC would be an excellent place to start since ARP could be quite overwhelming. Others might disagree. :) I've spent many hours trying to figure out how to do some seemingly basic things in ARP and to be honest I'm still not 100% s

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Hans Wichman
sorry typo, i meant *reserved* On 7/12/07, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, reserver keyword maybe? greetz JC On 7/12/07, Matt Muller <[EMAIL PROTECTED]> wrote: > > I feel like a bit of an idiot asking this, but I keep getting errors. > I'm > creating some custom player skin templ

Re: [Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Hans Wichman
Hi, reserver keyword maybe? greetz JC On 7/12/07, Matt Muller <[EMAIL PROTECTED]> wrote: I feel like a bit of an idiot asking this, but I keep getting errors. I'm creating some custom player skin templates and have some ui elements which are MovieClips on the stage. Bearing in mind, this will

[Flashcoders] Accessing MovieClips on a timeline from an AS3 class

2007-07-12 Thread Matt Muller
I feel like a bit of an idiot asking this, but I keep getting errors. I'm creating some custom player skin templates and have some ui elements which are MovieClips on the stage. Bearing in mind, this will be a swf loaded into another swf all I'm trying to do is create class definitions and its thr

RE: [Flashcoders] Application Structure - Flash Remoting& MovieClipLoader

2007-07-12 Thread Richard Mueller
Well, the past 24 hours have been interesting to say the least. I've never really written a class, yet I know a lot about them and understand them for the most part. Before starting the project, I knew I was going to run into data access issues but didn't really have a solution. I'd never h

RE: [Flashcoders] Simplify point collection

2007-07-12 Thread Jim Armstrong
Not sure if this is what you want, but check out the JTS Topology Suite. Here is the user's guide - The Polygonizer class may be in the ballpark of what you desire http://www.vividsolutions.com/jts/bin/JTS%20Developer%20Guide.pdf This is not a Flash library (it's Java), but it is available for

[Flashcoders] tween in a function doesn't working

2007-07-12 Thread Marcelo Wolfgang
Hi list, I have some code that I've made that I don't understand why it is failing, and I want your help this works var time = .3; var easeType = mx.transitions.easing.Regular.easeOut; var response2_mc:MovieClip = this.frmContato_response2_mc; var plus6_mc:MovieClip = this.frmContato_plus6_mc

RE: [Flashcoders] Sending Base64 Encoded Data As XML Data

2007-07-12 Thread Paul Steven
Thanks for the reply Johannes The client has specified the base64 data be sent inside an xml file. Not sure why or exactly what they do on the server side of things but I just wanted to be sure what I was sending them was infact xml data. -Original Message- From: [EMAIL PROTECTED] [mailt

Re: [Flashcoders] Sending Base64 Encoded Data As XML Data

2007-07-12 Thread Johannes Nel
its simple string concatenation after the base64 encoding, although you never create a xml object, which makes me wonder why do you not just send and blob text instead of xml. On 7/12/07, Paul Steven <[EMAIL PROTECTED]> wrote: Thanks for the advice Johannes Does that mean my code looks ok to y

[Flashcoders] OT: SURVEY - Flash and Poker

2007-07-12 Thread sean
yes, that's right Poker. It's not as off topic as it may initially sound. I recently spoke with an Adobe representative at Chinwag in London. They had laid on a Casino for the event and I commented that I was very surprised at there not being any Poker tables. I mean, in the 8 years I've been a Fla

RE: [Flashcoders] Application Structure - Flash Remoting& MovieClipLoader

2007-07-12 Thread Sunil Jolly
Hi, I would recommend ARP for this too. It's a bit tricky to use (at first), but it will keep your code clean for sure and save you a lot of time. There's a remoting example that you could adjust quite easily. As for the moviecliploader, I try to use a single class to do all my loading. I guess t

RE: [Flashcoders] Sending Base64 Encoded Data As XML Data

2007-07-12 Thread Paul Steven
Thanks for the advice Johannes Does that mean my code looks ok to you? > > > var dataStrEncoded:String=Base64.Encode(ByteLoader.data); > > var XMLString:String; > > XMLString = ""; > XMLString += ""; > XMLString += ""; > XMLString += dataStrEncoded; > XMLString += ""; > > loader = new URLLoader(

Re: [Flashcoders] Movieclip.onLoad and onClipEvent :S

2007-07-12 Thread Dennis - I Sioux
I must say i don't use it that mutch either.. and i know what you ment.. I'm just saying.. when i do that.. and i don't put any script on the movieclip directly the onLoad won't be called.. If i do put something on it.. even if it's just comments the onLoad will be called. For your point.. as