Hi
I want to load a mc’s with a button click from the library.
Anyone know of a tutorial for it? Or know how how do it?
Hi
I want to load a mc’s with a button click from the library.
Anyone know of a tutorial for it? Or know how how do it?
hum…
Could you please show me an exampel of how that code works. The exampel in the help file wasn’t that good.
well first you have to go into your library and find the movie clip, select export for actionscript and give it a linkage name.
so then it will end up looking like this
linkageName.attachMovie
or
attachMovie("linkageName", linkageName1, 1)
I’m pretty sure that is how it should look
Yeah Manged to get it to open it self.
But how do I deside the coordinates for it to open? And can I attach codes to it because I want a drag and drop function on it.
MovieClip.attachMovie in kax’s post is a link
ohhhhhh
well now i feel dumb
lostinbeta. Yeah I did take a look at that link but that help file only helped me a bit. Didn’t know I had to cross that export to actionscript thing. Didn’t even know about it until today
If you take a look at
www.idefag.no/~djensen
Press “Who am I?” and the mc should attach itself. But places itself up the top left corner.
here you go.
Nice Very nice Kax. I owe you again.
Were did you learn all this action script? And are you really from Mexico?
you’re welcome.
q: where did you learn all this actionscript?
a: mostly from here, kirupa.com. =)
q: and are you really from mexico?
a: yeah! why would i lie about that!?
That’s strange…
I ran into a little problem here. You script works fine. I take parts of that into my own. Putting the code into the button and change it a bit. Everything worked expect the coordinates. So I tried useing your code, pasting the code into the timeline. But the coordinates still wouldn’t work
What could be wrong? Even with the same code it won’t work.
:stunned:
no idea.
why don’t you attach your .fla so i can check it out… ?
Here it is. Starts on frame 3
ehmm… where is it?
Let me try this again then :-\
Well, it seems like I can’t attach files…
isn’t 10Mb the limit here?
i don’t know about the size limit…
i guess you could upload it to your server then…
Okey. Apperently I’m only getting problems today.
The swf file get’s the error message that it’s to big to post (337kb). And the fla file won’t be uploaded to the web.
But can’t you download the swf file from my webpage and open it in flash?
:: Copyright KIRUPA 2024 //--