Ok. Thanks. So i just need to edit some of the details in the code generator, generate it & copy & paste the code into my html?
Ok. Thanks. So i just need to edit some of the details in the code generator, generate it & copy & paste the code into my html?
Yup. Don't forget to link to the external JS in the <head> as well.
What is a external JS? Is it something like this here
the 1st line is called logo array & 2nd is called image array. right?Code:var logo:MovieClip = this["panel"+j].createEmptyMovieClip("logo"+i, i); var image:MovieClip = this["panel"+j]["logo"+i].createEmptyMovieClip("image", i);
this.id The id means idenify?
Last edited by hyk; 05-15-2008 at 09:03 AM.
Yes, but the HTML generator adds it. I didn't realize that when I posted. So if you copied/pasted from the HTML generator, you don't have to worry about it.What is a external JS? Is it something like this here
No, they're variables. Not arrays.the 1st line is called logo array & 2nd is called image array. right?
Sure. You can define it however you want. It's an arbitrary property that I created to create a reference. You can't access the array index within an onRelease function, so this is the metod you have to use. See this post for a (better?) explanation.this.id The id means idenify?
ya i did that. copied the whole chunk in. The only things i did to that page was chang the name of the .swf, size of the pics & delete the <a herf> thing. So the
embedding is done right? Now if i want put the header etc, do i do it the css way? my teacher gave me a shock. He say for my demo, i need to show him a proper marquee in html. So the box can`t be remove right? Sorry this sounds like
a dumb question
[/QUOTE]No, they're variables. Not arrays.[/QUOTE]
i see,my bad. I read from the one you send me, its says arrays(looks very similar)
Edited: opps, you answer my header question in html. I just saw it. html, i should be fine with it. Never really touch it for a year. I just need to show how its looks in the web, i suppose![]()
Yeah, again images with an S is the array.i see,my bad. I read from the one you send me, its says arrays(looks very similar)
Yeah, the HTML/CSS way. This question would probably be better suited for the HTML/CSS forums. So why don't you post there. I'm not sure about the outline. I'll need to see your code to see what's causing it.ya i did that. copied the whole chunk in. The only things i did to that page was chang the name of the .swf, size of the pics & delete the <a herf> thing. So the
embedding is done right? Now if i want put the header etc, do i do it the css way? my teacher gave me a shock. He say for my demo, i need to show him a proper marquee in html. So the box can`t be remove right? Sorry this sounds like
a dumb question
Thanks, i get what you mean. we need to declare 2 createEmptyMovieClip is because we need the frame(logo) &pictures(image) in it
why are there 2 Is in the logo?
Mind if i drop you an e-mail? then I clariy the codes all at one goCode:var logo:MovieClip = this["panel"+j].createEmptyMovieClip("logo"+i, i); var image:MovieClip = this["panel"+j]["logo"+i].createEmptyMovieClip("image", i);![]()
Last edited by hyk; 05-16-2008 at 08:44 AM.
No, you're confusing the two. The code that you posted is the frame + picture bit. The two createEmptyMovieClip lines are because of the continuous motion. Think of it like a conveyor belt. The top of belt is panel1 and the bottom is panel2. They're connected and move in a loop. But they're exact copies of each other. This creates the continuous motion (or the perception of it, at least).
No, I don't mind.Mind if i drop you an e-mail? then I clariy the codes all at one go![]()
Hi I am back, I embed the the marquee in the html. But when the images is clicked, the present window will show the homepage. How could i make a new window pop up instead?
Yeah sure,
the getURL() method takes several paramters:
So, add the second parameter, like this:Code:getURL(url:String, [window:String, [method:String]]) : Void
Code:getURL(urls[this.id], "_blank");
Bookmarks