[Flashcoders] Masks when Zooming in I.E. 7

2008-11-12 Thread Marc Hoffman
I'm still looking for an anwer to this -- has anybody encountered this before? I created a swf that has several layers of translucent clouds moving beneath masks. The masks are assigned via ActionScript 2.0 and the cloud motion is also scripted. When this movie is zoomed 150% or larger in

[Flashcoders] Masks when Zooming in I.E. 7

2008-11-04 Thread Marc Hoffman
I created a swf that has several layers of translucent clouds moving beneath masks. The masks are set with ActionScript 2.0 and the cloud motion is also AS2. When this movie is zoomed larger than 100% in I.E. 7, the clouds become nearly opaque. Anyone know what it is about zooming in I.E. 7

[Flashcoders] Masks when Zooming in I.E. 7

2008-11-04 Thread Marc Hoffman
[Please excuse if this comes through twice -- it's been over 8 hours since I sent, but did not see posted, my original message.] I created a swf that has several layers of translucent clouds moving beneath masks. The masks are set with ActionScript 2.0 and the cloud motion is also AS2. When

Re: [Flashcoders] Making dynamic text look the same as static text

2008-09-19 Thread Marc Hoffman
Furthermore, you have to separately embed each font face that you're using (regular, bold, italic). At 11:46 PM 9/18/2008, Christoffer Enedahl wrote: You need to embed the font. Google it Alan Neilsen skrev: I have found that when I call text into a dynamic text field from a variable, it

[Flashcoders] Paragraph spacing in AS2

2008-03-17 Thread Marc Hoffman
for setting inter-paragraph spacing? Ideally I'd want it to be about 1.5x the regular line spacing. Thanks! Marc Hoffman ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Paragraph spacing in AS2

2008-03-17 Thread Marc Hoffman
Thank you, Glen. I will try this. Marc At 08:16 AM 3/17/2008, Glen Pike wrote: In CSS it is margin and margin-top, etc. that sets your spacing between elements - don't know if this will work with AS2, e.g. p { margin-bottom:10px; } Marc Hoffman wrote: I'm using style sheets to control

Re: [Flashcoders] Running Independent SWF

2008-03-13 Thread Marc Hoffman
Anuj, I know this is more of a hack than really fixing the problem, but have you tried keeping all swf's in the same directory? I am suspicious of the URL: file:///video/pic_8.swf. Why so many directory levels in the path? - Marc At 11:08 PM 3/12/2008, you wrote: Hi Bob Thanks for reply.

Re: [Flashcoders] loadmovie

2008-02-29 Thread Marc Hoffman
Theodore, How was holder_lesson created? If it has been scaled up from some other mc, the loaded movie will also be scaled up. Best to use a non-scaled clip as a holder. AS2 example: this.createEmptyMovieClip(holder_lesson,this.getNextHighestDepth()); holder_lesson._x = 10; // or wherever

Re: [Flashcoders] loadmovie

2008-02-29 Thread Marc Hoffman
:28 PM, Marc Hoffman [EMAIL PROTECTED] wrote: Theodore, How was holder_lesson created? If it has been scaled up from some other mc, the loaded movie will also be scaled up. Best to use a non-scaled clip as a holder. AS2 example: this.createEmptyMovieClip(holder_lesson

Re: [Flashcoders] determining url of container page

2008-02-18 Thread Marc Hoffman
_root._url returns the url of the swf, not the html page. At 08:38 PM 2/18/2008, Ketan Anjaria wrote: In AS2 it's _root._url. In AS3 I think it's stage.contentLoaderInfo.url or something like that. Check the docs on the LoaderInfo class. On Feb 18, 2008 6:49 PM, Andrew Sinning [EMAIL

Re: [Flashcoders] buttons lined up next to each other- rollout not work

2008-01-15 Thread Marc Hoffman
No such problem here with either adjacent or overlapping buttons. Please post your code. Here's mine for four buttons named btn1, btn2, etc.: for (i = 1; i 5; i++) { this[btn + i].onRollOut = function() { trace(this._name); }; } Marc At 09:06 PM 1/15/2008, you

Re: [Flashcoders] Simple quesiton for createEmptyMovieClip in AS2

2008-01-12 Thread Marc Hoffman
At least one problem: _root.playListHolder.createEmptyMovieClip(vThumb+i, i+1000); should be (note quotes): _root.playListHolder.createEmptyMovieClip(vThumb+i, i+1000); Also, you don't need the line: var vidThumb:MovieClip = You can just tell _root.playListHolder to create the clips based on

Re: [Flashcoders] Simple quesiton for createEmptyMovieClip in AS2

2008-01-12 Thread Marc Hoffman
Put the URLs in an array: myURLS = new Array(www.domain1.com, www.anotherDomain.com, www.anotherDomain.com, www.anotherDomain.com, www.anotherDomain.com); then for the URL specified as the target of each clip you create, just reference the URL this way: vidThumb.onRelease = function(){

Re: [Flashcoders] Software Patent Question

2008-01-04 Thread Marc Hoffman
Hi Dave, I have to wonder -- if you just wanted confirmation of your gut feeling, why did you write to a technical forum? Sorry, but it annoys me to have taken the time to provide objective information when all the poster wants is validation for a gut response. If your concern is truly to

Re: [Flashcoders] Software Patent Question

2008-01-02 Thread Marc Hoffman
Hi Dave, There are various ways of looking at this. Although it may seem ridiculous that you can't develop any technology you wish, the flip side is that many inventions would never be produced if, after years of hard work, the inventor's creations could be easily copied and exploited by

Re: [Flashcoders] Estimate FLV file size?

2007-12-22 Thread Marc Hoffman
Wouldn't it be kbps x total running time in seconds? So if it's 512 kbps for 100 seconds then it's 512 x 100 = 51,200 kb. Marc At 10:34 AM 12/22/2007, you wrote: Hi all, Just wondering if there is a good way to estimate flash video file sizes? For example, lets say I have 2:30 of RAW DV

Re: [Flashcoders] Estimate FLV file size?

2007-12-22 Thread Marc Hoffman
bits :) At 11:52 AM 12/22/2007, [EMAIL PROTECTED] wrote: Wouldn't it be kbps x total running time in seconds? So if it's 512 kbps for 100 seconds then it's 512 x 100 = 51,200 kb. Ah, yes... that makes sense. :) This might be another silly question, but how does one know when kbps is

Re: [Flashcoders] Estimate FLV file size?

2007-12-22 Thread Marc Hoffman
bits :) At 11:52 AM 12/22/2007, [EMAIL PROTECTED] wrote: Wouldn't it be kbps x total running time in seconds? So if it's 512 kbps for 100 seconds then it's 512 x 100 = 51,200 kb. Ah, yes... that makes sense. :) This might be another silly question, but how does one know when kbps is

[Flashcoders] ActiveContent is not enforcing minimum Flash version

2007-08-09 Thread Marc Hoffman
Is there something wrong with the code that is allowing users of the wrong version to proceed without an upgrade alert? Anyone else encountering this problem? Fixes? The html script is below. Thanks for any help! Marc Hoffman = html script html xmlns=http://www.w3

Re: [Flashcoders] ActiveContent is not enforcing minimum Flash version

2007-08-09 Thread Marc Hoffman
For some reason, my code was stripped out from the message I just posted. Trying once more to include it, but if you cannot see it please view it at the URL below. Thanks --Marc At 08:49 AM 8/9/2007, Marc Hoffman wrote: I have published html with the active content template, to require

Re: [Flashcoders] Re:Displaying Chinese character set via XML

2007-07-26 Thread Marc Hoffman
Thanks, but I don't think that's the problem. I've reverted to using Notepad and still have problems. Marc At 01:48 AM 7/26/2007, Joe Cutting wrote: I cannot get a dynamic text field to display Chinese characters from XML. Results vary from question marks in the field, to undefined, to

Re: [Flashcoders] Audio Stuttering on CD

2007-07-25 Thread Marc Hoffman
Have you tested on different computers? Was it the same computer that worked last year? At 11:36 AM 7/25/2007, you wrote: I have some audio slide presentations that I've created in Flash for the web that I need to put on CD. I am using autorun to execute an index.html page and then from

[Flashcoders] Displaying Chinese character set via XML

2007-07-25 Thread Marc Hoffman
I cannot get a dynamic text field to display Chinese characters from XML. Results vary from question marks in the field, to undefined, to blank. What should happen is that Flash derives elements from the XML and displays them in the textfield. I'm using XMLSA to parse the xml. Another

[Flashcoders] Display Non-English Characters from XML?

2007-07-23 Thread Marc Hoffman
-dessus]]/qAns /qAnswers qCorrect4/qCorrect /question /questions == end XML = Thanks! Marc Hoffman ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

[Flashcoders] Never Mind :) [Was: Display Non-English Characters from XML?]

2007-07-23 Thread Marc Hoffman
réponses ci-dessus]]/qAns /qAnswers qCorrect4/qCorrect /question /questions == end XML = Thanks! Marc Hoffman ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

Re: [Flashcoders] Flash movie background color not showing in Firefox browser...

2007-07-22 Thread Marc Hoffman
Make sure the bgcolor in the html code for embedding the flash movie is correct. I can't think of any other reason you'd have these symptoms. Marc Hoffman At 01:52 PM 7/22/2007, you wrote: Hi, You probably want to create a bg layer in you flash movie that has the correct color! A:)= On 7

Re: [Flashcoders] Controllingt he volume of multiple sound objects at the same time

2007-07-06 Thread Marc Hoffman
(sound name).start. To mute it, use (sound name).setVolume(0); To restore the volume, use (sound name.setVolume(sound name.initVolume). You could construct a function for this where the only arg would be the sound name. HTH Marc Hoffman At 08:33 AM 7/6/2007, you wrote: Sound objects

Re: [Flashcoders] Flash Development on PC vs Mac

2007-06-20 Thread Marc Hoffman
whether you can transfer your existing software to the new machine? As far as Flash files themselves, I don't think you'll have significant trouble opening PC- or Mac-generated fla's cross-platform, aside from missing fonts. Marc Hoffman Poison Dart Frog Media At 09:16 AM 6/20/2007, you

Re: [Flashcoders] seamless audio loops

2007-05-30 Thread Marc Hoffman
Some MP3's have padding in the headers which causes Flash to hesitate. You probably need to re-encode the MP3's without the extraneous information. Sorry I don't have the exact info, but I know it's been documented and you should be able to Google it. -Marc At 08:08 AM 5/30/2007, you wrote:

RE: [Flashcoders] textArea doesn't scroll far enough

2007-05-24 Thread Marc Hoffman
I've just added a couple of line breaks to the xml text: myTextField.htmlText = theXmlText + BRBRBR; Hackish, but easy to implement. At 10:44 AM 5/24/2007, you wrote: I've run into this issue before as well. My (hackish) work-around was to create an empty MovieClip right after the text, set

[Flashcoders] [OT] How to capture swf to .avi?

2007-05-23 Thread Marc Hoffman
or the standalone Flash player. Must be Windows-based. Prefer something under U.S. $100. I see some programs online but can't tell if they're professional quality. Thanks, Marc Hoffman ___ Flashcoders@chattyfig.figleaf.com To change your subscription

[Flashcoders] Flash keeps dropping one of my CSS classes

2007-05-07 Thread Marc Hoffman
I am using an internally-defined stylesheet in Flash with three styles and about five classes per style. This was working fine until recently when Flash stopped reading one of the classes and started applying the default class. It has nothing to do with the xml I'm feeding to the textfield,

Re: [Flashcoders] copying formatted text out of flash

2007-04-09 Thread Marc Hoffman
Without the tags, it's unformatted text. In other words, for the copy to show formatting, it must have the tags, and it must be displayed in a viewer that understands those tags. -Marc At 11:22 PM 4/8/2007, you wrote: Hello Is there any way to copy formatted text to the system clipboard ie

Re: [Flashcoders] Swf not working when loaded from another movie..

2007-04-08 Thread Marc Hoffman
We need a lot more information to help you. What is the loaded swf supposed to do? How much does it actually do when loaded? Also, check that you're not using _level0 within the loaded swf to refer to itself. - Marc At 06:46 PM 4/8/2007, you wrote: Hi list... i got an swf that actually is

Re: [Flashcoders] creatTextField Help

2007-04-05 Thread Marc Hoffman
When embedFonts=true, you must manually embed the font(s) in a textfield -- either the one referred to in your text, or a dummy field. It can be offstage but it has to be present. Marc At 10:50 AM 4/5/2007, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi everyone, any idea why

[Flashcoders] Free Upgrade CS2 to CS3???

2007-03-29 Thread Marc Hoffman
Premium or CS2 Production Premium in the next few days. That would save me a small bundle. Marc Hoffman At 12:11 AM 3/29/2007, you wrote: However there is one interesting thing I found out. Apparently Adobe will be offering a FREE update to CS3 for anyone that buys CS2 from now until CS3

Re: [Flashcoders] timer question

2007-03-25 Thread Marc Hoffman
seconds after var seconds is declared. Marc Hoffman At 12:28 PM 3/23/2007, you wrote: Hi, I'm trying to launch an event using a timer so far the code for trace something is this: var now = new Date(); var seconds:Number = now.getSeconds(); trace(seconds); var newSeconds: Number = seconds+10

Re: [Flashcoders] Flash - using the back button

2007-03-16 Thread Marc Hoffman
Am I missing something? When I try the included example files and move around among the Flash pages, the browser back button does nothing. I.E. and Firefox. - Marc At 05:49 AM 3/16/2007, you wrote: u link the button with a java script command the one that gets the history of the current page

[Flashcoders] Split text field for multi-page print job

2007-03-14 Thread Marc Hoffman
, as the text length varies depending on an xml file and I don't want to have to manually define where the text should break. Thanks, Marc Hoffman ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http

Re: [Flashcoders] question about txt files and flash

2007-03-14 Thread Marc Hoffman
You might try using the XML Object to load and parse the xml. And of course make sure your xml is properly formatted (drag it into I.E. for a quick check). - Marc At 10:28 AM 3/14/2007, you wrote: Hi, there is a limit height that flash can process or read from a text file?, because I have

[Flashcoders] Split text field for multi-page print job

2007-03-14 Thread Marc Hoffman
pages so the text is large enough to read easily. This needs to be done dynamically, as the text length varies depending on an xml file and I don't want to have to manually define where the text should break. Thanks, Marc Hoffman ___ Flashcoders

[Flashcoders] (job offered) Need Referral to ASP Programmer

2007-03-13 Thread Marc Hoffman
offlist. If you include links to a resume and work samples, I promise to reply. If you look like a good candidate, I will also forward your information to the client, who will be doing the hiring. Many thanks, Marc Marc Hoffman Poison Dart Frog Media Macromedia-Certified Flash Developer

Re: [Flashcoders] Adjust height of UIScrollBar?

2007-03-13 Thread Marc Hoffman
Update: I was finally able to do this -- not sure exactly where in the sequence the UIScrollbar snaps to the textfield, but if you catch it after that point you can just use myScrollBar._height = nnn. I'm now setting it after the xml loads and is assigned to the text field, and that seems to

Re: [Flashcoders] deleting a progress bar after loading

2007-03-12 Thread Marc Hoffman
Sorry I just caught this thread, but I notice something that seems wrong in your code. You have: if(_root.logoX._x=_root.logoX._x-270)... Now, why would a value ever be equal to less than itself? If this is an important part of your code, you need to create another variable to remember the

[Flashcoders] Adjust height of UIScrollBar?

2007-03-12 Thread Marc Hoffman
I want to set the UIScrollbar height independent of the height of the textfield being scrolled. I used to be able to do this easily. Is it just me, or did Flash8 do away with that? Now the scrollbar snaps to the height of the textfield no matter what I do. Anyone know how to fix this? I want

[Flashcoders] Long text field multipage print job

2007-02-27 Thread Marc Hoffman
. I'm familiar with printing from an offstage movieclip, but I'm not sure how to go about breaking up the text into several blocks that will print on separate pages all in one print job. Any tips? Thanks, Marc Hoffman ___ Flashcoders

[Flashcoders] Prevent Reading Cached xml Doc?

2007-02-15 Thread Marc Hoffman
When loading an xml doc into an XML object, how can I prevent Flash from using a cached version of the xml doc? I've tried adding a random query string: myXML.load(xml/ + page + .xml ?randomArg= + Math.random()); but Flash won't find the xml doc if the query string is there.

RE: [Flashcoders] Prevent Reading Cached xml Doc?

2007-02-15 Thread Marc Hoffman
Thanks, Jason. That not only works, it makes it clear why mine didn't work (trying to pass a query string to the local player). - Marc At 11:04 AM 2/15/2007, you wrote: I use this: if(System.capabilities.playerType == External){ //running locally local = true; }else

Re: [Flashcoders] Mouseclick on disabled button....

2007-01-25 Thread Marc Hoffman
Are you sure the slowdown is only when clicking on the buttons? Does it slow down when you click other places? At 06:51 AM 1/25/2007, you wrote: no onEnterframe() , just plain movieclip timeline animations, little heavy though, and some buttons comtrolling them which are disabled when

Re: [Flashcoders] Mouseclick on disabled button....

2007-01-25 Thread Marc Hoffman
that it makes a difference whether you click over a disabled button or over another area of the Flash screen, but you would need to use a fps detector to achieve a reliable test, unless the difference was extreme. Marc Hoffman At 08:16 AM 1/25/2007, you wrote: I am not sure if slowdown happens when

RE: [Flashcoders] Getting Frames Per Second

2007-01-23 Thread Marc Hoffman
Daniel, Try this, from Colin Moock: http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/http://www.moock.org/webdesign/flash/actionscript/fps-speedometer/ A bit dated, but still should work fine or at least give you a headstart building your own. Marc Hoffman At 10:20 AM 1

Re: [Flashcoders] Mouse stage border issue?

2007-01-21 Thread Marc Hoffman
Make the stage larger, but keep the game the same size. Constrain dragging the paddle to the game area. At 10:23 AM 1/21/2007, you wrote: Question, is there any way to control the mouse that it doesn't go out of the stage as quick? I have a simple pong game that people I have test it find

Re: [Flashcoders] Get Properties of a Gradient on Stage

2007-01-19 Thread Marc Hoffman
If you have the .fla, you can just use the eyedropper tool to pull the gradient info into the color mixer panel, then save it as a swatch. Low-tech solution :) At 08:22 AM 1/19/2007, you wrote: Is there any JFSL way to get the color and position array data from a hand draw gradient on the

Re: [Flashcoders] Flash adds seconds to audio clip

2006-12-29 Thread Marc Hoffman
resources that Flash won't even show the 'finish' text box until 2 seconds after it should. It does fine with .avi video files though...it is just .wav and .mp3 files that are giving me troubles. Any other suggestions? thanx - Frank On 12/28/06, Marc Hoffman [EMAIL PROTECTED] wrote: From your

Re: [Flashcoders] Flash adds seconds to audio clip

2006-12-28 Thread Marc Hoffman
the trace call that's being delayed due to the sound processing, and that the sound is being played correctly. Marc Hoffman At 12:30 PM 12/28/2006, you wrote: Hello all, When I play a 30 second audio file in Flash (.wav or .mp3), it is taking flash 32 seconds to run it. To test this, I've

Re: [Flashcoders] passing parameters to function on context menu

2006-12-07 Thread Marc Hoffman
on the function from a single context menu, just create more custom items (up to 15 are allowed). Or am I missing something? Marc Hoffman At 12:38 PM 12/7/2006, you wrote: Hi! I have this code: var cm:ContextMenu = new ContextMenu(); cm.hideBuiltInItems(); cm.customItems.push(new ContextMenuItem(My menu

[Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Marc Hoffman
remove the font from my system and double-click the swf again, the font is replaced by a system-resident font. Is there a right way to embed a font in a swf so that when it is called by CSS, it will display even if it's not on the user's system? TIA, Marc Hoffman

Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Marc Hoffman
/06, Marc Hoffman [EMAIL PROTECTED] wrote: I am having trouble getting Flash to embed a font that is designated by CSS. In Flash: - I create a textfield, create a loadVars and a StyleSheet, load the CSS into the StyleSheet, and designate the style sheet as the style for the text field. I then load

Re: [Flashcoders] How to Embed Fonts for CSS Usage

2006-12-06 Thread Marc Hoffman
On 12/6/06, Marc Hoffman [EMAIL PROTECTED] wrote: Well, one question leads to another :) First, thank you Jim -- I had avoided embedFonts thinking it would embed the entire character set, but according to the Size Report it embeds only those characters I embed in the dummy text fields. So now it's

[Flashcoders] (revised post) textFormat, CSS, embedded fonts, dynamic font size control

2006-12-01 Thread Marc Hoffman
the text. Anybody have experience with this? #4: Can CSS be used at the same time as TextFormat? If so, how? Specifically, I'd like to specify a:hover and a:link properties via CSS, but handle most other text properties via TextFormat. Many thanks! Marc Hoffman

Re: [Flashcoders] (revised post) textFormat, CSS, embedded fonts, dynamic font size control

2006-12-01 Thread Marc Hoffman
other text properties via TextFormat. As far as I know, you can't really do this. But look into stylesheet.transform() as a way of expanding the things that can be done with CSS. Again, Google is your friend. Good luck! Jim Kremens On 12/1/06, Marc Hoffman [EMAIL PROTECTED] wrote: [I'm

[Flashcoders] fllickr

2006-11-27 Thread Marc Hoffman
I have notified the list-owner of the issues with flickr. Hopefully the flickr account (if there is one) will be removed from Flashcoders and Flashnewbie. Marc Marc Hoffman Poison Dart Frog Media Certified Flash Developer Online Portfolio: http://www.dartfrogmedia.com/portfolio

Re: [Flashcoders] mp3 not playing in I.E. 6

2006-11-13 Thread Marc Hoffman
I found that a ZoneAlarm setting was interfering with I.E. playing the mp3's. Not a very happy outcome, since I can't coach every user on how to set ZoneAlarm. But many others tested the page and nobody else had the same problem, so I suppose it's pretty rare. At 08:11 AM 11/13/2006, you

Re: [Flashcoders] Video Controller Component

2006-11-10 Thread Marc Hoffman
Eric, The video player component that ships with Flash 8 Pro can be loaded dynamically. Please don't cross-post to Flashcoders and Flashnewbie. It causes confusion as to which posts have been responded to, and many members find it annoying. Thanks, Marc At 09:42 AM 11/10/2006, you wrote:

RE: [Flashcoders] Detecting a click on an html link in a text field

2006-11-08 Thread Marc Hoffman
And on yet another side note, I believe only one arg can be passed with an a-href asfunction call. However, it could contain several args separated by a character other than a comma, such as the pipe (|) character, then in the function declaration, convert the pipe character to comas to split

Re: [Flashcoders] Q: exact match of flash background hex color and background color of html page

2006-11-06 Thread Marc Hoffman
I believe if you use web-safe colors, they will look the same in both Flash and HTML on a 16-bit display. But this bears testing out. - Marc Hoffman At 03:34 PM 11/6/2006, you wrote: [EMAIL PROTECTED] wrote: I've encountered issues in the past, where the identical hex colors in flash

Re: [Flashcoders] Scaling problem while loading external jpeg's in the Movie Clip

2006-11-01 Thread Marc Hoffman
the height and width of the image. - Marc Hoffman At 05:10 AM 11/1/2006, you wrote: Hi, I am using loadMovie function to load the external jpeg files in the Movie Clip. The Movie Clip (in which I am loading the external jpeg files) varies in size depending on the users screen resolution

RE: [Flashcoders] Scaling problem while loading external jpeg's in theMovie Clip

2006-11-01 Thread Marc Hoffman
doesn't address the problem -- resizing the image to a fixed ratio that may not be the ratio of the loaded image, so it becomes distorted. -Marc Hoffman At 10:43 AM 11/1/2006, you wrote: this.holder.loadMovie(some.jpg); this.onEnterFrame = function() { if (this.holder._width 4

RE: [Flashcoders] Scaling problem while loading externaljpeg's in theMovie Clip

2006-11-01 Thread Marc Hoffman
You also need to use MovieClipLoader and onLoadInit before measuring the size of the clip. Just testing it for _width4 (per your earlier example) will return an immediate positive if there was an image already loaded prior to calling loadMovie. -Marc At 11:50 AM 11/1/2006, you wrote: It

RE: [Flashcoders] Scaling problem while loading externaljpeg'sin theMovie Clip

2006-11-01 Thread Marc Hoffman
Perhaps I'm wrong, but I thought I did a valid test to see what _width was returned right after a holder clip, which already had an image loaded, was instructed to load another image. The width that was returned was for the prior image, even though the loadMovie command for a new image had

Re: [Flashcoders] Dynamically Distort Text?

2006-10-24 Thread Marc Hoffman
accomplised using AffineTransform to the glyphs stored in 'gv'. Hope that gives you an idea of how this was done..! Scott On 10/23/06, Marc Hoffman [EMAIL PROTECTED] wrote: I need to dynamically distort user input text to fill a limited set of shapes. For example, the user might type in WINNERS

[Flashcoders] Dynamically Distort Text?

2006-10-23 Thread Marc Hoffman
Style, after which you'll see the effect I'm after. Somehow they are able to skew the letters, though they're not actually distorting any straight lines into a curve, and all the letters keep the same height. Anyone know of something like this? Especially Flash 7-compliant? Thanks. Marc Hoffman

Re: [Flashcoders] swfObject problem

2006-10-14 Thread Marc Hoffman
have here. When I play the game, the dragging is never lost, but things run choppily which feels as if I have no control. Victor: please delete the html line that sets WMODE, and let us know if that fixes the problem. Marc Hoffman At 02:35 AM 10/14/2006, you wrote: he's not describing dropping

Re: [Flashcoders] swfObject problem

2006-10-14 Thread Marc Hoffman
. Thanks again, V - Original Message - From: Marc Hoffman [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Saturday, October 14, 2006 9:06 AM Subject: Re: [Flashcoders] swfObject problem First off, my apologies to Victor for being snooty in my previous

Re: [Flashcoders] swfObject problem

2006-10-13 Thread Marc Hoffman
Why do you have WMODE set to transparent? If you don't need it, lose it. It results in a performance hit. At 07:30 PM 10/13/2006, you wrote: Hey All, I am making this game that allows you drag around a ship and shoot things. It works fine when I let Flash publish the HTML:

Re: [Flashcoders] swfObject problem

2006-10-13 Thread Marc Hoffman
Performance hit means a reduction in performance (extra burden on the CPU), which is what you described. Why don' t you change the code and see if that fixes it? At 09:36 PM 10/13/2006, you wrote: Is that the problem? - Original Message - From: Marc Hoffman [EMAIL PROTECTED

Re: [Flashcoders] Help! What am I doing wrong? Centering movies.

2006-10-12 Thread Marc Hoffman
I'm not familiar with Schall's class, but why are you using ._x2, ._y2 and not just ._x and ._y? For centering purposes, the registration point shouldn't even matter. -Marc At 02:15 PM 10/12/2006, you wrote: Ok, I've got to be missing something basic here. I am trying to load and center a

Re: [Flashcoders] simple gotoAndPlay

2006-10-11 Thread Marc Hoffman
To see if something in the movie is corrupted, try turning content layers into guides, either all at once or one at a time, and you may be able to narrow down where the problem is. You can also try pasting all frames into a new movie. Sorry I didn't follow the beginning of this thread, and

Re: [Flashcoders] Which object called the function

2006-10-07 Thread Marc Hoffman
I'd love to know of a solution to this, too. My hack is to give the function an argument me: // declaration: traceCaller = function(me){ trace (me); } // function call traces full path of calling object.: traceCaller(this); - Marc Hoffman At 08:10 AM 10/7/2006, you wrote: Hi

Re: [Flashcoders] Which object called the function

2006-10-07 Thread Marc Hoffman
Yes, Suhas -- but the function is scoped to the timeline in which it was created, not the object doing the calling. So how do you return the ID of the calling object? - Marc At 09:02 AM 10/7/2006, you wrote: Initialise objects with unique ID's which will help you later to determine which

Re: [Flashcoders] Which object called the function

2006-10-07 Thread Marc Hoffman
Mischa, Can you give a code example of this? Let's say I have this function on the main timeline: someFunction = function(){ // do something; } I then call the function from another timeline. How would I use arguments.caller to return the ID of the object making the call? Thanks,

RE: [Flashcoders] Creating a SWF to dynamically create SWF';s

2006-10-05 Thread Marc Hoffman
be that the client is not equipped to deliver to as many learners as anticipated, and may have to bite the bullet and pay for more server bandwidth. Marc Hoffman At 12:26 AM 10/5/2006, you wrote: Hi Jason, That was the initial understanding with which I entered the project, now they don't want to do

Re: [Flashcoders] How to create a preloader that plays in full

2006-10-05 Thread Marc Hoffman
Hi Aaron, By my definition, a preloader plays until the rest of the content is sufficiently loaded for the .swf to stream at the user's bandwidth. If you just want something to play in its entirety, you're talking about an introduction, which is created the same as any other Flash content.

Re: [Flashcoders] ::dk:: Best way to check if data is done loading for scroll bars

2006-09-20 Thread Marc Hoffman
Good point, and I don't know of an elegant answer. But one hack would be to simultaneously load your images into hidden clips using MovieClipLoader, and set up some onInit calls that would tell you when all the images have been downloaded. Marc At 09:20 AM 9/20/2006, you wrote: Gustavo

Re: [Flashcoders] MC not pressed

2006-09-20 Thread Marc Hoffman
What I usually do is two steps: Step 1: go through all the clips and scale them to 50. Step 2: scale the pressed clip back to 300. If you have a lot of clips, you should put them in an array. If they're all nested in a parent clip, with nothing else in that clip, you can use a for...in

Re: [Flashcoders] The Align panel

2006-09-11 Thread Marc Hoffman
, which will then be the reference object. It would be nice if you could just designate the reference object, but I haven't found a way to do that. Marc Hoffman At 12:10 PM 9/11/2006, you wrote: When aligning a group of objects using the Align panel, is there a way of keeping one of the objects

Re: [Flashcoders] (repost) Horizontal Drop-Down Menu (pleeeease don't flame me!)

2006-09-06 Thread Marc Hoffman
Hi Kurt, I may well take you up on your offer. Is there a chance we could talk briefly by phone before you leave? I want to consider hiring you to do the menu, but need to clarify what would be involved to meet my specs. I also want you to know that the client needs to sign off on the nav

Re: [Flashcoders] (repost) Horizontal Drop-Down Menu (pleeeease don't flame me!)

2006-09-06 Thread Marc Hoffman
redFaceOops, meant to send this offlist./redFace Hi Kurt, I may well take you up on your offer. .. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

[Flashcoders] (repost) Horizontal Drop-Down Menu (pleeeease don't flame me!)

2006-09-05 Thread Marc Hoffman
[Still looking for the menu I need -- I'd sure appreciate if someone on the list has a clue for me. thanks!] I know this should be searchable, but I'm really not finding what I need in the archives or Google. I need to find or create a horizontal drop-down menu that expands up to three

Re: [Flashcoders] (repost) Horizontal Drop-Down Menu (pleeeease don't flame me!)

2006-09-05 Thread Marc Hoffman
Hey Kurt, Good to hear from you, too. I still have your old emails :) Your menu would be useful to me if it allowed a cascade of full-width menu bars as in this gif: http://www.dartfrogmedia.com/images/menuExample_MH060903a.gifhttp://www.dartfrogmedia.com/images/menuExample_MH060903a.gif

[Flashcoders] Horizontal Drop-Down Menu (pleeeease don't flame me!)

2006-09-03 Thread Marc Hoffman
I know this should be readily searchable, but I'm really not finding what I need in the archives or Google. I need to find or create a horizontal drop-down menu that expands up to three tiers high. Each tier is a differently-colored bar the full width of the stage and contains text links.

Re: [Flashcoders] Slow performance

2006-09-03 Thread Marc Hoffman
I'm seeing a window full of text (Firefox, Win XP Pro) -- is this what you intended? If so, that's a HUGE number of vectors to redraw so rapidly. Furthermore, by using a serif font you're probably doubling or tripling the number of vectors, so try the simplest, non-serif, mono-stroke

Re: [Flashcoders] Dynamically Loading JPGs ~ Strange Behavior

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

RE: [Flashcoders] Hex colors function?

2006-08-23 Thread Marc Hoffman
Very nice -- thanks for the lesson! -Marc At 05:33 PM 8/22/2006, you wrote: Optimized for her pleasure: hex = [00, 33, 66, 99, CC, FF]; wsp = []; var r, g, b; r = 6; var x = 0; while (--r -(-1)) { g = 6; while (--g -(-1)) { b = 6; while (--b

Re: [Flashcoders] Hex colors function?

2006-08-22 Thread Marc Hoffman
The default Flash IDE palette is 216 colors, which constitute the web-safe palette. If it's of any help, the web-safe palette assigns R, G, and B each one of the following decimal values: 0 51 102 153 204 255 Convert each value to hexadecimal and create all the possible combinations of three

Re: [Flashcoders] Hex colors function?

2006-08-22 Thread Marc Hoffman
Ok, this looked like a fun project so I wrote code to construct an array of all web-safe colors: hexColors = new Array(00, 33, 66, 99, CC, FF); webSafePalette = new Array(); // length of webSafePalette will be length of hexColors cubed: for (i = 0; i Math.pow(hexColors.length, 3); i++) {

Re: [Flashcoders] Day before duplication audio problem

2006-08-21 Thread Marc Hoffman
Can you test it outside of Director, to start isolating whether it's a Flash, Director, or the combination of the two? Also, are you testing on multiple machines, in order to isolate a potential hardware or driver problem? - Marc At 04:52 PM 8/21/2006, you wrote: Banging my head trying to

Re: [Flashcoders] Accessing a Flash frame label

2006-08-08 Thread Marc Hoffman
Make sure, however, that the targeted frame is loaded before calling it within Flash -- otherwise, the function will fail and nothing will happen. - Marc At 04:42 PM 8/8/2006, you wrote: frame labels become numeric when published to SWF, so you wouldn't be able to do that. However, you could

[Flashcoders] need help with local apache test server

2006-07-22 Thread Marc Hoffman
I'm trying to set up a local apache server for testing PHP on my laptop. This is all new territory for me and although I've followed instructions on several sites, it won't work. I do have TCP/IP working. During setup and when trying to start the server, I get this DOS message: Installing

RE: [Flashcoders] need help with local apache test server

2006-07-22 Thread Marc Hoffman
Thanks, Kevin -- works like a dream! - Marc At 11:33 AM 7/22/2006, you wrote: I use apachefriends.org Its a no brainer! Make sure to shut your firewall off when installing. Kevin From: Marc Hoffman [EMAIL PROTECTED] Reply-To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com

  1   2   >