Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

link xml...!!!

This is a discussion on link xml...!!! within the Flash CS3 generale forums, part of the Flash CS3 e Actionscript 3.0 category; Ho un menù fatto in flash che richiama un file xml per i link. Quando vado a cliccare sul pulsante ...


Go Back   Forum Flash CS3 Flash CS4 > Flash CS3 e Actionscript 3.0 > Flash CS3 generale

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 02-11-07, 17:26
Junior Member
 
Join Date: Sep 2007
Posts: 8
Rep Power: 0
lab81 is on a distinguished road
Send a message via Skype™ to lab81
link xml...!!!

Ho un menù fatto in flash che richiama un file xml per i link.
Quando vado a cliccare sul pulsante mi apre un altra finestra perchè?
il cod xml è questo:
<link>prova.html</link>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 02-11-07, 17:30
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: link xml...!!!

Ciao

usa un url assoluto:
HTML Code:
<link>http://www.miosito.com/prova.html</link>
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 02-11-07, 17:35
Junior Member
 
Join Date: Sep 2007
Posts: 8
Rep Power: 0
lab81 is on a distinguished road
Send a message via Skype™ to lab81
Re: link xml...!!!

Ho provato ma non funziona!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 02-11-07, 17:41
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: link xml...!!!

Vuoi che al click di un bottone parta una pagina ad un determinato url giusto ?

Mi fai vedere il codice che stai usando ?
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 02-11-07, 17:49
Junior Member
 
Join Date: Sep 2007
Posts: 8
Rep Power: 0
lab81 is on a distinguished road
Send a message via Skype™ to lab81
Re: link xml...!!!

il cod è questo:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<content>
<item>
<image>img/menu/image1.jpg</image>
<info>title</info>
<link>prova.html</link>
</item>

Mi deve aprire la pagina del sito sulla stessa pagina, mentre lui me la apre come se avessi un _blank.....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #6 (permalink)  
Old 02-11-07, 17:51
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: link xml...!!!

Il problema è in Actionscript non nell' XML.

Nel navigateToURL, tra le parentesi tonde usa "_self" o "_parent" al posto di "_blank"
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 02-11-07, 17:58
Junior Member
 
Join Date: Sep 2007
Posts: 8
Rep Power: 0
lab81 is on a distinguished road
Send a message via Skype™ to lab81
Re: link xml...!!!

in action script ho:
xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue

ma niente che si riferisce a_blank
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 02-11-07, 17:59
Junior Member
 
Join Date: Sep 2007
Posts: 8
Rep Power: 0
lab81 is on a distinguished road
Send a message via Skype™ to lab81
Re: link xml...!!!

scusa:
link[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9 (permalink)  
Old 02-11-07, 18:03
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: link xml...!!!

ok, ma ancora non ci sei a farmi vedere il navigateToURL
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #10 (permalink)  
Old 02-11-07, 18:03
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: link xml...!!!

Quote:
Originally Posted by lab81 View Post
in action script ho:
xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue

ma niente che si riferisce a_blank
Cerca navigateToURL
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Flash CS3 [AS2]Link a clip filmato - CS3 leftist Actionscript 3.0 base 1 16-07-08 22:52
Flash CS3 How to open link in same window Alec2998 Actionscript 3.0 newbies 1 14-07-08 16:41
link dispettoso annalisa Actionscript 3.0 base 1 11-06-08 19:47
Come controllare se ci troviamo in un link Donovant Actionscript 3.0 base 2 12-05-08 14:51
TextEvent.LINK di Actionscript 3.0 Flep Articoli e tutorials 0 21-09-07 10:21


All times are GMT. The time now is 13:56.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406