[Flashcoders] Creating a scrollable list: adding components to the scrollpane contents

2006-09-01 Thread Matt Bennett
Hello Flashcoders, I'm building a scrollable list, and I keep track of the list items with a Collection. I'm having trouble adding items to it - I think I'm overwriting some instance variables somewhere. In the code below, listContainer is a reference to the contents of a ScrollPane component:

Re: [Flashcoders] Slighty OT: phone suggestions?

2006-09-01 Thread Serge Jespers
Bill Perry told me a while back that they were working on the FL2 player for S60 3rd edition phones (like the N80). Haven't heard back from him in a while though so I have no idea on where Adobe is with that at this point... Having an N80 myself (bought it for the Wifi capabilities), I

Re: [Flashcoders] RE: Images stay on memory forever?

2006-09-01 Thread Dimitrios Bendilas
Hi Dave, Thank you for your reply! I tried everything you described here. Unfortunately, I still got the same problem. I guess I'm not doing something right here... This is my code now: _root.attachMovie(p1, p1, 10); _root.attachMovie(p2, p2, 20); n = 1; btn.onRelease = function():Void {

Re: [Flashcoders] Fwd: Application Framework

2006-09-01 Thread Martin Wood
Jeff Brown wrote: Wow Duncan, this may solve quite a bit. It looks even easier than the php-xml-flash method I was looking for. Although my designer may need to install the Flash Remoting thing. We've already started development on the app's php mysql side, but we're a little ways (re: 8-10

[Flashcoders] Problem with parsing Webservice result correctly!

2006-09-01 Thread Martin Baltzer Hennelund
Hi, Flash apparently fails to correctly parse a webservice function that returns a class/Object/Struct (Using Csharp to create the webservice). The following is returned from the service when hitting it in IE and is perfectly fine. ?xml version=1.0 encoding=utf-8 ? WsReply

[Flashcoders] Euler angles...

2006-09-01 Thread Seb L
... any crazy geniuses out there know how to generate euler angles for a 3D vector? Or i guess to calculate the rotation angles between 2 3D vectors? Any pointers would be greatly appreciated. I am losing it now... :-) cheers! Seb ___

Re: [Flashcoders] Euler angles...

2006-09-01 Thread Alias™
What are you trying to do? Do you want to tween from one 3d position/rotation to another? How are you representing your objects? Alias On 01/09/06, Seb L [EMAIL PROTECTED] wrote: ... any crazy geniuses out there know how to generate euler angles for a 3D vector? Or i guess to calculate the

[Flashcoders] [POLL] IDE, mon amour.

2006-09-01 Thread erixtekila
Hi Flashcoders, In order to discover what type of IDE(s) the actionscript developer use daily, we put a poll at this url : http://www.v-i-a.net/blog/archives/54.html The focus is to try to anderstand what's your IDE of choice and how opensource solutions fit into the picture. So feel

Re: [Flashcoders] Euler angles...

2006-09-01 Thread Seb L
I have a simulated cable in 3D, and all I have a 3D plug attached to the end of the cable. My 3D plug object stores its rotation as 3 euler angles. I need to work out what those angles should be so that they point in the same direction as the end of the cable. I have the cable direction as a 3D

Re: [Flashcoders] Euler angles...

2006-09-01 Thread Mark Winterhalder
Hi, it's been a while, but IIRC the cross product of the two normalized vectors will give you the rotation vector, and the acos of the dot product is the rotation angle. Convert that into a quaternion (much, much easier than it sounds), that quaternion into a rotation matrix, and extract the

Re: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-09-01 Thread Cliff Rowley
Zárate wrote: a company with a large reputation Yeah, I'd even say a *huge* reputation but what reputation? Do we start talking about wmode? Shared fonts? Problems with Stage.with/Stage.height? MovieclipLoader? Components? We all understand these issues, but they are still irrelevant.

RE: [Flashcoders] Problem with parsing Webservice result correctly!

2006-09-01 Thread Merrill, Jason
Be sure you wait for the result from the webservice and then try to access the data. I had the same problem in a recent thread (C# .NET and Webservices) and realized I needed to be sure I not only waited for the method to load, but also waited for the webservice method to finish. Was a duh

RE: [Flashcoders] Problem with parsing Webservice result correctly!

2006-09-01 Thread Merrill, Jason
Also, if this helps: http://www.sephiroth.it/tutorials/flashPHP/webServiceConnector/ Here is the WSDL is uses: http://www.xmethods.net/sd/2001/BabelFishService.wsdl Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original

[Flashcoders] Locating redirected assets

2006-09-01 Thread Mendelsohn, Michael
Hi list... My swf calls flv files on a server (not http), but the locations are all redirects. For instance, http://ourwebprod/web/share/WebForm1.aspx?Media=video.flv actually would point to \\someDrive\web\webAssets\video.flv, if that makes any sense. Components in the swf make the call to

Re: [Flashcoders] Euler angles...

2006-09-01 Thread Seb L
That is indeed an amazing resource. Thank you so much! Seb On 01/09/06, Mark Winterhalder [EMAIL PROTECTED] wrote: Hi, it's been a while, but IIRC the cross product of the two normalized vectors will give you the rotation vector, and the acos of the dot product is the rotation angle. Convert

[Flashcoders] RE: Images stay on memory forever?

2006-09-01 Thread dave matthews
hi Dimitrios, Try using hard coded symbol_clips instead of the dynamically attached movies, because frame 2+ is going to contain whatever exists on keyframe one of the code created attached movie. For example, using an IDE target_clip symbol with the first occupied keyframe and the target

Re: [Flashcoders] RE: Images stay on memory forever?

2006-09-01 Thread Dimitrios Bendilas
Hello Dave, Thanks for helping out with this, man. Originally my code was: n = 1; btn.onRelease = function():Void { _root[p+n].gotoAndStop(2); _root[p+n].removeMovieClip(); n++; } No dynamically attached symbols. Didn't work... Can you please download the .FLA and run a little test for

[Flashcoders] ListBox component, get Data (2nd Value)?!

2006-09-01 Thread MJorge
Need a tiny help here folks, I have a listBox which i am inserting items with one label and two values of data in it. Like this: lista.addItem (categorias[n + 1], categorias[n + 0], categorias[n + 3]); Now, how can i get the value of my data (2nd one) ?! At first i haded only one value in

RE: [Flashcoders] RE: Images stay on memory forever?

2006-09-01 Thread Toby
Here's a nbie suggestion, but can you not use 'delete'? -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Dimitrios Bendilas Sent: 01 September 2006 14:53 To: Flashcoders mailing list Subject: Re: [Flashcoders] RE: Images stay on

RE: [Flashcoders] ListBox component, get Data (2nd Value)?!

2006-09-01 Thread Doug Coning
Try this: lista.addItem ({label:categorias[n + 1], data:categorias[n + 0], otherData:categorias[n + 3]}); Lista.selectedItem.otherData; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MJorge Sent: Friday, September 01, 2006 10:47 AM To: Flashcoders

Re: [Flashcoders] RE: Images stay on memory forever?

2006-09-01 Thread Dimitrios Bendilas
You cannot delete a movieclip, just a reference to it. e.g. var mc = _root.ball; delete mc; the movieclip stays put and you just don't have an mc variable anymore. Dimitrios - Original Message - From: Toby [EMAIL PROTECTED] To: 'Flashcoders mailing list'

Re: [FlashCoders] Images stay on memory forever?

2006-09-01 Thread Michael Stuhr
eric dolecki schrieb: to remove a movieclip, you need to create or attach it first. if you're using the IDE to place the mcs, you can't use removeMovieClip(). that is not totally true: you could always: var mc = _root.createEmptyMovieClip('___dummy', _root.getNextHighestDepth());

Re: [Flashcoders] ListBox component, get Data (2nd Value)?!

2006-09-01 Thread MJorge
Thanks for the reply, i will try that. Many thanks, Mário On 9/1/06, Doug Coning [EMAIL PROTECTED] wrote: Try this: lista.addItem ({label:categorias[n + 1], data:categorias[n + 0], otherData:categorias[n + 3]}); Lista.selectedItem.otherData; -Original Message- From: [EMAIL

RE: [Flashcoders] ListBox component, get Data (2nd Value)?!

2006-09-01 Thread Doug Coning
Sorry, try this: trace(Lista.selectedItem.data); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Coning Sent: Friday, September 01, 2006 11:11 AM To: Flashcoders mailing list Subject: RE: [Flashcoders] ListBox component, get Data (2nd Value)?! Try

[Flashcoders] Vob to FLV without Sound

2006-09-01 Thread Sönke Rohde
Hi, I tried to convert a Vob to FLV using Sorenson Squeeze 4.2. The preview plays audio but when I try to encode it the sound is missing. Thanks, Sönke ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Dynamically Loading JPGs ~ Strange Behavior

2006-09-01 Thread azsl1326-email
I have about 20 jpegs that are dynamically being loaded into a swf. These images are loaded one at a time, fade in as the previous one fades out, and then eventually the loop starts over again, loading the initial image. I am using the MovieClipLoader Class to load them. I am, however, running

Re: [Flashcoders] Vob to FLV without Sound

2006-09-01 Thread Count Schemula
Vob files are multiplexed. A lot of times I have to rip the audio out as a seperate file, rip the VOB to an intermediate format like Quicktime Animation and then use a video editor to export the video track and the audio track back out as a single file and then go to final compression. On

[Flashcoders] RE: Flashcoders Digest, Vol 20, Issue 2

2006-09-01 Thread dave matthews
no prob Dimitrios, Posted a working example - Flash 4 .fla included - we do mobile. http://www.davidmatthews.com/dad/mem_usage_example.zip ---watch the word wrap in the URL--- Tested in player 9 and works correctly. good luck, Dave Matthews

RE: [Flashcoders] Dynamically Loading JPGs ~ Strange Behavior

2006-09-01 Thread Sönke Rohde
Hi, Do you load the files case sensitive. Maybe this is your problem. Cheers, Sönke -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, September 01, 2006 7:24 PM To: flashcoders@chattyfig.figleaf.com Subject:

Re: [Flashcoders] Dynamically Loading JPGs ~ Strange Behavior

2006-09-01 Thread daniel
the reason it doesn't work live but does on local servers has to do with loading time. Have your graphics load, then display them. Normaly what I'll do is a simple load, and load all the pictures before anything displays. I don't know of a way of watching the bits loaded of the graphic so I

Re: [Flashcoders] RE: Flashcoders Digest, Vol 20, Issue 2

2006-09-01 Thread Dimitrios Bendilas
Hey Dave, Downloading now. Thanks! Will check and get back to you. Best regards, Dimitrios - Original Message - From: dave matthews [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Friday, September 01, 2006 8:51 PM Subject: [Flashcoders] RE: Flashcoders Digest, Vol

RE: [Flashcoders] Dynamically Loading JPGs ~ Strange Behavior

2006-09-01 Thread Steven Sacks | BLITZ
Some of the JPGs might be exported with Progressive turned on. Flash can't display those (pre 8) so that might be your issue. -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, September 01, 2006 10:24 AM

Re: [Flashcoders] Scrubber for streamed flv

2006-09-01 Thread greg h
Sammi, You might want to repost this question over on the FlashComm list: http://chattyfig.figleaf.com/mailman/listinfo/flashcomm Some members there have posted AS3/FMS2http://www.webservertalk.com/archive374-2006-5-1384149.html(though as yet, not an AS3 scrubber). The FlashComm list is

Re: [Flashcoders] ListBox component, get Data (2nd Value)?!

2006-09-01 Thread Arul Prasad M L
AFAIK, addItem takes only the label and ONE data element. To save 2 data elements into the data part, you can make an array with both the values, and add that array as the data. Like this: lista.addItem(categorias[n + 1], [categorias[n + 0], categorias[n + 3]]) Now, to access the second

Re: [Flashcoders] Dynamically Loading JPGs ~ Strange Behavior

2006-09-01 Thread Marc Hoffman
Of the solutions that have been suggested, I think the most likely one is case-sensitivity. Make sure to maintain the same case in naming and calling the files. It doesn't seem that loading time is an issue. If you're using the MovieClipLoader you're probably already using onLoadInit to

[Flashcoders] Using Xpath in Flash Develop

2006-09-01 Thread Jorge Antonio Diaz Gutierrez
Hi there, could anyone tell me how do I: use XfactorStudio's Classes for an Xpath parse of an XML. I'm Stopped due to it. Thanks a Lot ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Scrubber for streamed flv

2006-09-01 Thread Christian
We've done it using BitmapData... basically, onPress to start scrubbing, we set the video object to invisible and capture the image of the object using bitmap data. On stop of scrub, reverse the process... hopefully that helps... again, this is only as 2.0 at 8 at this point, but figured i'd

Re: [Flashcoders] Using Xpath in Flash Develop

2006-09-01 Thread Johannes Nel
not that i use flashdevelop, but copy it into your classpath? On 9/1/06, Jorge Antonio Diaz Gutierrez [EMAIL PROTECTED] wrote: Hi there, could anyone tell me how do I: use XfactorStudio's Classes for an Xpath parse of an XML. I'm Stopped due to it. Thanks a Lot

RE: [Flashcoders] Using Xpath in Flash Develop

2006-09-01 Thread Merrill, Jason
What don't you understand about using it? Please be more specific. :) ..and see this link: http://flash.terra.ee/flash-books/o'reilly%20-%20actionscript.cookbook.2 003/0596004907_actscptckbk-chp-19-sect-15.html (just ignore the AS 1.0 #include statement and do it the AS 2.0 way) Jason

Re: Re: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-09-01 Thread Chris Allen
On 9/1/06, Cliff Rowley [EMAIL PROTECTED] wrote: We all understand these issues, but they are still irrelevant. We're developers, and the people we sell to are not. They don't care about these things one jot. Cliff, you are working for the wrong people. ;-) I've been there; luckily the

Re: [Flashcoders] Flash cross-platform

2006-09-01 Thread John Dowdell
Audry Taylor wrote: I figure the experts could help me on this one. When you create an interactive Flash file, is it automatically compatible with different platforms (Windows, Mac, Linux) so long as the user has installed Flash or does it take extra scripting or something special to make it

Re: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-09-01 Thread Cliff Rowley
Chris Allen wrote: If you are selling directly to clients as a freelancer or agency, it's the same thing, if they respect you, then your opinion on the technology that they should choose will matter. Not the same thing at all. Respect is something you have to earn over time with a new

Re: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-09-01 Thread Cliff Rowley
And anyhow, this is still beyond the original point - which was that SWHX will almost certainly move away from compatibility with AS3/ActionScript and closer to HaXe/Screenweaver unity ;) ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-09-01 Thread Thomas Wester
Please note SWHX has full support for AS3 and AS2. It is using Neko/HaXe as a platform to host it's functionality. There is no tight coupling between the UI .swf and the HaXe backend that favours HaXe dev above ActionScript dev. Your swf can be written using Flash 8/9/Flex 2. The fact version 1.0

Re: [Flashcoders] Scrubber for streamed flv

2006-09-01 Thread Anthony Lee
greg, You might want to repost this question over on the FlashComm list: http://chattyfig.figleaf.com/mailman/listinfo/flashcomm Is it working? I've never been able to load the page or subscribe. Tony ___ Flashcoders@chattyfig.figleaf.com To change

Re: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-09-01 Thread Cliff Rowley
I do understand that. Currently this is not a problem, but as AS3/FP9 move forward on their own inevitable path, will SWHX play catchup or will it concentrate on its own thing? I suspect the latter. On 9/2/06, Thomas Wester [EMAIL PROTECTED] wrote: Please note SWHX has full support for AS3

[Flashcoders] Updated Xray interface, connector and stand alone logging classes

2006-09-01 Thread John Grden
I just released the latest version of the connector (1.6.1) with a new logger. The interface has been updated with log levels for runtime control and works whether you use the connector or just the logger classes. Thanks to Chris Allen for a ton of help in flushing the new Logger out. I've

Re: [Flashcoders] ANN: Screenweaver HX - Version 1.0

2006-09-01 Thread Chris Allen
I totally agree Thomas. I don't think that it is limited in the way that Cliff is describing. In fact they explicitly say it's not. Nor will it move away from AS3 as it's targeting the same virtual machine in the Flash player. Cliff seems to have already made up his mind on the subject of what