Skip to main content
Participating Frequently
December 4, 2006
Question

I can't call up a URL from within a component?

  • December 4, 2006
  • 2 replies
  • 172 views
Hi all. Hope you can help.

I have a flash site that contains a component. The component is for a scroll bar that shows image slices of my work. The image slices are buttons that when clicked should call up a seperate web (URL) window to display the work. However when clicked the button doesn't work. The button im using is on (release) {getURL ("work.htm")} this is fom the browser/network submenu in the global functions menu. I think that I should be looking in the components menu but have no idea what function or code to use.

Any advice would be massively helpful.

Cheers

Rob
This topic has been closed for replies.

2 replies

December 4, 2006
So, i think you didnt get the button path correctly.
If you are using the scrollpane,
just try to use actions script for a button inside a scrollpane like,
myScrollPane.content.myButton.onPress = {}...
and use some trace statements to check you have got the access of that button or not...
December 4, 2006
How do you adding the images slices to the scollpane ???
Did you check whether button is accessable or not ??
Is it tracing any statements in the release event ???
Participating Frequently
December 4, 2006
The images are added within the component as buttons. I don't know how to check wether the button is accessable or not? IF you could advise on this that would be really good. I don't think its tracing anything.

Basically just want it to open a javascript URL window.

Cheers in advance

Rob