Flash button to show html layer
I have embedded a Flash menu into an html doc with a hidden
layer called player. I want a button in the Flash menu to show that
layer. I used the instructions on this website:
http://www.bestflashanimationsite.com/tutorials/1/2/
But it doesn't work. I made a link on the html page that
shows the layer, so the Dreamweaver MM_showHideLayers function is
there in the html head. I tried this in the button actionscript:
on(press) {
getURL("javascript:MM_showHideLayers('player','','show')");
I also tried writing a custom function in the html which does
work from a button in the html:
function showPlayer() {
MM_showHideLayers('player','','show')
and then putting this in the Flash button:
on(press) {
getURL("javascript:showPlayer()");
Which does not work. (following are the Dreamweaver
functions)
Please help!!!!!
I use externalInterface (instead of getURL). Its a great way
to call javascript functions from flash and vice-versa.
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveD ocs_Parts&file=00002200.html
There are some links to examples in the comments below the
description.
Similar Messages
-
Flash buttons not showing/hiding layers in Firefox
Before anyone says to use the search tool, I did that, even googled the problem and no suggestions have yet to work. here is the page http://www.preziosidevelopment.com/dchs/dchs.html it works flawlessly in internet explorer, but fails to work at all in firefox. All the buttons being nested inside table cells is another byproduct of having to design for firefox, if there is a better way of setting those up so they display properly in firefox feel free to let me know. I'm a designer not a coder, so please keep that in mind. Just to clarify, the only problem I am currently having is the first two buttons are not showing/hiding my layers in firefox as they do in internet explorer. Thanks for any help.
Richard PreziosiI'm a designer not a coder, so please keep that in mind.
Here's a sincere suggestion. Do not use Flash buttons for anything. Really. People who don't have Flash will not see the buttons or be able to trigger anything. Search engines will not see any links that may be embedded in those buttons nor will assistive screen devices. As a result of these as well as other maintenance problems that would affect *you* when you try to maintain them, Adobe has removed them entirely from CS4 (and I say good riddance). Is it possible for you to rethink this entire approach using CSS styled text or ordinary graphic buttons? -
I have inserted a flash button into a side_navigation which
when clicked on is supposed to launch the end users e-mail program
with the address and subject lines pre-populated. This works fine
when tested from another internal server, however, from a remote
machine only a box with the "click here to activate this control"
pop up appears. The original site was created outside of
Dreamweaver using raw html code and Cascading style sheets. Any
help is greatly appreciated!Are you using DW 8.0.2? Have you uploaded the Scripts folder?
Active content not displayed in browser after converting page
in
Dreamweaver 8.0.2
http://www.adobe.com/go/9c3f9367
David Alcala
Adobe Product Support -
Flash button not showing on page
just new to flash cs3, but have been using dream weaver cs3
for a while now, I am trying to add a flash button to a page its
showing up when i preview it on my own computer, I uploaded all the
files to root folder just cant under stand whats wrong, the site is
http://www.poxh.com in case any one
needs to see code, any help on this would be great
ThanksDavid,
I don't know what that file is. Can you elaborate?
Thanks,
Chris
quote:
Originally posted by:
Newsgroup User
chriscatalano wrote:
> Hopefully this is a simple problem. I've added a Flash
Button via the Insert
> Media -> Flash Button in DW8. Unfortunately the
button does not show up when
> the php page is loaded up to the server. And yes, I did
make sure to upload
> the button file.
But did you upload this file?
Scripts/AC_RunActiveContent.js
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Flash Button not showing on php page
Hi Folks,
Hopefully this is a simple problem. I've added a Flash Button
via the Insert Media -> Flash Button in DW8. Unfortunately the
button does not show up when the php page is loaded up to the
server. And yes, I did make sure to upload the button file. When I
look at the source code from the server, the flash part looks a
little different compared to how it normally looks on a .htm page.
Here's what the 'view source' in the browser shows:David,
I don't know what that file is. Can you elaborate?
Thanks,
Chris
quote:
Originally posted by:
Newsgroup User
chriscatalano wrote:
> Hopefully this is a simple problem. I've added a Flash
Button via the Insert
> Media -> Flash Button in DW8. Unfortunately the
button does not show up when
> the php page is loaded up to the server. And yes, I did
make sure to upload
> the button file.
But did you upload this file?
Scripts/AC_RunActiveContent.js
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Linking a flash button to a html page
Hi, I was wondering if anyone knew the best way to link a
flash button to a page in DW?
ThanksPlace this actionscript into the hit area of your flash
button, then export the flash as a .swf and place onto the
dreamweaver page...
on(release){
getURL("YOUR_DESIRED_PAGE.html","_self");
This will open the new html page in the same window. Hope
that helps.
You can get a cheap but awesome tutorial on Flash buttons
here...
http://www.cartoonsmart.com/smooth_buttons.html
No, I don't know the guy and I don't get a commission. The
tutorials really helped me, that's all. -
I need to control flash button states within html
I am utilizing a flash header for navigation on a site built
in html. I need to control the button states in my flash header
from within my html page to facilitate breadcrumbs. The header
works in a similar manner to an expandable banner. The sub menu
expands over the html page. However, I cannot figure out how to get
the primary navigation buttons in the flash header to stay in the
"hit state" so that the user knows which section of the site they
are in.
Can anyone point me in the right direction?
ThanksYou will want to use movieclips as buttons so that you can
control what state they are in by code.
As far as using the html to set the state, you could devise a
scheme using FlashVars, which get designated in the embedding code
of the html page.
Assuming you are not using frames, and the flash is reloaded
for each page that you navigate to, then you will have adjust the
FlashVars code to reflect the relevant page's button. -
Flash button - linking to HTML page - weird problem
There could be a really easy solution for this, but I can't
figure it out. I have a simple button that links to an anchor
within an HTML page. Here the actionscript for the button:
on (release) {
getURL ("test.html#two");
when the button is pressed, the HTML page comes up but only
to the top of test.html. The '#two' is not passed to the URL .
Seems like everything after '#' is ignored. How can I get around
this?hi
on(press)
getURL("path of html page");
} -
How to SHOW/HIDE a dreamweaver layer from a flash button?
I have almost 2 weeks tying to find a solution for this. Please help...
-How can you SHOW/HIDE an thml-dreamweaver layer from a flash movie button.
My html layer name is LAYER1, and my FlashMC botton name is FLBOT1
Now, what is the actionscript that im suppouse to place in the flash button?
Please respond, ThanksAdobe removed Flash Text and Flash Buttons from CS4 for accessibility reasons. Flash buttons aren't web friendly. And if you use this approach, you'll need to work in Flash because DW doesn't write Action Script for you.
That said, you could do something similar without Flash.
Pure CSS Disjointed Menu Rollovers
http://alt-web.com/DEMOS/CSS-Disjointed-Menu-Rollover.shtml
Pure CSS Disjointed Text Rollovers
http://alt-web.com/DEMOS/CSS-Disjointed-Text-Rollover.shtml
Show/Hide Layers with DW behaviors:
http://www.cbtcafe.com/dreamweaver/showhidelayers/index.html
Walter Zorn's Tooltips
http://www.walterzorn.com/tooltip/tooltip_e.htm
FloatBox Demos
http://randomous.com/floatbox/demo
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.com/blogspot.com -
Adding PayPal code to Flash button
I want to use my own .swf button for PayPal payments with a "hidden format", but when adding the generated PayPal Website code to my html page, only a red X and the alt PayPal text is showing where the button should be. I have changed all Active X controls to Enable.
Every time I contact PayPal I get a different reply. The last one was that I have to add a "static" image, but I really want to use my own button.
I would rather find a way to paste the PayPal code into my buttons action script and then I only have to paste the Flash button to the html, but don't know how to manipulate that because the only code generated by PayPal is a "form" in html format. I am also adding text fields and guess that's why I don't get an generated email code from PayPal which I get if I don't add text fields.
Any ideas how I can transform the code generated by PayPal to my action script are welcomed. I have about 150 buttons to add!
This is my link: http://www.astondenwoodjewellery.co.uk/Jewellery%20html/Gold%20Rings/GR02_button_test.htmI will definitely mark when I have managed to do this, thank you. Still can't get it to work and I don't know where I'm going wrong, but shall continue trying...
I have added the form in my html, but deleted the button which appeared as an X. Instead I've added my button with the code you gave me in AS.
I don't know what I am doing wrong, but I keep receiving action script error messages:
**Error** Scene=Scene 1, layer=glas, frame=1:Line 1: Statement must appear within on handler
var sendLV:LoadVars=new LoadVars();
**Error** Scene=Scene 1, layer=glas, frame=1:Line 2: Statement must appear within on handler
var receiveLV:LoadVars=new LoadVars();
**Error** Scene=Scene 1, layer=glas, frame=1:Line 3: Statement must appear within on handler
receiveLV.onData=function(src){
**Error** Scene=Scene 1, layer=glas, frame=1:Line 10: Operator '=' must be followed by an operand
sendLV.on0= ;// use selected option for man/woman
**Error** Scene=Scene 1, layer=glas, frame=1:Line 11: Operator '=' must be followed by an operand
sendLV.on1= ;// use selected option for size
**Error** Scene=Scene 1, layer=glas, frame=1:Line 8: Statement must appear within on handler
GR02_test.onRelease=function(){
Total ActionScript Errors: 6 Reported Errors: 6 -
Flash button problem in Firefox
Hello.
I am using a flash button to replace html email links
throughout the site as a method to control email spamming.
A lot of the areas I am doing this, the flash email link
appears amidst a paragraph of text.
This seems to work and displays perfectly in IE.
However, in firefox, the embedded flash object wants to start
a new line/paragraph which messes up the flow of text.
Does anyone know a fix for this?
Here is a link to a page where this is happening. Scroll
horizontally to the 2nd to last column (under "who would have said
any cover band would have lasted 18 years?") and note the EMAIL
link in red in EXPLORER. Then look at it in FIREFOX and see how it
starts a new line with a gap.
http://dev.informarch.com/wm/feature/feature.html
Any help would be greatly appreciated.
(by the way...I know horizontal scrolling is not
preferred...but thats not what this thread is about....thank
you.)Hello,
Try this and see if it works
In your HTML go to where the <object> tag is that loads
your flash button.
Add this parameter within it.
<param name="wmode" value="transparent">
Then add the following inside the <embed> tag
wmode="transparent"
This is taken from an article from this site
http://www.bigismore.com/flash-related/flash-zorder-always-on-top/ -
GetURL isn't working when flash button is embedded into HTML
I'm making a basic HTML site with flash buttons that direct to hyperlinks.
I've made a simple flash button with the code on the button actions as:
on (release) {
getURL("http://www.google.com","_blank");
The button works great when I export it in Flash.
When i embed into the HTML using dreamweaver and preview/upload the site.... the button is there but when clicked it doesn't direct to the hyperlink.
ANy ideas? Thanks. Brendan.Use Flash to generate an html page and test that on the server. If that works, then replace whatever Dreamweaver did with the Flash-made embedding code. Beyond that, a link to the file on the server could shed some light.
-
Flash button shows through Flash Menu
I am using a third party product that has a Flash drop down menu. In DreamWeaver, I added a Flash button on the page. When I activate the drop-down menu, the Flash button shows through the Flash drop down menu. How can I fix this so that the menu covers up the button? I've tried z-index property but that did not work.
Flash rises to the top. See this article on wmode parameter
http://www.communitymx.com/content/article.cfm?cid=e5141
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Need help converting this html code into code that will work as a flash button
I have some html code that is for a button in html that when
pressed sends you to a certain url but also somehow adds an 'id
value' and a 'website value'.
How can I convert this code and or put it into a flash
button?
Disregard the gif info...that's just for the html graphic
that goes for the button.
[HTML]<form
action="https://secure.verotel.com/cgi-bin/vtjp.pl"
method="post">
<input type=hidden name=verotel_id
value="9804000000840231">
<input type=hidden name=verotel_website value="55461">
<center>
<input type="image" src="
http://buttons.verotel.com/join/button_00010155461.gif"
alt="Signup NOW!">
<img src="
http://buttons.verotel.com/signup/tbutton_55461.gif"
border="0" width="1" height="1" alt="">
</center>
</form>[/HTML]What you want to do might look something like this:
-
Flash buttons showing differently in browsers
I just used some simple, built-in Flash buttons (with no
spaces) for my nav bar in DW CS3. They look great and close
together in IE 7, but there is a gap between the buttons in Safari
and Firefox. Any simple explanation? Is it just how different
browsers render flash/html?
Thanks,
BrianIf you want to use Flash for navigation, consider this -
1. Some people don't have Flash installed - what do they do?
Especially
consider those people who are browsing from a corporate
internet where Flash
is not allowed by the IT staff.
2. Search engines may not parse Flash links - your site will
not be
spidered unless you have redundant HTML links
3. Screen assistive devices don't parse Flash links - what
will those users
do?
4. DW cannot maintain links within a Flash movie, so if you
move or rename
a linked file, your navigation will break - what will you do?
You will have
to remake those buttons.
It's usually a very bad idea for these reasons - and for
these reasons,
Adobe has removed Flash buttons and Flash text from CS4.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"btr57" <[email protected]> wrote in message
news:gmp62v$9c9$[email protected]..
>I just used some simple, built-in Flash buttons (with no
spaces) for my nav
>bar
> in DW CS3. They look great and close together in IE 7,
but there is a gap
> between the buttons in Safari and Firefox. Any simple
explanation? Is it
> just
> how different browsers render flash/html?
>
> Thanks,
> Brian
>
Maybe you are looking for
-
Resolution? Font size? X300
I have just switched from a T42 to the X300 and am dismayed at the small print on the screen. The screens are the same width - 11.25 inches, but the X300 is only 7 inches tall vs.8.5 ins. for the T42. I feel like I need to buy a magnifier for the scr
-
Top-Of-Page in Interactive Report
Dear All, I have a requirement stated as follows: I am creating an interactive report where User will be using the buttons in the menu: ENTRY(Insertion of i/p enabled empty line in report list), CHANGE( opening an existing record 'of the
-
What is the Port (Windows) in SAPLogon to SAP R/3 Server? When I open the software firewall, I cannot login through SAPLogon of other PC. I want to know I need to open which port for that?
-
I purchased and downloaded CS6 for my MacBook Pro laptop from Adobe. I now want to add CS6 to an iMac, how do I go about installing it on this new computer?
-
Trouble with Migration: two identities with different "powers"
I am migrating from an old PowerBookG4 to a MacBook. The PowerBook is failing, so I couldn't insert and install the migration disc, as it recommends because it just quits when i try to install it, however Migration is on the computer, and seems to b