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
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
[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
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
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
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
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.
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
: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
_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
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
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
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(){
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
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
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
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
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
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
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
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
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
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
-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
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
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
(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
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
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:
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
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
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,
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
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
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
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
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
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
, 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
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
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
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
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
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
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
. 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
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.
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
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
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
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
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
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
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
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
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
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
/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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
. 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
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:
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
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
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
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
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
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,
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
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.
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
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
, 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
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
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:
[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
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
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.
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
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
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
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
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++) {
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
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
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
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 - 100 of 168 matches
Mail list logo