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:
http://chattyf
Hi list...
I have a v2 scroll pane on the stage that is cutting off the content on
the left side. I suppose there isn't any AS to manipulate the offset
location of the content. Any ideas?
- Michael M.
___
Flashcoders@chattyfig.figleaf.com
To change y
> 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:
http://chattyfig.figleaf.com/mailman/l
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. Write
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 wit
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 play
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()
___
F
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 change
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:
http://chattyfig.fi
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();
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:
http://chatty
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 sear
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();
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:
http:/
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
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 des
> 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
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.
Thank
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:
http://chattyfig.figleaf.c
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 valu
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 M
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...
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();
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
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 archive:
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();
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 {
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 {
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 option
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@chattyfig.figleaf.com
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
th
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
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 wo
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 poss
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 sear
Hi list...
I'm trying to read a registry entry, so for me it's a job for Director,
hence OT, but...
I'd like to find out from people who AREN'T running an English version
of Windows -- are the actual names of the reg entries the same?
In other words HKEY_CURRENT_USER\Control Panel\International\
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.
_
ple of years since I've paid any attention 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...
Sorr
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 t
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
can
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
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 c
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:
http://chattyfig.figleaf.com/mailman/listinfo/flas
Nevermind, flashcoders. The solution seems to be to just make a shape
and use a bitmap fill with a 1 pixel stroke.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Hi list...
My bitmaps aren't rendering properly on the stage. I made a series of
bmps in Photoshop, all with a 1 pixel white border. They are put on the
stage at integer locations, i.e. _x = 358.0.
The swf is then brought into Director and stretched to fill the screen.
Often, I am seeing that o
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();
vid.vidContent.gotoAndStop
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
http://chattyfig.figleaf.com/mailman/listinfo/flas
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 b
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
Thanks for the answers!
Thanks for the answers!
:-)
- MM
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 w
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
http://c
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@chatty
> 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.
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 an
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 li
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 th
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 after
ck in there too..
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 remov
v
QE, Flash Player
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 det
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 either show and error (like
mac
Hi list...
trace(System.capabilities.language);
//en
But in the Windows registry:
HKEY_CURRENT_USER\Control Panel\International\sLanguage
...returns "enu" which is the language and locality. Can this be
detected in Flash?
Thanks,
- MM
___
Flashcode
I just actually purchased it myself! :-)
- MM
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
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 mous
Hi list...
Has the comboBox component changed in Studio 8? My MX2004 fla file
comboBox isn't working once I upgraded. What's changed? There seems
not to be a changeHandler parameter, and so far, the code below isn't
working for me. Any hints are appreciated.
Thanks,
- Michael M.
// all on fr
> 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
Also, check for this: If you are trying to tween a MC that's given a
motion tween on the timeline, the code won't execute.
I had tried that too, however it was a no go!
::
Dustin
::
-- Original Message ---
From: "Mend
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: Flash
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
Flashco
Hi list...
Is it possible to send an attachment with an email message generated
from getURL?
getURL("mailto:[EMAIL PROTECTED]","Normal") -- works
getURL("mailto:[EMAIL PROTECTED]&attachment=someDocPath.doc") -- ??
Thanks,
- Michael M.
___
Flashcoders
401 - 470 of 470 matches
Mail list logo