when i change the state of my hyperlink (self,blank,parent or top) i get the same result–>a new window with the linked page. I’d like to create a site with links that open up on the same page. Is the “self” state the way to go…i can’t get it to work… HELP!!
If you are testing from within Flash or inside the Flash standalone player, it will open in a new window since those are not browsers.
This could be the problem.
Also, are you using self, parent, top or _self, _parent, _top ?
The _ is needed before them.
thanks!! okay…that worked… i published it & opened it up in IE… and it opened in the same window… how do I get it to link internally… sort of like an Iframe or internal link in html?? does that make since?
I am not sure I get what you are saying.
Are you trying to target an iframe?
Or if you are trying to load an HTML file INTO flash… you can’t do that, they are two seperate entities and so that cannot be done.
thanks…let me try again…i want my site to be all flash… but i want the links to open up within the same layout. for instance… if i was to have several menu items on the page, when one is selected, the selected section would open up within the same layout… I’m sure its something real easy, i’m just not sure how to explain it…
-newguy
What you are talking about is loadMovie()
With this you can load in an external .swf file into the main layout.
You can use…
_root.containerClipInstanceName.loadMovie(“yourMovie.swf”) to load to an empty movie clip symbol (it will attach the upper left corner of your movie to the clip)
Or you can use
loadMovieNum(“yourMovie.swf”, 1) this loads your movie to a level instead of a clip, in this case, 1 is the level.
I personally prefer loadMovie() over loadMovieNum(), but I guess it is a personal preference or one of those things that depends on the situation.
In this case it sounds like you need loadMovie().
awesome. i’ll try that. thanks alot.
No problem Good Luck!!!