LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-29-2006, 11:23 AM   #1
maseby
Member
 
Registered: Oct 2003
Posts: 42

Rep: Reputation: 15
dreamweaver...flash button


i have been having problems with targeting my dreamweaver flash made button, to make it open a link
in my so called main frame, yes am using frames.

every time one clicks on the button a new windows pops up instead of in the main frame.

can someone submit a short example with lets say two frames etc
with one flashbutton on the left that links something to the right frame

i have been trying without success

tnx in advance
 
Old 12-29-2006, 05:57 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
The "target=" for that button might be set to "_blank". Try setting is to "_parent".

Last edited by indienick; 12-29-2006 at 06:08 PM.
 
Old 12-29-2006, 06:57 PM   #3
maseby
Member
 
Registered: Oct 2003
Posts: 42

Original Poster
Rep: Reputation: 15
flash button

_parent target does not work...ihave read somewere that there is some code missing
and that u should manually write in...

but i cant seem to understand were that missing piece of code should go?
 
Old 12-29-2006, 07:30 PM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
could you post the code snippet for (and surrouding code) the flash button?
 
Old 12-29-2006, 09:00 PM   #5
demon_vox
Member
 
Registered: May 2006
Location: Argentina
Distribution: SuSE 10
Posts: 173

Rep: Reputation: 30
Hi,
I think you should give the frame a name, and then use that name as the target of the button.
The frames:
Code:
<FRAMESET cols="50%, 50%">
   <FRAME src="left.html" name="crazyMenu">
   <FRAME src="right.html" name="mainCrazyPlace">
</FRAMESET>
then you should use "mainCrazyPlace" as the target of your button.

If my memory doesnt fail, this is the way frames works. Of course, in the web world, it might not work hehehehe

Cheers!
 
Old 12-30-2006, 12:20 AM   #6
maseby
Member
 
Registered: Oct 2003
Posts: 42

Original Poster
Rep: Reputation: 15
flash button

hence the problem...i have targeted already the main frame that i want to load with a specific page, but everytime i hit the button a new window loads instead of opening in the mainframe


here is the code for the frame:

Code:
<frameset cols="*,*" frameborder="no" border="0" framespacing="0">
  <frame src="menu.htm" id="left" name="left" />
  <frame src="main.htm" id="right"  name="right"/>
</frameset>
here is the code for the left side, flash button that is which is in menu:


Code:
</script><noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100" height="22">
  <param name="BGCOLOR" value="" />
  <param name="movie" value="button1.swf" />
  <param name="quality" value="high" />
  <embed src="button1.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22" ></embed>
</object>
</noscript>
I hade read this link: maybe it helps
http://www.dmxzone.com/forum/topic.asp?topic_id=36367
it sayz something about code missing, but i cant get it to work

Last edited by maseby; 12-30-2006 at 12:24 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how should i enable the middle button of 3-button mouse ?? b0nd Slackware 1 07-17-2006 02:46 AM
Mutlipe text/button form, one submit button bappreacher Programming 8 06-27-2006 08:07 AM
make thumb button/third button double-click taboom Linux - Hardware 0 03-20-2006 02:39 PM
FLASH FLASH XP Home and Samba Fix FLASH FLASH zollodav Linux - Networking 1 02-19-2006 01:16 AM
Vector 5.1 SOHO. Start button/K button, Sound card suseforge VectorLinux 0 01-30-2006 12:14 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration