[Flashcoders] Is it possible to expand work area in flash?

2006-11-09 Thread André Hedetoft
Hello Flashcoders! I've got a little problem on my hands. You see, I'm making a very very long horizontal scrolling flash page and I have run out of Work Area space to place my scrolling pictures and text on. Is there any way to expand the work area in flash 8 or to work around this

Re: [Flashcoders] am i stupid?

2006-11-09 Thread Matthias Dittgen
You probably just need some content in your _root! onPress, onRelease etc. do only work if the mouse is over some content of the MovieClip, even of _root. For better understanding: If you have a filled circle as movieClip, onPress events work only within the circle, not in the corners of its

RE: [Flashcoders] Is it possible to expand work area in flash?

2006-11-09 Thread Nick Weekes
Not much you can do if you need more than the 2880 max stage size. Sounds like you need to move to actionscript based animation... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of André Hedetoft Sent: 09 November 2006 08:21 To:

RE: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-09 Thread Ben Smeets
.Fla - Publish settings - Flash - Local playback security is set to Access network only right? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Chuan Sent: donderdag 9 november 2006 5:44 To: Flashcoders mailing list Subject: Re: [Flashcoders]

Re: [Flashcoders] Is it possible to expand work area in flash?

2006-11-09 Thread James Marsden
does anyone know if there are plans to extend the paste board width in Flash 9? Nick Weekes wrote: Not much you can do if you need more than the 2880 max stage size. Sounds like you need to move to actionscript based animation... ___

Re: [Flashcoders] Writing code for big teams

2006-11-09 Thread Zárate
My 0.2, Basically it really depends on what are they doing. Say you have a player or main movie. You're tipically going to load different movies or sections on it. And you want all sections to have a common list of public properties and methods. Define that list and make it an interface.

Re: [Flashcoders] extend and implement

2006-11-09 Thread Ian Thomas
Yes. Pretty much exactly as you describe it. interface ITheInterface { blah } class ClassA extends MovieClip implements ITheInterface { blah } should work fine. Ian On 11/9/06, Haydn [EMAIL PROTECTED] wrote: Is it possible to for a class to extend another class as well as implement an

Re: [Flashcoders] Recommended encoding rates for FLV?

2006-11-09 Thread Meinte van't Kruis
this has been great help to me in using ffmpeg to encode to on2 vp6; http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html On 11/9/06, Reuben Stanton [EMAIL PROTECTED] wrote: Thanks, that was very helpful. Reuben On 04/11/2006, at 5:31 AM, Clark, Craig wrote: I have

Re: [Flashcoders] MSP style flash application.

2006-11-09 Thread Rajat Paharia
Hi Glen - http://www.flashfilterlab.com/ best, - rajat On 11/8/06, Glen Pike [EMAIL PROTECTED] wrote: Hi, Can anyone point me to the site that recently went up offering an online modular image manipulation tool, where you can join up lots of filters, generators and other stuff to mess

[Flashcoders] Garbage Collection in FP8

2006-11-09 Thread Trevor Burton
Can anyone point me to some solid information about FP8's Garbage Collection process? I read the article here - http://www.kaourantin.net/2005/09/garbage-collection-in-flash-player-8.html but i'm looking for some more in-depth stuff. or perhaps there's a tool to view the GC working? I'm

Re: [Flashcoders] Garbage Collection in FP8

2006-11-09 Thread Ian Thomas
On 11/9/06, Trevor Burton [EMAIL PROTECTED] wrote: Can anyone point me to some solid information about FP8's Garbage Collection process? I read the article here - http://www.kaourantin.net/2005/09/garbage-collection-in-flash-player-8.html but i'm looking for some more in-depth stuff. or perhaps

RE: [Flashcoders] Garbage Collection in FP8

2006-11-09 Thread Trevor Burton
Thanks Ian, What you've said is the principles we were working on here... the problem we have is that if you're playing a game (which, in itself is fairly processor-intensive) and you leave the game to return to the lobby - and then play another game - when the second game is created the whole

Re: Re: [Flashcoders] about BitmapData.draw() crossdomain

2006-11-09 Thread Zeh Fernando
Simple enough. In PHP: http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2004-November/125057.html While the above example seem to be focused on SendAndLoad, but the process would be just the same for file/image loading. Or in ASP:

Re: [Flashcoders] Garbage Collection in FP8

2006-11-09 Thread Ian Thomas
On 11/9/06, Trevor Burton [EMAIL PROTECTED] wrote: Thanks Ian, What you've said is the principles we were working on here... the problem we have is that if you're playing a game (which, in itself is fairly processor-intensive) and you leave the game to return to the lobby - and then play

Re: [Flashcoders] Is it possible to expand work area in flash?

2006-11-09 Thread Hans Wichman
Hi, nesting clips and scaling them down on the workarea might help. You need to scale them back on app start. greetz JC On 11/9/06, James Marsden [EMAIL PROTECTED] wrote: does anyone know if there are plans to extend the paste board width in Flash 9? Nick Weekes wrote: Not much you can

Re: [Flashcoders] efficient line segment intersection algorithm?

2006-11-09 Thread JulianG
I think HitTest only works with the bounding box of the MovieClip. So it's not appropriate for what you're doing. Try this Metanet Tutorial: Beyond HitTest() http://www.harveycartel.org/metanet/tutorials.html Collision Detection in Flash. cheers, JulianG Millie Niss wrote: It occurred to

[Flashcoders] Some questions on flash video solutions

2006-11-09 Thread Andreas R
Some quick questions off the top of my head: Why go for a streaming server such as FMS or Red5? What are the concrete reasons to do so, when simply buffering an flv file through netstream.play() for the most part functions just as well? How do services like YouTube handle video uploads and

RE: [Flashcoders] Garbage Collection in FP8

2006-11-09 Thread Trevor Burton
Ian, We do load different swfs - the game itself consists of several 'modules' (the game itself, a navigation bar, mini-games that run within the main game etc.etc.) when you move to the lobby all the current objects are destroyed and the clips removed and the lobby is created from scratch - then

[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

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

[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] 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

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 PROTECTED] On

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

[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] 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

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

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 Wichman

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 on a

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] 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] 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 before

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

[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

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

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:

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] 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 flashcoders@chattyfig.figleaf.com Sent: Thursday, November 09, 2006 4:01 AM Subject:

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: 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

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. So

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

[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.

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.

[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 --

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

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

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

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: [EMAIL

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] 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,

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

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 MJ

[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! -

[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

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

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

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

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] 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:

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

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] 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--how

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:

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: [EMAIL

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

[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

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

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

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] On

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:

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,

[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

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 large amounts

[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

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: var

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 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. Try:

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 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

[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 ___

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:

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;

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. Try:

[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

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

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,

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

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:

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 Thanks,

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

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

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] 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, 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 XML

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

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

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

[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 read

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

  1   2   >