There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display driver drivers email error excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop lcd linux malware network networking nvidia outlook outlook 2003 outlook express partition password printer problem ram router slow sound trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Problem getting swf link to display page in web frame


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
titanalive's Avatar
Member with 79 posts.
 
Join Date: May 2007
Experience: Picking Up Steadly
31-Oct-2007, 03:53 PM #1
Unhappy Problem getting swf link to display page in web frame
Hi guys am having a wee bit of trouble here. Its a small tweek but it will help greatly.
i have made an animated movie clip in flash 9.0 which in practice on being clicked should display the specified url in an iframe on an html page. I have managed to link up to the url but am unable to get the image to display on the target frame on the target web page.
On clicking the link the url does open but in a new window, Which technically is not what i am looking for any help will be appreciated. I have use the following actionscript code to try to get the image to open in the target:

on (rollOver) {
gotoAndPlay ("goes1");
} on (rollOut) {
gotoAndPlay ("goes2");
}

on (release) {
getURL("Posters\\Images Initial\\Cancer Poster.htm", _target("images"));
}

Am using the embed tag on the html page to display the clip on the web page.
Any help with this code would be great and its just a minor tweek

Thanks
__________________
Titans were not a joke
titanalive's Avatar
Member with 79 posts.
 
Join Date: May 2007
Experience: Picking Up Steadly
24-Feb-2008, 09:30 AM #2
Well apparently i did not find any way to do it with frames so i just used an alternative way by using more flash content and embeding whatever i could in the flash content
Sequal7's Avatar
Computer Specs
Distinguished Member with 2,369 posts.
 
Join Date: Apr 2001
Location: Around the corner!
Experience: Including today?
25-Feb-2008, 01:40 PM #3
Hello
Your scripting is incorrect, the correct function is this;

Code:
on (press) {
	getURL("Posters/Images Initial/Cancer Poster.htm", "content");
}
Now, the iFrame link is the actual name of the iFrame content, which you have to define in it.

Code:
<iFrame frameborder="0"
             height="400" name="content" scrolling="Yes" src="page_you_want_to_display_in_here.htm" width="500"></iframe>
name="content" is the area you would heave to define in what you thought was _frame target.
titanalive's Avatar
Member with 79 posts.
 
Join Date: May 2007
Experience: Picking Up Steadly
26-Feb-2008, 01:55 PM #4
Thanks a lot You have no idea how helpful your reply is. I wish you had encountered this post earlier, But its never late you know, You saved me just in the nick of time you are a real angel so thanks a lot.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:09 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.