[Flashcoders] extend and implement

2006-11-08 Thread Haydn
Is it possible to for a class to extend another class as well as implement an interface? What I want to do is something like this: ITheInterface { // etc. } ClassA implements ITheInterface extends MovieClip { // etc. } ClassB implements ITheInterface extends MovieClip {

[Flashcoders] PrintJob and dynamic functionality

2006-11-08 Thread David Cohn
Hey all, I'm trying to use the printJob class (AS 2.0) to print a page with a dynamically drawn chart, something like: mc_pp = _root.createEmptyMovieClip("printbox", this.getNextHighestDepth()); mc_pp.attachMovie("printPage"+i, "printPage", 100, {_x:-1000, _y:-1000});

Re: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Ray Chuan
I think he is against using "this" in class definitions. On 11/9/06, Muzak <[EMAIL PROTECTED]> wrote: >From a person who keeps posting against the use of 'this' and who says it's bad practice I'd expect something better than using nested functions, especially if there's no need for it whatsoeve

Re: [Flashcoders] am i stupid?

2006-11-08 Thread John VanHorn
i know it doesnt make any sense to use onPress on the root because of children, and nested mc's, its just something i ran into today. i was debugging something, and i arbitrarily chose _root.onPress to fire off a trace. when that didnt work, i figured out that _root.onPress was being ignored. wha

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Ray Chuan
Hi, assuming that you use a relative path to the swf, then you can just use one substring: var baseurl:String = _root._url; baseurl = baseurl.substr(0, baseurl.lastIndexOf("/")+1); mcl.loadClip(baseurl+"ar07ui.swf"); On 11/9/06, Hans Wichman <[EMAIL PROTECTED]> wrote: ps that can be made way m

Re: [Flashcoders] am i stupid?

2006-11-08 Thread Reuben Stanton
I think the explanation stated that _root is not in fact a MovieClip in the same sense. onMouseDown works because it fires globally in response to the mouse, not because _root is a MovieClip. Can I ask, why do you need to use onPress and onRelease on _root anyway? Is there some other soluti

Re: [Flashcoders] am i stupid?

2006-11-08 Thread John VanHorn
no, no. i totally understand the difference between onMouseDown and onPress for movieclips. i am saying only one works when placed on the root. the player seems to ignore _root.onPress or _root.onRelease.which makes no sense to me because it is a movieclip and the events will work when ass

Re: [Flashcoders] Q:Inheritance issue with simplified MVC

2006-11-08 Thread Anthony Lee
Hi Jim, Don't think you can get around listening to for the event unless you want to get into callbacks... How's this though? Requires GDispatcher in the Model. --- class AbstractWidget { var localData:Array; var provider:Model; var build:Function; //<--child

Re: [Flashcoders] Lil' OOP direction needed

2006-11-08 Thread JOR
William Sanders has a nice tutorial up on Adobe's Dev Center about creating a video player using OOP and the State Pattern. Also, a great book to pick up if you want to start learning OOP is Head First Design

Re: [Flashcoders] Have I got this OOP business right?

2006-11-08 Thread JOR
LOL, for a second there I thought I was looking at a J2ME java class. Are you trying to port a J2ME game? I was thinking about porting a game I wrote and it started out looking a lot like this. Then I got busy and forgot about it. You've inspired me to pick it up again. :) BTW, looks good

Re: Re: [Flashcoders] about BitmapData.draw() crossdomain

2006-11-08 Thread 赵洪日
i want to know the second method how to do,have any Data in this? 赵洪日 2006-11-09 发件人: Zeh Fernando 发送时间: 2006-11-08 19:44:33 收件人: Flashcoders mailing list 抄送: 主题: Re: [Flashcoders] about BitmapData.draw() crossdomain > when crossdomain , BitmapData.draw Expiration,the swf in a.com,and the

[Flashcoders] efficient line segment intersection algorithm?

2006-11-08 Thread Millie Niss
As part of an app I'm writing, I need users to be able to manipulate a drawing of a graph: Specifically, I have a bunch of circles ("nodes") connected to each other by line segments ("edges"). Users can drag the nodes around within a fixed area (this part works), but I need to stop them from

Re: [Flashcoders] am i stupid?

2006-11-08 Thread Patrick Ashamalla
onMouseDown is a 'mouse' event that is independent of the movie. The movie simply can define a handler to run when the onMouseDown even occurs. Put a square symbol on the stage named 'box' and place this code on the script layer... box.onMouseDown = function () { trace('function called'); } T

Re: [Flashcoders] am i stupid?

2006-11-08 Thread Jonathan Fung
use a mouse event listener... you'll be glad you did (especially if you have other buttons on stage) On 11/8/06, John VanHorn <[EMAIL PROTECTED]> wrote: onMouseDown works fine.which got me to thinking that when your on the root, onMouseDown and onPress are essentially the same event, since y

Re: [Flashcoders] am i stupid?

2006-11-08 Thread John VanHorn
onMouseDown works fine.which got me to thinking that when your on the root, onMouseDown and onPress are essentially the same event, since your mouse is always over the root. that makes sense. but, at least to me, it doesnt make sense that one works and the other one doesnt. On 11/8/06, Carl

Re: [Flashcoders] am i stupid?

2006-11-08 Thread Carl Welch
what about onMouseDown? -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 On 11/8/06, John VanHorn <[EMAIL PROTECTED]> wrote: on the root timeline: this.onPress = function(){ trace(this); } does not work? the _root/_level0 movie does not take onPress or onRelease? other

Re: [Flashcoders] Recommended encoding rates for FLV?

2006-11-08 Thread Reuben Stanton
Thanks, that was very helpful. Reuben On 04/11/2006, at 5:31 AM, Clark, Craig wrote: I have been using video in Flash since it was first introduced. So I will tell you what I know from my experience. I agree with Bjorn. The website he suggests is a great resource. I will also point you t

Fwd: [Flashcoders] Job Opportunity - Melbourne, Australia

2006-11-08 Thread Miles Thompson
Aerin, I know it's miles distant from Brisbane, but did you see this on Flashcoders? Miles We are looking for a Senior Flash Developer / Interaction Designer for our Melbourne Office. Join our expanding, vibrant and innovative team in creating award winning web solutions for Australia's le

Re: [Flashcoders] Freelancer Class

2006-11-08 Thread Weyert de Boer
I think this keyword rks vworkery nicely. ___ 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 A

[Flashcoders] Recommended encoding rates for FLV?

2006-11-08 Thread Clark, Craig
Sorenson Squeeze allows you to have a watch folder that will transcode any video that is put into that folder. So Squeeze is a good solution for you if you will be transcoding a large amount of video files. It handles the main file types like DV and mpeg2. It also will capture video from a DV c

RE: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Steven Sacks | BLITZ
You want to start a fight with me Muzak? Don't you know I'm loco? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Muzak > Sent: Wednesday, November 08, 2006 3:30 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] EventDispatcher and >

Re: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Muzak
>From a person who keeps posting against the use of 'this' and who says it's >bad practice I'd expect something better than using nested functions, especially if there's no need for it whatsoever. - Original Message - From: "Steven Sacks | BLITZ" <[EMAIL PROTECTED]> To: "Flashcoders ma

[Flashcoders] am i stupid?

2006-11-08 Thread John VanHorn
on the root timeline: this.onPress = function(){ trace(this); } does not work? the _root/_level0 movie does not take onPress or onRelease? other events like onMouseMove or onEnterFrame work finewhy not onPress? how have i not run into this before? -- John Van Horn [EMAIL PROTECTED] __

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Jon Bennett
I currently also use CakePHP for the back-end and pixlib for the client-side :) ahh, got anytihing you care to share?!?!?!??!?!?!?! nothing major, just something real basic for me to look through, no worries if not though :) jon -- jon bennett t: +44 (0) 1225 341 039 w: http://www.jben.net/

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Jon Bennett
> The math for this is luckily just algebra and doesn't require any > complex trig or calculus, and there are a few different ways to do it. > This might help you on your way: > > http://www.darronschall.com/weblog/archives/54.cfm looks perfect, thanks! umm, thought it was perfect - but aft

[Flashcoders] Job Opportunity - Melbourne, Australia

2006-11-08 Thread Reuben Stanton
We are looking for a Senior Flash Developer / Interaction Designer for our Melbourne Office. Join our expanding, vibrant and innovative team in creating award winning web solutions for Australia's leading brands and businesses. Our culture is positive and productive, with highly passionate

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Glen Pike
Hi, Whilst this suggestion is not good practice if you can get in at the start of a project - I would recommend doing things the way others have said, by using interfaces, I was given a very nice workaround for a situation I got stuck in recently. I was given about 20 SWF & FLA files

Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-08 Thread Pedro Rodrigues
ok i got teh message sorry, will not happen again. On 11/8/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: Job offers are accepted here. It's never gotten out of control and you'll find that most job postings here come straight from the source because recruiters who post here often find the

[Flashcoders] MSP style flash application.

2006-11-08 Thread Glen Pike
Hi, Can anyone point me to the site that recently went up offering an online modular image manipulation tool, where you can join up lots of filters, generators and other stuff to mess around with your images? It was sort of like MSP for images. Sorry, lost my bookmark. Glen __

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Hans Wichman
ps this centers the zoom around the center of the scrollpane instead of a dot On 11/8/06, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi Jon, i did something similar a while back, with the content of a scrollpane. It was something like this: //get the original x and y centre before scaling var

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Hans Wichman
Hi Jon, i did something similar a while back, with the content of a scrollpane. It was something like this: //get the original x and y centre before scaling var orgX = (((pane.width-16)/2)+pane.hPosition)/(pane.content._xscale/100); var orgY = (((pane.height-16)/2)+pane.vPosition)/(pane.content._

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Merrill, Jason
Thanks Ryan, so I guess the AS3 way will be that it is an event, and you just create handlers. The example they gave in case anyone is curious is: private var myMP3:Sound; public function TextField_event_link() { myMP3 = new Sound(); var list:TextField = ne

RE: [Flashcoders] Writing code for big teams

2006-11-08 Thread Mike Keesey
> -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Michael Nisi > Sent: Wednesday, November 08, 2006 11:38 AM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Writing code for big teams > > Same here. Can't imagine to develop wit

[Flashcoders] Q:Inheritance issue with simplified MVC

2006-11-08 Thread moveup
I'm having an issue with a simplified MVC implementation. I have a 'model' class which parses XML and dispatches a 'build' event when finished parsing. I have a 'view' class which has a reference to this model class via composition and is also registered as a listener When the view receives

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Hans Wichman
ps that can be made way more efficient, its still under construction :) On 11/8/06, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, instead of using your path directly try something like this: class App { public static function getPath (parent:MovieClip, path:String):String { var parUrl:String =

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Hans Wichman
Hi, instead of using your path directly try something like this: class App { public static function getPath (parent:MovieClip, path:String):String { var parUrl:String = parent._url; parUrl = parUrl.split("\\").join("/ "); var pathUrl:String = path.split("\\").join("/ "); var parArr:Array =

RE: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Mike Keesey
> -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ > Sent: Wednesday, November 08, 2006 10:24 AM > To: Flashcoders mailing list > Subject: RE: [Flashcoders] EventDispatcher and onEnterFrame problems > > Inside an on

[Flashcoders] HTML image/cross-domain

2006-11-08 Thread Jonathan Berry
Hello all, I have a simple question: can Flash player load images using html tags in a text field from a different domain? Is a cross-domain policy file required? -- Jonathan Berry, M.A. IT Consultant 619.306.1712(m) [EMAIL PROTECTED] www.mindarc.com -

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread Mike Keesey
> -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Dennis Roche > Sent: Tuesday, November 07, 2006 10:47 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Freelancer Class > > I prefer the the double underscore naming scheme to

Re[5]: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread R�kos Attila
SSB> That is true, however if you just need a temporary onEnterFrame SSB> then it's better to just assign it to this instead of delcaring SSB> it in the class. I'm used to avoid runtime function declaration just because it can lead to creating more than one copy of the function, instead of referr

RE: Re[3]: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Steven Sacks | BLITZ
That is true, however if you just need a temporary onEnterFrame then it's better to just assign it to this instead of delcaring it in the class. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Rákos Attila > Sent: Wednesday, November 08, 2006

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Michael Nisi
Same here. Can't imagine to develop without testing anymore. Test while you code, not afterwards. It let's you design your objects in a transparent way. Regards Michael On 11/8/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote: Something else I recommend is have somebody who is in charge of

Re[3]: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread R�kos Attila
RA> Well, using "this" is not the matter of onEnterFrame but that of any RA> runtime function definition. If you declare your onEnterFrame as a RA> simple method, "this" can be omitted. Oh, I mean if the class extends MovieClip of course (but in other case your code doesn't work, too :)) class M

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Michael Nisi
You'll probably have a container class which manages loading, etc. It loads swfs. In the swf a class implements your Interface.The class get initialized inside the loaded clip, so you don't have to know anything about it. interface ricardo.Loadable { public function doSomething(Void):Void }

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Jon Bennett
The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way: http://www.darronschall.com/weblog/archives/54.cfm looks perfect, thanks! jon -- jon bennett t: +44 (0) 1225 341 039

Re[2]: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread R�kos Attila
SSB> Inside an onEnterFrame function you have to use "this" when referring to SSB> things in the class (if the class extends MovieClip, which I hope it SSB> does because only MovieClips can have onEnterFrame as far as I know). Well, using "this" is not the matter of onEnterFrame but that of any r

[Flashcoders] Eclipse + ASDT

2006-11-08 Thread Matthew Ganz
i'm using ASDT with Eclipse and when i select "Show Resource History" on a file, i can see the comments i made when committing it. but when i try to open a previous version, i'm getting an error that looks like this: at org.asdt.editor.internal.ASCodeScanner.(ASCodeScanner.java:93) has anyone e

RE: [Flashcoders] Writing code for big teams

2006-11-08 Thread Steven Sacks | BLITZ
Something else I recommend is have somebody who is in charge of integration and they make sure that everyone who hands them code thoroughly tests it first. This is how I write my apps when it's just me, as well, and as a result my code is pretty much bug-free. If their code can't be tested indepe

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Ryan Potter
I don't know squat about as3 yet, but from the docs there is this: http://livedocs.macromedia.com/labs/as3preview/langref/flash/text/TextField .html#event:link -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Wednesday, November 08,

RE: [Flashcoders] scale MC using another MC as registration point

2006-11-08 Thread Steven Sacks | BLITZ
The math for this is luckily just algebra and doesn't require any complex trig or calculus, and there are a few different ways to do it. This might help you on your way: http://www.darronschall.com/weblog/archives/54.cfm ___ Flashcoders@chattyfig.f

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Ricardo Sánchez
I'm sorry, I'll explain mysel. If I make an interface that I want their movies to implement... How do I load an external movie? To load it instanciating the class I'll have to compile it... am I wrong? Can you show some code? I'm pretty lost. Thanks all. On 11/8/06, Michael Nisi <[EMAIL PROTEC

RE: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-08 Thread Steven Sacks | BLITZ
Job offers are accepted here. It's never gotten out of control and you'll find that most job postings here come straight from the source because recruiters who post here often find themselves the object of ridicule for their (sometimes) ignorant job posts and likely they never post again, which ke

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread Steven Sacks | BLITZ
I don't like anything that puts arbitrary constraints on my code. Ruby on Rails has fantastic naming conventions but they have very clear benefits. Also, they use @foo for instance variable names and @@foo for class variable names. Unfortunately, they don't use braces to contain functions and cl

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Marc Hoffman
And on yet another side note, I believe only one arg can be passed with an a-href asfunction call. However, it could contain several args separated by a character other than a comma, such as the pipe ("|") character, then in the function declaration, convert the pipe character to comas to split

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Michael Nisi
Hi Ricardo, why do you think using Interface or Interfaces will force you to compile the collaborators code. I don't get the point. They can compile your Interfaces into their swfs and you can compile them into yours. That's what interfaces are for. No? Regards Michael On 11/8/06, Ricardo Sánche

RE: [Flashcoders] Writing code for big teams

2006-11-08 Thread Steven Sacks | BLITZ
When working on a collaborative team on a big project, design patterns are your best friend. You should check out the Composite design pattern and/or MVC. http://www.asserttrue.com/articles/2006/10/27/max-2006 After attending their workshop, I went out and bought the book they recommended and I

RE: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Steven Sacks | BLITZ
Inside an onEnterFrame function you have to use "this" when referring to things in the class (if the class extends MovieClip, which I hope it does because only MovieClips can have onEnterFrame as far as I know). class MyClass { var foo:Boolean; function MyClass() {

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Ricardo Sánchez
By registration code you mean register to a class? As in Object.registerClass() ? On 11/8/06, Janis Radins <[EMAIL PROTECTED]> wrote: just force them to execute some registration code on first frame of theyr movie and pass instance which will accept all those calls according to predefined commu

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Merrill, Jason
A side note, fairly irrelevant, but I heard/read somewhere asfunction is going away in AS3 - I think I saw that in the AS3 documentation - anyone know what the equivalent form would be in the future? Jason Merrill Bank of America Learning & Organizational Effectiveness >>-Original

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Ryan Potter
Looks like Mark got the answer he needed but does anyone have any documentation on overriding the href in the text field class without asfunction? I have previously googled this, looked in the docs, and looked in the flash classes (I was lost trying to read what I found there). I have seen some

RE: [Flashcoders] Closing Browser Through Flash/Javascript

2006-11-08 Thread Merrill, Jason
You can also do a trick where you do a getURL() to a small "special" html file which simply has this in it: Should be pretty transparent to the user. So essentially, the HTML file does the Javascript, not Flash. However, if the original Flash file is not spawned from Javascript, doing this sti

Re: Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-08 Thread Marlon Harrison
You are correct. You are new :-) On 11/7/06, Pedro Rodrigues <[EMAIL PROTECTED]> wrote: i am new to the list but it seems to me this is for discussion of flash programming and not for job offers... On 11/7/06, Zeh Fernando <[EMAIL PROTECTED]> wrote: > > Preciso de programador actionscript/flash

Re: [Flashcoders] Preciso de programador actionscript/flash/php

2006-11-08 Thread nelson ramirez
job offers are good : ) On 11/7/06, Pedro Rodrigues <[EMAIL PROTECTED]> wrote: i am new to the list but it seems to me this is for discussion of flash programming and not for job offers... On 11/7/06, Zeh Fernando <[EMAIL PROTECTED]> wrote: > > Preciso de programador actionscript/flash/php se t

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Marcelo de Moraes Serpa
Hey Jon, I currently also use CakePHP for the back-end and pixlib for the client-side :) Marcelo. On 11/8/06, Jon Bennett <[EMAIL PROTECTED]> wrote: > i gotta say, even though it makes it a little more difficult to pick one to > go with, I'm really glad to see all these different frameworks o

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Jon Bennett
i gotta say, even though it makes it a little more difficult to pick one to go with, I'm really glad to see all these different frameworks out there. I wish I'd thought to look out for them! especially since I recently adopted cakephp for all my php apps, that's made my life a whole load easier

RE: [Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Ryan Potter
You want to post some code? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chase Brammer Sent: Wednesday, November 08, 2006 10:45 AM To: Flashcoders mailing list Subject: [Flashcoders] EventDispatcher and onEnterFrame problems Hi yall, I am using

[Flashcoders] EventDispatcher and onEnterFrame.... problems

2006-11-08 Thread Chase Brammer
Hi yall, I am using EventDispatcher and I can use it everywhere in my class BUT when I need too! Which is in a onEnterFrame loop that I am running... I think that it must be scope problem. Any idea's on what could be wrong, or another work around? Thanks. Cheers, Chase _

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Rich Rodecker
i gotta say, even though it makes it a little more difficult to pick one to go with, I'm really glad to see all these different frameworks out there. On 11/8/06, eka <[EMAIL PROTECTED]> wrote: hello :) the documentation is in progress (en english with javadoc) and i think finish it in the vers

RE: [Flashcoders] How to play automatically an MP3 file when user loads webpage

2006-11-08 Thread Merrill, Jason
>>> > I want a webpage to play automatically an MP3 file when user loads >>> > the webpage. >>Every MP3 Flash Player I found need to click "Play": >>http://musicplayer.sourceforge.net/ >>http://blog.forret.com/2005/01/playing-mp3-with-an-embedded-flash-play er/ Well, sure - that's how they chose

Re: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Mark Burvill
Lovely - that's what I need. Cheers. Alain Rousseau wrote: Hi Mark, You should look into asfunction http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Parts&file=1719.html It lets you call AS functions through links in a html textlike

Re: [Flashcoders] Q:reference main timeline from within class

2006-11-08 Thread Chris Alexander
inside the initialization of the class create a reference to this._parent, where this is the class. Or create a static var in the class and assign it this, referring to the class. Extend the class from a movieclip on the stage. On 11/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Normally

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Éric Thibault
I've redone the test on my webserver with the externalinterface and all is functionning normaly if all (HTML and SWF) are in the same folder! If the HTML page is not in the same folder, the external SWF must be called relative to the HTML, not to the loader SWF. Maybe your bug is there! A+

Re: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Gustavo Teider - Adobe Flash Developer
Mark Burvill escreveu: Hi List, If you have an href link within an html text field in Flash, is there any way of detecting when the user clicks on it? Not being a standard button, you obviously can't do: on (press) { doStuff(); } But is there another way? teste.htmlText = "link here

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Alain Rousseau
Hi Mark, You should look into asfunction http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Parts&file=1719.html It lets you call AS functions through links in a html textlike this : HTH A. -Original Message- From: [EMAIL PROT

Re: [Flashcoders] Writing code for big teams

2006-11-08 Thread Janis Radins
just force them to execute some registration code on first frame of theyr movie and pass instance which will accept all those calls according to predefined communication interface 2006/11/8, Ricardo Sánchez <[EMAIL PROTECTED]>: Hi! Where I work we are about to begin a pretty big project collab

[Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Mark Burvill
Hi List, If you have an href link within an html text field in Flash, is there any way of detecting when the user clicks on it? Not being a standard button, you obviously can't do: on (press) { doStuff(); } But is there another way? Cheers. _

RE: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Mendelsohn, Michael
Thanks for trying. The External Interface is the only thing there that works for me. I get the alerts from the html page, but that's it. It never finds the other swf. Could it be some kind of security issue? I've just copy/past your code inside a new flash file and it is working fine both

[Flashcoders] Q:reference main timeline from within class

2006-11-08 Thread moveup
Normally as a workaround to reference the main timeline from within a class, I first define a global scope in the main timeline like this: _global.root=this; And then simply reference the timeline with 'root'. I'm sure there must be a better way that doesn't involve use of _globals...anyone h

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Éric Thibault
I've just copy/past your code inside a new flash file and it is working fine both in the IDE and the browser Published for 7 or 8 AS 2 with the Flash player 8. P.S. I don't have any JS functions inside my HTML... maybe the bug is there? A+ Mendelsohn, Michael a écrit : Hi list... I can'

RE: [Flashcoders] How to play automatically an MP3 file when userloads webpage

2006-11-08 Thread Danny Kodicek
> Every MP3 Flash Player I found need to click "Play": > http://musicplayer.sourceforge.net/ > http://blog.forret.com/2005/01/playing-mp3-with-an-embedded-fl > ash-player/ > > I don't've Adobe Flash software. Without being funny, how do you expect to do what you want to do without having Flash?

[Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Mendelsohn, Michael
Hi list... I can't figure out why MovieClipLoader isn't working. In the authoring environment, I get no error but it doesn't load, and in the browser, I get urlNotFound error. I don't understand it as the two swfs sit next to each other in the same folder. Any thoughts are appreciated. Thanks,

[Flashcoders] Writing code for big teams

2006-11-08 Thread Ricardo Sánchez
Hi! Where I work we are about to begin a pretty big project collaborating with some other agencies. The thing is we are going to develop the main movie with the menus and other stuff where every other movie any agency develops is going to be loaded. I was thinking about writing an interface cla

Re: [Flashcoders] How to play automatically an MP3 file when user loads webpage

2006-11-08 Thread thomas Armstrong
Every MP3 Flash Player I found need to click "Play": http://musicplayer.sourceforge.net/ http://blog.forret.com/2005/01/playing-mp3-with-an-embedded-flash-player/ I don't've Adobe Flash software. On 11/8/06, eric dolecki <[EMAIL PROTECTED]> wrote: use a SWF that streams an MP3 from your server.

Re: [Flashcoders] Closing Browser Through Flash/Javascript

2006-11-08 Thread Geoff Stearns
you need to add allowscriptaccess=always to your embed code. BUT, even with that, you might not be able to close it.. usually when you try to close a window you didn't open yourself, you get prompted by the browser... nothing you can do about that. if you really want it to behave like an ap

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread eka
hello :) the documentation is in progress (en english with javadoc) and i think finish it in the version 0.8 :) but for the moment, you can find examples in the svn : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/ EKA+ :) 2006/11/8, Muzak <[EMAIL PROTECTED]>: Does it come with

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Muzak
Does it come with documentation? Couldn't find any useful info or documentation on osflash regarding VEGAS. All it says is: VEGAS is an AS2, AS3 and SSAS OpenSource Framework regards, Muzak - Original Message - From: "eka" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednes

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread eka
Hello :) We can find very good ideas in all opensource framework :) All librairies are good :) Only the vision of the concepts change with the practices of uses. There is not only one manner of implementing a design pattern for me. You can test for example my library VEGAS (it's an other librar

Re: [Flashcoders] How to play automatically an MP3 file when user loads webpage

2006-11-08 Thread eric dolecki
use a SWF that streams an MP3 from your server... should work almost immediately. No JavaScript required. On 11/8/06, thomas Armstrong <[EMAIL PROTECTED]> wrote: Hi. I want a webpage to play automatically an MP3 file when user loads the webpage. I'm trying to find a Flash player which, by usi

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Muzak
See reply inline.. - Original Message - From: "Marcelo de Moraes Serpa" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, November 08, 2006 1:51 PM Subject: Re: [Flashcoders] Q:Framework ARP vs PixLib > Hi Muzak, > > Can you provide some more details on these 2 statem

[Flashcoders] Closing Browser Through Flash/Javascript

2006-11-08 Thread Holth, Daniel C.
Hello, We are building Flash application that will be run off a CD and would like to have a button that closes the browser the Flash application is running in. We keep getting security errors that 'main.swf' is trying to communicate with 'index.html'. I know that I can personally set these

RE: [Flashcoders] How to play automatically an MP3 file when user loads webpage

2006-11-08 Thread Merrill, Jason
>>I want a webpage to play automatically an MP3 file when user loads >>the webpage. I guess I'm not understanding your constraint, because if you tell the sound in Flash to play, it will play (as soon as the flash file loads). Why involve Javascript? Jason Merrill Bank of America Learning & Or

Re: [Flashcoders] Freelancer Class

2006-11-08 Thread Ian Thomas
Hi Jim, Not target at you particularly; just that as I say, every couple of months the same thing rolls by. :-) Anyway; I'm just adding noise, so I'll shut up now. Ian On 11/8/06, jim <[EMAIL PROTECTED]> wrote: Yeah, I joined the conversation late. I have a habit of not reading mail for a few

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread jim
Yeah, I joined the conversation late. I have a habit of not reading mail for a few days and going from the bottom of the pile up, so I will replay to a mail on this list only to go a little further up the pile to see exactly the same comment from someone else. Sorry. Jim -Original Message

RE: [Flashcoders] FLEX 2.0 Chart and PDF Generation

2006-11-08 Thread Merrill, Jason
>>Is there a way to include a chart created with the FLEX Charting library into >>a PDF file ? I also would like to know if it's possible to do it in batch mode ! Claude, try the flexcoders list at Yahoo. Jason Merrill Bank of America Learning & Organizational Effectiveness ___

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread jim
This is a recognized way of initializing a class, you can call them different things, but if they are the same thing why give them different names? The this keyword tells you exactly what is going on. I don't think its bad code. Just my opinion. Jim -Original Message- From: [EMAIL PROTECT

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread jim
Looks like I joined this argument a bit late, sorry for rehashing the same points. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jim Sent: 08 November 2006 13:08 To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Freelancer Class I prefer ha

Re: [Flashcoders] Freelancer Class

2006-11-08 Thread Ian Thomas
Sometimes I really wish the language enforced a particular way of naming methods and properties; if only because then we wouldn't have exactly the same conversation posted on this list every couple of months. :-) Ian On 11/8/06, jim <[EMAIL PROTECTED]> wrote: I prefer having the this. On the be

RE: [Flashcoders] Freelancer Class

2006-11-08 Thread jim
I prefer having the this. On the beginning of all calls to properties in a class so that I can easily see what is class level & what is method level. It works without but I feel happier reading it that way. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behal

Re: [Flashcoders] about BitmapData.draw() crossdomain

2006-11-08 Thread Muzak
Add System.security.allowDomain("www.b.com"); in swf on a.com You'll still need a crossdomain policy file on b.com to be able to load the image in an swf on a.com. regards, Muzak - Original Message - From: "Zeh Fernando" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wedn

Re: [Flashcoders] Q:Framework ARP vs PixLib

2006-11-08 Thread Marcelo de Moraes Serpa
Hi Muzak, Can you provide some more details on these 2 statements? - found arp to be somewhat limited and unflexible - It goes far beyond ARP, no doubt ARP was no doubt the pioneer in introducing design patterns development into flash apps. However, its MVC model is not what I would call the

  1   2   >