Search:
Type: Posts; User: testedge
Search:
Search took 0.03 seconds.
-
put a "ball" mc on the stage.
for (i = 0; i < 10; i++) {
ball.duplicateMovieClip("ball" + i, i);
_root["ball"+i]._x = i * 25;
_root["ball"+i]._y = 10 * i;
_root["ball"+i]._alpha =...
-
http://www.macromedia.com/support/flash/ts/documents/dynamic_text_scrollmx.htm
-
... because .load doesn't happen instantly since it is calling the server.
You need to use onLoad() { if (success) ...
onLoad will wait until your data loads.
Mark
-
Newbie myself but I'm thinking you could just do
geturl("counter.pl",_self);
and then in your flash have a dynamic text field countnew (or is it $countnew?);
Worth a shot,
Mark
-
Thanks pellepiano but I tried that. Then I can see swf1 below swf2 and it looks bad.
Plus the problem still remains - no dynamic text in swf2.
I'm thinking my problem is this:
In swf2 I am...
-
I have two swf's: swf1 and swf2.
I tried
loadmovienum("swf2.swf",0);
to change from swf1 to swf2 when button is clicked.
It works fine in preview when I do control -> test movie.
-
Is it useful to do a loadmovienum("mymovie.swf",1) to load a movie into a template sitting in root?
Next: Can I interact with mymovie.swf from (a button in) _root? How?
Finally: Is...
-
Should these be the same?
loadmovienum("tween.swf",1);
and
_level1.loadMovie ("tween.swf");
-
No expert here but ...
I would suggest breaking down your problem further.
Test the checkForm in isolation;
Test the sendForm in isolation;
Then you will know which part is giving you...
-
If you want a textfied in your dupe, just code it into the dupe directly.
_root.clip2.createTextField("TF", 3, 10, 10, 100, 100);
Don't code the text field into the original MC and then try to...
-
The duplicateMovieClip is redundant here. If you want to copy the MC, you need to use createEmptyMovieClip again - in a loop, if many are needed.
duplicateMovieClip copies what is on the stage...
-
In need of one of the heavyweights ...
Mark
-
Beats me ... anyone know? The line is duped but the text not.
createEmptyMovieClip("clip1", 0);
clip1.lineStyle(1, 0x4E0053, 100);
clip1.lineTo(10, 10);
clip1.createTextField("TF", 2,...
-
My eyes must be diabolical. Or my Flash skills.
Thanks for correcting it,
Mark
-
Antibody,
The onrollover works, but not the onrollout (below). I cannot fix it no matter what.
forward.onRollOut = function (){
root.reverseMe (_root.scroller, "stop");
};
If I say this...
-
Tyard et al.,
I thought the code you posted could go inside the movie clip to improve it: So I stuck the button ("forward") in the clip on its own layer and put this in frame 1 of scroller
...
-
Took me till now to spot the difference.
Clue - it's just one "_" for all the others with bandy eyes like me,
Mark
-
Works like a charm.
I like this way better since the actions are all in one place. And, you don't need no superfluous mt clip.
Thanks a mill, Tyard.
Mark
-
Tyard et al.,
Thanks for the post - but now I can't get it to work.
I pasted all your code above in frame 1 of root.
I have scroller mc with its tween animation.
I got rid of the mt clip.
-
Great! post Antibody, thanks, alot.
Just one thing I'd like help with. This part:
onClipEvent (load) {
stop();
}
... which is attatched to the scroller.
-
Deniel,
You could use Flash MX's equivalent of a cookie:
http://www.actionscript.org/tutorials/intermediate/SharedObjects/index.shtml
Mark
-
Thanks for a most illuminating and helpful post, Mirandir.
That depth/level had been confusing to me for ions,
Mark
-
1)
sf = new FStyleFormat();
sf.face = 0x00ff00;
sf.addListener(componentName);
2)
componentName.setStyleProperty("face", 0x00ff00);
-
_root.createTextField("myTextField", 1, 0, 0, 100, 200);
myTextField.wordWrap = true;
for (i=1; i<=50; ++i) {
myTextField.text += i+". Some more text, ";
}
myScrollBar._x = myTextField._width;...
-
I think below's what you want,
MM
function createLabels(labels, startX, startY, fieldWidth, fieldHeight, verticalY) {
var level = 3;
for (i = 0; i < labels.length; i++) {
verticalY1...
|
Click Here to Expand Forum to Full Width
|