Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 12th, 2004, 12:47 AM
Registered User
 
Join Date: Jul 2004
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

 
Old July 12th, 2004, 03:13 AM
Authorized User
 
Join Date: Jun 2004
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
[email protected]
 
Old July 12th, 2004, 03:58 AM
Registered User
 
Join Date: Jul 2004
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


 
Old July 12th, 2004, 04:01 PM
Friend of Wrox
 
Join Date: Sep 2003
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"
 
Old July 12th, 2004, 11:19 PM
Registered User
 
Join Date: Jul 2004
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

 
Old July 13th, 2004, 09:41 AM
Friend of Wrox
 
Join Date: Nov 2003
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

<><
 
Old July 13th, 2004, 04:29 PM
Friend of Wrox
 
Join Date: Sep 2003
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"
 
Old September 6th, 2006, 08:27 AM
Registered User
 
Join Date: Sep 2006
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..






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





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