[Flashcoders] Change fonts on indiv combobox items

2005-10-21 Thread Mendelsohn, Michael
Hi list... In the MX'04 combobox component, is it possible to change font attributes of each of the items in its drop down list? I can't seem to figure out how to get to each item through code. Thanks, - Michael M. ___ Flashcoders mailing list

RE: [Flashcoders] Tween not working in AS

2005-10-25 Thread Mendelsohn, Michael
Don't know if it matters, but I always assign the Tweens to a var name. That way, you can refer to them later, with onMotionFinished, etc. - MM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Bedar Sent: Tuesday, October 25, 2005 3:35 AM To:

RE: [Flashcoders] Tween not working in AS

2005-10-26 Thread Mendelsohn, Michael
So I need to find a nice clear definition of how they work. Any links? I'm not sure about links to explanations of _parent and this other than the documents, but for using the Tween class, look up Jen de Haan on the Macromedia site. She wrote a great article about its usage. For the first

[Flashcoders] Distance: mouse to MC's edge (not regpoint)

2005-11-30 Thread Mendelsohn, Michael
Hi list... I have an odd shaped MC on the stage. I'd like to find the distance between the mouse and the MC, simple enough -- but not to the MC's registration point, but to the *edge* of the MC. And to boot, it's an odd-shaped MC. Can you determine the MC's closest point on its edge to the

RE: [Flashcoders] Q: Advanced math book for designers?

2005-11-30 Thread Mendelsohn, Michael
I just actually purchased it myself! :-) - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

RE: [Flashcoders] Flash player troubles

2005-12-14 Thread Mendelsohn, Michael
Mendelsohn, Michael wrote: Flash 8 player\IE\WinXP: I've encountered some messed-up scenarios where Flash player gets disabled solely because of Deleting Temporary Internet files from IE. For me, once temp files are deleted, sites that attempt to detect Flash fail to detect Flash. Those sites

RE: [Flashcoders] Flash player troubles

2005-12-14 Thread Mendelsohn, Michael
.. hth -K [1]http://www.macromedia.com/shockwave/download/alternates/ On 14/12/05, Mendelsohn, Michael [EMAIL PROTECTED] wrote: I have given up trying to figure why this happens on some computers and not others. The problem was very repeatable until I manually removed, then replaced, a file called

[Flashcoders] No consecutive onRelease() events?

2005-12-16 Thread Mendelsohn, Michael
Hi list... I have a button and a clickable movie clip where their code only works if you move the mouse slightly before a second click. In other words, if you click them more than once while keeping the mouse stationary, the code only fires the first time, but if you move the mouse slightly

RE: [Flashcoders] No consecutive onRelease() events?

2005-12-16 Thread Mendelsohn, Michael
Thanks for the link, Lanny. However, unlike the article, in my situation, it's not a textField component keeping focus, but a comboBox. Adding Selection.setFocus(this) to the on(release) function of my button still isn't clearing out focus from the comboBox. Am I missing something? I'm trying

RE: [Flashcoders] No consecutive onRelease() events?

2005-12-16 Thread Mendelsohn, Michael
Yes, it's just a plain old button. The code is attached right to the button. Are you using the Button component, or a button symbol? And that code is just being attached right to the button it seems.. Is that correct? ___ Flashcoders mailing

[Flashcoders] Planet Earth MC

2005-12-23 Thread Mendelsohn, Michael
Hi list... [Studio 8, XP, Illustrator CS2] I have a MC of a rotating planet earth. Frame to frame, all the continents are there, but when it gets on the stage, visual anomalies occur: the Great Lakes disappear for a frame, or some weird horizontal lines appear -- always at the same spot in the

RE: [Flashcoders] Planet Earth MC

2005-12-23 Thread Mendelsohn, Michael
If you change the size of the movie clip on the screen does the effect change? No matter what size the MC is, the same effects are there. If the MC is scaled, the anomalies are scaled as well. Perhaps you are just getting a preview of the effect of global warming on the Great Lakes.

[Flashcoders] TextFormat constructor

2006-01-03 Thread Mendelsohn, Michael
Hi list... I thought you could instantiate a TextFormat object like this: var tf:TextFormat = new TextFormat(underline:true, color:0xFF); But that doesn't work as there's a compile error. Why? - MM ___ Flashcoders mailing list

[Flashcoders] Tween class question

2006-01-09 Thread Mendelsohn, Michael
Hi list... I'm wondering if there's any way to call a function at each step in a tween being carried out by the Tween class when useSeconds = true. Any insight is appreciated! - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Duplicating an object without pointing to original one

2006-01-09 Thread Mendelsohn, Michael
Hi list... How do you duplicate an object {bool:true, val:5} in another variable without pointing to the original one, and without having to create a constructor. In Director, there's a duplicate() method in Lingo. Is there an equivalent way to do this in Flash? Something like this, but which

RE: [Flashcoders] Duplicating an object without pointing to originalone

2006-01-09 Thread Mendelsohn, Michael
Thanks for the answers! Thanks for the answers! :-) - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread Mendelsohn, Michael
Hi list... I'm making a swf in 8 and publishing for 7 and I keep getting this compile error: Enhanced stroke is not supported in this player Problem is, I can't figure out how to fix that. Any ideas? Thanks, - Michael M. ___ Flashcoders mailing list

RE: [Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread Mendelsohn, Michael
Thanks everyone for the insight. But, I just can't figure out how to change the stroke settings. Where is that done? I've tried various combinations of the cap and join widgets on the prop inspector, but that isn't working. Where's the stroke setting in the UI? - MM You need to use the

RE: [Flashcoders] Enhanced stroke is not supported in this player

2006-02-01 Thread Mendelsohn, Michael
Bingo! Thank you very much, Stacey. - MM You can also just save the file as the lower version and that works to get rid of the error. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] Video stopped at beginning doesn't appear on stage

2006-02-07 Thread Mendelsohn, Michael
Hi list... I have a video that I am trying to hold on frame 1. Trying to do that through code makes the video mysteriously not appear on the stage. Is there any code that can hold the video at frame 1? I've tried: vid.stop(); vid.gotoAndStop(1); vid.vidContent.stop();

[Flashcoders] Set volume of flash video?

2006-02-13 Thread Mendelsohn, Michael
Hi list... Is there a property to get/set the volume of a flash video on the stage? Thanks, - Michael M. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Set volume of flash video?

2006-02-13 Thread Mendelsohn, Michael
Thanks for the feedback Jim...however, my video is embedded, and it looks like netstream only works with an external video. Any idea how this can be done with an embedded video? Here's the code I've tried: vid.gotoAndStop(2); // vid is the MC containing the embedded Flash video // create audio

RE: [Flashcoders] Set volume of flash video?

2006-02-14 Thread Mendelsohn, Michael
Thanks for the reply, Jim. That was so obvious that I missed it. - MM var __sound:Sound = new Sound(__myVideoContainer); __sound.setVolume(0); The myVideo clip contained a video (with sound) that I imported to the timeline. Send me e-mail if you want the .FLA

[Flashcoders] Resize MC within an MC

2006-02-15 Thread Mendelsohn, Michael
Hi list... I have a MC of a rectangle with dimensions 1600 x 1200, registration point at 0,0. In it is another MC of a square that's 400 x 300, located at the upper left corner (0,0) of the _parent. I want to stretch out the _parent MC just enough so that the inner MC _width becomes 1600. I

RE: [Flashcoders] Resize MC within an MC

2006-02-15 Thread Mendelsohn, Michael
It's actually a lot more complicated than that because the swf is sitting inside Director, and I'm aligning the swf to point(0,0) of the stage and I've stretched out the stage to the dimensions of the monitor. Then, I'm zooming in on a video by way of increasing Directors drawRect. I'm suspecting

RE: [Flashcoders] Resize MC within an MC

2006-02-15 Thread Mendelsohn, Michael
to Director at all, I'm afraid. But I'd think all you need to do is compare the width of the embedded Flash object to its original published width, and apply that factor on top of any other scaling factors you've already applied... Sorry I can't be of more immediate help. Ian On 2/15/06, Mendelsohn

[Flashcoders] Articles on accessing actionscript through js

2006-02-16 Thread Mendelsohn, Michael
Hi list... I'm thinking of experimenting with having js control a swf. Can you call methods and get/set various props in a swf from js in a web page...and have it work in all browsers? If anyone has any recommendations on where to read up on this, please let me know. Thanks, - Michael M.

RE: [Flashcoders] trace inside the browser

2006-03-07 Thread Mendelsohn, Michael
Or, you can use: getURL(javascript:window.status = yourData); I like to think of the browser's status bar as a built in output spot, granted, it's only one line at a time. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

[Flashcoders] OT: dumb PowerPoint question

2006-03-14 Thread Mendelsohn, Michael
Hi list... When playing a PowerPoint slide show, if you right click the presentation, choose Go, then By Title, you get a menu of slides: 1 Slide 1 2 Slide 2 3 Slide 3 I can't figure out where to rename the slides. Can anyone clue me in? My slides are just a jpg, no text, so is it even

RE: [Flashcoders] OT: Great bit of Director work, FPS with bots, network play etc.

2006-03-17 Thread Mendelsohn, Michael
We looked at it here with a gyroscope visor. Simply incredible. - MM -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Marsden Sent: Friday, March 17, 2006 9:33 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] OT: Great bit of Director

[Flashcoders] Slightly OT: exporting QT w/ alpha channel

2006-03-22 Thread Mendelsohn, Michael
Hi list... I'm trying to export my animation as a quicktime with an alpha channel so I can bring it into either Avid or Premiere Pro with the alpha channel intact. Is this possible? When I set the alpha-transparent setting in publish settings, the resulting .mov file has all inverted colors. I

[Flashcoders] Linked font from class

2006-04-10 Thread Mendelsohn, Michael
Hi list... I have a movie and an external class. The movie has a font in it with a linkage name theTimes. The class constructor creates a new text field, and sets a style with this embedded font. The text is formatted all of the attributes except the font, and I'm wondering if it's because the

RE: [Flashcoders] Linked font from class

2006-04-10 Thread Mendelsohn, Michael
Thanks for the interesting link Ivan. I think in my case, it was a scope problem, because I had the setTextFormat called from within a with block that I discovered wasn't reading the TextFormat. Issue solved. - MM ___

[Flashcoders] Loading internal jpg with linkage

2006-04-11 Thread Mendelsohn, Michael
Hi list... I must be missing something. Is there a way to load a jpg from the library with a linkage name into a dynamically created movie clip on the stage? Thanks, - Michael M. ___ Flashcoders@chattyfig.figleaf.com To change your subscription

[Flashcoders] Not all MCs get onEnterFrame

2006-04-24 Thread Mendelsohn, Michael
Hi list... I am creating a bunch of MCs on the stage that should each get an onEnterFrame function defined, but only the first one created in the loop is getting that function, and I don't see why. Any ideas? Thanks, - Michael M. private function mLanguages(attachToWhat):Void {

RE: [Flashcoders] Not all MCs get onEnterFrame

2006-04-24 Thread Mendelsohn, Michael
That worked perfectly. Thanks, Geoff. - MM you should set riseSpeed inside the newClip, and then apply the onenterframe to the clip's _y, like this: newClip.riseSpeed = ((0.03 * hitherYon) - 1.5); newClip.onEnterFrame = function():Void {

[Flashcoders] Can't tint AND add GlowFilter?

2006-04-25 Thread Mendelsohn, Michael
Hi list... The code below tints a MC on the stage and then I'm trying to put a black glow around it, but the glow turns out to be the same tint as the ColorTransform. Is there a way to make sure the glow is a different color? Thanks, - Michael M. var clr:ColorTransform = new ColorTransform();

[Flashcoders] Using MX components for 5 publishing

2006-05-10 Thread Mendelsohn, Michael
Hi list... Can you create a component out of a movie clip in MX and publish to version 5 and have the component work without problems? Thanks, - Michael M. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

[Flashcoders] Attach jpg?

2006-06-07 Thread Mendelsohn, Michael
Mental block here: Is it possible to load a jpg with a linkage identifier from the library into a MC on the stage? attachBitmap and attachMovie don't seem to do it. Thanks, - Michael M. ___ Flashcoders@chattyfig.figleaf.com To change your subscription

[Flashcoders] Composition problems

2006-06-16 Thread Mendelsohn, Michael
Hi list... I'm trying to figure out what I'm missing in trying to instance a class via composition: I have 2 external classes: questions and puzzle. class questions { public var qa:Object = new Object(); function questions() { qa[0] = new Object();

RE: [Flashcoders] Composition problems

2006-06-16 Thread Mendelsohn, Michael
Thanks Jason. I figured it out. I was getting tripped up by the fact that how I was doing it was only returning functions, not properties. In my fixed puzzle class: private function defineQuestions():Void { // create the question and answer data object...

[Flashcoders] Can't reach boolean?

2006-06-19 Thread Mendelsohn, Michael
Hi list... I have a path to a mc like so: _root.collective.table1.p5 On the root of the clip named p5, there is this line of code: var isPiece:Boolean = true; Why am I not able to reach that boolean through code? trace(_root.collective.table1.p5.isPiece) is always undefined. Thanks, - Michael

RE: [Flashcoders] Can't reach boolean?

2006-06-19 Thread Mendelsohn, Michael
Hi Danny... Thanks for responding. The value is just a constant true, on the timeline of _root.collective.table1.p5. If I trace(root.collective.table1.p5), I get the clip's path in the output window, no problem. But if I go and trace a variable within that mc, I get nothing. What's the

RE: [Flashcoders] Can't reach boolean?

2006-06-19 Thread Mendelsohn, Michael
Thanks everyone for your quick responses! It was indeed a case of the clip not fully loaded yet. I'm able to reach it now. - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Sort within an object

2006-06-19 Thread Mendelsohn, Michael
Hi list... Is there any way to sort within an object: Track[1][score] Track[2][score] Track[3][score] Track[4][score] Track[5][score] All the tracks have different score numeric values. What's the most efficient way of getting them in order? It seems sort and sortOn only work on arrays.

RE: [Flashcoders] Sort within an object

2006-06-19 Thread Mendelsohn, Michael
is Track an array? Track is an object. This is my work in progress... private function updateStandings():Void { // create list of scores and sort descending... var tempScores:Array = new Array(); for (var s

RE: [Flashcoders] Sort within an object

2006-06-19 Thread Mendelsohn, Michael
Well, thanks everyone for the advice. I ended up solving the issue, and below is my final code. Sorry if I confused anyone. - MM private function updateStandings():Void { var tempStandings:Array = new Array(); // first, create list of scores and sort

[Flashcoders] For...in counts backwards?

2006-06-20 Thread Mendelsohn, Michael
Hi list... From the help on for...in: You can also iterate through the elements of an array: var myArray:Array = [one, two, three]; for (var i:String in myArray) { trace(myArray[i]); } This code outputs the following in the Output panel: three two One Why is the data output in reverse

[Flashcoders] Keystroke to escape to parent clip?

2006-06-21 Thread Mendelsohn, Michael
Hi all...silly question: Is there a keystroke for backing out to a parent clip, say if you're drawing in one clip, then go back to it's parent? - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] init TextFormat prop in a class

2006-06-27 Thread Mendelsohn, Michael
Hi list... Why is it that when I try to init a prop for my class, I get this error: A class's instance variables may only be initialized to compile-time constant expressions. What exactly does that mean? Thanks, - Michael M. class test{ private var tf:TextFormat = new TextFormat();

RE: [Flashcoders] init TextFormat prop in a class

2006-06-27 Thread Mendelsohn, Michael
Thanks, Mike and John for your responses. John: what do you mean by primitives? - MM Class properties can only be initialized with primitives outside of a constructor ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or

[Flashcoders] Filters on components?

2006-06-29 Thread Mendelsohn, Michael
Filters don't apply to movie clips that have a component definition? Is this true, or something I'm doing wrong on the timeline? - Michael M. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] embedFonts vs. setTextFormat

2006-07-05 Thread Mendelsohn, Michael
Hi list... The embedFonts line seems to prevent the setTextFormat line from working. What am I missing? The font univ is in the library, and its linkage is univ. Thanks, - Michael M. private function createSlideWatcher():Void { var tf:TextFormat = new TextFormat();

RE: [Flashcoders] embedFonts vs. setTextFormat

2006-07-05 Thread Mendelsohn, Michael
Hi all... Thanks for the responses. It was indeed a case of setNewTextFormat. I just don't get why that AS term exists. Thanks! - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] createTextField and removeMovieClip

2006-07-07 Thread Mendelsohn, Michael
Hi list... I have some text on the _root that I placed there using createTextField, and now I'd like to remove it using removeMovieClip, but it's not going anywhere. Any suggestions? Thanks, - Michael M. ___ Flashcoders@chattyfig.figleaf.com To

RE: [Flashcoders] createTextField and removeMovieClip

2006-07-07 Thread Mendelsohn, Michael
Thanks, Peter. That's what I refer to as a blinding glimpse of the obvious. I just wish it was better positioned in the documentation. I didn't realize it was there. Regards, - MM Yeah - standard TextField method: my_txt.removeTextField() ___

[Flashcoders] Sound cuts out onMotionFinished of Tween class

2006-07-19 Thread Mendelsohn, Michael
Hi list... There's a point in my code that a sound object drops the sound for a split second prior to the moment it begins to fade out, and I'd like to figure out why that's happening. Any thoughts are appreciated. - Michael M. // on the root: var tuneSound:Sound = new Sound(); // listener

[Flashcoders] Can't access mc

2006-08-11 Thread Mendelsohn, Michael
Hi list... I'm trying to access a mc within a mc in my class as follows: class linker extends MovieClip { function linker() { trace(theClip); } } The linker clip is on the stage, and there's a mc within it called theClip. I get the error There is no property

RE: [Flashcoders] Can't access mc

2006-08-11 Thread Mendelsohn, Michael
All the solutions worked perfectly, thanks everyone. But, Arul, what is the advantage of putting it in an onLoad function instead of the constructor? declare theClip as a member of the class linker. like, private var theClip:MovieClip; Also, try to keep ur code out of the constructor.

RE: [Flashcoders] Can't access mc

2006-08-11 Thread Mendelsohn, Michael
Placing that code instead in the onLoad method makes sure that it will work. Great explanation, thanks Arul. - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] v2 scroll pane clips its content

2006-08-15 Thread Mendelsohn, Michael
Touchdown Dolecki! Make sure the registration point of the contents getting slapped into the pane are at 0,0. Sounds like its off there. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Not seeing video on stage

2006-08-22 Thread Mendelsohn, Michael
Hi list... I'm not sure why I can't see my loaded flv on the stage. I can hear them, I just can't see them. I have a class that runs the show as follows. Thanks, - Michael M. import flash.external.*; class welcomeWebpage { public var nc:NetConnection; public var ns:NetStream;

RE: [Flashcoders] Hex colors function?

2006-08-22 Thread Mendelsohn, Michael
function argbToHex(a,r,g,b){ return(a24|r16|g8|b); } ___ 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

[Flashcoders] Scrollbar thumb moves up too high

2006-08-23 Thread Mendelsohn, Michael
Hi list... I have a scroll pane on the stage with the vertical scroll bars appearing as needed. The issue is that the scrollbar thumb scrolls up too high and actually scrolls over the up button. Anyone seen this before, and how should it be solved? Thanks, - Michael M.

RE: [Flashcoders] Scrollbar thumb moves up too high (Part II)

2006-08-23 Thread Mendelsohn, Michael
I discovered when you reset the contents of a scrollpane twice in a row, the scroll bar resets to the correct top position. But it seems to be a bug that you have to reload the scrollpane.content twice to get its scrollbar in the correct position. Note to self... - MM I have a scroll pane on

[Flashcoders] Singleton playing video twice on stage

2006-08-24 Thread Mendelsohn, Michael
Hi list... I've written a singleton that should load in videos on demand, but it plays the video twice, once only audio, and the second, a couple of milliseconds later, both audio and video. Components on the stage call loadVideo, and through debugging, I know that call is only fired once,

[Flashcoders] FLV total time property?

2006-08-24 Thread Mendelsohn, Michael
Hi list... How do you get an external FLV's total time property? It seems the elapsed time is netsream.time, but I want to create a progress bar. Thanks, - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the

RE: [Flashcoders] FLV total time property?

2006-08-24 Thread Mendelsohn, Michael
Ahh, thanks very much Sönke! The totalTime is part of the metadata. Catch the onMetaData-Event and you got it. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Play a video from a certain point?

2006-08-24 Thread Mendelsohn, Michael
I'm tired... NetStream.seek(x). I think I'm looking for the equivalent of FLVPlayback.seek() but without that component. I'm using a video object. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Best way to pause/play video

2006-08-29 Thread Mendelsohn, Michael
Hi list... How exactly do you pause and play a video? I'm trying to create a play/pause toggle button that isn't quite working. When pausing a video, should you close the netstream? And if so, how is the best way to reopen it to resume play? Thanks, - Michael M. case (playPause) :

[Flashcoders] Scrollpane problem

2006-08-30 Thread Mendelsohn, Michael
Hi list... I have a scrollpane that contains a mc that goes to different frames whose heights longer or shorter, thus turning on or off the scrollpane components vertical scrollbar (vScrollPolicy = auto). The problem is when the vScrollBar becomes visible, the thumb is up too high. Setting the

[Flashcoders] Simulate download question

2006-08-30 Thread Mendelsohn, Michael
Hi list... My swf (currently on my hard drive) loads external flv files, but when testing at a simulated download at 56k, these flvs are brought in instantly from the hard drive. Is there any way of simulating the download of external flv files at a slower rate than that of my hard drive's

[Flashcoders] Loading issues

2006-08-30 Thread Mendelsohn, Michael
Hi list... I have a mc on the _root that when clicked, calls: loadMovieNum(squares.swf, 2); When published, when I double-click the swf itself, it works. But, testing that swf sitting in a web page, it doesn't work. Also, I am loading in external flvs. They load in on some machines,

[Flashcoders] Locating redirected assets

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

[Flashcoders] 3 multilingual / unicode questions

2006-09-05 Thread Mendelsohn, Michael
1. Is there a way of *regionally* distinguishing within a language i.e., English-UK or English-US, aside from just getting the en from System.capabilities.language? 2. Why is it that when you specify the text box as a unicode font, then publish, you can see the non-English characters, but when

RE: [Flashcoders] The Align panel

2006-09-11 Thread Mendelsohn, Michael
I believe the static item is either the leftmost and the topmost item -- only. You might want to put a guide on the stage at the left/top of the item you'd like to be static, align them, then just the realigned group back to the guides. Hope that helps, - Michael M. When aligning a group of

RE: [Flashcoders] Convert Regular Number back to Hex value?

2006-09-15 Thread Mendelsohn, Michael
Hi Jason, could this be what you're looking for? var myColor:Number = 0xff6600; t.text = String(myColor.toString(16)); //ff6600 // or... //t.text = myColor; //16737792 Similar to Mike's thread, is there a function out there someone has written to convert a regular numerical value back to its

[Flashcoders] ExternalInterface error

2006-09-18 Thread Mendelsohn, Michael
Hi list... [IE6, WinXP, FP9] Why am I getting an error icon in the status bar when I try to do this simple call to javascript? Thanks, - Michael M. In the Flash: / public function loadVideo(theVid, callingLink) { if (ExternalInterface.available) {

RE: [Flashcoders] ExternalInterface error

2006-09-18 Thread Mendelsohn, Michael
Locally, in the browser, I suppose I should say. It's all sitting on an http server. As long as that seems normal, I'm fine with it, thanks. - MM Are you testing on a web site with your browser or locally in your browser? Locally you will get warnings/errors due to the new security

[Flashcoders] Find item in array

2006-09-18 Thread Mendelsohn, Michael
Hi list... Is there an easy/quick way to find out if an item is in an array? For instance: Var a:Array = [a,b,c,d]; Var y:Number = a[b]; //y would be the position in the array of b or undefined if it's not in the array/ I'm looking for the equivalent of Director's getOne() function. Thanks, -

[Flashcoders] locality

2006-09-22 Thread Mendelsohn, Michael
Hi list... I'm doing a multilingual project for the 7 player. I need to set a language + locality variable to en-us instead of just en. It seems that System.capabilities.language was demoted going from player 6 (returns lang + locale) to 7 (just lang). Am I right? I can talk to javascript in

RE: [Flashcoders] locality

2006-09-22 Thread Mendelsohn, Michael
Thanks for responding. Do you think there might be any way to do this with js or ideally all within the Actionscript? I don't know php. When I do this with Director projects, I read the locality from the Windows registry. From where you want to retrieve the locale code.? Language, is the OS

RE: [Flashcoders] embedded font not displaying

2006-09-25 Thread Mendelsohn, Michael
I have that issue with MS Arial Unicode -- specifically the Unicode version. I was wondering about it myself, but didn't investigate further. - MM Hmm - weird. All other fonts are working for me at the moment except for basic Arial. This indeed seems quite random.

RE: [Flashcoders] embedded font not displaying

2006-09-25 Thread Mendelsohn, Michael
Make sure you also have this line: myText.html = true; Does anyone have the solution...it could be myText.htmlText = 'foo' but I am not sure. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Scrollpane thumb problem

2006-10-05 Thread Mendelsohn, Michael
Hi list... I have a scrollpane component whose content is a movie clip with a changing height, so the vertical scrollbar appears/hides when necessary. (vScrollPolicy = auto) The problem is when the vertical scrollbar appears: the draggable thumb is drawn too high, overlapping the up button.

RE: [Flashcoders] Weak bounce easing equation

2006-10-05 Thread Mendelsohn, Michael
Take a look at the Tween class and its various easing methods documented under the components language reference in the help. There's a good variety there, and you can control many facets about the tween. - MM ___ Flashcoders@chattyfig.figleaf.com To

RE: [Flashcoders] Weak bounce easing equation

2006-10-05 Thread Mendelsohn, Michael
You could probably tween something using the None easing method for a long distance, giving it linear movement, then when the tween is done, call onMotionFinished, and give it a new tween, but this time, over a short distance, and with bounces. I don't think you can control the amount of bounces.

[Flashcoders] Error check for parseXML()

2006-10-06 Thread Mendelsohn, Michael
Hi list... According to the help docs, public parseXML(value:String) : Void doesn't return an integer or anything to indicate successful parsing of the xml. How can I be certain that I've passed in some error free xml and it was able to parse? Thanks, - Michael M.

[Flashcoders] What's the role of Halo VScrollBar Assets' BtnUpArrow (was: Scrollpane thumb problem)

2006-10-06 Thread Mendelsohn, Michael
Hi list... I had a problem where the scrollbar component thumb was moving up too high over the up arrow. I figured it out, but I'm puzzled by something. In my Halo skins for VSCrollBarAssets, the BtnUpArrow was resized smaller, causing the problem. But, it seems to me that that this mc in the

[Flashcoders] Interfaces: what are the advantages?

2006-10-13 Thread Mendelsohn, Michael
Hi list... I understand what interfaces are, but I'm not entirely clear on when they become advantageous to use. Anyone care to shed some light? Thanks, - Michael M. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search

[Flashcoders] doLater not working

2006-10-17 Thread Mendelsohn, Michael
Hi list... I have a line of code on frame 1 of the _root: _root.panelBG.sp.doLater(_root, displayCorrectFrame); ...where sp is a scrollPane component inited in the panelBG mc. My doLater function is also on frame 1 of the _root, but it never gets fired. I can't figure out why. I think it might

RE: [Flashcoders] doLater not working

2006-10-18 Thread Mendelsohn, Michael
Hi Rich and Dave... Thanks for the responses. Rich, your solution worked. I needed a combination of delaying a one frame *and* a doLater. I was doing just either or, but it was needing both, although I have no idea why. I would have thought the doLater was automatically scheduled to fire

[Flashcoders] Boolean question

2006-10-19 Thread Mendelsohn, Michael
Hi list... Why does an object's parameter not change if it's instanced as a new Boolean()? w = new Object(); w.zoomed = new Boolean(false); trace (w.zoomed); //false w.zoomed = !(w.zoomed); trace (w.zoomed); //false q = new Object(); q.zoomed = false; trace (q.zoomed); //false q.zoomed =

[Flashcoders] OT: Flash based annual reports

2006-10-20 Thread Mendelsohn, Michael
Hi list... Can anyone recommend some links to eye catching Flash based corporate annual reports? Thanks, - Michael M. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] Scrollbar component

2006-11-07 Thread Mendelsohn, Michael
Hi list... I've skinned my scrollbar component, but why is it that the scroll thumb's over state never seems to work? It's happened to me on a few projects and I've seen it on others' work out there. What gives? Thanks, - Michael M. ___

[Flashcoders] Preloader not working with singleton

2006-11-07 Thread Mendelsohn, Michael
Hi list... Dumb throwback question: my load progress bar isn't working. I have two frames, one to monitor the loading of the swf, and when it happens, go to the next frame to init a singleton, but my load progress bar doesn't show up until the swf is 100% loaded. What am I missing here?

[Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Mendelsohn, Michael
Hi list... I can't figure out why MovieClipLoader isn't working. In the authoring environment, I get no error but it doesn't load, and in the browser, I get urlNotFound error. I don't understand it as the two swfs sit next to each other in the same folder. Any thoughts are appreciated.

RE: [Flashcoders] Completely stumped about MovieClipLoader not working

2006-11-08 Thread Mendelsohn, Michael
Thanks for trying. The External Interface is the only thing there that works for me. I get the alerts from the html page, but that's it. It never finds the other swf. Could it be some kind of security issue? I've just copy/past your code inside a new flash file and it is working fine both

[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] odd _alpha arithmetic

2006-11-14 Thread Mendelsohn, Michael
I asked this question once. Check out the archives of my post: http://chattyfig.figleaf.com/mailman/htdig/flashcoders/2002-December/055 709.html - MM ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

  1   2   3   4   5   >