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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
. 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
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
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
, 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
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
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
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
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
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
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
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,
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'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
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:
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
(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
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
-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
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
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
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
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
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
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
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
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(){
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
_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
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
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.
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
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
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
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
101 - 168 of 168 matches
Mail list logo