RE: [Flashcoders] Multiple FLVPlayback problem

2006-05-17 Thread jim
That's great arron, I actually started looking into this metod yesterday myself after seeing the activePlayer index in the FLVPlayback component. I was thinking that extending the component would be best. Well, I will be very greatful for your help/class. Cheers Jim -Original Message-

Re: [Flashcoders] Shared object not saving off cd-rom?

2006-05-17 Thread Vivek lakhanpal
Jim, You have to ask that particular user if he has set knowingly or unknowingly storage space to 0 for flash cookies i.e. shared object? As you might be knowing that Local Storage size can be altered through the settings tab by right click on the Flash app and opening settings window. Just a

Re: [Flashcoders] HashMap?

2006-05-17 Thread Ron Wheeler
Bernard Poulin wrote: Funny, I was actually thinking of an implementation which would use a Java-style String objects. In java, all string objects have an int hash data member (computed the first time it is needed). In that scenario, only a portion of the hash value is used to make the hash

RE: [Flashcoders] Multiple FLVPlayback problem

2006-05-17 Thread Wouter Steidl
I finished a project with quite some FLVs myself this week (around 45 different 1 to 3 MB FLVs) and used the activeVideoPlayerIndex technique... I throw an array of videos in my VideoLoader class and it starts preloading the 1st one...when that is done loading it adds 1 to the

[Flashcoders] Loadvars and www prefixed in web address

2006-05-17 Thread Johnny Zen
Hi all I've been at war with my flash movie and loadvars The loadvars sometimes worked and I couldnt find out why, it was driving me crazy. Then I discovered that the loadvars worked if the website address had the www prefixed example www.example.com = loadvars worked

Re: [Flashcoders] HashMap?

2006-05-17 Thread Weldon MacDonald
If memory serves... There's a HashMap class in Java that hides the implimentation. You can declare it with or without a size (I don't rememv[ber the default) and optionally it will accept a load value which is the percentage of capacity at which to increase the size of the map. Growing the

Re: [Flashcoders] Loadvars and www prefixed in web address

2006-05-17 Thread iashido
use getdomain http://proto.layer51.com/d.aspx?f=1011 On May 17, 2006, at 3:42 PM, Johnny Zen wrote: Hi all I've been at war with my flash movie and loadvars The loadvars sometimes worked and I couldnt find out why, it was driving me crazy. Then I discovered that the loadvars worked if

Re: [Flashcoders] Loadvars and www prefixed in web address

2006-05-17 Thread bryan.rice
On May 17, 2006, at 8:42 AM, Johnny Zen wrote: www.example.com = loadvars worked example.com = loadvars failed. This is a sandbox issue. From Flash Player 7 on (I think it was 7 - it is all such a blur now) your data (loadvars, xml, etc.) has to be loaded from the exact same domain and

[Flashcoders] haXe 1.0 Release

2006-05-17 Thread Nicolas Cannasse
Hi lists, I'm please to announce the 1.0 Release of the haXe language. See http://haxe.org haXe is a new highlevel strictly typed programming language that can be used to develop websites. You can use haXe to build Flash Content, to program your Javascript/AJAX code and to write the website

[Flashcoders] Color.setRGB - no such method?

2006-05-17 Thread Jim Robson
Hello all, I'm getting an error that makes no sense at all. I distilled the code to its simplest form, and I'm still getting the error. I have a movie with one frame and one movie clip on the stage, with the instance name tmp. Here is the code: var color:Color; color = new Color(tmp);

Re: [Flashcoders] HashMap?

2006-05-17 Thread Bernard Poulin
Ah yes, now that you mention it, I just checked the Java HashMap code and it is not limited to a power of two, here's a snippet: index = (hash 0x7FFF) % table.length; That way, they can still use the same set of 32bit hash values when growing. There is no maximum that can be declared. The

RE: [Flashcoders] Color.setRGB - no such method?

2006-05-17 Thread Jim Robson
Barn - Thanks for testing the code. Do you have Flex 2.0 / Flash Player 9 on your system? If not, then I think that may be the cause of my problem (I do have them installed; we're using Flex for upcoming projects). Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[Flashcoders] word docs-to-xml file

2006-05-17 Thread Marlon Harrison
I made an xml file for a swf that i'm working on and i'm looking for a quick way to get the data out of the docs into the xml file. basically, there's 50 docs that have data that map to some nodes in my file. is there a text editor or some macro i can use to automate this process? im runnning

Re: [Flashcoders] Color.setRGB - no such method?

2006-05-17 Thread Yotam Laufer
It can also be a simple ASO problem. Try clearing the .aso files. On 17/05/06, Jim Robson [EMAIL PROTECTED] wrote: Barn - Thanks for testing the code. Do you have Flex 2.0 / Flash Player 9 on your system? If not, then I think that may be the cause of my problem (I do have them installed;

RE: [Flashcoders] Color.setRGB - no such method?

2006-05-17 Thread Jim Robson
Thank you both for your help! It turns out the problem had to do with the CLASSPATH settings and the fact that another developer on my team had created a Color class in a different namespace. The result was that Flash was grabbing this custom Color class instead of the intrinsic one. Sorry for

Re: [Flashcoders] word docs-to-xml file

2006-05-17 Thread Danny Kodicek
I made an xml file for a swf that i'm working on and i'm looking for a quick way to get the data out of the docs into the xml file. basically, there's 50 docs that have data that map to some nodes in my file. is there a text editor or some macro i can use to automate this process? im runnning

Re: [Flashcoders] Runtime error

2006-05-17 Thread Ejoe Latrik
Is it shoutcast stream or icecast stream? Flash plugin don't work with shoutcast. Ejoe Asai a écrit : Right, I don't know if this is the best advice by any means, but when a situation like that happens in the IDE and if it doesn't run in certain copies of IE, you may want to reconsider using

Re: [Flashcoders] Runtime error

2006-05-17 Thread Ejoe Latrik
the code below works on my computer (xp sp1 - centrino 1.6Ghz - 512Mo RAM - Flash MX 2004 IDE ) radio = new Sound(); radio.setVolume(100); radio.loadSound(http://216.235.91.30:80,true); Maybe it's a probleme with the onEnterFrame function(infinite loop or something?) Ejoe Asai a écrit :

[Flashcoders] mdm zinc problem

2006-05-17 Thread fernando
Documento sin títulohello, I'm new in this list (sorry for my english) I have a problem with mdm zinc.. the methods of this software, give me a error... The methods of this program me do not work inside a class that I have I have something badly or simply this does not work inside a class,

RE: [Flashcoders] mdm zinc problem

2006-05-17 Thread Julian Dolce
The mdm class gets placed at _level0 so you need to reference it like this _level0.mdm. Julian Dolce | Senior Creative Technologist FUEL INDUSTRIES tel: 613.224.6738 x241 www.fuelindustries.com blog.fuelindustries.com www.fuelgames.com -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] mdm zinc problem

2006-05-17 Thread fernando
thanks... :-) - Original Message - From: Julian Dolce [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, May 17, 2006 6:41 PM Subject: RE: [Flashcoders] mdm zinc problem The mdm class gets placed at _level0 so you need to reference it

RE: [Flashcoders] word docs-to-xml file

2006-05-17 Thread Adrian Lynch
Save the Word doc as HTML and see if it's easier to parse it. I had to do something similar but I gave up as the HTML was a right royal mess. Let us know how you get on. Adrian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Marlon Harrison Sent: 17 May

RE: [Flashcoders] \t in html - how to use tabStops

2006-05-17 Thread Scott Brantley
Anybody got any answers? Please! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Brantley Sent: Wednesday, May 17, 2006 11:41 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] \t in html - how to use tabStops Hey everyone, I'm

[Flashcoders] MovieClipLoader - onProgress

2006-05-17 Thread Wendy Richardson
I am trying to use the MovieClipLoader and onProgress in a way similar to this example: http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=2546.html I use the onProgress to send info to function that visualizes the preload status.

[Flashcoders] help: ScrollPane Issue

2006-05-17 Thread julian atienza
Hi. I've developed a swf that dynamically create a serie of typical components of forms (inputText, TextArea, labels, etc) during the user-entries in certain cases. I tried to create an external swf with a scrollPane with the contentPath of this swf so , i thought, if during the dynamic

[Flashcoders] hitTest vs onRollOver/onRollOut

2006-05-17 Thread phaedrus
Does anyone know if there is a performance difference between hitTest and onRollOver/onRollOut? For instance, if I had 100 movie clips on a lower-spec computer, would there be a notable processing difference between these two approaches: myMC.onMouseMove = function() {

[Flashcoders] overriding button class internal positioning

2006-05-17 Thread Vibol Hou
Greetings, I've reviewed the class reference for the Button component, but there does not appear to be any reference on how I might override the specific x,y positioning values of the icon and text field objects within the Button. Does anyone know of a more detailed description of the Button

[Flashcoders] Optimization techniques

2006-05-17 Thread Marcelo de Moraes Serpa
Hi! I´m doing a research on RIA´s optimization techniques and I plan to implement such in my app´s next version as its getting bigger and bigger so it became a necessity to optimize it. Currently, I´m using shared fonts, shared symbols and shared classes (the so called dll swf) that are all

[Flashcoders] The effects of the Flash 8 security model on windowSWF Files

2006-05-17 Thread Manuel Saint-Victor
I have a windowSWF file that is interacting with the file system. At first it is able to do a login to retrieve information from the server but after a logout the login call to the server no longer works. It is able to function from within the testing environment and my best guess is that since

RE: [Flashcoders] \t in html - how to use tabStops

2006-05-17 Thread Scott Brantley
To answer my own question: http://chattyfig.figleaf.com/pipermail/flashcoders/2003-February/063062. html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Brantley Sent: Wednesday, May 17, 2006 1:02 PM To: Flashcoders mailing list Subject: RE:

Re: [Flashcoders] overriding button class internal positioning

2006-05-17 Thread Vibol Hou
Disregard this, I found it. -VH Vibol Hou wrote: Greetings, I've reviewed the class reference for the Button component, but there does not appear to be any reference on how I might override the specific x,y positioning values of the icon and text field objects within the Button. Does

[Flashcoders] fscommand question

2006-05-17 Thread Scott Brantley
Hey everyone, I'm building an Interactive CD-ROM. In the PC version I'm using the fscommand to run a .bat file that opens Microsoft Word and Word then opens the correct .DOC. How can I do this for the MAC version? Do I have to use applescript? Does anyone have any advice or answers? Thanks

Re: [Flashcoders] Loadvars and www prefixed in web address

2006-05-17 Thread Johnny Zen
Thanks all for help. Sorted with the crossdomain file which I read about it ages ago but did nothing. Stupid mind. Best wishes Johnny ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] datagrid inside an accordian

2006-05-17 Thread Rich Rodecker
I have an mc that i add to an accordian via accordian.createSegment(); the mc I attach has a datagrid inside of it, but there's two problems with it: 1. none of the items can be selected in the datagrid...no rollover events even. 2. the cell renderer I am using for one of the columns does not

Re: [Flashcoders] Multiple FLVPlayback problem

2006-05-17 Thread aaron smith
hey.. sorry I haven't posted the code yet. but it sounds like you got yours figured out. thats good. here is the code: 2 classes /** * @author Aaron Smith * @version **/ //video stuff needed import com.iqtv.vw.gticonfig.video.*; //events import mx.utils.Delegate; import

Re: [Flashcoders] fp9 ExternalInterface bug?

2006-05-17 Thread eric dolecki
Not sure whats happening - but it seems like callStack problems may be the culprit - looks like perhaps using XMLSocket would be a more reliable way to go which is unfortunate... On 5/16/06, Geoff Stearns [EMAIL PROTECTED] wrote: maybe it's not serializing a value properly? there are a few

Re: [Flashcoders] fp9 ExternalInterface bug?

2006-05-17 Thread Mike Chambers
Remember that this is a beta, so there are going to be issues. We have recently fixed a bunch of issues with eternal interface (including the ones mentioned by Geoff). Do you have a simple reproduceable test case? If so, I can send it to the team. mike chambers [EMAIL PROTECTED] eric

Re: [Flashcoders] datagrid inside an accordian

2006-05-17 Thread Randy Troppmann
Whoa! Thats like taking a K-car and putting a Fiero in the trunk and trying to turn on the Fiero's radio with the K-car controls. If it were me I would build my own accordian. Randy Troppmann On 5/17/06, Rich Rodecker [EMAIL PROTECTED] wrote: I have an mc that i add to an accordian via

[Flashcoders] load data from txt file above root directory

2006-05-17 Thread Flashgrrl
Hi Flashcoders! I am attempting to load data from a text file(located above the root diretory) into a dynamic text box using LoadVars. When the .swf and .txt files are in the same directory it works fine. However I would like to place the text document above the root directory. I believe this

[Flashcoders] Local Shared Objects

2006-05-17 Thread Jason Saelhof
Hi everyone, I'm trying to get a Local Shared Object (LSO) to share data between 2 flash windows. The first movie creates the LSO and can write to it. The second movie can then get a reference to the shared object and read the data set by movie 1. The problem occurs when movie 2 tries to

[Flashcoders] FDT question.

2006-05-17 Thread aaron smith
I decided to start using FDT because of all the features. I recently worked with a guy who used it and was able to show me all the capabilities of it. I got eclipse and installed FDT. but some of the features don't seem to work. for example the task list. The parser error notifications dont

Re: [Flashcoders] fp9 ExternalInterface bug?

2006-05-17 Thread Nicolas Cannasse
Remember that this is a beta, so there are going to be issues. We have recently fixed a bunch of issues with eternal interface (including the ones mentioned by Geoff). I've been also experiencing a lot of problems with Flash8 ExternalInterface, like the need to quote \\n to n in order to

Re: [Flashcoders] FDT question.

2006-05-17 Thread Julien Vignali
Hi Aaron, It's probably because you need to add your source folder in FDT's classpath. Do a right-click on the root folder of your classes and select Source Folder - Add to classpath. Now all your features should work... Hope it helps, Julien aaron smith a écrit : I decided to start using

RE: [Flashcoders] FDT question.

2006-05-17 Thread Jason Saelhof
I use FDT and haven't had any of the problems you mentioned. I use the task list, F3, F4, F5, parser error notifications, outline etc all the time. I'm not sure what problem you are having but I can verify that those features do all work in the demo version as well as the licensed version. For

RE: [Flashcoders] Local Shared Objects

2006-05-17 Thread Steven Sacks
Did you try setting your variable to the shared object again after the change? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Saelhof Sent: Wednesday, May 17, 2006 2:00 PM To: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Local

[Flashcoders] textfield.type no effect?! flash8 bug?

2006-05-17 Thread eugen pflüger
hello, couldnt find anything in the archives. is this a flash 8 bug? changing textfield.type dynamically has just no effect. // code var me = this; this.on_btn.onRelease = function () { me.field.type = input; } this.off_btn.onRelease = function () { me.field.type = dynamic; }

Re: [Flashcoders] fp9 ExternalInterface bug?

2006-05-17 Thread eric dolecki
We are working on a whitepaper to give Adobe SWF engineers - hope to have something when we get a little time to put it together. It might boil down to multi-threaded Python and single-threaded Flash (for the most part)... in addition to some other things. On 5/17/06, Mike Chambers [EMAIL

Re: [Flashcoders] Optimization techniques

2006-05-17 Thread Ian Thomas
Hi Marcelo, The obvious optimisation would be to cache the scaled images on the server - save them under a name dependent on the dimensions of the generated image. E.g. trees.jpg becomes cache/trees_400x300.jpg Then when you serve the image, just check to see if the file is in the cache - if it

Re: [Flashcoders] Optimization techniques

2006-05-17 Thread Marcelo de Moraes Serpa
Hi Ian! Thanks for the reply ;) IThat could solve the problem with my current architecture, but I guess I will just store many different versions of the image **on the disk** instead of using gd each time the users requests the image. See the topic at as.org:

[Flashcoders] Video object and RTMP...

2006-05-17 Thread Dan Wade
Hello, I'm trying to build a simple vid player using the Video Object. I'm using a streaming flv from RTMP server. If I use one of the flash 7/8 vid components the flv plays fine but if I use: var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var

Re: [Flashcoders] Video object and RTMP...

2006-05-17 Thread Marlon Harrison
If I remember right, this is incorrect: connection_nc.connect(null); connection_nc.connect(); should be somethign different whe you're using a straming server. null is only for progessive download-encoded flv's. Also, the ns.play() command for streaming cannot have the .flv at the end. I

Re: [Flashcoders] load data from txt file above root directory

2006-05-17 Thread Mick G
../ should give you the parent relative directory. If needed, you may like to try using the BASE attribute in your object/embed tag... http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157 On 5/18/06, Flashgrrl [EMAIL PROTECTED] wrote: Hi Flashcoders! I am attempting to load data

Re: [Flashcoders] Video object and RTMP...

2006-05-17 Thread Dan Wade
Thanks for reply. You got me thinking I changed the 2 lines you mentioned connection_nc.connect(rtmp:PATH TO MY HOST); //path to video hosting stream_ns.play(VIDEO NAME); //actual video name (without .flv) Thanks! -Dan On 5/17/06 4:28 PM, Marlon Harrison [EMAIL PROTECTED] wrote: If I

RE: [Flashcoders] load data from txt file above root directory

2006-05-17 Thread Dave Watts
I am attempting to load data from a text file(located above the root diretory) into a dynamic text box using LoadVars. When the .swf and .txt files are in the same directory it works fine. However I would like to place the text document above the root directory. I believe this is

RE: [Flashcoders] Local Shared Objects

2006-05-17 Thread Jason Saelhof
I did try getting a reference to the Shared Object again using... myVar = SharedObject.getLocal( ... ); ... but it didn't seem to help. I basically set it up so that each time it tried to read from the object it would get a new reference first. Jason -Original Message- From:

[Flashcoders] load data

2006-05-17 Thread Flashgrrl
Yes, that seems to be the consensus. Dave, thank you for the confirmation. I'll quit barking up the wrong tree. The reason I was trying to do this is because it seemed like an easy way to protect data in a .swf. If the .swf was decompiled, all the data would remain tucked away out of reach.

Re: [Flashcoders] Local Shared Objects

2006-05-17 Thread Mauricio Furtado Massaia
Well if r u using 2 swf at same time u can use LocalConnection to transfer data. right?? (sorry if im wrong ) MauricioMassaia On 5/17/06, Jason Saelhof [EMAIL PROTECTED] wrote: I did try getting a reference to the Shared Object again using... myVar = SharedObject.getLocal( ... );

Re: [Flashcoders] datagrid inside an accordian

2006-05-17 Thread Rich Rodecker
heh...actually i got it to work fine. turns out i was just doing something wrong setting the DataGrid's dataProvider. (turns out it really doesnt like it when you use an array of xmlnodes' attribute objects for the dp, so I just copied the attribute objects into a new object before adding it to

[Flashcoders] netstream and seeking. high fps.

2006-05-17 Thread aaron smith
so looking at netstreams and being able to seek in them. I found that you need really high frame rates, or a lot of keyframes. because flash uses the closest keyframe to whatever seek time you go to. so if I have a 30 second video encoded at 30fps. there is only like 2 keyframes. so when this

RE: [Flashcoders] Local Shared Objects

2006-05-17 Thread Steven Sacks
Exactly. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mauricio Furtado Massaia Sent: Wednesday, May 17, 2006 6:06 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Local Shared Objects Well if r u using 2 swf at same time u can

RE: [Flashcoders] load data

2006-05-17 Thread Steven Sacks
I have a feeling that Flashgrrl is actually a guy faking his gender to get more help from all the lonely guys here on Flashcoders. It is scientifically proven to work in other online places (chat rooms, MMORPGs, etc.) so it's that big of a stretch that it would work here, too. ;)

Re: [Flashcoders] netstream and seeking. high fps.

2006-05-17 Thread Zeh Fernando
between. I have read about this in various place and what not. I just wanted to hear from somebody else who also had experience with this issue. the solution is just to export flv's at a high frame rate. so you get way more keyframes. right? after sayng and asking that. how does youtube seek?

[Flashcoders] Image loading weirdness

2006-05-17 Thread Marcelo de Moraes Serpa
My app, in my test enviroment (which runs at localhost:8080) used to load images that were output by a php script. Now, I´m trying to load the image directly from the file system. I´m giving a MovieClipLoader the following url:

Re: [Flashcoders] netstream and seeking. high fps.

2006-05-17 Thread neve_capricorn
or you can use VCS (cheaper then fms) from www.onlinelib.de they server allows ms (milliseconds) accurate seeking. regards tom - Original Message - From: Zeh Fernando [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, May 18, 2006 4:29 AM

RE: [Flashcoders] load data

2006-05-17 Thread Flashgrrl
Steven, Interesting theory. I've never been accused of being a guy before. :-) I thought this forum was the exact place to ask these sorts of questions actually. Should I read between the lines that you have a wonderful solution you are bursting to share? Or is this a techie version of a pickup

Re: [Flashcoders] load data

2006-05-17 Thread Michael Bedar
was it the smile that did it for you? On May 17, 2006, at 9:45 PM, Steven Sacks wrote: I have a feeling that Flashgrrl is actually a guy faking his gender to get more help from all the lonely guys here on Flashcoders. It is scientifically proven to work in other online places (chat

[Flashcoders] converting mass flv's into swfs?

2006-05-17 Thread aaron smith
does anyone know of a way to conver hundreds of flvs into swf files.. like when you take an flv onto the timeline and publish it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] load data

2006-05-17 Thread Steven Sacks
I'm only messin around. I wasn't actually following the thread, nor do I think that anything you're asking is out of line. I wasn't even making commentary on your line of questioning. I just thought it was funny that you were using the pseudonym Flashgrrl, especially since I tend to like girls

[Flashcoders] Strange FLV behaviour

2006-05-17 Thread Chandresh Murti
Hi All I am facing a strange behavior of the FLV files I am working on a program, which plays multiple FLV's one after another. But,in Win 2000 machines at some points (randomly) the audio mutes automatically and Video keep going onwards. At the same time when FLV's audio mutes the MP3 audio

Re: [Flashcoders] Flash Media Server tutorial not working

2006-05-17 Thread Vivek lakhanpal
Hi Aasim, As you mentioned you have Windows XP.It has been mentioned in the Technical requirement of FMS that it will work only on Windows 2000 Server or Windows 2003 Server of Windows platform. I doubt if your FMS is working at all. You can try Flash Comm server 1.5 instead of FMS it will

[Flashcoders] scrubbing swfs like flvs?

2006-05-17 Thread aaron smith
Does anyone know if you can scrub swf files like you can scrub flvs? ___ 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