Re: [Flashcoders] Running Flash Application on a local network

2007-01-22 Thread eugen pflüger
i had this problem too. i couldnt get really behind this issue but i know how to avoid this problem and get your files loaded. you need to set the security settings for your pc: http://www.macromedia.com/support/documentation/en/flashplayer/help/ settings_manager04.html the clients computer

Re: [Flashcoders] Dynamically placing caret in a textfield

2007-01-22 Thread Hotmail_Ganesh
Hi! this code would work for you Selection.setFocus(txt); Selection.setSelection(5,5); Ganesh. - Original Message - From: "Martin Tremblay" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 23, 2007 12:58 AM Subject: [Flashcoders] Dynamically placing caret in a textfield I'm try

[Flashcoders] Flash Developer Required : Sydney, Australia

2007-01-22 Thread Arse @ Snepo
Flash Developers at Snepo First off, let's just answer the most important question -- what sort of company is "Snepo"? * We're a startup company and have been in business for a bit over a year now * We do consulting and develop shrink-wrapped software targeting both developers and the gener

Re: [Flashcoders] full-browser flash resizing only a few elements

2007-01-22 Thread R�kos Attila
Probably you refer incorrectly to the video and navigation movieclips. By using "this" you refer to variables/properties of the listener object itself, but obviously there are no such properties (try to trace them out). And also you may need to set Stage.align, too. Attila

Re: [Flashcoders] full-browser flash resizing only a few elements

2007-01-22 Thread Cynthia Lawson Jaramillo
Hi, Thanks for the suggestion, but that didn't work either! Any thoughts on what the setting for scaling should be under Publish Settings? Should that matter, or regardless of what I select there, it should get overriden by my code? Any other thoughts? xx C. On Jan 22, 2007, at 10:51 PM

Re: [Flashcoders] full-browser flash resizing only a few elements

2007-01-22 Thread Webdevotion
Cynthia, If "video" is an instance of the flv player component, you should use this code instead: stageL.onResize = function(){ video.setSize( Stage.width, Stage.height ); } Using _width and _height in this case can cause distortion. If you use the setSize method, the component will handle th

[Flashcoders] full-browser flash resizing only a few elements

2007-01-22 Thread Cynthia Lawson Jaramillo
Hi everyone, I'm trying to fill my browser window with my flash movie, but without resizing my nav buttons. My other element on stage is an FLV so I should be able to assign it's width & height, right? This is my code which does NOT work: Stage.scaleMode="noScale"; var stageL=new Object();

Re: [Flashcoders] Running Flash Application on a local network

2007-01-22 Thread JulianG
are you using an HTTP server on the host computer? or just opening the HTML/SWF file using a network share? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/fl

[Flashcoders] bitmap data question

2007-01-22 Thread [p e r c e p t i c o n]
Hello experts, i'm trying to gain a little clarity on bitmap data...is everything inside of a movieclip considered bitmap data? e.g. if i have a movieclip with a couple of textboxes in it, would everything in the movieclip be considered bitmap data?? thanks much p __

[Flashcoders] Re: Rotating a comboBox

2007-01-22 Thread Dan Styles
Brandon, I'd suggest you look into making your own version of the combo box. A few movieclips and some dynamic Textfields... and you'll have your own version that does what you require it to do, and will be re-usable, probably coded in a more logical way. The flash components, in general, suck.

Re: Re[2]: [Flashcoders] External libraries

2007-01-22 Thread Francis Chary
It's doesn't have to be that way. On the last project I did, I used MTASC for about 90% of the development, then switched to the Flash IDE during the last week. As long as you can start your application with the same line of code, it doesn't really matter which compiler you use. Basically, in Fla

Re: Re[2]: [Flashcoders] External libraries

2007-01-22 Thread Andy Herrman
So, I actually use FlashDevelop to write my code, and just switch to the Flash IDE to build (I really dislike the IDE). The problem with using it has nothing to do with installing it or being able to run it on my machine. The problem is that MTASC would essentially be responsible for things that

RE: [Flashcoders] LoadVars.send() in Flash 9 Player

2007-01-22 Thread Waller, David
Back in June I see a post on this list that has the same problem as mine where a LoadVars.send() does not work in player 9. http://chattyfig.figleaf.com/pipermail/flashcoders/2006-June/168792.html Did Nicolas Cannasse ever get a resolve to it? Dave Waller

RE: [Flashcoders] External libraries

2007-01-22 Thread Chuck Hoffman
Trouble I have with MTASC is I just can't seem to get it to find all my classes properly, and it just silently fails to compile whole chunks of things. I tried to use it in Eclipse with Flashout as ASDT and it seemed like I had to paste in a page and a half of switches to the compiler to tell it w

[Flashcoders] Flash 9 - Express Install

2007-01-22 Thread slangeberg
Geoff, This appears to be working fine for me. I have yet to put this into production.. Thanks!!, -Scott On 10/30/06, Geoff Stearns <[EMAIL PROTECTED]> wrote: it sounds to me like what is happening is that the user has a version less than flash 8 installed, so they *should* get the expressin

RE: [Flashcoders] Q:The case for Functional vs OOP programming

2007-01-22 Thread Chuck Hoffman
Common Lisp has a pretty interesting OO system that has a dynamic character to it reminiscent of Javascript or old-school AS, but that supports polymorphism through a thing called generic functions -- a function contains multiple implementations and selects the one that's defined as being for the c

RE: [Flashcoders] Rotating a comboBox

2007-01-22 Thread Steven Sacks | BLITZ
> Is there any easy way... Write your own. Seriously. The reason it's not rotated is because the ComboBox component's drop down is drawn on the _root. The v2 components are crap. They're hermetically sealed so you can't easily hack them, they're bloated and slow, they're much harder to skin, e

RE: Re[2]: [Flashcoders] External libraries

2007-01-22 Thread Steven Sacks | BLITZ
I think you have a misconception about MTASC. It isn't a replacement for Flash (unless you're a G like Ben Jackson), it's a 3rd party compiler for Flash. When Flash compiles, it recompresses all the media (graphics, sound, components) as it compiles. All MTASC does is injects code into the swf.

RE: [Flashcoders] Running Flash Application on a local network

2007-01-22 Thread Holth, Daniel C.
If the application is running locally, are the XML files still pulled from external websites? Is it only the XML that isn't loading? If so, how are you loading the XML? ~Daniel Holth -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of vipin chandran Sent:

Re: Re[2]: [Flashcoders] External libraries

2007-01-22 Thread Hans Wichman
Hi, you might reach a point (at least I think a lot of us including me reached that point), in which the only hope to finish a project in time is using Mtasc and say flasc or flashdevelop (or some same kind of other tool). Switching might be easy or difficult, depending on your project (setup). Fo

[Flashcoders] Running Flash Application on a local network

2007-01-22 Thread vipin chandran
Hello All, I have some serious issue, at the end of my projects. I have a flash application, which is developed for web, which loads xmls, flvs, images etc... The client also want this to be in their local network. When I tried running the html file from the network, few of the content (xmls)

[Flashcoders] Dynamically placing caret in a textfield

2007-01-22 Thread Martin Tremblay
I'm trying to place the caret at a specific position in a textfield, but this seems to work only after I click at least once in the textfield. But in my app, I CAN'T click, anybody know a way to get the caret to blinking at a specific position without clicking in the textfield first ?? Here's a

Re: [Flashcoders] Q:The case for Functional vs OOP programming

2007-01-22 Thread Andy Herrman
Flash is fairly unrestrictive, and you can do some functional programming in it, but I wouldn't really call it a functional language. It still seems designed as a procedural language, just with some constructs that allow you to do functional-style programming (first-order functions). I know some

Re: Re[2]: [Flashcoders] External libraries

2007-01-22 Thread Andy Herrman
It's the "hope that he/she will not screw up your movie at all" that I worry about. @Steven I work for a very large corporation, and they're pretty anal about what we do and don't use. I hear good things about MTASC, so I'd like to try and use it, but given where we are with the current project

[Flashcoders] Flash MP3 recorder?

2007-01-22 Thread Gareth Hudson
Does anyone know if it would be possible to have a browser based audio recorder within flash that would allow a user to use their microphone to record what they were saying as an MP3? Security issues within browsers make me think that it would be very difficult to achieve this. If it's possible

RE: [Flashcoders] Multi-dimensional array problems in classes

2007-01-22 Thread Gareth Hudson
Thanks everyone for the assistance as it has helped me to get it working. Regards, Gareth. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of slangeberg Sent: 20 January 2007 20:42 To: Flashcoders mailing list Subject: Re: [Flashcoders] Multi-dimensional ar

Re: [Flashcoders] Q:The case for Functional vs OOP programming

2007-01-22 Thread Hans Wichman
Hi, i'd say flash is fairly unrestrictive (compared to java) in what you can or cannot do. If I look at Joel's javascript samples, most of them copy directly to actionscript. Wrap'm in an Example class and a combo is born:) Or am I making this seem to easy?:) greetz JC On 1/22/07, Andy Herrman

Re[2]: [Flashcoders] External libraries

2007-01-22 Thread R�kos Attila
AH> The main reason I don't want to do that is that I won't have control AH> of the 'brand.swf' versions. I just worry someone might put something AH> on the canvas in brand.swf by mistake. If I was able to put my stuff AH> on root or another MC then I could just hide the uiResources MC, so it A

[Flashcoders] Rotating a comboBox

2007-01-22 Thread Brandon Barkley
Whenever I rotate a v2 component comboBox on and click the arrow, the dropdown still appears as though the comboBox was not rotated. Is there any easy way to have this appear rotated as well? Brandon ___ Flashcoders@chattyfig.figleaf.com To change you

Re: [Flashcoders] Q:The case for Functional vs OOP programming

2007-01-22 Thread Andy Herrman
Unhijacking of thread is a go! I haven't really used any functional language stuff for a couple years, so I may be off base a bit, but I'm not sure if you could really create a language that's both Functional and OOP, as OOP is a fairly procedural construct. The main problem I see is that OOP an

RE: [Flashcoders] External libraries

2007-01-22 Thread Steven Sacks | BLITZ
> Unfortunately I'm stuck using the Flash IDE only (no MTASC). :( Why can't you use MTASC? Has somebody got a gun to your head and will pull the trigger if you use it? If that's the case, might I suggest bringing a kevlar helmet to work? ;) I highly recommend FLASC http://www.osflash.org/flasc

Re: [Flashcoders] External libraries

2007-01-22 Thread Andy Herrman
The main reason I don't want to do that is that I won't have control of the 'brand.swf' versions. I just worry someone might put something on the canvas in brand.swf by mistake. If I was able to put my stuff on root or another MC then I could just hide the uiResources MC, so it wouldn't matter i

RE: [Flashcoders] LoadVars.send() in Flash 9 Player

2007-01-22 Thread Waller, David
This is the coade that does not work in 9, but does what it is supposed to in 8. I have debug lines in it see what parts it is doing and the last line of the function does end up in the player so I can only believe that 9 just passes over the fryLv.send() statement. function processItems(){

Re: [Flashcoders] Long URLs Getting Truncated from Flash

2007-01-22 Thread slangeberg
Slickest method is to POST vars rather than GET. Sorry if it isn't feasible. However, your lookup table may hold some promise. -Scott On 1/22/07, Jason Lutes <[EMAIL PROTECTED]> wrote: I realized that I forgot to give my e-mail a pertinent subject line after I sent it. Sorry about that. > W

Re: [Flashcoders] LoadVars.send() in Flash 9 Player

2007-01-22 Thread slangeberg
Yeah, there is some confusion there. You can't use: flash.net.sendToURL() in flash 8. So, like you said, the issue is: The swf works just fine in the 8 version of the player but in 9 it seems to just pass over the command. I have not seen this happen myself. I've had no problem with F8 mov

Re: [Flashcoders] Q:The case for Functional vs OOP programming

2007-01-22 Thread Hans Wichman
Hi, not sure if u are aware of the fact that you are hijacking this thread?:) greetz JC On 1/22/07, Jason Lutes <[EMAIL PROTECTED]> wrote: What's a slick way to bypass the restrictions imposed as Flash automatically truncates URLs (to 128 characters) that are used as values of HREF attributes

Re[2]: [Flashcoders] Q:The case for Functional vs OOP programming

2007-01-22 Thread R�kos Attila
I didn't remember such restriction so tried it with a more than 1000 character long URL, and it is working on IE and FF, Flash Player 9 (movie published to player 8). Attila ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

RE: [Flashcoders] LoadVars.send() in Flash 9 Player

2007-01-22 Thread Waller, David
I am publishing in 8 Basic, with AS2 specified. That is were I am puzzled, I would have thought that the 9 player would act like an 8 player if it was authored in 8 (or 7, or 6...) Doesn't the 9 player have backwards compatable methods in it? Dave -Original Message- From: [EMAIL PROTEC

[Flashcoders] Long URLs Getting Truncated from Flash

2007-01-22 Thread Jason Lutes
I realized that I forgot to give my e-mail a pertinent subject line after I sent it. Sorry about that. > What's a slick way to bypass the restrictions imposed as > Flash automatically truncates URLs (to 128 characters) that > are used as values of HREF attributes in HTML text or as > arguments

RE: [Flashcoders] Q:The case for Functional vs OOP programming

2007-01-22 Thread Jason Lutes
What's a slick way to bypass the restrictions imposed as Flash automatically truncates URLs (to 128 characters) that are used as values of HREF attributes in HTML text or as arguments passed to getURL? One of our clients needs long URLs to open in a browser from the Flash application. Right now

Re: [Flashcoders] External libraries

2007-01-22 Thread Andy Herrman
Martin, you are my hero. uiResources.attachMovie(...) worked like a charm, and it'll let me dynamically change which brand.swf I use (as opposed to Links which wouldn't). Thanks! -Andy On 1/22/07, Andy Herrman <[EMAIL PROTECTED]> wrote: That's what I was afraid of. I want to avoid doing th

Re: [Flashcoders] External libraries

2007-01-22 Thread Francis Chary
Yeah, I just replicated your setup, and I get the same error. I actually didn't know about the _root limitation of attachMovie, so cheers Martin, I learned something today. As he pointed out, your code works nicely when you do root.uiResources.attachMovie but you've said that you don't want

Re: [Flashcoders] External libraries

2007-01-22 Thread Andy Herrman
There is code in the first frame of main.swf: stop(); Stage.scaleMode = "noScale"; BrandTest.main(this); So "root" in the BrandTest movie is the same as "_root". I just don't like using the "_root" variable. Global vars make me feel dirty (unless they're singletons accessed with getInstance()

Re: [Flashcoders] External libraries

2007-01-22 Thread Andy Herrman
That's what I was afraid of. I want to avoid doing that, as the brand.swf it meant just to be an external library which can be swapped around, though I guess I could have my main.swf build the UI inside the uiResources MC. Kind of ugly though. I'm guessing I could do it with links, but from wha

Re: [Flashcoders] External libraries

2007-01-22 Thread Francis Chary
Ok, that code all looks good, but I have a couple of questions. In initUI() function, what do you get if you also put in: trace(root); I only ask, because it looks like the brand.swf is loading in correctly. What I'm curious about is, what's going on with the 'root' mc? I notice that in your mai

Re: [Flashcoders] External libraries

2007-01-22 Thread Martin Wood-Mitrovski
you cant attach symbols from a loaded swf to a different parent, you *must* attach them somewhere in the tree where their library exists. you have to do uiResources.attachMovie instead of _root.attachMovie its a nasty limitation of flash (pre v9, in v9 you can manipulate the display heirarchy

Re: [Flashcoders] Saving out XML direct from Flash?

2007-01-22 Thread slangeberg
prejudice against extended projectors Prejudice isn't good. Oh yeah, accept it. Flash player sandbox does NOT allow local file system access. ;) However, that's what Apollo's all about. Yahoo!! -Scott On 1/22/07, Henry Cooke <[EMAIL PROTECTED]> wrote: Thanks. I ended up (after seriously

Re: [Flashcoders] External libraries

2007-01-22 Thread Andy Herrman
That's actually exactly what I'm trying, yet it doesn't seem to be working. Here's my code: -- import mx.utils.Delegate; class BrandTest { private var root:MovieClip; private var uiResources:MovieClip = null;; public static function main(rootMC:MovieClip):Void { new BrandTest(rootM

Re: [Flashcoders] LoadVars.send() in Flash 9 Player

2007-01-22 Thread slangeberg
Are you publishing as flash 9? If so, you'll want to handle that (player version). It can't be done inside the movie, as far as I know. If you're using the template html-js published by Flex Builder, than you're good to go. -Scott On 1/22/07, Waller, David <[EMAIL PROTECTED]> wrote: So can I w

Re: [Flashcoders] Saving out XML direct from Flash?

2007-01-22 Thread Henry Cooke
Thanks. I ended up (after seriously considering porting to AS3 and having it *serve itself* a file through flash.net.socket :D ) getting over my prejudice against extended projectors and using Screenweaver HX, which actually seems pretty nice. Cheers, Henry On 22/01/07, Andrew J Kirkham <[EMAIL

RE: [Flashcoders] LoadVars.send() in Flash 9 Player

2007-01-22 Thread Waller, David
So can I wrap a an if statement that detects the player and do something like: if (player9){ flash.net.sendToURL() } else { LoadVars.send() } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of greg h Sent: Friday, January 19, 2007 6:36 PM To: Flashcoders ma

Re: [Flashcoders] External libraries

2007-01-22 Thread Francis Chary
Let me have a crack at this one, Andy.. ;) Basically, linkages are just a way of telling the code how to identify a particular item in the library. When you right-click one of your buttons in the Brand.fla library and click 'Linkage...', you'll see the Linkage dialog box. Now, click on the checkb

RE: [Flashcoders] Q:slightly OT:browser scrollbars, full browser flash and UFO

2007-01-22 Thread Smeets, Ben
Might misunderstand your question, but isn't this default browser behaviour? A.k.a. you don't need to do anything to get it the way you want? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: maandag 22 januari 2007 16:36 To: flashco

Re: [Flashcoders] External libraries

2007-01-22 Thread Andy Herrman
Unfortunately I'm stuck using the Flash IDE only (no MTASC). :( I don't really understand how linkages work. Is there a way to do something similar using just the Flash IDE? I have a feeling that's the way I'm going to have to do it. -Andy On 1/22/07, Trevor Burton <[EMAIL PROTECTED]> wrote

[Flashcoders] Q:slightly OT:browser scrollbars, full browser flash and UFO

2007-01-22 Thread moveup
Hi I regularly use UFO for flash embedding with full browser flash sites. Recently had a client request that we support 800X600 monitors while my primary flash stage is 1028 X 700. So I need a way to auto display the browser scrolbars when the browser window is made smaller than the stage. Has

Re: [Flashcoders] Embed JS for flash 9 content

2007-01-22 Thread slangeberg
Take a look at Adobe's player detection: http://www.adobe.com/products/flashplayer/download/detection_kit/ Have you looked at using the Express Install option, seperately from swfobject?: SRC: http://www.adobe.com/devnet/flash/articles/swfobject_print.html #include "expressinstall.as" // init

Re: [Flashcoders]MovieClipLoader http error codes

2007-01-22 Thread Donald Desloge
Thanks for the info, I look into it on the server end. - Original Message From: Derek Vadneau <[EMAIL PROTECTED]> To: flashcoders@chattyfig.figleaf.com Sent: Monday, January 22, 2007 9:52:03 AM Subject: Re: [Flashcoders]MovieClipLoader http error codes >From the docs: "If Flash Player ca

Re: [Flashcoders] External libraries

2007-01-22 Thread Trevor Burton
ok, i work on a setup that sounds like it's what you're aiming for... i've recently started working with MTASC and swfmill in order to get file sizes down to a minimum and streamline the build process - what i do at the moment is this (simplified) 1 - all code is compiled into a library using mta

Re: [Flashcoders]MovieClipLoader http error codes

2007-01-22 Thread Derek Vadneau
>From the docs: "If Flash Player cannot get a status code from the server, or if Flash Player cannot communicate with the server, the default value of 0 is passed to your ActionScript code. A value of 0 can be generated in any player (for example, if a malformed URL is requested), and a value of

[Flashcoders] External libraries

2007-01-22 Thread Andy Herrman
I'm beginning work on a new project that will need to have a brandable UI and I'm looking for suggestions on how to proceed. I'm pretty new to Flash development, so I don't really know if there's a standard way of doing this. What I would like to do is have the main application's SWF load a seco

[Flashcoders]MovieClipLoader http error codes

2007-01-22 Thread Donald Desloge
I'm getting an httpStatus code of 0 back from a MovieClipLoader error. This only happens on a Mac with the Flash IDE. Every once and a while I get a 403 http error but not all of the time. I was wondering if anyone else has run into that error before or not? - Original Message From: "[

Re: [Flashcoders] Multi-dimensional array problems in classes

2007-01-22 Thread eka
Hello :) If you can compile your code in AS2 you can use my openSource framework VEGAS and this ADT package (vegas.data) ... you can find in this library all JAVA collections (Collection, Map, Iterator, List, Queue...) i think you can find good tools for you problem :) 1 - go in the project pa:

RE: [Flashcoders] Multi-dimensional array problems in classes

2007-01-22 Thread Merrill, Jason
>>Just a hint. >>Often multi-dimensional arrays are just crying out to be >>single arrays of objects and if their wish is granted, your >>code becomes amazingly small and elegant as your reward for >>granting their wish. I agree - IMO best and most flexible way is an array of objects (which obj

RE: [Flashcoders] OT: Flex & instances

2007-01-22 Thread Merrill, Jason
Thanks Farid! Jason Merrill Bank of America Learning & Organizational Effectiveness >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Farid Shahlavi >>Sent: Thursday, January 18, 2007 9:27 AM >>To: Flashcoders mailing list >>Subject:

Re: [Flashcoders] Saving out XML direct from Flash?

2007-01-22 Thread Andrew J Kirkham
I managed something like this by embedding my Flash movie in a Director movie, which managed the saving of the XML. I'm afraid I no longer have access to the files, but I seem to remember it didn't take me very long to implement. Andy - Original Message - From: "Henry Cooke" <[EMAIL

[Flashcoders] Flash IE OCX error

2007-01-22 Thread Arindam Dhar
hi, I have encountered flash ocx error many times which just appears without any hint after which I have no other option but to close the relevent browser. This is what exactly i get in the error popup, Internet explorer encountered a problem with addon and needs to close. The