User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Graphics and Multimedia section within the Web Development category of DaniWeb, a massive community of 391,913 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,703 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Graphics and Multimedia advertiser:
Views: 3723 | Replies: 9
Reply
Join Date: Apr 2007
Posts: 20
Reputation: princekool is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
princekool princekool is offline Offline
Newbie Poster

Help Linking Pages in Flash

  #1  
May 3rd, 2007
Hey everyone;
Am having problem linking pages in flash, i tried action script linking but when publishing and i click on the buttons its showing error message "the specified path cannot be found" and i specified de exact file wich the pages are located, hav tried evrythng else i thot wud work and i now ask for help from anyone. M stuck
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2007
Location: Birmingham
Posts: 368
Reputation: Fungus1487 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 35
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Whiz

Re: Linking Pages in Flash

  #2  
May 4th, 2007
so your linking a html file to a button in flash ? or is it another type of file. Post the actionscript here ?
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote  
Join Date: Aug 2005
Posts: 4,666
Reputation: iamthwee is just really nice iamthwee is just really nice iamthwee is just really nice iamthwee is just really nice 
Rep Power: 16
Solved Threads: 297
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Industrious Poster

Re: Linking Pages in Flash

  #3  
May 5th, 2007
Member of: F-ugly code club

Join today don't delay!
Reply With Quote  
Join Date: Apr 2007
Posts: 20
Reputation: princekool is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
princekool princekool is offline Offline
Newbie Poster

Re: Linking Pages in Flash

  #4  
May 5th, 2007
Its nt a html file linking wit a button in flash but what i did is; i created diff pages all in flash den combined dem in one page on different frames den i wrote the codings as below:

actions.gotoAndStop ("about");
about_btn.onRelease = function() {
actions.gotoAndStop("about");
actions.about.gotoAndPlay(5)
};
history_btn.onRelease = function() {
actions.gotoAndStop("history");
actions.history.gotoAndPlay(8)
};
gallery_btn.onRelease = function() {
actions.gotoAndStop("gallery");
actions.gallery.gotoAndPlay(10)
};
contacts_btn.onRelease = function() {
actions.gotoAndStop("contacts");
actions.contacts.gotoAndPlay(13)
};

Any idea of what i shud do? Thnx
Reply With Quote  
Join Date: Apr 2007
Location: Birmingham
Posts: 368
Reputation: Fungus1487 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 35
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Whiz

Solution Re: Linking Pages in Flash

  #5  
May 5th, 2007
Originally Posted by princekool View Post
Its nt a html file linking wit a button in flash but what i did is; i created diff pages all in flash den combined dem in one page on different frames den i wrote the codings as below:

actions.gotoAndStop ("about");
about_btn.onRelease = function() {
actions.gotoAndStop("about");
actions.about.gotoAndPlay(5)
};
history_btn.onRelease = function() {
actions.gotoAndStop("history");
actions.history.gotoAndPlay(8)
};
gallery_btn.onRelease = function() {
actions.gotoAndStop("gallery");
actions.gallery.gotoAndPlay(10)
};
contacts_btn.onRelease = function() {
actions.gotoAndStop("contacts");
actions.contacts.gotoAndPlay(13)
};

Any idea of what i shud do? Thnx


why not put the action in the actionscript for the button ?

i.e. convert the object to a button using F8 etc

right click on button and select actions

then use

on (release) {
    gotoAndStop(PAGE NUMBER);
}

then whenever you wish to use this just copy the button from your library ? does that help ?
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote  
Join Date: Jan 2007
Posts: 2,510
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 104
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Linking Pages in Flash

  #6  
May 8th, 2007
Did you remember to make the files public?
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Apr 2007
Posts: 20
Reputation: princekool is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
princekool princekool is offline Offline
Newbie Poster

Re: Linking Pages in Flash

  #7  
May 8th, 2007
Thanx guys, some positive progress seen. But its nw acting funny ie. when i publish it, it keeps on playing all the scenes. This wat i used for all the buttons:

on (release){
gotoAndStop("scene x");
}

NB: X stands for the scene number.

Anyone who knows wea de problem is n hw to stop it?
Thanx
Reply With Quote  
Join Date: Jan 2007
Posts: 2,510
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 104
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Linking Pages in Flash

  #8  
May 8th, 2007
what is on(release) ?


I think what you want is:
< .... onclick="gotoAndStop('scene x')">
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Apr 2007
Location: Birmingham
Posts: 368
Reputation: Fungus1487 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 35
Fungus1487's Avatar
Fungus1487 Fungus1487 is offline Offline
Posting Whiz

Re: Linking Pages in Flash

  #9  
May 8th, 2007
Originally Posted by MidiMagic View Post
what is on(release) ?


I think what you want is:
< .... onclick="gotoAndStop('scene x')">



similiar action as on click except it fires when the mouse is released
When Autumn Falls [ http://www.whenautumnfalls.co.uk ] &&
Designdotworks [ http://www.designdotworks.co.uk ] Web / Graphic / Software Design
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: Linking Pages in Flash

  #10  
May 12th, 2007
Originally Posted by princekool View Post
Its nt a html file linking wit a button in flash but what i did is; i created diff pages all in flash den combined dem in one page on different frames den i wrote the codings as below.
This thing is confusing me. Do you mean
1. you have made different flash movies and places them in different files.
2. you have made different scenes in a flash movie.
3. you have made different flash movies and a master flash movie where you use other falsh movies using loadMovie.

Make sure that the symbol you are using is not a BUTTON, but a MovieClip.
Also if your flash movie plays all the scens without stopping check out the actionscipt in each frame.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Graphics and Multimedia Marketplace
Thread Tools Display Modes

Other Threads in the Graphics and Multimedia Forum

All times are GMT -4. The time now is 7:57 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC