RE: [Flashcoders] var (eventHandler)

2007-02-07 Thread Kalani Bright
you shouldn't var any functions even though technically that is correct. also anything withoug a access keyword is defaulted to private which means you can only access it from the class. so to answer your question public function onEnterFrame():Void { //code here } The void means you are not

RE: [Flashcoders] [ANN] AS3 Effects Framework

2007-02-07 Thread Kalani Bright
I'm not famililar with your project but here are some suggestiosn. Well bubble in bubble out. Imagine bubbles coming in. The most simple and classy is a fade in fade out. Also a brightness in/out. You also might want to allow the coder to specify a movieclip to use as a mask for a transition.

RE: [Flashcoders] Detecting Rollover w/o onRollOver

2007-02-07 Thread Kalani Bright
Another post which has the cancelRollover is the best one to use imho. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent: Tuesday, February 06, 2007 5:54 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders] Detecting Rollover w/o

RE: [Flashcoders] Detecting Rollover w/o onRollOver

2007-02-07 Thread Danny Kodicek
Another post which has the cancelRollover is the best one to use imho. That works in one direction (rollOver on the lower button being lost when rolling onto the upper one) but fails on the other (rollOver on the upper button disabling rollOver on the lower one). You have to have some means of

[Flashcoders] library variable

2007-02-07 Thread Daniel Snoddas
I have a library.fla with a bunch of items i use in my project. I display versions of all files on a version.fla (each file in my project has a version variable on its own root) but as the library.fla's local root timeline is never excecuted I can't access it without making it global. Is there

[Flashcoders] Re: Pretty impressive Flash website

2007-02-07 Thread Michael Ypes
Absolutely... This site was built by FI (http://www.fantasy-interactive.com) and they are a very cool company who do absolutely great work. If I lived in America I would definitely want to work for them :) The case study (http://www.fantasy-interactive.com/#roadrunner_2) says it was developed in

RE: [Flashcoders] Detecting Rollover w/o onRollOver

2007-02-07 Thread Kalani Bright
You could be right. I'm not sure what the original post mean't I was assuming that they were incorporating some sort of drop down menu not a movieclip under movieclip type of situation. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danny Kodicek Sent:

Re: [Flashcoders] text length difference

2007-02-07 Thread PR Durand
nope, cause the text is formatted... but later, when the text area to write the text will have a wysiwyg set, then we'll change the \r and \n by br and delete the extra lines. thx for answering. PiR Steven Sacks | BLITZ a écrit : You might also want to strip any non-html carriage returns,

Re: [Flashcoders] var (eventHandler)

2007-02-07 Thread Muzak
also anything withoug a access keyword is defaulted to private which means you can only access it from the class. That's not correct, it's public by default. regards, Muzak ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] finding out which fonts are embedded in a swf atruntime?

2007-02-07 Thread Mike Mountain
No takers? I guess it just isn't doable then. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Mountain Sent: 06 February 2007 12:30 To: Flashcoders mailing list Subject: [Flashcoders] finding out which fonts are embedded in a swf

[Flashcoders] Tab Problem

2007-02-07 Thread Vivek Gaikwad
Hi all, I was trying to figure out this: I have 3 input boxes(component) and 2 buttons created by me on stage. I have set the tabIndex for all the 5 controls using the accessibility panel. When I publish this, tab seems to stuck between the input boxes, it doesn't come on the buttons.

Re: [Flashcoders] finding out which fonts are embedded in a swfatruntime?

2007-02-07 Thread Dennis Roche
why can't you use the size report that you can generate on publish??? it shows all the fonts in-use in your movie. On 07/02/07, Danny Kodicek [EMAIL PROTECTED] wrote: No takers? I guess it just isn't doable then. For finding the fonts, I don't know; for finding the characters available in a

RE: [Flashcoders] determining which object is displayed at agivenpoint

2007-02-07 Thread Karina Steffens
Hi Vishal, I apologise ahead if I'm being dense here, but nobody seems to have mentioned the obvious solution: Looping through the mcs in your third party flash movie and checking for hit-test with the mouse position. var hit_array:Array = []; for (var i:String in target_mc){ var mc:MovieClip

RE: [Flashcoders] finding out which fonts are embedded in aswfatruntime?

2007-02-07 Thread Mike Mountain
why can't you use the size report that you can generate on publish??? it shows all the fonts in-use in your movie. The key words are at runtime - imagine some of these are third party swfs. ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964

Re: [Flashcoders] finding out which fonts are embedded in aswfatruntime?

2007-02-07 Thread Ian Thomas
Mike, You might be able to do it using a server-side script. Swftools (http://www.swftools.org/) might have something, or swfmill might give you back something useful. Can't think of anything runtime/clientside, tho', other than Danny's hack for the characters. Ian On 2/7/07, Mike Mountain

Re: [Flashcoders] finding out which fonts are embedded in aswfatruntime?

2007-02-07 Thread Zárate
Hi, I actually don't know how to do it, but i just wanted to say that i think is time for Adobe to improve A LOT everything related to shared fonts. My feature list would be: - Clean, easy, official way to create a swf with one/various fonts. - Being able to load at run-time that swf and

Re[2]: [Flashcoders] finding out which fonts are embedded in aswfatruntime?

2007-02-07 Thread Iv
Hello Zarate, AS1-AS2 http://www.sharedfonts.com in AS3 it's built in future. Z My feature list would be: Z - Clean, easy, official way to create a swf with one/various fonts. Z - Being able to load at run-time that swf and easily apply those fonts Z to any TextField. Z - Being able to query

Re: [Flashcoders] Re: Pretty impressive Flash website

2007-02-07 Thread Ron Wheeler
Neat stuff. They are also in Europe so you do not have to move to New York Michael Ypes wrote: Absolutely... This site was built by FI (http://www.fantasy-interactive.com) and they are a very cool company who do absolutely great work. If I lived in America I would definitely want to work for

RE: [Flashcoders] finding out which fonts are embedded inaswfatruntime?

2007-02-07 Thread Danny Kodicek
Hi, I actually don't know how to do it, but i just wanted to say that i think is time for Adobe to improve A LOT everything related to shared fonts. Very much agreed. We've reached the situation where we tried every single variation on the shared font, and none of them did what we

RE: [Flashcoders] finding out which fonts are embeddedinaswfatruntime?

2007-02-07 Thread Mike Mountain
I'll add my name to that list - but does AS3 improve things any? Not really played with embedding fonts in AS3 - surely we may be able to do some bytecode trickery like those talented chaps are doing with sound? M -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [Flashcoders] finding out which fonts are embedded inaswfatruntime?

2007-02-07 Thread Ian Thomas
Has anything changed in AS3? Does anyone know? Cheers, Ian On 2/7/07, Danny Kodicek [EMAIL PROTECTED] wrote: Very much agreed. We've reached the situation where we tried every single variation on the shared font, and none of them did what we needed, so we've had to embed the font information

Re[2]: [Flashcoders] finding out which fonts are embedded in aswfatruntime?

2007-02-07 Thread Iv
Hello Zarate, 2005 Apr 22 http://chattyfig.figleaf.com/pipermail/flashcoders/2005-April/137682.html -- Ivan Dembicki __ [EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

[Flashcoders] dropdown box implementation

2007-02-07 Thread Hans Wichman
Hi list, could anyone give me some pointers on how you would normally implement the dropdown part in a dropdown box? Would you reshuffle all components to make sure it's on top, or use a custom depth manager to attach the dropdown on the fly to the highest level, or? In addition how would this

[Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Jeff Harrington
With Flash 8 am I correct in believing that if I add cue points to a FLV that I'll be able to seek within it even though it's being delivered via a regular web server? How does that work? Does the web server actually get a new request? Thanks, Jeff Harrington [EMAIL PROTECTED]

[Flashcoders] any How-To instructions to make a Datechooser-like calendar in FlashMX?

2007-02-07 Thread BOYD SPEER
I would like to create a drop-down calendar in Flash MX that would let a user choose a date range. Any suggestions as to how to start? General sort of date-finder algorythms? Thanks, -Boyd ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] any How-To instructions to make a Datechooser-like calendar in FlashMX?

2007-02-07 Thread Michael Stuhr
BOYD SPEER schrieb: I would like to create a drop-down calendar in Flash MX that would let a user choose a date range. Any suggestions as to how to start? General sort of date-finder algorythms? MX ? those were the days :-) don't you have a DRK (3 or 4) with this kind of cal ? micha

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Francis Chary
You'll be able to seek to the cue points, yes, but the client will have to actually download that point of the file first. They won't be able to start watching from one of the cue points immediately. The way progressive download works, it starts downloading at the start of the file, and

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Johannes Nel
not in the way you are thinking. you can seek only to a point in a movie that has already been downloaded. have you looked at red5? On 2/7/07, Jeff Harrington [EMAIL PROTECTED] wrote: With Flash 8 am I correct in believing that if I add cue points to a FLV that I'll be able to seek within it

Re: [Flashcoders] Tab Problem

2007-02-07 Thread Omar Fouad
u mean: tf1.tabIndex=1; tf2.tabIndex=2; tf3.tabIndex=3; btn4.tabIndex=4; btn5.tabIndex=5; On 2/7/07, Cay Garrido H. [EMAIL PROTECTED] wrote: I haven't used the accesibility panel, I've always done it by code, and it works just fine: tf1.indexTab=1; tf2.indexTab=2; tf3.indexTab=3;

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Jeff Harrington
Thanks Johannes and Francis... Yeah Johannes I'm tracking Red5 but we're already deploying through Influxis a FMS solution. I was just shocked to find in some readings I was doing yesterday about cue points that seek worked - glad that my understanding that seeking to downloaded material worked

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Francis Chary
I have heard of a solution that someone implemented, using server-side code to serve the .flv file with different injected metadata, that did the same basic job of allowing seek to any point... but I can't remember how it was done or where I saw it. Does anyone else remember that? Francis On

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Michael Stuhr
Francis Chary schrieb: I have heard of a solution that someone implemented, using server-side code to serve the .flv file with different injected metadata, that did the same basic job of allowing seek to any point... but I can't remember how it was done or where I saw it. Does anyone else

Re: [Flashcoders] Asteroids sluggishness, optimization?

2007-02-07 Thread Paul V.
Hey Martin-Scott. Here is what I found. (I played the game, and it seems like sometimes it doesn't allow user control after the space ship comes on screen). I am programming a game aswell. Safe EArth - more like a supped up version of SpaceInvaders.

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Johannes Nel
well. let me put it to you like this. flv is a continues format. red5 contains the libraries you need to analyze it. calling a servlet which then returns the data from that point. On 2/7/07, Francis Chary [EMAIL PROTECTED] wrote: I have heard of a solution that someone implemented, using

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Francis Chary
hey, so they do! On 2/7/07, Michael Stuhr [EMAIL PROTECTED] wrote: Francis Chary schrieb: I have heard of a solution that someone implemented, using server-side code to serve the .flv file with different injected metadata, that did the same basic job of allowing seek to any point... but I

[Flashcoders] Need contractor - AS2 Developer

2007-02-07 Thread Chris Hill
We're looking for a contractor to handle some work on an existing site. We are looking for someone to do the AS2 programming, and has a good eye for design. You would be working with our internal team prototyping/implementing new functionality, and making revisions to the existing site. The

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Jeff Harrington
Yeah that was done with PHP rewriting flv's dynamically based on a user request. Was a bit unstable if I remember right. At least I couldn't get it to work. Jeff Francis Chary wrote: I have heard of a solution that someone implemented, using server-side code to serve the .flv file with

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Francis Chary
Yeah, for sure. Does it basically work the same way as Flash Comm Server? On 2/7/07, Johannes Nel [EMAIL PROTECTED] wrote: well. let me put it to you like this. flv is a continues format. red5 contains the libraries you need to analyze it. calling a servlet which then returns the data from

[Flashcoders] AS 3 and Sound

2007-02-07 Thread Jason Boyd
I didn't get any repsonses with my earlier post. Here's a shorter version. Is anyone using embedded event sounds in ActionScript 3? The published docs do not make clear how one is supposed to replace attachSound(), as they only give a Flex example, which in itself is screwy in that it requires

[Flashcoders] RE: Seeking in a Progressively Downloaded FLV

2007-02-07 Thread Brian Weil
Jeff, This can be done with some clever server-side code, a properly coded media player and flv's with metadata injected. All the sources you need are here: http://www.jeroenwijering.com/?item=Flash_Video_Player including a php implementation of the server-side script. Read his code for that

Re: [Flashcoders] AS 3 and Sound

2007-02-07 Thread James Marsden
Hey, Try giving your library sound a Class linkage name such as 'MySound', and instantiating with: var mySound:Sound = new MySound(); // the Sound object will bind to the audio clip in the library, so you should be able to do: mySound.play(); We had the same issue today... J P.S.

Re: [Flashcoders] AS 3 and Sound

2007-02-07 Thread Jason Boyd
WHew! Thanks, this relieves some worry. Now I have to figure out how to dynamically name classes... I could do: var a1 = new a1(); var aSharp1 = new aSharp1(); var b1 = new b1(); ... But would be nice to keep same looping logic I've been using with an array of note names and looking up the

[Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello, Almost every programmer sets his own code highlighting style and gets used to it to the point, that any other highlighting style makes it more difficult for him to read the code. Users of programming-related sites would be pleased to have a possibility to set their own personal code

[Flashcoders] Flash 9, XMLSocket.onClose

2007-02-07 Thread Daniel Grace
I am currently building a large-scale Flash application. I had been testing with the v8.something plugin. During beta customers were complaining about crashes and I've finally tracked it down. I'm connecting to a custom message bus using an XMLSocket. When the remote end closes the connection

Re: [Flashcoders] AS 3 and Sound

2007-02-07 Thread Jason Boyd
Well it appears this is the shortest way: var chromaticNames = ['a','aS','b','c','cS','d','dS','e','f','fS','g','gS']; var loadedSounds:Array = new Array(); for (var oct=1; oct6; oct++) { for (var n=0; nchromaticNames.length; n++) { var sndClass:Class =

Re: [Flashcoders] AS 3 and Sound

2007-02-07 Thread James Marsden
You need to use: import flash.utils.*; var myClass:* = getDefinitionByName(com.blah.blash. + noteName + _ + octave); // or something very similar if that's not right... Jason Boyd wrote: WHew! Thanks, this relieves some worry. Now I have to figure out how to dynamically name classes...

Re: [Flashcoders] AS 3 and Sound

2007-02-07 Thread James Marsden
Yeah, cool. btw if you want one of these let me know... :p http://www.futurlab.co.uk/tshirt.jpg J Jason Boyd wrote: Well it appears this is the shortest way: var chromaticNames = ['a','aS','b','c','cS','d','dS','e','f','fS','g','gS']; var loadedSounds:Array = new Array(); for (var

Re: [Flashcoders] AS 3 and Sound

2007-02-07 Thread Jason Boyd
___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Michael Stuhr
Iv schrieb: Hello, Almost every programmer sets his own code highlighting style and gets used to it to the point, that any other highlighting style makes it more difficult for him to read the code. Users of programming-related sites would be pleased to have a possibility to set their own

RE: [Flashcoders] Tab Problem

2007-02-07 Thread Steven Sacks | BLITZ
Increments are your friend. :) a = 0; tf1.tabIndex = ++a; tf2.tabIndex = ++a; tf3.tabIndex = ++a; btn4.tabIndex = ++a; btn5.tabIndex = ++a; If you had to reorder any of those tab orders all you have to do is cut and paste them into their new position. If you number your tabIndexes specifically

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Jason Boyd
I get a blank page. I have scripting turned off by default (using NoScript extension with Firefox). When turning scripting on, my first question is: how are the classes generated for actual code text on any old webpage? Does this apply to any code block, or what? I guess in general, how is it

RE: [Flashcoders] finding out which fonts are embedded inaswfatruntime?

2007-02-07 Thread Steven Sacks | BLITZ
Mike, your signature needs an editor. :) ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ Tel: 01964 672000 Fax: 01964 671102 Registered in England no. 01646471 The information contained within this email expresses the views of the sender and not necessarily those of

Re[2]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Michael, MS i wonder how much code can be highlighted without getting slow. MS that is not meant to criticize your work, don't get me wrong. - tons. only css changed on the fly. no more. everybudy can get full project from his browser cache if needed. no any server side scripts. --

Re: [Flashcoders] AS 3 and Sound

2007-02-07 Thread Jason Boyd
By which I mean of course, hehe. Gmail sent an empty message for some reason. On 2/7/07, Jason Boyd [EMAIL PROTECTED] wrote: ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Michael Stuhr
Iv schrieb: Hello Michael, MS i wonder how much code can be highlighted without getting slow. MS that is not meant to criticize your work, don't get me wrong. - tons. only css changed on the fly. no more. uhh, you got me wrong i think. everybudy can get full project from his browser cache

RE: [Flashcoders] Tab Problem

2007-02-07 Thread Andrew Kirkpatrick
Vivek, This is a limitation of the component focus Manager. If you used button components or non-component textfields the behavior you describe wouldn't exist. AWK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vivek Gaikwad Sent: Wednesday,

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Michael Stuhr
Jason Boyd schrieb: I get a blank page. I have scripting turned off by default (using NoScript extension with Firefox). When turning scripting on, my first question is: how are the classes generated for actual code text on any old webpage? Does this apply to any code block, or what? I guess in

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Jason Boyd
Hmm ok. I think what I'm getting at is that to really be useful, it ought to scan the document for code elements, then parse the text of these nodes, applying styles (or adding classed span tags or whatever) to the words based on a look-up of keywords, and syntax checking etc. This way, it truly

RE: [Flashcoders] Tab Problem

2007-02-07 Thread Hairy Dog Digital
Nice Steve! I'll keep this one in mind. My clients often rip up forms (either that, or my designer does)! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks | BLITZ Sent: Wednesday, February 07, 2007 1:33 PM To: Flashcoders mailing list

[Flashcoders] adding nbsp; in html enabled text field

2007-02-07 Thread Matthew Ganz
hi. i didn't find a concrete solution in the archives so am asking here. i have an html-enabled text field with a var reference. the var is a string that i want to add nbsp;'s to. has anyone figured out a solution to this? any helpful tips are greatly appreciated. thank you. -- matt.

RE: [Flashcoders] adding nbsp; in html enabled text field

2007-02-07 Thread Keith Reinfeld
Doesn't it work to just: htmlString += nbsp;; ??? -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz Sent: Wednesday, February 07, 2007 1:41 PM To: Flashcoders mailing list Subject:

Re[2]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Jason, I think a fiels standard of code html-formatting is needed. In this case is it possible to do many tools used one standard. In another case no one parser can't work properly. For create standard and make it popular big members must use and support it. I think it's possible and very

Re: [Flashcoders] syntax highlighting

2007-02-07 Thread Jon Bradley
On Feb 7, 2007, at 2:17 PM, Jason Boyd wrote: I think what I'm getting at is that to really be useful, it ought to scan the document for code elements, then parse the text of these nodes, applying styles (or adding classed span tags or whatever) to the words based on a look-up of keywords,

Re: Re[2]: [Flashcoders] syntax highlighting

2007-02-07 Thread Jon Bradley
On Feb 7, 2007, at 2:50 PM, Iv wrote: For example in our field Adobe declaration of AS code html-formatting standard is enougth for start support this standard by big number of developers. Problem 1 is that the tool is re-writing the HTML content of the page, which I don't particularly

[Flashcoders] to get last browsed web page before current

2007-02-07 Thread mac
Hello, Do you know how to get last browsed web page before current ? Is it possible to request it from web browser or it should be used any trick. Do you have any idea ? best regards Maciek ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] determining which object is displayed at agivenpoint

2007-02-07 Thread Vishal Kapur
To respond to the recent activity on this thread: Erik, the core functionality that I need really does need to be comprehensive and fairly generic: so, given any 3rd party swf which I don't have a priori knowledge of, determine which object is currently underneath the mouse. It needs to work for

[Flashcoders] [Flex2] Out of the border UIComponent requested

2007-02-07 Thread Sebastian Mohr
Hallo everyone, I would like to know how Christian Cantrell has done a great looking out of the border UIComponent, see: http://video.google.com/videoplay?docid=2840522561992638726hl=en (at timecode 2m7s ... and 6m12s) I know that the movement has to be done via the MoveEffect in Flex ... but

Re: [Flashcoders] adding nbsp; in html enabled text field

2007-02-07 Thread Matthew Ganz
unfortunately, that isn't working either. i've tried not embedding the fonts (as i read from the archives), adding a space plus a period, i.e. . in the include these characters field (also from the archives) and still not getting the result i want. - Original Message - From: Keith

Re: [Flashcoders] adding nbsp; in html enabled text field

2007-02-07 Thread John VanHorn
try #160; which is the unicode value i believe(?) On 2/7/07, Matthew Ganz [EMAIL PROTECTED] wrote: hi. i didn't find a concrete solution in the archives so am asking here. i have an html-enabled text field with a var reference. the var is a string that i want to add nbsp;'s to. has anyone

Re[4]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Jon, Hello Jon, JB Problem 1 is that the tool is re-writing the HTML content of the JB page, which I don't particularly like. - one CSS only. I don't see any problem here. JB It's a great thought, but Flash projects that take text input and JB parse and display it with a user-customizable

Re[4]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Jon, In any case presence of field standard is much better than lack. Developers can use and support it in his projects if standard defined. -- Ivan Dembicki [EMAIL PROTECTED] |

Re[4]: [Flashcoders] syntax highlighting

2007-02-07 Thread Iv
Hello Jon, JB Problem 1 is that the tool is re-writing the HTML content of the JB page, which I don't particularly like. - one CSS only. I don't see any problem here. JB It's a great thought, but Flash projects that take text input and JB parse and display it with a user-customizable color space

Re: [Flashcoders] adding nbsp; in html enabled text field

2007-02-07 Thread Matthew Ganz
yes it is the unicode value. tried that a little while ago, but didn't work. but thank you. - Original Message - From: John VanHorn [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 07, 2007 3:41 PM Subject: Re: [Flashcoders]

Re: [Flashcoders] adding nbsp; in html enabled text field

2007-02-07 Thread John VanHorn
try without the var reference. set the htmlText property of the text field instead. On 2/7/07, Matthew Ganz [EMAIL PROTECTED] wrote: unfortunately, that isn't working either. i've tried not embedding the fonts (as i read from the archives), adding a space plus a period, i.e. . in the include

Re: [Flashcoders] [Flex2] Out of the border UIComponent requested

2007-02-07 Thread Thomas Fowler
That's Apollo and not Flex. - Original Message - From: Sebastian Mohr [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Wednesday, February 07, 2007 2:36 PM Subject: [Flashcoders] [Flex2] Out of the border UIComponent requested Hallo everyone, I would like to know how

Re: [Flashcoders] [Flex2] Out of the border UIComponent requested

2007-02-07 Thread Sebastian Mohr
This is Flex: http://weblogs.macromedia.com/sho/archives/2006/04/flex_sliding_dr.cfm I just found it :) Apollo will be able to run and display Flex, Flash, HTML and Ajax stuff. masu On 2/7/07, Thomas Fowler [EMAIL PROTECTED] wrote: That's Apollo and not Flex. - Original Message -

RE: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Rost, Andrew
I'm not a huge JavaScript person, but we use: getURL(javascript:history.back();); Andrew -Original Message- From: Jim Berkey [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 2:43 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] to get last browsed web

Re: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Jason Boyd
This has disadvantage that if the user has javascript disabled, might fail silently. Though I know of no other way to do this. On 2/7/07, Jim Berkey [EMAIL PROTECTED] wrote: I've used this on a flash button embedded in an html page with success: on (release) {

Re: [Flashcoders] to get last browsed web page before current

2007-02-07 Thread Mick G
If you have access to PHP you can use http referrer (which isn't 100% effective, but one of the better solutions) $ENV{'HTTP_REFERER'} I'm not sure how well that will work with a Flash application but potentially you could send that to flash via a flashvar in PHP from your page. On 2/7/07,

Re: [Flashcoders] Seeking in a Progressively Downloaded FLV - Return of

2007-02-07 Thread Kelly Smith
Metadata injection with php has become a proven way to faux-stream flv's. It works great for me, and under substantial loads. Here is the lowdown: http://www.flashcomguru.com/index.cfm/2005/11/2/Streaming-flv-video-via-PHP-take-two Be sure to read through the comments below as there are a bevy

[Flashcoders] Little Problem with AMFPHP browser

2007-02-07 Thread Dave Mennenoh
I've started playing with AMFPHP today, and it's pretty darned cool! I have a little service written, that sends back an SQL query to a datagrid - all is good. But I can't get the online service browser to work - it's a path problem I think. Within the config.inc.php file it has this: /** *

Re: [Flashcoders] Little Problem with AMFPHP browser

2007-02-07 Thread Glen Pike
In the error message, it's got amfphp repeated in the path - maybe you need to copy the real path from here rather than using __FILE__ because that may be called from sub-directories, etc. Try this: /hsphere/local/home/blurred/blurredistinction.com/amfphp/ if that does not work, try removing

RE: [Flashcoders] determining which object is displayed at agivenpoint

2007-02-07 Thread Karina Steffens
Jason - This is a valid point, but even if flash is doing it with every mouse move, it's probably not a good idea to make it do it all over again each time... But I'm not sure what's more efficient - mouseMove, enterFrame or mouseOver? -Original Message- From: Jason Boyd

[Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread Dave Wood
Hi I need to detect mouse events on a movieclip's non-white content rather than it's bounding rectangle even where the contents are bitmap based. I'm putting together an activity for kids where they create a piece of art by dragging and dropping visual elements onto their canvas, then

Re: [Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread Jason Boyd
Check out the BitmapData class, specifically the static loadBitmap(id) method for creating an instance from a library symbol, and getPixel() which allows checking individual pixel values. I would think an algorithm that would work would be to iterate through the display list, do hitTest() on

Re: [Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread Jason Boyd
Also, just looking this up made me notice that as of Flash 8, you can do pixel-level hit detection between not only a bitmap and a point, but 2 bitmaps, with alpha threshold support! BitmapData.hitTest() On 2/7/07, Jason Boyd [EMAIL PROTECTED] wrote: Check out the BitmapData class,

Re: [Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread Dave Wood
Thanks for those suggestions. I didn't think about Birmapdata.hitTest(), but I had thought about using getPixel() Sure, I can use that to decide whether or not the user has clicked on a non-white area, but that doesn't resolve user confusion. It doesn't help the user to know which item

Re: [Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread Dave Wood
Can't you override the onMouseOver of the clips to prevent the cursor change? Or wait, why would the cursor be changing? There's no onRollover event being specifically handled, but each of the clips has onPress, onRelease and onReleaseOutside events handled. My understanding is that it's

Re: [Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread John VanHorn
cant you just use hitArea and make a transparent vector shape hit state for each visual element? On 2/7/07, Dave Wood [EMAIL PROTECTED] wrote: Hi I need to detect mouse events on a movieclip's non-white content rather than it's bounding rectangle even where the contents are bitmap based. I'm

Re: [Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread Jason Boyd
My understanding is that it's the default behaviour of a clip with any mouse events handled at all, that the cursor changes when it enters the clip. Oh right, sorry. So I wonder if it is possible to override this by definining an onMouseOver and changing the cursor to the default one?

Re: [Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread John VanHorn
oki just realized you said that would be a pain in your original message. sorry...i am tired. how many elements do you have? a hitArea for each one does seem like a simpler way to goor maybe i'm just tired. On 2/7/07, John VanHorn [EMAIL PROTECTED] wrote: cant you just use hitArea and

Re: [Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread Dave Wood
cant you just use hitArea and make a transparent vector shape hit state for each visual element? As I think I indicated, that is indeed an option, but one we're looking for a way to avoid. Cheers David ___ Flashcoders@chattyfig.figleaf.com To

Re: [Flashcoders] Little Problem with AMFPHP browser

2007-02-07 Thread Dave Mennenoh
In the error message, it's got amfphp repeated in the path Argh... I never even noticed that, I was looking at the bold text only which didn't show it repeated twice. Removing it from the path line did the trick. Thanks for catching that. Dave - Head Developer www.blurredistinction.com

RE: [Flashcoders] Detecting mouse events over non-white parts of amovieClip

2007-02-07 Thread Keith Reinfeld
If you don't want the cursor to change just use yourMovieClip.useHandCursor = false; for each clip with button behaviors. HTH -Keith http://keithreinfeld.home.comcast.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Boyd Sent:

Re: [Flashcoders] Detecting mouse events over non-white parts of a movieClip

2007-02-07 Thread Jason Boyd
If I were looking for the super-ideal correct algorithm and hade infinite coding monkeys, I would at init time create bitmaps of every library item, and use flood-fill combined with trig math to generate vector trace shapes of the non-white areas, which I would draw as zero alpha shapes into a

RE: [Flashcoders] Detecting mouse events over non-white parts of amovieClip

2007-02-07 Thread Keith Reinfeld
The code to convert a bitmap into vectors would be the tricky part, but is technically doable. ModifyBitmapTrace Bitmap... -Keith http://keithreinfeld.home.comcast.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

Re: [Flashcoders] Detecting mouse events over non-white parts of amovieClip

2007-02-07 Thread Jason Boyd
Good point. Yeah I'm tired. On 2/8/07, Keith Reinfeld [EMAIL PROTECTED] wrote: The code to convert a bitmap into vectors would be the tricky part, but is technically doable. ModifyBitmapTrace Bitmap... -Keith http://keithreinfeld.home.comcast.net

[Flashcoders] RE:[ Flashcoders] Tab Problem

2007-02-07 Thread Vivek Gaikwad
Even if I set the tabIndex through scripting, it doesn't solve the issue. Tab doesn't come on the buttons. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Detecting mouse events over non-white parts

2007-02-07 Thread Bob Leisle
My understanding is that it's the default behaviour of a clip with any mouse events handled at all, that the cursor changes when it enters the clip. Using useHandCursor, you could turn that feature off as the default, and then back on when you test positive for your viewable clip area.

Re: [Flashcoders] determining which object is displayed at agivenpoint

2007-02-07 Thread Vishal Kapur
It looks like you spent some time on this response, I really appreciate that. As I mentioned in my first mail, depth, _visible and _alpha are the properties I'm checking right now to resolve conflicts. So my code looks very similar to your code below. This works sometimes, but I've run into

  1   2   >