Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
SLIDESHOW

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
FlahJunkie



Joined: 12 Jun 2009
Posts: 1

PostPosted: 12.06.2009 12:51    Post subject: SLIDESHOW Add user to your forum ignore list Reply with quote

Problem sa slide menijom:
Dole navedena funkcija radi sljedece:
Rotira slajdove u odredjenom vremenskom intervalu i stvara meni sa brojkama. Znaci koliko slajdova toliko i linkova 1, 2, 3, 4. Kao sto je navedeno u komentarima meni se
stvara od dugmeta disc_mc u kojem je text polje u kojem se prikazuju brojke ili text.

Izmjenio nav.num_txt.text = i+1; u nav.num_txt.text = "NEKI TEXT" + (i+1);
i time dobio "NEKI TEXT" ispred brojke a ako izbrisem (i+1) brisem brojku a text ostaje.

PROBLEM je SLJEDECI: Kako svakom od 4 slajda umjesto brojki dati neko IME, znaci
TEXTUALNI LINK?

Da bi lakse skuzili o cemu serem, pogledajte sljedeci link:
http://flashden.net/item/xml-portfolio-template-v4/full_screen_preview/37738



// For every <slide>....
for (i=0; i<this.firstChild.childNodes.length; i++) {
// Insert image location inside the slide_asset array
slide_asset.push(folder+this.firstChild.childNodes[i].childNodes[0].firstChild.nodeValue);
// Insert caption into the slide_caption array
slide_caption.push(this.firstChild.childNodes[i].childNodes[1].firstChild.nodeValue);
slide_links.push(this.firstChild.childNodes[i].childNodes[2].firstChild.nodeValue);
// Create menu with the movie clip called disc_mc in the library
var nav:MovieClip = buttons_mc.attachMovie("disc", "circle"+i, i);
// Tile them horizontally
nav._x = i*25;
// Create var insde each clip to hold it's ID #
nav.ID = i;
nav.num_txt.text = i+1;
// Roll over function for each button
nav.onRollOver = function() {
// Show rolled over state
this.gotoAndStop("over");
};

TnX
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group