|
|
|
#1 |
|
Member
Join Date: Aug 2006
Location: Australia
Posts: 64
|
[F8] Html Controlling Flash....
I am loading XML childNodes like these
Code:
<p><a class="link" href="external/img07.jpg">Picture 07</a></p> Is there a way to click on the link inside the textbox, and display this image in the link in a separate movieClip (that's next to the textbox) ALL in the same Flash Movie. Or at least display outside in a pop up html window Hope it all makes sense... |
|
|
|
|
|
#2 |
|
FK'n_dog
Join Date: Apr 2003
Location: "aaarf"
Posts: 9,176
|
use asfunction -
Code:
<a href='asfunction:myFunction,external/img07.jpg'>Picture 07</a> Code:
function myFunction(param){
myClip.loadMovie(param);
};
|
|
|
|
|
|
#3 | |
|
Member
Join Date: Aug 2006
Location: Australia
Posts: 64
|
Quote:
|
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Jun 2001
Posts: 169
|
How are you using links within the xml? I can never seem to get that to work.. the xml just things its a new element when it sees the <a> tag. Do you have some script checking that?
|
|
|
|
|
|
#5 | |
|
Member
Join Date: Aug 2006
Location: Australia
Posts: 64
|
Quote:
Then, instead of using a nodeValue, get the textBox to display the element itself, thus the <a> tag will become a link.... |
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|