RE: [Flashcoders] Need help from PHP coder

2006-11-09 Thread Mike Keesey
> -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Scott Haneda > Sent: Thursday, November 09, 2006 5:26 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Need help from PHP coder > > I don't think you need any special php func

Re: [Flashcoders] Need help from PHP coder

2006-11-09 Thread Chester McLaughlin
Here's a very simple example I got working 1) create php file called saveXML.php 2) create xml file called myxml.xml 3) make sure php can write to myxml.xml file // START ACTIONSCRIPT var null_xml:XML = new XML(); var my_xml:XML = new XML("chester"); my_xml.contentType = "text/xml"; // Send t

Re: [Flashcoders] Need help from PHP coder

2006-11-09 Thread Scott Haneda
> "Learn PHP" is still on my to-do list, and now I'm fumbling my way > through a few simple PHP scripts. I simply want to send an XML object > to a PHP script that will write it to the server. What PHP function > will catch the end result of a XML.send() function? No need for too > many details,

Re: [Flashcoders] Need help from PHP coder

2006-11-09 Thread Rich Rodecker
there is a native php function, but i dont remember it, but you may want to take a look at the DOMIT class. On 11/9/06, Pete Miller <[EMAIL PROTECTED]> wrote: "Learn PHP" is still on my to-do list, and now I'm fumbling my way through a few simple PHP scripts. I simply want to send an XML obje

[Flashcoders] FF Display problem when using flash in a moving div

2006-11-09 Thread Eric Lee
Hi List, I'm having a bit of an issue with Firefox when displaying a flash dropdown over html content. Currently, I have the flash embedded in a div that repositions according to the menu rollover state (If rolled over, the div shifts right/movieclip shifts to the left to display the dropdown c

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> I wuz a noob once. I cured it by hanging out with non-noobs. Thanks, I tend to agree, however, I will move to the flash beginners mail list, I just hope there are people there who are not as lost as me, as that probably wont help :-) --

RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
Ah, fixing it on the Javascript side! That makes a lot more sense. (And there's no double-load.) Thanks--I'll give this a try. (It's kind of hard to read, though ... but I guess that can be good with Javascript) ― Mike Keesey > -Original Message- > From: [EMAIL PROTECTED] [mailto:flas

RE: [Flashcoders] Noob, basic questions on actionscript, book suggestion

2006-11-09 Thread Merrill, Jason
>>This is not the same book as some older friendsofed books on XML and Flash >>(using A.S. 1.0/older versions of Flash) which were terrible. LOL. Another XML and Flash book to avoid is "Flash and XML: A Developer's Guide" by Dov Jacobsen and Jesse Jacobsen. Very pretty, but filled full of off-to

Re: [Flashcoders] OT CG textbook, was efficient line segment intersection algorithm

2006-11-09 Thread Jim Armstrong
Millie Niss wrote: BTW (off-topic): What is the standard comprehensive computer graphics text these days? When I was in grad school, it was Foley-Van Dam (and some of my friends worked for Andy Van Dam so they considered no other book) but I have heard it is quite out-of-date. FVD is still

Re: [Flashcoders] Embedded Cue points metaData

2006-11-09 Thread Burak KALAYCI
Hi, You can try the following code from Captionate's help file: ns.onMetaData = function(metadata){ var level; function levelStr(level){ s=''; for (n=0;n > When the FLV is loaded, I am trying to get cue point info like so: > > ns.onMetaData = fun

Re: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions

2006-11-09 Thread Scott Haneda
> You tripped, exactly the way I described earlier, by accessing > external_xml right after calling Load(). Wait until onLoad() is called > before doing anything with external_xml. You should trace the XML > object inside the onLoad function: > >external_xml.onLoad = function(success:Boolean

RE: [Flashcoders] Best way to detect an idle user?

2006-11-09 Thread Pete Miller
Thanx, I'll give that a try! P. >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:flashcoders- >> [EMAIL PROTECTED] On Behalf Of Chester McLaughlin >> Sent: Thursday, November 09, 2006 5:39 PM >> To: Flashcoders mailing list >> Subject: Re: [Flashcoders] Best way to detect an idle

RE: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Pete Miller
I wuz a noob once. I cured it by hanging out with non-noobs. P. >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:flashcoders- >> [EMAIL PROTECTED] On Behalf Of Merrill, Jason >> Sent: Thursday, November 09, 2006 5:36 PM >> To: Flashcoders mailing list >> Subject: RE: [Flashcoders

RE: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Merrill, Jason
>>sure, i think that you are making a mistake though not testing for a >>flash version number. Thanks, I totally understand where you are coming from, but as I said, we know what version the users have, and will have at certain points in time - the bank pushes it and we have a very tightly control

Re: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions

2006-11-09 Thread Scott Haneda
> Here is another good article to help you understand XML and Flash: > http://www.actionscript.org/resources/articles/9/1/XML-101/Page1.html Ahh thanks, page 3 of this one is immensely informative. -- - Scott Haneda

[Flashcoders] Need help from PHP coder

2006-11-09 Thread Pete Miller
"Learn PHP" is still on my to-do list, and now I'm fumbling my way through a few simple PHP scripts. I simply want to send an XML object to a PHP script that will write it to the server. What PHP function will catch the end result of a XML.send() function? No need for too many details, I'll rea

Re: [Flashcoders] Best way to detect an idle user?

2006-11-09 Thread Millie Niss
you might want a general purpose system where you could specify what is to be considered in determining idleness. For example, do you check: -- only clicking (on the grounds that someone could be moving the mouse around, for example to check tooltips or just aimlessly, but that they are idle

Re: [Flashcoders] Noob, basic questions on actionscript, book suggestion

2006-11-09 Thread Millie Niss
If you plan to do a lot of Flash XML stuff, the book XML for Flash by Sas Jacobs (2006, friendsofed) is pretty good. It is overkill however if you only downloaded the 30 day trial version of Flash or don't need to know about XML handling in detail. I had a lot of trouble figuring out how to p

RE: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions

2006-11-09 Thread Ryan Potter
No offense Scott, but you are asking some really basic questions about how AS works and how the XML object in Flash works and this may not be the list to be asking. I guarantee you are going to get some harsh replies on this list for basic questions. Spend some time in the help files (f1) you wil

RE: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions

2006-11-09 Thread Mike Keesey
Think of it this way: When you call XML.load(), the XML object doesn't say, "Right away, sir, there you go!" It says, "Okay, let me pencil that in for later and I'll get to it when I can." Once you call XML.load(), you shouldn't use the XML object again until XML.onLoad() is called (which is the X

Re: [Flashcoders] Best way to detect an idle user?

2006-11-09 Thread Chester McLaughlin
Here's a working class I whipped up. It uses onMouseMove to monitor their activity. // BEGIN CLASS // ActivityMonitor // Created by Chester McLaughlin on 2006-11-09. import mx.utils.Delegate; import mx.events.EventDispatcher; class ActivityMonitor { var nLatestActivity:Number;

RE: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Merrill, Jason
There is Flashnewbies, but any Actionscript question is supposed to be welcome here. Don't listen, they're just grumpy. :) Jason Merrill Bank of America Learning & Organizational Effectiveness >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTEC

RE: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions

2006-11-09 Thread Pete Miller
You tripped, exactly the way I described earlier, by accessing external_xml right after calling Load(). Wait until onLoad() is called before doing anything with external_xml. You should trace the XML object inside the onLoad function: external_xml.onLoad = function(success:Boolean) { if

Re: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Geoff Stearns
sure, i think that you are making a mistake though not testing for a flash version number. if you have flash 8 content, and you user has flash player 7 (or lower) - your method would still embed the swf into the page, and the user's flash player would attempt to play that swf... often resul

Re: [Flashcoders] efficient line segment intersection algorithm?

2006-11-09 Thread Millie Niss
I want to see if a circle hits a network of line segments. Alternatively, I need to test for self-intersections in the nework of line segments. The problem is to allow the user to drag nodes of the network but not let them make the lines cross or drag nodes on top of each other. The circle is

RE: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions

2006-11-09 Thread Mike Keesey
> -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Scott Haneda > Sent: Thursday, November 09, 2006 1:59 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Noob, basic questions on actionscript, > withmethodology suggestions > >

RE: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions

2006-11-09 Thread Ryan Potter
Here is another good article to help you understand XML and Flash: http://www.actionscript.org/resources/articles/9/1/XML-101/Page1.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Haneda Sent: Thursday, November 09, 2006 2:59 PM To: Flashcoders

RE: [Flashcoders] Best way to detect an idle user?

2006-11-09 Thread Ben
Is it possible for you to decide wether a user is idle or not, by judging his mouse movements? Or is it required to actually measure the usage of particular elements? If you can suffice with the movement, it might be enough to create a seperate 'idle checking' class which either listens to mousemov

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> I use to trip over this one, calling xml.load() then immediately trying > to use data from the load, forgetting that I needed to wait for the > onLoad() to tell me that it was done. Thanks you as well, at least I am not the first to trip up on this, its a bit wonky coming from other languages, t

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> You have to use a function because the loading is asynchronous. It > doesn't stop program flow while it's loading; it continues with the > program and calls a handler (onLoad) once the load is complete. Thanks, I understand that part now. > I'm not sure this is the proper forum for n00b questio

[Flashcoders] Embedded Cue points metaData

2006-11-09 Thread Mendelsohn, Michael
Hi list... How can you access embedded cue points WITHOUT using the FLV playback component? I'm just using the plain video object on the stage. When the FLV is loaded, I am trying to get cue point info like so: ns.onMetaData = function(infoObject:Object):Void { for (var i in infoObject

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> Hi, > > You will need to move external_xml.load call below the onLoad > function because your file will probably be loaded before the handler is > defined (locally). > > with trace(myXML) you have defined "myXML" inside the function - > this means it is not in scope outside the function

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Glen Pike
Hi, Apologies, I missed your other question: You can extend the XML object to include a reference to its parent - which would contain a function that allowed you to parse it and do things with your movie, like so: var external_xml:XML = new XML(); external_xml.parent = this; funct

RE: [Flashcoders] Noob, basic questions on actionscript, withmethodology suggestions

2006-11-09 Thread Ryan Potter
There are a number of ways to do this. I would start by looking at the xml help files in the flash help. If you get looking at the object and it's methods you will get an idea of how it works. There are also some good tutorials out there: http://www.actionscript.org/resources/articles/56/1/Loadi

[Flashcoders] > Anyone living in Japan?

2006-11-09 Thread Weyert de Boer
Hello, I am curious if anyone here is living in Japan, and could assist me with getting some images of content that are offered by NTT DoCoMo via i-Mode. This would be greatly appreciated, you will get credits... Yours, Weyert ___ Flashcoders@chattyf

RE: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Pete Miller
Additionally, the reason you must create a function is because, as you put it, it is something that one will use again and again. Not in the way you understand it however. The XML class definition knows that there is (should be) a function called onLoad() that it must call when it successfully lo

RE: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Mike Keesey
You have to use a function because the loading is asynchronous. It doesn't stop program flow while it's loading; it continues with the program and calls a handler (onLoad) once the load is complete. I'm not sure this is the proper forum for n00b questions ― Mike Keesey ___

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
> Hi, > > You will need to move external_xml.load call below the onLoad > function because your file will probably be loaded before the handler is > defined (locally). > > with trace(myXML) you have defined "myXML" inside the function - > this means it is not in scope outside the function

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Jason King
I'm not quite that new, but I think I can tackle this issue. onLoad is in a function because the actual load takes place asynchronously. If you put another statement immediately after the external_xml.load it would execute (probably) before the xml finished loading. To resolve your issue I'd move

RE: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Merrill, Jason
FYI - I looked in more detail at swfobject as was suggested and the only think I needed to pull out of it and plug into our other detection and embedding scripts was in the catch/try statements: axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); Not specifying a version number. Thanks to

Re: [Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Glen Pike
Hi, You will need to move external_xml.load call below the onLoad function because your file will probably be loaded before the handler is defined (locally). with trace(myXML) you have defined "myXML" inside the function - this means it is not in scope outside the function. Try: va

[Flashcoders] Best way to detect an idle user?

2006-11-09 Thread Pete Miller
My application starts with a user login/authentication. I want to implement an idle user process that logs the user out after X amount of time of no activity. The most obvious way I can think to do this is to start an interval timer, and keep reseting it any time a widget is used. That means ad

RE: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Merrill, Jason
>>swfobject is only 6.7kb... it doesn't get much lighter than that. >> >>if you *really* need something smaller (which sounds like a >>ridiculous need to me) Before you actually think I have a "ridiculous need" - I'm not talking about filesize necessarily, I'm also talking about controlling larg

[Flashcoders] Noob, basic questions on actionscript, with methodology suggestions

2006-11-09 Thread Scott Haneda
Hi, downloaded Flash, 1st post! w00t! need to work out a small project. I have experience in programming, not specifically OOP, and actionscript seems to be very OOP. I few questions: I am loading up some XML per an example: //ignore whitespace XML.prototype.ignoreWhite = true; //create variabl

Re: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Geoff Stearns
swfobject is only 6.7kb... it doesn't get much lighter than that. if you *really* need something smaller (which sounds like a ridiculous need to me) you could take the plugin detection code from swfobject out and just use that. that would chop the size down to about 1/4 of the full size, an

RE: [Flashcoders] Flashloaded.com Service

2006-11-09 Thread Ryan Potter
Same here. I had a question about the usage of a component once, and they got right back to me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Geurts Sent: Thursday, November 09, 2006 2:02 PM To: Flashcoders mailing list Subject: RE: [Flashcoders

RE: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Merrill, Jason
Thanks re:swfobject, but I was hoping to keep this pretty light - there really is no simple Javascript way to do this? Jason Merrill Bank of America Learning & Organizational Effectiveness >>-Original Message- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] O

Re: [Flashcoders] am i stupid?

2006-11-09 Thread Patrick Ashamalla
the root is a movieclip, but it's empty... doesn't matter if you place other mc's on the stage. they are not INSIDE of the root.. they are just at the 'root' level. Make an empty movieclip and place it on the stage at a given point. Even if you try to do an onPress function on that clip it will no

Re: [Flashcoders] efficient line segment intersection algorithm?

2006-11-09 Thread Glen Pike
Hi, If the movie clips are circular, you may be faster using your own maths... Hit test will see if a point is in a clip, but you only want to see if 2 circles are touching. Jobe Makar's book Macromedia Flash MX Game Design Demystified gives this solution - called "Circle to Circl

RE: [Flashcoders] Flashloaded.com Service

2006-11-09 Thread Dave Geurts
I have purchased a few items from them and I have had nothing but great experiences. -Original Message- From: [EMAIL PROTECTED] on behalf of Kevin Aebig Sent: Thu 11/9/2006 1:54 PM To: 'Flashcoders mailing list' Cc: Subject:[Flashcoders] Flashloaded.com Service Hey

[Flashcoders] Flashloaded.com Service

2006-11-09 Thread Kevin Aebig
Hey all, I'm thinking about purchasing some items from Flashloaded and I'd like to hear what everyone has to say about their work and their support. Any comments welcome. Cheers, !k ___ Flashcoders@chattyfig.figleaf.com To change your subsc

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Claus Wahlers
Mike Keesey wrote: Ah, that works. The only thing is that it requires a double load of the page and the data isn't instantly available (although, with browser-caching, it should load in very quickly). Not huge concerns, but the double load could skew metrics. http://guipaganini.com.br/ -> view

RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
Ah, that works. The only thing is that it requires a double load of the page and the data isn't instantly available (although, with browser-caching, it should load in very quickly). Not huge concerns, but the double load could skew metrics. ― Mike Keesey > -Original Message- > From: [EMAI

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread John VanHorn
i think you misunderstood the suggestion. you can load the page in as xml in flash, just like loading in any other xml. i would change your swfObject javascript to pass in the location of the page: //javascript swfObj.addVariable("loc", location.href); and then load that as xml in flash: //acti

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Geoff Stearns
no javascript, just do a new XML object in flash, and load the page. so you really just need to pass the page url into flash: so.addVariable("currentPage", document.location.href); then use that to do an xml.load() On Nov 9, 2006, at 3:03 PM, Mike Keesey wrote: That sounds *much* nicer--ho

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Marcelo Volmaro
Use the code below. I did it for my implementation of a flash replacer, and works like a charm. input: an html node (node = document.getElementById("nodename")) output: a perfectly valid XML reconstruction of the tree below the node. Works on all browsers. parseTree = function ($node) {

Re: [Flashcoders] efficient line segment intersection algorithm?

2006-11-09 Thread Jim Armstrong
Millie Niss wrote: I found a useful segment intersection algorithm in the book _Computational Geometry: Algorithms and Applications_, by Mark de Berg http://www.amazon.com/Computational-Geometry-Algorithms-Applications-Second/dp/3540656200/ref=pd_ys_qtk_rvi_img/102-1020427-4119337 The algor

RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
That sounds *much* nicer--how do you grab the whole XHTML page in Javascript? ― Mike Keesey > -Original Message- > From: [EMAIL PROTECTED] [mailto:flashcoders- > [EMAIL PROTECTED] On Behalf Of Ryan Potter > Sent: Thursday, November 09, 2006 11:39 AM > To: Flashcoders mailing list > Subject

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread John VanHorn
ryan's solution would be the easiest thing to dojust load the page in as xml. if you're using flash8, you can use the idMap to grab the node that the swfObject overwrites. On 11/9/06, Ryan Potter <[EMAIL PROTECTED]> wrote: Not sure how complicated your html page is, but I have been playing

Re: [Flashcoders] efficient line segment intersection algorithm?

2006-11-09 Thread Millie Niss
hitTest has a version that tests a point against the actual shape of a MovieClip. The other varaiation tests two MovieClips, but only compares their bounding boxes, not the actual shapes. I found a useful segment intersection algorithm in the book _Computational Geometry: Algorithms and Appli

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Geoff Stearns
I did some research into this a while back: http://blog.deconcept.com/2006/02/27/using-alternate-content-flash/ end result: too much hassle to get the code you really want... you never know when browsers will update and break it in the future, or when some new obscure browser will come up and

RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Ryan Potter
Not sure how complicated your html page is, but I have been playing with the same idea but going at it a different way. I just loaded the entire page in as xml. As long as the page is valid xhtml it works great. I realize it doesn't exactly answer your sgml question, but it should get you the sa

[Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
I was playing around with the idea of passing data from an HTML page directly into a Flash movie via Javascript/SWFObject. One thing I wanted to try was sending the text that SWFObject replaces into the Flash movie. In Firefox this was pretty simple. E.g., if SWFObject was replacing the contents

[Flashcoders] Flash Remoting Possible In Powerpoint??

2006-11-09 Thread Rob Sandie
Have embedded a SWF into powerpoint using standard flash embed methods. Have remoting logic built into SWF that I need to occur with our database on the web and a netstream call for a video via RTMP/FMS. Is there a powerpoint plugin that will enable access to the web? Thank you! - r

Re[2]: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread R�kos Attila
MJ> Yes, but I don't want my scripts to HAVE version detection for the users MJ> who do have the Flash player, because we always know what to build for MJ> and what version the user will have. Since the detection script gets MJ> copied all over the place, I don't want to update those scripts to M

RE: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Nick Weekes
Maybe you could use swfobject (pretty much industry standard detection script), and then pass in the RequiredVersion var of 0? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: 09 November 2006 18:53 To: Flashcoders mailing list Subject

Re: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Geoff Stearns
uhh, SWFObject requires you specify a version, but it's a *minimum* version... so if you publised your movie as flash 7 content, you say 'this requires flash player 7', and swfobject takes that as '7 or higher'. so you don't have to update anything. On Nov 9, 2006, at 1:52 PM, Merrill, J

RE: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Merrill, Jason
Yes, but I don't want my scripts to HAVE version detection for the users who do have the Flash player, because we always know what to build for and what version the user will have. Since the detection script gets copied all over the place, I don't want to update those scripts to account for newer

RE: [Flashcoders] Test if using ActionScript 2.0

2006-11-09 Thread Mike Keesey
If you were using AS3.0 you could use the flash.display.LoaderInfo.actionScriptversion property. Wait--no, that only distinguishes 1.0 and 2.0 from 3.0. You could use the swfVersion property, though. Why exactly do you need to detect this? ― Mike Keesey > -Original Message- > From: [EMAI

Re: [Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Rich Rodecker
if they dont have flash player, then they won't have the required version number anyway, so wouldn't the version detection scripts still work? On 11/9/06, Merrill, Jason <[EMAIL PROTECTED]> wrote: Might be a dumb and simple answer, but is there any way to simply detect the presence of the Fla

Re: [Flashcoders] Test if using ActionScript 2.0

2006-11-09 Thread Wagner Amaral
Furthermore, I think I read somewhere (can't remember where) that all code made in AS2.0 is converted to AS1.0 at compile time (classes and methods are converted to prototype-style functions), so even the flash player has no clue wether the code was 1.0 or 2.0. side-note: my first post on the lis

RE: [Flashcoders] Test if using ActionScript 2.0

2006-11-09 Thread Merrill, Jason
My limited understanding is all .swfs compile down to bytecode anyway, and it's the Flash player that contains the runtime and inteprets the AS 1.0 or 2.0 bytecode as the case may be, not the .swf, so I don't think that would work. Jason Merrill Bank of America Learning & Organizational Effective

[Flashcoders] Test if using ActionScript 2.0

2006-11-09 Thread Jeff Fox
I want to create a test to see if a loaded SWF is compiled in ActionScript 1 or 2. I'm assuming I can use an old Flash detection trick and call a method that's only supported in ActionScript 2, just not sure which one to call exactly. Will that work? Anyone have any ideas or examples? -Jeff -- J

RE: [Flashcoders] MP3 sound cutting out

2006-11-09 Thread Alain Rousseau
Hi Paul, Does your screen length (time) affect the sound or is it the sound that determines the length of a screen ? Firsthand, it sounds like a synch problem to me. Is there any other places where you call stopAllSounds() or playSound() ? This might as well affect the cut off. HTH A. -Orig

[Flashcoders] MP3 sound cutting out

2006-11-09 Thread Paul Coupe (LINE)
Hi, I've got a template-based e-learning application which plays a dynamic mp3 voiceover file (typically around 200k in size) once a screen has loaded. The problem I've got is that on a few screens, the audio more often than not cuts off before it has finished - in a random place each time. Othe

Re[4]: [Flashcoders] Hiding loadsound URL from Activity Monitor

2006-11-09 Thread R�kos Attila
IT> Flash may not care, but (for example) the latest version of IIS does. IT> If you don't set a mime-type for a file extension, it defaults to a IT> 404 instead of serving the file. Stupid system. :-) I see, it escaped my attention - I have minimal experience with IIS :) Attila _

RE: Re[2]: [Flashcoders] Hiding loadsound URL from Activity Monitor

2006-11-09 Thread Merrill, Jason
>>AFAIK Flash doesn't care about mime-types, simply enough to rename >>the file - if it is a valid mp3, Flash will handle it correctly. But Windows Server 2003 for example has have MIME types added in order to serve files. So right, doesn't matter to Flash - MIME type settings are server side. S

Re: Re[2]: [Flashcoders] Hiding loadsound URL from Activity Monitor

2006-11-09 Thread Ian Thomas
Flash may not care, but (for example) the latest version of IIS does. If you don't set a mime-type for a file extension, it defaults to a 404 instead of serving the file. Stupid system. :-) Ian On 11/9/06, Rákos Attila <[EMAIL PROTECTED]> wrote: IT> You'd need to change the mimetype on the ser

Re: [Flashcoders] Hiding loadsound URL from Activity Monitor

2006-11-09 Thread Ian Thomas
It's just off the top of my head (and I probably gave it the wrong name - there's no encryption involved) - You could perhaps do something like a client/server exchange when the app starts up to agree some sort of 'handshake' code; and when you request each mp3 use that code. Have the code expire

Re: [Flashcoders] efficient line segment intersection algorithm?

2006-11-09 Thread David Buff
Hi I test myself with only lines in the two movieClips, hitTest works fine without fills... David Buff - Original Message - From: "Millie Niss" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, November 09, 2006 4:01 AM Subject: [Flashcoders] efficient line segment

Re[2]: [Flashcoders] Hiding loadsound URL from Activity Monitor

2006-11-09 Thread R�kos Attila
IT> You'd need to change the mimetype on the server, too AFAIK Flash doesn't care about mime-types, simply enough to rename the file - if it is a valid mp3, Flash will handle it correctly. Attila ___ Flashcoders@chattyfig.figleaf.com To change your

RE: [Flashcoders] Hiding loadsound URL from Activity Monitor

2006-11-09 Thread Gadlin, Steve
Renaming isn't an option here... Can you explain more about this one time key encryption? Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Thursday, November 09, 2006 10:10 AM To: Flashcoders mailing list Subject: Re: [Flashcoders]

Re: [Flashcoders] Hiding loadsound URL from Activity Monitor

2006-11-09 Thread Ian Thomas
Unless you start using one-time key encryption or something, I'd suggest the simplest thing to do is to rename the file so that it's not obviously an mp3. Give it a new file extension. (You'd need to change the mimetype on the server, too). HTH, Ian On 11/9/06, Gadlin, Steve <[EMAIL PROTECTED

[Flashcoders] Hiding loadsound URL from Activity Monitor

2006-11-09 Thread Gadlin, Steve
Hey, Flashcoders! I'm working on a custom Flash player for a high traffic web site. One issue we're having is that Safari users can trap the path to the mp3 file we're pulling in with loadSound by using their activity monitor. Has anyone figured out a way to obfuscate that path from activity m

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Hans Wichman
Hi, not very much, the only thing i noticed when moving from flash 8 to 9, is that _url returns \ locally on flash 8 and / on flash 9. Not a big change, but enough to break things locally :). greetz JC On 11/9/06, Ray Chuan <[EMAIL PROTECTED]> wrote: Thanks for the tip. Any examples of how

Re: [Flashcoders] Garbage Collection in FP8

2006-11-09 Thread Ian Thomas
Np - sorry there were no blinding flashes of inspiration. Ian P.S. I've been there with the bingo - albeit on set top box / Sky digital, rather than Flash. it's soul-destroying... On 11/9/06, Trevor Burton <[EMAIL PROTECTED]> wrote: Ian, It's true what they say about great minds... just befor

RE: [Flashcoders] Garbage Collection in FP8

2006-11-09 Thread Trevor Burton
Ian, It's true what they say about great minds... just before I read your reply I was working on something unrelated and noticed I had to use unloadMovie() instead of removeMovieClip() and a little light came on... (very dim, but it's there) - I'll have a look and see if it makes a difference. I

Re: [Flashcoders] am i stupid?

2006-11-09 Thread Ian Thomas
Hm. Having just tried it - with content on the stage - you're quite right. How odd. Ian On 11/9/06, John VanHorn <[EMAIL PROTECTED]> wrote: ive made sure there was content - movieclips and shapes - on the root when i have tried this...nothing worksand _root.useHandCursor seems to be ignored

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Ray Chuan
Thanks for the tip. Any examples of how this behaviour changes? Eg in version this and that. On 11/9/06, Hans Wichman <[EMAIL PROTECTED]> wrote: Hi, whether baseurl = baseurl.substr(0, baseurl.lastIndexOf("/")+1); works depends on player version and whether you are running it in a browser or o

Re: [Flashcoders] number parsing

2006-11-09 Thread eka
Hello :) in ActionScript (based on ECMAScript) you must use the point '.' to the float numbers, example : 10.5 You can't use the "," caractere, 10,5 is false and return NaN if you use the "number" type. if you want parse "10,5" you must transfor the ',' in '.' ... EKA+ :) 2006/11/9, Hans Wi

Re: [Flashcoders] Pathfinding with dynamic objects

2006-11-09 Thread Pedro Rodrigues
if you consider that the object they are atempting to circumvent is "static" at the moment of path calculation it is the same has calculating with always static objects. From Gamedev.net: http://www.gamedev.net/reference/list.asp?categoryid=18#194 http://www.geocities.com/jheyesjones/pseudocod

[Flashcoders] Simple Flash player detection without versioning?

2006-11-09 Thread Merrill, Jason
Might be a dumb and simple answer, but is there any way to simply detect the presence of the Flash player in IE WITHOUT also checking for a specific version number (IE detection only is required, not other browsers)? The Javascript detection scripts I've seen always check for say Flash 7 or 8, but

Re: [Flashcoders] am i stupid?

2006-11-09 Thread John VanHorn
ive made sure there was content - movieclips and shapes - on the root when i have tried this...nothing worksand _root.useHandCursor seems to be ignored also. On 11/9/06, Matthias Dittgen <[EMAIL PROTECTED]> wrote: You probably just need some content in your _root! onPress, onRelease etc. do

[Flashcoders] number parsing

2006-11-09 Thread Hans Wichman
Hi list, can anyone confirm whether number parsing depends on regional settings in anyway? For example, could parsing "10,3" result in 10,3 on some pc's and 10 on others? And even worse could parsing it using Number result in 10 on some pc's and NaN on others? I can't reproduce it, but client's

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Hans Wichman
Hi, whether baseurl = baseurl.substr(0, baseurl.lastIndexOf("/")+1); works depends on player version and whether you are running it in a browser or on a disk. To be sure, replace any \ by / upfront. greetz JC On 11/9/06, Ray Chuan <[EMAIL PROTECTED]> wrote: I think you can get the same effect

Re: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Ray Chuan
I think you can get the same effect using System.security.allowDomain. On 11/9/06, Ben Smeets <[EMAIL PROTECTED]> wrote: .Fla -> Publish settings -> Flash -> Local playback security is set to "Access network only" right? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

Re: [Flashcoders] scale MC using another MC as registration point

2006-11-09 Thread Jon Bennett
umm, thought it was perfect - but after a couple of hours, I'm still struggling to get it to work, I've put the fla online, if someone's got a sec to look through, I'd really appreciate it! sorted it! was a combination of having a central registration point on the affected clip, not using the s

[Flashcoders] Bug in MFP8 with import profile.

2006-11-09 Thread Siarhei Hupalovich
Hello. If I go to the Flash tab in Publish Settings, then add classpath, it exports ok. I looked at the XML and PackagePaths node has required path. But if I import this profile to a new created fla file, it has empty classpath list. Any ideas? Best regards Siarhei Hupalovich. _

Re: [Flashcoders] Garbage Collection in FP8

2006-11-09 Thread Ian Thomas
The first time that you return to a game..? It sounds very much like you're not destroying the movieclips for each mini-game, and that you're creating them under unique names/ids or on unique depths; and when you return to the same game, it's recreated over the old copy of itself, replacing the m

[Flashcoders] List items of differing row height

2006-11-09 Thread Mike Mountain
List items of differing row height - is this possible in the list component? Cheers M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to

  1   2   >