RE: [Flashcoders] proportional image/clip scaling

2006-03-21 Thread Jim Tann
This is a very old function and needs tidying up but I tink it should help public function getScaleToFit(mcChild:MovieClip,intHeight:Number,intWidth:Number, blnOver100:Boolean):Number{ var intScale:Number = 100; if(intHeight ==

Re: [Flashcoders] proportional image/clip scaling

2006-03-21 Thread Ramon Miguel M. Tayag
Here are two functions I just copied from a class of mine: _nScale is the scale it will be, assuming that a perfect fit to the container box is 100%. nLPW - is the width of the container box nLPH - is the height of the container box the code also centers the mc to the box. private function

Re: [Flashcoders] loading images into in cell renderer datagrid

2006-03-21 Thread Oleg Filipchuk
Hello, May you provide your setValue function for your ImageCellRenderer? Oleg On 3/20/06, Rich Rodecker [EMAIL PROTECTED] wrote: i have a datagrid that uses a cell renderer for one of the columns. This cell renderer uses a Loader component to an load image into it. For most of the rows in

Re: [Flashcoders] once again: How to interrupt MovieClipLoader.loadClip()

2006-03-21 Thread Roman Blöth
Roman Blöth schrieb: [..] In any case the MovieClipLoader finishes the loading progress currently running before handling the empty or the new download, no matter when I try to interrupt the download. Man, there must be some way to interrupt a running loadClip-progress!? Finally I found the

Re: [Flashcoders] Flex demos

2006-03-21 Thread Arul Prasad
http://weblogs.macromedia.com/flex_samples/ On 3/21/06, Jim Kremens [EMAIL PROTECTED] wrote: Hi all, I'm trying to sell a client on Flex. I want to be able to show him some examples. I've seen this page: http://www.macromedia.com/cfusion/showcase/index.cfm

[Flashcoders] While and Var

2006-03-21 Thread Laurent CUCHET
Good morning, 1) I create dynamic textfield with while option I try to create dynamic border and content without success Have you got a tips to done it Thank you / var dtd; var spa; var spa1; var dt = 0; while (dt=99) { dtd = var+dt; spa = dt*5;

Re: [Flashcoders] While and Var

2006-03-21 Thread Janis Radins
createTextField() returns refference to textfield object only since flash 8 2006/3/21, Arul Prasad [EMAIL PROTECTED]: var dtd; var spa; var spa1; var dt = 0; while (dt=99) { dtd = var+dt; spa = dt*5; spa1 = (dt*15)+45; _root.createTextField(dtd, dt, 0, spa1, 100, 15);

Re: [Flashcoders] While and Var

2006-03-21 Thread Arul Prasad
var dtd; var spa; var spa1; var dt = 0; while (dt=99) { dtd = var+dt; spa = dt*5; spa1 = (dt*15)+45; _root.createTextField(dtd, dt, 0, spa1, 100, 15); _root[dtd].text=spa1; _root[dtd].border=true; _root[dtd].selectable=false; dt++; } note: var dtd; var spa; var spa1; var

Re: [Flashcoders] LOADVARS not working IE

2006-03-21 Thread Johnny Zen
capturephp = new LoadVars(); nr = nr + 0; ticker = null; setInterval (refresh_loadvars_timer,5000); //rotate timer// var crt_comp = 0; function rotate_timer() { i = current_comp; comp_name = eval(comp_name+i); comp_date = eval(date_from_php+i);

RE: [Flashcoders] While and Var

2006-03-21 Thread Adrian Lynch
You're reference to the new text field is off, try storing the reference like this: dtd = _root.createTextField(dtd, dt, 0, spa1, 100, 15); So the working code is: var dtd; var spa; var spa1; var dt = 0; while (dt=99) { trace(dt); dtd = var+dt; spa = dt*5; spa1 = (dt*15)+45;

Re: [Flashcoders] While and Var

2006-03-21 Thread Arul Prasad
Dunno why I copy pasted 2 times! The only changes were in the three lines where I replaced dtd with _root[dtd] You could use _root. dtd as well. Of course you will have to optimize the code. var dtd; var spa; var spa1; var _txt:TextField; var dt = 0; while (dt=99) { dtd = var+dt; spa =

[Flashcoders] sliding panels menu anyone?

2006-03-21 Thread Luca Candela
Anyone knows where to find a brief tutorial or some idea on how to replicate the sliding panel menu in this website? http://www.deejay.it/default.jsp?s=home ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] LOADVARS not working IE

2006-03-21 Thread Johnny Zen
HI all My flash using Loadvars within a secure webpage works in FIREFOX but not in IE. I've tried to find the reasons why, and have got lost in headers, web server configs, dummy variables and IE settings. Can someone please explain, if possible, a simple answer (so I can understand) the reason

RE: [Flashcoders] LOADVARS not working IE

2006-03-21 Thread Adrian Lynch
Got any code to see? Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Johnny Zen Sent: 21 March 2006 12:28 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] LOADVARS not working IE HI all My flash using Loadvars within a secure webpage

Re: [Flashcoders] wait or sleep

2006-03-21 Thread Danny Kodicek
Hello, is possible to make a wait or sleep (like java) to stop a code execution and after n seconds return to execute? Not directly, but you can create the same functionality with setInterval() Danny ___ Flashcoders@chattyfig.figleaf.com To change

[Flashcoders] 27th March Sydney Developers study group

2006-03-21 Thread Chris Velevitch
On Monday 27th March is the next meeting of the study group we will be studying the flash application framework ARP. Please read the articles prior to the meeting (see http://www.flashdev.org.au/program). At the meeting, the moderator will lead discussion and with questions about the topic. The

Re: [Flashcoders] sliding panels menu anyone?

2006-03-21 Thread eric dolecki
Actually the way that one is set up, there doesn't seem to be any timers, so essentially you can build that using some XML and build the subMenu clips ahead of time, and place them on rollovers. And use FlashVars to send the same SWF a different variable on each page so it knows what to draw. On

Re: [Flashcoders] Loading local Html File from offline Presentation

2006-03-21 Thread Alfredo Laguia Laborda
if the file first.html is in the same directory than the .swf just call getUrl('first.html','_blank'); bye - Original Message - From: Rob [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, March 21, 2006 3:24 PM Subject: [Flashcoders]

Re: [Flashcoders] While and Var

2006-03-21 Thread Roman Blöth
Laurent CUCHET schrieb: 1) I create dynamic textfield with while option I try to create dynamic border and content without success / var dtd; var spa; var spa1; var dt = 0; while (dt=99) { dtd = var+dt; spa = dt*5; spa1 = (dt*15)+45;

Re: [Flashcoders] Flex demos

2006-03-21 Thread Jim Kremens
thanks! On 3/21/06, Arul Prasad [EMAIL PROTECTED] wrote: http://weblogs.macromedia.com/flex_samples/ On 3/21/06, Jim Kremens [EMAIL PROTECTED] wrote: Hi all, I'm trying to sell a client on Flex. I want to be able to show him some examples. I've seen this page:

[Flashcoders] How would I use an insert target path dialog in my own components?

2006-03-21 Thread Manuel Saint-Victor
How do I put the insert target path dialog in a component so that people can target a particular component? Thanks- Mani ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] wait or sleep

2006-03-21 Thread iashido
http://proto.layer51.com/d.aspx?f=454 On Mar 21, 2006, at 4:13 PM, Danny Kodicek wrote: Using setInterval, I can only call a method (or funciton) same time later. I can't continue to run from the same point, at same function. Exist another solution for this? Yes, put your remaining code

Re: [Flashcoders] wait or sleep

2006-03-21 Thread [EMAIL PROTECTED]
Using setInterval, I can only call a method (or funciton) same time later. I can't continue to run from the same point, at same function. Exist another solution for this? Schramm Danny Kodicek wrote: Hello, is possible to make a wait or sleep (like java) to stop a code execution and after n

Re: [Flashcoders] wait or sleep

2006-03-21 Thread Gabriel Belvedere
you don't need a wait, the way you are doing its correct, except for the order mclip.onLoad() { continue(); } mclip.loadMovie(); if you end your code right after the loadmovie it will continue on the onLoad. cheers GaB. ___

[Flashcoders] Loading local Html File from offline Presentation

2006-03-21 Thread Rob
Hello Flashfriends, I'd like to open a local html site from a projector-presentation on CD. I need to point to an relative (because I dont know the CD-Driveletter of the running Systems) URL on the CD (absolute path: CD-DriveLetter:\websites\first.html) . I've tried:

Re: [Flashcoders] wait or sleep

2006-03-21 Thread [EMAIL PROTECTED]
If you are inside a loop, and need to wait you have a big problem! I would like a semaphore for syncronization. :-\ The Adobe/Macromedia must put this on Flash. (AS) :'( . Danny, thanks for you help! ;-) Rodrigo Schramm Danny Kodicek wrote: Using setInterval, I can only call a method

Re: [Flashcoders] wait or sleep

2006-03-21 Thread elibol
I believe the effect of a wait() function in Flash would cause an application to freeze/hang. Actionscript is a single threaded language, I don't even think a wait() type function could be implemented with sufficient practicality. Wouldn't it just stop the entire thread from executing any further,

Re: [Flashcoders] wait or sleep

2006-03-21 Thread Danny Kodicek
Using setInterval, I can only call a method (or funciton) same time later. I can't continue to run from the same point, at same function. Exist another solution for this? Yes, put your remaining code into a separate function: id=setInterval(function(){myRemainingCode},2000) You can

RE: [Flashcoders] wait or sleep

2006-03-21 Thread Mike Mountain
Wouldn't it just stop the entire thread from executing any further, then resume it, leaving the state of the application identical to the state it was in prior to calling the wait() function? Yes, but this would be very handy to free up CPU cycles to allow other processes to execute. I'm

Re: [Flashcoders] wait or sleep

2006-03-21 Thread eric dolecki
F8 has addressed some of those concerns - and AS3/FP8.5 looks to make major improvements. Your C++ co-workers are just jealous that you're having fun :) On 3/21/06, Mike Mountain [EMAIL PROTECTED] wrote: Wouldn't it just stop the entire thread from executing any further, then resume it,

[Flashcoders] PrintJob causes Abort Script message to appear

2006-03-21 Thread
I'm working on a complex Flash online application. Its all done in code and components, consisting of over 200 classes and probably around 50,000 lines of code. Unfortunately we have one unresolved issue. In a couple of places we have print functionality. When the print job system dialogue

[Flashcoders] Custom V2 Components - Compiled vs. StandardComponents.fla

2006-03-21 Thread Keith Takayesu
We've been building some custom V2 components in Flash 8, and have found some issues regarding the Uncompiled components found in StandardComponents.fla, vs. the compiled SWCs. For example, the Label from the StandardComponents.fla file will not accept styles for font after we instantiate it

[Flashcoders] Object.watch overhead?

2006-03-21 Thread Julien Vignali
Hi list, I am playing around with the Object.watch() function in my custom UI components classes... I wanted to know if having 8-10 watches in a class would create some CPU overhead, or does it just work like an internal classic Delegate (which also requires an unwatch() upon object

Re: [Flashcoders] wait or sleep

2006-03-21 Thread elibol
yes, we did a recent benchmark for a client that requires some real power, running the same set of arithmetic calculations this is what we discovered: as2 finished executing the code in approximately 20 seconds Java finished executing the code, in 3 renditions, 1422/ 1402/ 1438 milliseconds

RE: [Flashcoders] Images in textFields..

2006-03-21 Thread Karim Beyrouti
Wow - I posted this at least 3 weeks ago... I did try that .. Kinda exhausted my options.. And ended up not using the images inside textfields. I am dynamically building all the interface elements into a scrollable pane... Much better, at least it works as expected this way round.. Thanks for

[Flashcoders] AS Files question

2006-03-21 Thread Patrick Jean
Greetings. I'm pretty new to the external AS files concept and I have a quick question. I made a first external class, let's call it Class A I also created a second external class. Let's call it Class B If I want to properly reference Class B from within the Class A AS file , what is

Re: [Flashcoders] Un-HQX, Burn in Mac, make ISO in PC, and make copies in PC

2006-03-21 Thread erixtekila
This question is pretty usefull. I presume that the .hqx files that are Mac's flash projector use a ressource fork. Once you copy this on another os, you loose it. Without it the file won't launch again. Zipping it is not a solution as it doesn't preserve ressource forks. You could use .sit,

Re: [Flashcoders] AS Files question

2006-03-21 Thread elibol
There is, import class B within class A, having multiple imports of the same class won't cause the compiler to compile the same class more than once. import B; class A { function A(){ var bInstance = new B(); } } you can also do something like this: import B; class A { private var

Re: [Flashcoders] AS Files question

2006-03-21 Thread Roman Blöth
Patrick Jean schrieb: Greetings. I'm pretty new to the external AS files concept and I have a quick question. I made a first external class, let's call it Class A I also created a second external class. Let's call it Class B If I want to properly reference Class B from within the

Re: [Flashcoders] Object.watch overhead?

2006-03-21 Thread elibol
I see, just for some info, the compiler won't allow the watching of getter and setter functions. It should yield less overhead than any alternative, such as observer/listener patterns with ASBroadcast, otherwise I don't see the purpose in having it at all. I'm not sure about the garbage

Re: [Flashcoders] AS Files question

2006-03-21 Thread eric dolecki
would this work? import SequencerOBJ; class ComOBJ extends LoadVars { private var myTest:SequencerOBJ; public function ComOBJ() { myTest=new SequencerOBJ(It works); } } On 3/21/06, Patrick Jean [EMAIL PROTECTED] wrote: I get the idea, but it doesn't

Re: [Flashcoders] AS Files question

2006-03-21 Thread Roman Blöth
Patrick Jean schrieb: [..] So in my 2nd Class , I put : - import SequencerOBJ; class ComOBJ extends LoadVars { private var myTest:SequencerOBJ=new SequencerOBJ(It works); public function ComOBJ() {

[Flashcoders] AS Files question [FIXED]

2006-03-21 Thread Patrick Jean
Yes it works !! Thanks a lot. What is the problem with creating object variables outside the constructor ? As far as I remember from my C++ time , java c++ were allowing you to do that so I thought AS2 would. Thanks again, and thanks to the other people that gave me extra information. That is

RE: [Flashcoders] AS Files question

2006-03-21 Thread Patrick Jean
That works. Thanks for the information :) Patrick Jean Directeur de projets internet Monac'OH Data Mercantour http://www.monacoh.com -Original Message- Yeah, you should - besides your issue - NEVER rely on values passed during variable declaration! These values sometimes are not

[Flashcoders] Save file from Mac / Pc Projector on CDROM to Hard drive

2006-03-21 Thread Paul Steven
I need to include a button in a cdrom projector that when clicked will copy a particular file from the CDROM to the users hard drive with a dialogue box asking them where to save it to. Any suggestions? It must work on PC and MAC Thanks Paul ___

Re: [Flashcoders] Un-HQX, Burn in Mac, make ISO in PC, and make copies in PC

2006-03-21 Thread Sam Thorne
hqx are not macintosh projectors per se, they are the encoded versions of Macintosh (including the rsrc fork) projectors that _can_ be copied around, you would then decode the hqx on a Mac or using something like CDEverywhere on a PC, which decodes the hqx on the fly as it creates a disc

Re: [Flashcoders] Find Nearest Color?

2006-03-21 Thread Joshua Buhler
That's what I actually ended up doing, and it worked out pretty good: private function getClosest (red1:Number, green1:Number, blue1:Number):Number { var totalColors:Number = __palette.length; var tempDistance:Number; var

Re: [Flashcoders] Save file from Mac / Pc Projector on CDROM to Hard drive

2006-03-21 Thread Flapflap
Paul Steven a écrit : I need to include a button in a cdrom projector that when clicked will copy a particular file from the CDROM to the users hard drive with a dialogue box asking them where to save it to. Any suggestions? It must work on PC and MAC Zinc mProjector SwfStudio

[Flashcoders] international keyboards

2006-03-21 Thread Jon Rowe
Hi All, I'm trying to localize a site for Swedish peeps and I'm having trouble displaying those Nordic characters in an input text field for an email form. My file uses shared fonts, principally Univers, the correct font outlines for these characters are contained in the embedded fonts - I

Re: [Flashcoders] Save file from Mac / Pc Projector on CDROM to Hard drive

2006-03-21 Thread Sam Thorne
I wrote an applescript a few years back that does this on Mac, on PC you'll need to use something like a batch script or one of those proxy exes you can call with fscommand. http://flashkit.com/board/showthread.php?t=396320 (There are lots of free ones which will do just that, rather than

RE: [Flashcoders] Save file from Mac / Pc Projector on CDROM to Harddrive

2006-03-21 Thread Paul Steven
Thanks Sam Looks like you are opening the file tell application Finder open file targetFile end tell Is there an equivalent to just copy / save the file to the users hard drive? Thanks Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sam

Re: [Flashcoders] How would I use an insert target path dialog in my own components?

2006-03-21 Thread elibol
those are inspectable properties, you use meta tags to identify them: [Inspectable] private var item_library_ID:String; or something like: [Inspectable(enumeration='vertical,horizontal', defaultValue='vertical')] private var proportion:String; Search Flash help for Inspectable to get a better

Re: [Flashcoders] Un-HQX, Burn in Mac, make ISO in PC, and make copies in PC

2006-03-21 Thread erixtekila
hqx are not macintosh projectors per se, they are the encoded versions of Macintosh (including the rsrc fork) projectors that _can_ be copied around Hm… you're right. .hqx is binhex encoded file (something like uuencode) BTW I've made a confusion. I meant : Is it possible to give a resource

[Flashcoders] OT: Disney-esque designer folios

2006-03-21 Thread Dan Thomas
Hey am looking for some Disney-esque designer portfolios for a potential future flash project. Anyone have any suggestions or can point me in the right direction? Cheers Dan This message and any attachments should only be read by those persons to whom it is addressed and be used by them for its

Re: [Flashcoders] Save file from Mac / Pc Projector on CDROM to Harddrive

2006-03-21 Thread Sam Thorne
Oops, yes sorry. I'd posted a copy script there before, but obviously not put it in the FAQ, here you go: --set the name of the file to copy property fileName : my file.doc --get the path to the containing folder set myPath to (path to me as string) set AppleScript's text item delimiters

Re: [Flashcoders] How would I use an insert target path dialog in my own components?

2006-03-21 Thread Manuel Saint-Victor
elibol, Thanks for the quick response. I understand that part. Where I'm stuck is trying to create a window like the one in the actionspanel where a person can select an instance name from the hierarchy of instances on the stage. Would you happen to know how to get that to appear. I'm starting

Re: [Flashcoders] LOADVARS not working IE

2006-03-21 Thread Robert Leisle
I had this same issue last month. Here's the advice I got (Thanks to Mark Llobrera) on this board. It was right on target for me. Hope it helps you too. You may want to check this posting: http://www.blog.lessrain.com/?p=276. As I understand it, if the server is returning no-cache headers for

RE: [Flashcoders] wait or sleep

2006-03-21 Thread Ryan Potter
Here is another way that might help. You can use Fuse to sequence and wait. Code Post: http://thoughtwillrise.com/ Fuse: http://mosessupposes.com/Fuse/index.html -Original Message- From: [EMAIL PROTECTED] on behalf of iashido Sent: Tue 3/21/2006 7:16 AM

[Flashcoders] referencing my main movieclip in a movie clip that is above(i think)

2006-03-21 Thread Jose Maria Barros
Hi...i know that is a newbie question, but..here it goes: I have a swf A. When i press a button in it, i load an external swf B into swf A. When i click a button in swf A , i wanted to swf B reach a variable that is in an movieclip that is in swf A. I tried this in the end of the main timeline

Re: [Flashcoders] referencing my main movieclip in a movie clip that is above(i think)

2006-03-21 Thread Roman Blöth
Jose Maria Barros schrieb: Hi...i know that is a newbie question, but..here it goes: I have a swf A. When i press a button in it, i load an external swf B into swf A. When i click a button in swf A , i wanted to swf B reach a variable that is in an movieclip that is in swf A. I tried this in

[Flashcoders] Browse folders from flash

2006-03-21 Thread Felipe Fernandez
Hi all, is it possible open a windows browser in order to user choose a local directory/folder? Of course, from flash (8 or, best, MX 2004) Regards. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Save file from Mac / Pc Projector on CDROM toHarddrive

2006-03-21 Thread Paul Steven
Thanks Sam - much appreciated!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sam Thorne Sent: 21 March 2006 17:39 To: Flashcoders mailing list Subject: Re: [Flashcoders] Save file from Mac / Pc Projector on CDROM toHarddrive Oops, yes sorry. I'd

RE: [Flashcoders] Browse folders from flash

2006-03-21 Thread Ettwein, Josh
...and in mx04, you would need to use javascript or some other slightly kludgey solution, like the yamzbrowser one. Basically use a hidden form field and javascript to trigger a 'press' of the 'browse' button on the hidden form in a 0% height frame or some such thing. I have used it in the past

Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Felipe Fernandez
Yeah, I know it but I wanna choose a folder, not a file. Thanks. On 3/21/06, Michael Bedar [EMAIL PROTECTED] wrote: In Flash 8 you can open a file browser to upload/download a file On Mar 21, 2006, at 12:57 PM, Felipe Fernandez wrote: Hi all, is it possible open a windows browser in

Re: [Flashcoders] referencing my main movieclip in a movie clip that is above(i think)

2006-03-21 Thread Jose Maria Barros
Hello Roman. I tried this in my swf B: this._parent.animBotoes_mc.gotoAndStop(link); but...it doesnt work... On 3/21/06, Roman Blöth [EMAIL PROTECTED] wrote: Jose Maria Barros schrieb: Hi...i know that is a newbie question, but..here it goes: I have a swf A. When i press a button in

Re: [Flashcoders] Custom V2 Components - Compiled vs. StandardComponents.fla

2006-03-21 Thread Rich Rodecker
i just asked recently on this list about using the uncompiled component clips from the StandardComponents.fla instead of the compiled clips in my custom component (like it says to do in the documentation). the answer i got was to just use the precompiled clips anyway. I've been using them and

Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Rich Rodecker
as far as I know you cant just select a folder...flash needs to create a FileReference object for each file in a directory, and it will only do that for each individual item that the user selected. Why they couldnt just create one for every file in a directory I don't know, but I would imagine it

[Flashcoders] Problem

2006-03-21 Thread Christopher Whiteford
I am having a problem with figuring out why I am having scoping issues with a rollover button. I am trying to load a swf file outside_btn.swf in that has a movie with an instance name of smBtn on the main timeline. now I have done traces from the button that indeed returns

Re: [Flashcoders] How would I use an insert target path dialog in my own components?

2006-03-21 Thread elibol
I'm sorry Mani, I think I know what you're talking about however I don't know how to do it, but might I suggest, the answer should be found in documentation, however I do not doubt that you've already gone through it, in which case you should try searching the flashcoders list archives for

Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Felipe Fernandez
Yes, I'm agree with you, Rich. I know about FileReference but FileReference works with files, not directories. Any suggest? Thanks all. On 3/21/06, Rich Rodecker [EMAIL PROTECTED] wrote: as far as I know you cant just select a folder...flash needs to create a FileReference object for each

RE: [Flashcoders] 27th March Sydney Developers study group

2006-03-21 Thread Kevin Mulvihill
Oh, I hate to write an email like this, but I just keep wishing that all the emails from this user group would just go away... And they don't. There's another one today. Bash on me if you want, but I just don't think this is appropriate fodder for an internationally-based coding list. How many of

Re: [Flashcoders] Problem

2006-03-21 Thread Robert Leisle
You're defining the onRelease function before outside_btn.swf is loaded. Wrap your onRelease definition in an onLoadComplete function to solve your problem: http://livedocs.macromedia.com/flashlite/2/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0708.html

RE: [Flashcoders] Browse folders from flash

2006-03-21 Thread Ettwein, Josh
You could use PHP (or whatever serverside lang you've got) to do a directory listing and use is_dir to build youreslf a list of directories. Pass that into flash using remoting/loadvars/xml/whathaveyou and display a list of dirs in flash with the full paths as properties of the dir objects you

Re: [Flashcoders] How would I use an insert target path dialog in my own components?

2006-03-21 Thread Manuel Saint-Victor
I appreciate it- I have a copy of Extending Flash 2004 here at the office that I think will have to be what I end up referring to. Mani On 3/21/06, elibol [EMAIL PROTECTED] wrote: I'm sorry Mani, I think I know what you're talking about however I don't know how to do it, but might I suggest,

Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Felipe Fernandez
Well, butI need directories on local machine, not in server machine Thanks, anyway On 3/21/06, Ettwein, Josh [EMAIL PROTECTED] wrote: You could use PHP (or whatever serverside lang you've got) to do a directory listing and use is_dir to build youreslf a list of directories. Pass that

Re: [Flashcoders] wait or sleep

2006-03-21 Thread [EMAIL PROTECTED]
Ryan Potter wrote: Here is another way that might help. You can use Fuse to sequence and wait. Code Post: http://thoughtwillrise.com/ Fuse: http://mosessupposes.com/Fuse/index.html Very cool! :-) But, if I put same code after line 15 in exemple below??? :-( Rodrigo Schramm

Re: [Flashcoders] Problem

2006-03-21 Thread Michael Bedar
Can you verify that the SWF has fully loaded before assigning the rollover? On Mar 21, 2006, at 1:47 PM, Christopher Whiteford wrote: I am having a problem with figuring out why I am having scoping issues with a rollover button. I am trying to load a swf file outside_btn.swf in that has

[Flashcoders] Protecting Shared Objects

2006-03-21 Thread John Mark Hawley
I'm working on a CD product that needs to store a lot of data locally for easy lookup. Before your eyes glaze over and you point me at Zinc, know that this poor little product needs to run on OS 9, OSX, and Windows. Zinc doesn't do OS 9. But, aha, local shared objects! We can use them! Sure we

Re: [Flashcoders] Protecting Shared Objects

2006-03-21 Thread Michael Stuhr
John Mark Hawley schrieb: I'm working on a CD product that needs to store a lot of data locally for easy lookup. Before your eyes glaze over and you point me at Zinc, know that this poor little product needs to run on OS 9, OSX, and Windows. Zinc doesn't do OS 9. But, aha, local shared

Re: [Flashcoders] OT: Disney-esque designer folios

2006-03-21 Thread Steve Mathews
Flashcoders probably isn't the best place for this, but this is a friend of mine: http://www.superham.com/ On 3/21/06, Dan Thomas [EMAIL PROTECTED] wrote: Hey am looking for some Disney-esque designer portfolios for a potential future flash project. Anyone have any suggestions or can point me

[Flashcoders] Can't get rid of halo rectangle

2006-03-21 Thread Keith Takayesu
I'm trying to assign custom icons to a Button dynamically in a custom component. Here is my code snippet: mybutton = createClassObject ( Button, mybutton , this.startDepth++, {_x:myx ,_y:myy,_width:15.9,_height:14.7, falseOverIcon:btnCalendarViewFalseOverSkin,falseUpIcon:btnCalendarVie

RE: [Flashcoders] Browse folders from flash

2006-03-21 Thread Scott Hyndman
Write a Java application that talks to Flash through a socket, and request file lists that way. It's a bit of work, but it does work. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Ettwein, Josh Sent: Tue 3/21/2006 3:01 PM To: Flashcoders mailing list Cc:

Re: [Flashcoders] Loading local Html File from offline Presentation

2006-03-21 Thread Rob
Sorry, the file isn't in the same directory. Even though: If I open the .swf in a browser it works, but if I try to get it opening inside the flash projector it won't... Alfredo Laguia Laborda wrote: if the file first.html is in the same directory than the .swf just call

RE: [Flashcoders] Browse folders from flash

2006-03-21 Thread Scott Hyndman
File class in Java. Represents files and directories. http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html You can do some searches and find a ton of tutorials on this I imagine, although the API is fairly straight-forward. The list() method is what you're interested in. As far as

[Flashcoders] _global is _global or what?

2006-03-21 Thread Merrill, Jason
I know it's a personal thing, but I usually try and avoid using _global variables (in fact, I use them so little, this is probably why I have this question), but I found a case where I needed to use them - at least temporarily for testing purposes. Without going in to why I'm using one (please

[Flashcoders] need choose your own adventure source code

2006-03-21 Thread .:: { andi } ::.
need choose your own adventure game source codecan't find any *anywhere*! ...or ideas...or I dunno, just have to make a cool game for work, would like a pre-made game or game-maker(preferably in Flash) a. ___

Re: [Flashcoders] need choose your own adventure source code

2006-03-21 Thread John Mark Hawley
I have some slightly hairy old CYOA code stuff up at: http://www.nilbog.com/CYOA/NILBOG_CYOA_SOURCE_Nov_2004.zip I haven't looked at it in forever, and I have no doubt that it is somewhat crappy, but you might find some use in it. -Mark Hawley From: .:: { andi } ::. [EMAIL PROTECTED]

[Flashcoders] activating the rollover/selection animations of a list row when using selectedIndex

2006-03-21 Thread Rich Rodecker
I am using a cell renderer in a DataGrid column, which contains an image that a user can click on to select that row. I can set the selected row using listOwner and selectedIndex, but doing that just sets the row to fully hilighted, no animation. Is there a way to activate that animation, and to

Re: [Flashcoders] LOADVARS not working IE

2006-03-21 Thread Johnny Zen
Success at last !!! Thanks all for info. I came across cache issues, but was so confused by it all, I lost the plot. Robert, you reply made me look again at this cache issue, and after reading a comment at the main php website, the answer was so simple... just typical. Again for info that

Re: [Flashcoders] _global is _global or what?

2006-03-21 Thread keith
Maybe the external swf Clip B did not load in time to read that variable (in the brower). Try making Clip B wait 1 frame worth of time after it is loaded then read the variable. -Keith H- - Original Message - From: Merrill, Jason [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] AS2 Vs. AS1

2006-03-21 Thread David Rorex
On 3/21/06, stone larsen [EMAIL PROTECTED] wrote: Is there a reason this works in AS1 and not AS2??? Could you give us more info on what exactly is not working with it? Did you use trace()'s or the debugger to find out exactly which part is failing? -David R

Re: [Flashcoders] _global is _global or what?

2006-03-21 Thread David Rorex
On 3/21/06, Merrill, Jason [EMAIL PROTECTED] wrote: I know it's a personal thing, but I usually try and avoid using _global variables (in fact, I use them so little, this is probably why I have this question), but I found a case where I needed to use them - at least temporarily for testing

[Flashcoders] FATAL Zinc issue

2006-03-21 Thread Gene Jannece
I work for a company that is greatly effected by the New Zinc issue that popped up. I was wondering if anybody had found a quick fix or if it's really totally fatal. basicly if you make a user in windows with a # (pound sign) in the username and run a zinc made .exe, you run the risk of

[Flashcoders] Database modeling for AS projects

2006-03-21 Thread Honeyghan
I've been doing some research on various modeling tools which would enable me to easily model databases for future flash projects. Came across two very interesting solutions which should be on your radar. My requirements are as follows: 1. Feature rich, stable application which allows reverse

Re: [Flashcoders] AS2 Vs. AS1

2006-03-21 Thread stone larsen
David, I'm not familiar with the debugger, i did put in some trace's but came back with nothing. here's the URL where I am trying to get it working http://sireclothing.com/final/ here's the php ?php //get email value from POST variable $email = trim($_POST['email']); //add a new line for

Re: [Flashcoders] _global is _global or what?

2006-03-21 Thread Iv
Hello Jason, MJ Say clip A is the main _level0 clip where the _global.myVar is defined. MJ Clip B is an external .swf references the _global myVar. - http://www.sharedfonts.com/eng/faq.html a bit about it read the first anhswer. -- Ivan Dembicki

RE: [Flashcoders] Database modeling for AS projects

2006-03-21 Thread Kevin Mulvihill
This email is timely, Honeyghan. Thanks for sharing with the community. Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Honeyghan Sent: Tuesday, March 21, 2006 6:13 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Database

Re: [Flashcoders] Browse folders from flash

2006-03-21 Thread Duncan Reid
I'm not sure if anyone mentioned this but have you looked at screenweaver? http://osflash.org/screenweaver I have not tried it myself, still using Zinc, maybe someone else has? On 3/21/06, Felipe Fernandez [EMAIL PROTECTED] wrote: Well, butI need directories on local machine, not in

Re: [Flashcoders] Database modeling for AS projects

2006-03-21 Thread Ron Wheeler
Honeyghan wrote: I've been doing some research on various modeling tools which would enable me to easily model databases for future flash projects. Came across two very interesting solutions which should be on your radar. My requirements are as follows: 1. Feature rich, stable application

RE: [Flashcoders] Determining width of rotatedMC'simaginaryboundingbox

2006-03-21 Thread David Stiller
Odie Bracy PhD wrote: Actually, your width will change with the rotation. The greatest width will be when the diagonal line of your rectangle is a flat, horizontal line. That seems to sum it up, for sure. Thanks, Odie. Yotam Laufer wrote: First of all you're welcome. When using

  1   2   >