-
Senior Member
I will, the site should be finished end of this week !
-
Senior Member
Well, the external swf loads but it's positioned in the wrong place.
How can I position it in the right place ?
-
You can't position it dynamically - you'll have to do it by hand. Use the grid - it's not that difficult!
----------
"Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." TERRY PRATCHETT
-
Senior Member
You mean positioning the external swf by hand or what? Cus I can't see it
-
No - position the content in your separate FLA file by hand so that it doesn't overlap when loaded.
----------
"Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." TERRY PRATCHETT
-
Senior Member
Or ...
_level1._x=240;
_level1._y=250;
...will position the swf in the _level1 dynamically.
Code could be placed anywhere. Inside external swf or in main movie. The swf has to have started loading though.
-
Senior Member
I putted it in the main movie in the first frame, but that doesn't work...
-
Senior Member
" The swf has to have started loading though."
..as you cant set a size to something that is not there.
-
Senior Member
So, I have to do that command when the swf is already imported.
But that will screw up my move cus the preloader will be somewhere else then the movie ...
-
Senior Member
Why not have it in the first frame of the external.swf?
Do you mean the preloader for the external swf? You can have it there to.
-
Senior Member
Ok, I'll put it in the preloader of the external swf then
-
Senior Member
YEAH, it works, but now I've created another problem.
When I move over a button, a small message appeaers what the link means.Now I did it with a startdrag command, but now the whole movie is dragged, instead of the message only. The message is supposed to move with ur mouse when u r over the button.
Well, I'm of to bed now, it's 0.45 here, so you'll can't expect a fast reply, sorry
-
Senior Member
loading into a level usually does not interfear with the code ( when loading into a movieclip all _root paths will point to the wrong timeline).
But _level movies only have to watch out for code starting with _level
So show me the start drag command.
-
Senior Member
Code:
startDrag(_level1.caption,true);
then I tried this :
startDrag(_root.caption,true);
I know these both codes are wrong.
So I tried this then
startDrag("caption",true);
But all of these resulted in a failure
-
Senior Member
What was the code you used before that worked?
-
Senior Member
it never worked
I had the buttons on another movie with the same code as the first one.
Then it worked...
But now I've pasted it into this new movie and it works.
-
Senior Member
I dont know. I havent used startDrag on a movieclip that way.
-
Senior Member
BTW I saw ur avatar on an advertisement yesterday of jewelery
-
Senior Member
You mean the girl? Shes taken from a very cheap image library on cdrom ( 36 cd's with 500 000 images for under $100 , Nova Art Explosion). So Ill bet there are many people around the world with access to her =)
-
Senior Member
Lol, that's why
and BTW, the site is almost finished but there are a couple of bugs, but you'll see it when I post it, maybe u can see what I did wrong then
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|