webForumDet fria alternativet

flashmeny ska integreras med Dreamweaver

Flash

4 svar · 489 visningar · startad av bianca

Medlem sedan jan. 200450 inlägg
Frågan#1

Hej!
Jag har gjort en meny i Flash och den ska kopplas till ett frameset i Dreamweaver. Vad ska det stå på knappen om man t ex ska öppna upp sidan "Story" (i framesetet) när man trycker på en av knapparna?

Tack!
Bianca

Medlem sedan nov. 2005314 inlägg
#2

Ett hett tips är att trycka på "F1" när du är inne i Flash.

Saxat:

getURL function
getURL(url:String, [window:String, [method:String]]) : Void

Loads a document from a specific URL into a window or passes variables to another application at a defined URL. To test this function, make sure the file to be loaded is at the specified location. To use an absolute URL (for example, [url]http://www.myserver.com)[/url], you need a network connection.

Availability: ActionScript 1.0; Flash Player 4 - The <code>GET</code> and <code>POST</code> options are available only in and later versions.

Parameters
url:String - The URL from which to obtain the document.

window:String [optional] - Specifies the window or HTML frame into which the document should load. You can enter the name of a specific window or select from the following reserved target names: 

_self specifies the current frame in the current window. 
_blank specifies a new window. 
_parent specifies the parent of the current frame. 
_top specifies the top-level frame in the current window. 
method:String [optional] - A GET or POST method for sending variables. If there are no variables, omit this parameter. The GET method appends the variables to the end of the URL, and is used for small numbers of variables. The POST method sends the variables in a separate HTTP header and is used for sending long strings of variables.

*EDIT*

såg nu att det blev lite konstigt men du förstår säkert :D

Medlem sedan jan. 200450 inlägg
#3

Hej och tack för engagemanget.

Så här har jag gjort på knappen men det funkar bara i Safari, ej Explorer och Firefox. Varför inte? Någon som har en idé på lösning?

on (release){
getURL("../scode/mainforebilder.htm", "story");
}

/Bianca

Medlem sedan nov. 2005314 inlägg
#4

bianca skrev:

Hej och tack för engagemanget.

Så här har jag gjort på knappen men det funkar bara i Safari, ej Explorer och Firefox. Varför inte? Någon som har en idé på lösning?

on (release){
getURL("../scode/mainforebilder.htm", "story");
}

/Bianca

Hejsan inga problem ;)

Jag skulle tro att det funkar bättre om du skrev såhär.

on (release){
getURL("http://www.dinsida.se/undersidan.html", "framen");
}

Testa det om det inte funkar får du återkomma igen.

Lycka till

Medlem sedan jan. 200450 inlägg
#5

Hej och tack!
Funkar inte för mig tyvärr. Fattar inte att det ska vara så svårt. Det funkade ju innan men inte i alla webbläsare.

Hmmmm några idéer?
Bianca

522 ms totalt · 4 externa anrop · v20260731065814-full.bd618308
379 ms — deklarationer (db)
0 ms — hämta statistik (cache)
133 ms — hämta tråd, inlägg och bilagor (db)
386 ms — ändringar (db)