|
-
[F8] Html Controlling Flash....
I am loading XML childNodes like these
Code:
<p><a class="link" href="external/img07.jpg">Picture 07</a></p>
into the htmlText dynamic boxes.
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...
-
FK'n_dog
use asfunction -
Code:
<a href='asfunction:myFunction,external/img07.jpg'>Picture 07</a>
in Flash -
Code:
function myFunction(param){
myClip.loadMovie(param);
};
-
 Originally Posted by a_modified_dog
use asfunction -
Code:
<a href='asfunction:myFunction,external/img07.jpg'>Picture 07</a>
in Flash -
Code:
function myFunction(param){
myClip.loadMovie(param);
};
You are incredible! You saved me a lifetime looking for this. Thanks man
-
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?
-
 Originally Posted by whoa002
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?
Set your dynamic textbox to html (textbox.html = true)
Then, instead of using a nodeValue, get the textBox to display the element itself, thus the <a> tag will become a link....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|