[Flashcoders] Ridiculous problem

2006-10-02 Thread Andreas Rønning
TextForwarder is a MovieClip extension. In its constructor it traces (TF instanced); textForwarder = userInterface.attachMovie(textForwarderMC,textForwarderClip,TEXTFORWARDERDEPTH); trace(TF: +textForwarder); output: TF instanced TF: undefined Boy am i stumped. What would cause this? The

Re: [Flashcoders] Ridiculous problem solution

2006-10-02 Thread Andreas Rønning
var tempTF = userInterface.attachMovie(etc) textForwarder = tempTF; That solved it. But i'd really like to know why - A Andreas Rønning wrote: TextForwarder is a MovieClip extension. In its constructor it traces (TF instanced); textForwarder =

Re: [Flashcoders] Ridiculous problem

2006-10-02 Thread Matthias Dittgen
Hello Andreas, try with casting: var textForwarder:ClassName = ClassName(userInterface.attachMovie(textForwarderMC,textForwarderClip,TEXTFORWARDERDEPTH)); attachMovie has MovieClip as return type. You would like to cast to your class which you call (TextForwarder is a )MovieClip extension. I

Re: [Flashcoders] Ridiculous problem

2006-10-02 Thread Andreas Rønning
It was cast before. No difference. - A Matthias Dittgen wrote: Hello Andreas, try with casting: var textForwarder:ClassName = ClassName(userInterface.attachMovie(textForwarderMC,textForwarderClip,TEXTFORWARDERDEPTH)); attachMovie has MovieClip as return type. You would like to cast to

[Flashcoders] allowScriptAccess

2006-10-02 Thread Igor Volk
Just waisted 3 hours of my time trying to debug my JS/Flash application. Flash simply refused to call any JavaScript defined in HTML at all. The culprit turned out to be the new insane security features of Flash Player that even its own creators got themselves confused about. allowScriptAccess

[Flashcoders] Flash webcam sites ...

2006-10-02 Thread Stephen Ford
I have recently purchased a webcam for my pc. Does anyone know of any sites (flash or other) that currently incorpotate webcams into their site. Community sites / online chat / etc, I want to see how webcams are currently being used on the net. I saw one site a while back that used flash

[Flashcoders] Selection class makes me want to kick someone in the face

2006-10-02 Thread Andreas Rønning
...which is, i gather, somewhat of a general consensus. I'm working on a tablet pc application that requires the user to be able to select text and transfer this text to other parts of the application. The ideal way is as such: 1. The user makes a selection from *any selectable text field* 2.

Re: [Flashcoders] Selection class makes me want to kick someone in the face

2006-10-02 Thread Adrian Ionut Beschea
I don't know if I understood your problem but here's a thought. The setFocus event gives you oldFocus and newFocus as argument. If oldfocus is you button, you can code around it in your setfocus handler. Andreas Rønning [EMAIL PROTECTED] wrote: ...which is, i gather, somewhat of a

RE: [Flashcoders] Selection class makes me want to kick someone in theface

2006-10-02 Thread Giles Taylor
Hi Andreas, I've got round this in the past by getting the selection when it is made rather than when the button is pushed. Something like (you may need to fiddle with the scopes): richText_txt.onMouseDown = function(){ if((this._parent._xmouse this._x) (this._parent._xmouse (this._x

Re: [Flashcoders] Selection class makes me want to kick someone in theface

2006-10-02 Thread Andreas Rønning
All this stuff is true, but my problem isn't getting the selection, it is *unselecting* it. As in setSelection(0,0); My problem is more related to not being able to control setSelection with an onPress without having it borking on me. Right now i've solved it with a clearSelection method that

RE: [Flashcoders] btn action function with params

2006-10-02 Thread Merrill, Jason
Put simply, I just wanted to be able to call a function from a button action in one line of code without having to add a new function() action after the button. That's called an anonymous function, which it sounds like you don't want. So then, you can do this: function myFunction(){ }

RE: [Flashcoders] Boolean variable

2006-10-02 Thread Merrill, Jason
I want the variable to be stored in a shared object. :) You'll need a Flash file to store the shared object, and if you close the browser window, there is no Flash file anymore, so I'm not sure how you would accomplish this. I'm not sure you can capture the close browser window event as it pretty

Re: [Flashcoders] Selection class makes me want to kick someone intheface

2006-10-02 Thread Muzak
If I'm getting this right, you're running into the annoying 'feature' of the FocusManager stealing focus when a TextArea/TextInput/ComboBox previously had focus. If that is the case and you want to get rid of it, use the following, preferably in the main timeline of you app function

[Flashcoders] Reload MC

2006-10-02 Thread Bruno Mendoza
Hi, I'm learning actionscript programming laguage. I've a MC containing three instance of a button (name:buttonX) and 3 instances of a MC(name:contentX). When I click over one of this buttons it takes to the frame X. The problem appear when I click again over some of the buttons. I don't

Re: [Flashcoders] Reload MC

2006-10-02 Thread Marcelo de Moraes Serpa
What do you mean? By seeing your code, and your explanation, I don't really get what you really want.. On 10/2/06, Bruno Mendoza [EMAIL PROTECTED] wrote: Hi, I'm learning actionscript programming laguage. I've a MC containing three instance of a button (name:buttonX) and 3 instances of a

Re: [Flashcoders] Flashcom mailing list

2006-10-02 Thread greg h
Following was posted last week on the bloghttp://www.flashcomguru.com/index.cfm/2006/9/27/flashmedialistover at flashcomguru.com: September 27, 2006 Alternative Mailing List for Flashcom and Flash Videohttp://www.flashcomguru.com/index.cfm/2006/9/27/flashmedialist After I have been receiving

Re: [Flashcoders] Disabling Nested MCs?

2006-10-02 Thread Jake Prime
Hi Kevin Try: map._visible = false; This will disable all buttons in map, and if the whole map is 0 alpha anyway will make no visible difference. Jake On 02/10/06, Kevin Cannon [EMAIL PROTECTED] wrote: Hi, I have an interactive map with various clickable countries on it. At certain times

Re: [Flashcoders] Disabling Nested MCs?

2006-10-02 Thread Kevin Cannon
Hi Jake, Ahh, I so that's how you do it. I think the current way I have tweens working won't allow be to easily do that, but when I start using Fuse Kit it should be a doddle. Thanks, - Kevin On 02/10/06, Jake Prime [EMAIL PROTECTED] wrote: Hi Kevin Try: map._visible = false; This will

[Flashcoders] Setter Problem

2006-10-02 Thread Victor Gaudioso
Hey all, can anyone kindly tell me why my Setter function does not affect the trace in the Event Handler of my Class. I have commented the two problem areas of the code. Thanks very much in advance, Victor CODE: // ** AUTO-UI IMPORT STATEMENTS ** import com.acmewebworks.controls.BaseClip;

[Flashcoders] RE: PDF2SWF - or other means to convert bytestream PDF to SWF??

2006-10-02 Thread Ettwein, Josh
I hope they don't find out that the PDF is also stored in memory while it's converting! Next they'll ask you to convert the file without it ever actually going into RAM! Haha, that's about where I'm at with this project! Seriously though, if it were me, I'd tell them it has to be in a temp

RE: [Flashcoders] Profanity - (to Lieven especially)

2006-10-02 Thread Steven Sacks | BLITZ
Could we keep the language on this list down a tad? Profanity filters used by corporations to keep tabs on their employees' email communication are just as important as keeping track of what their employees are talking about to ensure vital company secrets aren't being let out. In this

RE: [Flashcoders] Projector Wrapper

2006-10-02 Thread Steven Sacks | BLITZ
Would be interesting to compare with recently released Screenweaver HX (http://haxe.org/swhx). ...says one of the authors of Screenweaver HX. Being a shill doesn't work unless you use a different name. ;) ___ Flashcoders@chattyfig.figleaf.com To

Re: [Flashcoders] Flash webcam sites ...

2006-10-02 Thread greg h
Stephen, Following are some sample sites. Not Community sites or online chat. Perhaps others can post examples of those? Please post back regarding how you might use webcams in your Flash projects. hth, g Flex Barcode Reader http://renaun.com/blog/2006/05/17/33/ Grant Skinner Flash 8

RE: [Flashcoders] Profanity - (to Lieven especially)

2006-10-02 Thread Nick Weekes
If this was a forum, that would be a sticky for the n00bs. Practical advice with a sense of humour, you don't get that everyday... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: 02 October 2006 18:45 To: Flashcoders mailing

Re: [Flashcoders] Ridiculous problem

2006-10-02 Thread Michael Bedar
what type is textForwarder declared as? leave it untyped or set it to type MovieClip instead of type TextForwarder On Oct 2, 2006, at 5:09 AM, Andreas Rønning wrote: TextForwarder is a MovieClip extension. In its constructor it traces (TF instanced); textForwarder =

Re: [Flashcoders] Profanity - (to Lieven especially)

2006-10-02 Thread Michael Bedar
sad but true On Oct 2, 2006, at 1:44 PM, Steven Sacks | BLITZ wrote: Could we keep the language on this list down a tad? Profanity filters used by corporations to keep tabs on their employees' email communication are just as important as keeping track of what their employees are talking

Re: [Flashcoders] Disabling Nested MCs?

2006-10-02 Thread Rich Rodecker
just add the map._visible = false part to after the tween ends. If you're using the built in Tween class there is an onMotionFinished event handler you can use on the tween, and pretty much most of the other tweening engines have something comparable. On 10/2/06, Kevin Cannon [EMAIL PROTECTED]

RE: [Flashcoders] allowScriptAccess

2006-10-02 Thread Steven Sacks | BLITZ
Just waisted 3 hours of my time trying to debug my JS/Flash application. Here's a general debugging tip that I hope will save you time and frustration in the future. One of the best things you can do when a part of your application isn't working, and it isn't readily apparent why, is create a

Re: [Flashcoders] Q:Repurpose flex to flash

2006-10-02 Thread Kevin Newman
I'm don't have the tiny details to answer your question, but I do know that the YahooMaps Flash component was built in Flex, even though it's intended to be used in Flash (they have both a Flex and Flash version, both built in Flex). So it must be possible. Kevin N. [EMAIL PROTECTED] wrote:

Re: [Flashcoders] Q:Repurpose flex to flash

2006-10-02 Thread Marcelo de Moraes Serpa
Well, it's perfectly possible to do it on Flash 8, only the speed (both rendering and processing) would be slower I think (this is indeed an amazingly fast demo) On 10/2/06, Kevin Newman [EMAIL PROTECTED] wrote: I'm don't have the tiny details to answer your question, but I do know that the

[Flashcoders] Has anyone had any experience with Bit Components?

2006-10-02 Thread Rudi Yardley
I'm looking to build a media delivery application and am looking for some basic ultra skinnable lightweight components to use for it. I have been looking around a bit and was wondering if anyone has had experience with Bit Components and if so how have they found their implementation? Basically I

Re: [Flashcoders] Has anyone had any experience with Bit Components?

2006-10-02 Thread Rich Rodecker
for skinnability, they are great. there are some wierd issues you'll encounter here and there, I would check over the products forums for some examples. One such example is that I dont think you can change the animation of the accordion pane. The documentation is decent enough, I don't have any

Re: [Flashcoders] Ridiculous problem

2006-10-02 Thread Scott Hyndman
I've hit a couple problems like this in the past, which are truly unexplainable. They're player (or compilation) bugs, without a doubt. My experience showed that moving this code to around can shows that assignment succeeds. You could also do this:

Re: [Flashcoders] Has anyone had any experience with Bit Components?

2006-10-02 Thread Jim Armstrong
Rich Rodecker wrote: for skinnability, they are great. there are some wierd issues you'll encounter here and there, I would check over the products forums for some examples. One such example is that I dont think you can change the animation of the accordion pane. The documentation is decent

[Flashcoders] Delegate Help

2006-10-02 Thread [EMAIL PROTECTED]
i need to call playFlv() inside another function, but this ain't working... and i have never used Delegate class or some other workaround private function playFlv(file:String){ trace(file); } private function getFLV(id:String):Void{ var xml:XML = new XML(); xml.onLoad =

Re: [Flashcoders] Delegate Help

2006-10-02 Thread Yehia Shouman
You have different ways to do that, Highlighted in red what I added to your code in the 2 styles: 1) If you plan to do it clean, here it goes. import mx.utils.Delegate; private var xml:XML= new XML(); private function playFlv(file:String){ trace(file); } private function

[Flashcoders] Selection class makes me want to kick someone in theface

2006-10-02 Thread Bjorn Schultheiss
You have to rework your logic to the way flash handles selections, Note, there can be a lag between new selections. Also some things you just wont be able to do :( 2. A button appears near the selected text 3. The user taps the button 4. The text field loses focus, launching

Re: [Flashcoders] Selection class makes me want to kick someone in the face

2006-10-02 Thread Josh Santangelo
Could you use MovieClip.onSetFocus instead of MovieClip.onPress or does that only fire when a clip is tabbed to? Just a thought, haven't tried it. -josh On Oct 2, 2006, at 4:12a, Andreas Rønning wrote: ...which is, i gather, somewhat of a general consensus. I'm working on a tablet pc

[Flashcoders] when classes die...

2006-10-02 Thread grimmwerks
Ok, I've got an app that uses a static variable; I've got 'templates' that use x instances of this class. When the user loads in a new template when a previous template has already existed, I get some 'leftover' variables. Is there a function that is called when a class is 'killed', ie the

Re: [Flashcoders] when classes die...

2006-10-02 Thread Scott Hyndman
No. Write a method that does cleanup. Scott On 02/10/06, grimmwerks [EMAIL PROTECTED] wrote: Ok, I've got an app that uses a static variable; I've got 'templates' that use x instances of this class. When the user loads in a new template when a previous template has already existed, I get some

[Flashcoders] timeout for XML.load?

2006-10-02 Thread Josh Santangelo
I'm wondering if it's possible to alter the value which is used as a timeout for the XML.load method -- that is, the amount of time before which the onLoad event fires when no response is returned. I'm dealing with a server which does not always return data very quickly, but does return it

Re: [Flashcoders] timeout for XML.load?

2006-10-02 Thread Victor Gaudioso
you could wrap your onLoad event in a dealy function and set it to run the onLoad after say 1 second. It is kind of hacky but may work for what you need. - Original Message - From: Josh Santangelo [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent:

Re: [Flashcoders] inline images in html text fields?

2006-10-02 Thread Joseph Balderson
Doesn't the CSS styling 'display:inline' work for the IMG tag? __ Joseph Balderson, Flash Developer RIA Specialist http://www.joeflash.ca | 416-768-0987 Writing partner, Community MX | http://www.communitymx.com Développement

Re: [Flashcoders] Setter Problem

2006-10-02 Thread Ray Chuan
Hi, try tracing 'imgViewerFrame' instead of 'frame' on line 32: trace(setImageViewerFrame() is setting var imgViewerFrame to +frame) In your delegated function 'handleButtonClicked' try tracing 'this', to see if there is anything wrong with the scope. On 10/3/06, Victor Gaudioso [EMAIL

Re: [Flashcoders] Projector Wrapper

2006-10-02 Thread Ray Chuan
Hi, Curiously, John Greden, who is from the same agency as you, happens to be an active promoter of Xray on this and other list(s). If John can do it, there's no reason why Nicholas can't. On 10/3/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: Would be interesting to compare with recently