Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 12th, 2004, 12:47 AM
Registered User
 
Join Date: Jul 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to give link to flash file in DW

i want to give a link to flash file n i want to give a link to tht file in html editor i try this code but it not work so plz help me

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="550" height="75" align="absmiddle" style="cursor:hand;" onclick="window.open('try.asp')">
    <param name="movie" value="hrbuddy.swf">
    <param name="quality" value="high">
    <embed src="try.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="75"></embed></object>

plz help me
its urgent

Reply With Quote
  #2 (permalink)  
Old July 12th, 2004, 03:13 AM
Authorized User
 
Join Date: Jun 2004
Location: chandigarh, , India.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vikas
Default

Hi Shweta,
The problem is error in code. the right code:
At one place u name the file hrbuddy.swf (line 4)
At line 6 it is try.swf.
tested ur code... works 4 me. hope it works 4 u 2 :-)
All the best!!
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="550" height="75" align="absmiddle" style="cursor:hand;" onclick="window.open('try.asp')">
    <param name="movie" value="hrbuddy.swf">
    <param name="quality" value="high">
    <embed src="hrbuddy.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="75"></embed></object>


vikas/alakh
alakhniranjan@rediffmail.com
Reply With Quote
  #3 (permalink)  
Old July 12th, 2004, 03:58 AM
Registered User
 
Join Date: Jul 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

tht is only eg.
       my original swf file is try.swf
 n want link at another window tht is try.asp

i tried tht code but not working u've ny other option.thn plz tell me

.......Have a Nice Day


Reply With Quote
  #4 (permalink)  
Old July 12th, 2004, 04:01 PM
Friend of Wrox
 
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

Dreamweaver allows you to insert swf files into a webpage. You need to make sure you see the Common toolbar. You should see a red circle with a black F in the middle. That is what you need to use to insert the Flash movie.

Let me know if you're still having problems

Thank you,









Ben Horne
Madison Area Technical College - Truax
3550 Anderson Street
Madison, Wisconsin 53704-2599


-------------------------
http://community.webshots.com/user/valerian114

"There are two kinds of people in the world: Those who claim to be Flash junkies and those who actually are Flash junkies"
Reply With Quote
  #5 (permalink)  
Old July 12th, 2004, 11:19 PM
Registered User
 
Join Date: Jul 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello
        Ben
             i tried tht code from tht flash button i gave link also in tht but it not working can u plz help me its urgent


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="550" height="75" onClick="window.open('try.asp')">
  <param name="movie" value="try.swf">
  <param name="quality" value="high">
  <embed src="try.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="75"></embed></object>


i got this code from tht flash button i just add tht onclick

so plz help me.......


   thanku
 have a nice day

Reply With Quote
  #6 (permalink)  
Old July 13th, 2004, 09:41 AM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Add the onClick event to the onRelease event in the Flash movie.

Snib

<><
Reply With Quote
  #7 (permalink)  
Old July 13th, 2004, 04:29 PM
Friend of Wrox
 
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

You're not doing it right. I said before that you need to insert the Flash movie in the web page you are working on. Rather than modifying your existing code, you could try to insert a new Flash movie

Quote:
quote:Originally posted by Shweta
 Hello
        Ben
             i tried tht code from tht flash button i gave link also in tht but it not working can u plz help me its urgent


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="550" height="75" onClick="window.open('try.asp')">
<param name="movie" value="try.swf">
<param name="quality" value="high">
<embed src="try.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="75"></embed></object>


i got this code from tht flash button i just add tht onclick

so plz help me.......


thanku
have a nice day

Ben Horne
Madison Area Technical College - Truax
3550 Anderson Street
Madison, Wisconsin 53704-2599


-------------------------
http://community.webshots.com/user/valerian114

"There are two kinds of people in the world: Those who claim to be Flash junkies and those who actually are Flash junkies"
Reply With Quote
  #8 (permalink)  
Old September 6th, 2006, 08:27 AM
Registered User
 
Join Date: Sep 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi guys,

 Has anyoone tried to click on a flash file on a page. I dont think the click event happens there.. i slogged hard to capture the click event.. if nyone has done this please let me know..

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give the link to file through the email pushpa BOOK: Beginning ASP 3.0 0 May 1st, 2007 02:31 AM
flash file in C# angelboy C# 2005 0 April 11th, 2007 02:49 AM
Flash file downloading Adam H-W Flash (all versions) 1 December 15th, 2006 11:36 PM
page have a flash file alyeng2000 HTML Code Clinic 2 April 19th, 2005 08:44 AM



All times are GMT -4. The time now is 08:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.