944,058 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
May 3rd, 2007
0

Linking Pages in Flash

Expand Post »
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
Reputation Points: 7
Solved Threads: 3
Light Poster
princekool is offline Offline
31 posts
since Apr 2007
May 4th, 2007
0

Re: Linking Pages in Flash

so your linking a html file to a button in flash ? or is it another type of file. Post the actionscript here ?
Reputation Points: 66
Solved Threads: 56
Posting Pro in Training
Fungus1487 is offline Offline
459 posts
since Apr 2007
May 5th, 2007
0

Re: Linking Pages in Flash

Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
May 5th, 2007
0

Re: Linking Pages in Flash

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
Reputation Points: 7
Solved Threads: 3
Light Poster
princekool is offline Offline
31 posts
since Apr 2007
May 5th, 2007
0

Re: Linking Pages in Flash

Click to Expand / Collapse  Quote originally posted by princekool ...
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

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. on (release) {
  2. gotoAndStop(PAGE NUMBER);
  3. }

then whenever you wish to use this just copy the button from your library ? does that help ?
Reputation Points: 66
Solved Threads: 56
Posting Pro in Training
Fungus1487 is offline Offline
459 posts
since Apr 2007
May 8th, 2007
0

Re: Linking Pages in Flash

Did you remember to make the files public?
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
May 8th, 2007
0

Re: Linking Pages in Flash

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
Reputation Points: 7
Solved Threads: 3
Light Poster
princekool is offline Offline
31 posts
since Apr 2007
May 8th, 2007
0

Re: Linking Pages in Flash

what is on(release) ?


I think what you want is:
Graphics and Multimedia Syntax (Toggle Plain Text)
  1. < .... onclick="gotoAndStop('scene x')">
Reputation Points: 730
Solved Threads: 181
Nearly a Senior Poster
MidiMagic is offline Offline
3,314 posts
since Jan 2007
May 8th, 2007
0

Re: Linking Pages in Flash

Click to Expand / Collapse  Quote originally posted by MidiMagic ...
what is on(release) ?


I think what you want is:
Graphics and Multimedia Syntax (Toggle Plain Text)
  1. < .... onclick="gotoAndStop('scene x')">

similiar action as on click except it fires when the mouse is released
Reputation Points: 66
Solved Threads: 56
Posting Pro in Training
Fungus1487 is offline Offline
459 posts
since Apr 2007
May 12th, 2007
0

Re: Linking Pages in Flash

Click to Expand / Collapse  Quote originally posted by princekool ...
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.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Graphics and Multimedia Forum Timeline: information on web design
Next Thread in Graphics and Multimedia Forum Timeline: How can i insert image in flash with no background?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC