Link from a Flash button
I have created some of my own navigation buttons in flash but
can't work out how to add a link to them in Dreamweaver to go to
another page in my website. If anyone can help I would be very
pleased. Thanks a lot ..... Heather
Do this in Flash, but be aware Flash navigation kinda sucks,
why are you
using Flash? Flash is not accessible at all by screen readers
or other
disabilities compliant devices, what about folks who don't
have Flash
installed? Flash is great for movies, things like youtube etc
not for
navigation.
Cheers
Pablo
www.dellimages.com
"Heather2005" <[email protected]> wrote in
message
news:fk0d1h$mt9$[email protected]..
>I have created some of my own navigation buttons in flash
but can't work
>out
> how to add a link to them in Dreamweaver to go to
another page in my
> website.
> If anyone can help I would be very pleased. Thanks a lot
..... Heather
>
Similar Messages
-
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 -
Javascript call from a Flash button
I have 2 Panel Groups of 5 panels each and I made a Flash
button to controll them.
The following code works if the panels are both open but it
only works the first time.
Then the second time I get an error;
cpg is undefined
CODE:
on(release){
getURL("javascript:cpg.closeAllPanels();cpg2.closeAllPanels()");
This would need to work for both panelgroups even if only one
is open.
I tried using fscommand but not sure how to write it.Hi Doug,
A few questions for you...
<ol>
<li>What functionality are you trying to achieve?</li>
<li>What version of APEX are you using?</li>
<li>When you say 'process', do you mean 'Page Process'?</li>
</ol>
There are definitely ways of submitting the page and triggering a page process to run via JavaScript, but it would be good to better understand your requirements first before proposing a certain solution.
Regards,
Anthony. -
Launch 2 urls from one flash button
Hi,
I have a Flash button, which I want to use getURL to both
- call the Google Analytics tracking function
- send the user to a new page
on (release) {
getURL("javascript:pageTracker._trackPageview('/folder/file.html');");
getURL("some web page");
Currently, only one of these getURL calls works. How can I
get the one Flash function to use getURL twice? Or do I have to do
something different?
Thanks!you cannot make javascript calls using a getURL as of player
9 rev 124. The new security restrictions prevent it, as it is an
insecure method of communication.
To call the javascript function, use the ExternalInterface
class. -
How can I link from one flash document to another with buttons?
Hi,
From the question above, you can tell that I'm very new to flash, especially with scripting. Total noob.
I watched my instructor's videos and I'm still stumped. He didn't explain it very well.
For starters, I am using Flash CS6, but I clicked on AS1.0 and AS2.0 from the drop down mention in the actionscript window for the script below, since that is what my instructor used.
What I have now are various pages I've already created in flash that are different pages in my website, including a splash page with an enter button.
For example, I want the enter button to link to another .swf or .html file when it is clicked. This file will be the main page.
I tried using this script that my instructor mentioned in the video on the button layer:
on (release); {
getURL("page1.swf");
the "page1.swf" file is already in the same folder in my computer as my splash page and I even imported it to the library of my splash page.
From my instructor's video demo, that should be apparently all that is needed.
But I cannot get this to work.
I tested the file and this is what flash comes up with:
In the output tab:
ReferenceError: Error #1065: Variable TCMText is not defined.
In the compiler errors tab:
Scene 1, Layer 'Layer 28', Frame 1, Line 1
1180: Call to a possibly undefined method on.
Scene 1, Layer 'Layer 28', Frame 1, Line 1
1120: Access of undefined property release.
Scene 1, Layer 'Layer 28', Frame 1, Line 2
1180: Call to a possibly undefined method getURL.
Any thoughts? My instructor also recommended that I embed the .swf into an .html, but he obviously didn't tell us how to do that!
Also, why doesn't script assist work with AS3?
Thank you so much!Okay so I changed it to AS1/AS2.
Now it says this:
Scene=Scene 1, layer=Layer 28, frame=1, Line 1
Mouse events are permitted only for button instances
Scene=Scene 1, layer=Layer 28, frame=1, Line 4
Syntax error.
I am very confused.
Also, since all my other pages are in AS3, is there some way I can use another script in AS3 that accomplishes the same task?
Can someone please provide me with the correct script to use?
Thank you so much! I feel that people here are much more responsive than my instructor is! Thank God for this forum! -
URGENT help for calling a window from a flash button in a frame not working
Hello, i'm really desperated, because i can't call a window
in a frame from flash with the getURL, i tried other but do
nothing! and something of external something doesn't work too, so
please can enya tellme what can i do???? i'm using flash 8
professional, explorer 6, (and let me tell you that i didn't have
issues before)!!chen1 wrote:
> Hello, i'm really desperated, because i can't call a
window in a frame from
> flash with the getURL, i tried other but do nothing! and
something of external
> something doesn't work too, so please can enya tellme
what can i do???? i'm
> using flash 8 professional, explorer 6, (and let me tell
you that i didn't have
> issues before)!!
Please search the forum, in past weeks I personally replied
to the very same topic
few times.
Search for "Flash Player 9 - broken getURL doesn't open
specified frame"
and "Problems with flash navigation in Internet Explorer 7"
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Cannot send email links from Safari share button in iOS8
Hi All:
This is a new one for, and not something I have experienced since link sharing was introduced. I am running iOS 8.1.1 on my iPhone 6. When I find a web page I want to share in Safari, I tap the Share icon, and the share sheet comes up. I select Mail, and a pre-populated email sheet appears. I can type text in the Message or Subject fields, but if I try to select a different sender address or enter a recipient address, the email message simply disappears. it's not in Mail trash or Drafts. It's just gone. This does not happen with my iPad mini 3 at all. Also does not happen on any of my family members' phones.
Obviously, I can Select,Copy,Paste the link into a manual email message. But sharing a link via email does not work in my phone. Any ideas besides a restore?
TIA!In Mail, select Mail > Preferences > General > Default email reader: Mail 5.2
-
Hi
I have built a dreamweaver template and have used
dreamweavers flash buttons. I can see these buttons on my web page
but the link from the flash button will not work both files are
../home.html and ../home.swf .
thanks for lookingUnfortunately using Flash with templates is going to be a
challenge until
Adobe can get things sorted out.
When you insert a Flash element onto a page in DW8.0.2 or
later, two things
happen:
1. A link to a js file is inserted in the head of the page
2. A chunk of code is inserted where you placed the Flash
element,
including a call to a function in the js file, and a pair of
<noscript> tags
that include the <object> and <embed> HTML tags.
To make this process work when you are wanting to insert
Flash on a child
page, you have to do this -
1. Create a blank HTML page, and insert the Flash on that
page.
2. Copy the link to the js from the head of the page you just
created and
paste it into the editable region of the head of the child
page.
3. Copy the entire section of code inserted in the body of
the page, and
paste that into the child page at the location where you want
the Flash to
appear.
That should do it for you....
However, if you want to use Flash for navigation, consider
this -
1. Some people don't have Flash installed - what do they do?
2. Search engines don't parse Flash links - your site will
not be spidered
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?
It's usually a very bad idea for these reasons...
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
==================
"neilpeel" <[email protected]> wrote in
message
news:[email protected]...
> Hi
> I have built a dreamweaver template and have used
dreamweavers flash
> buttons.
> I can see these buttons on my web page but the link from
the flash button
> will
> not work both files are ../home.html and ../home.swf .
> thanks for looking
> -
How link from html page to a specific frame in flash cs5 as3
Hi!
I'm kinda new around here. I am interested in knowing how to link from a specific html page to a specific frame in flash cs5 as3.
I have a website that I originally began to design in flash but later started developing new pages for it in html. The flash part of it has several pages on different frames and I have created links from the flash part to the other html pages, but, I can only link the html pages back to the main flash home page, and not the other pages in the flash part of the website.
I have read that in cs3 it was possible using the flashvars skip variable, but I don't know how to do it. I have not yet seen any working examples and I could not find any instructions / tutorials online for cs5.
Can someone help here?add a query string, to the swf's embedding html, with variable/value indicating the frame you want to display in your swf. add a javascript function to return the query string (or entire url), call the javascript function from flash using the externalinterface class. and finally add code to your swf to parse the returned url or query string, parse it and then direct your timeline to the appropriate frame.
-
i have a flash website template where i have done all the editing for my website but now on profile page i create a button and i want when i click on that button that button will take me on another page which is already in that template, but i can't create that. Please assit me asap.
I have create that button on "symbol 25 copy 2" and i want that button take me on "symbol 25 copy 4"What will people who do not have Flash installed do when they
come to your
page? How about the search engines?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Andy" <[email protected]> wrote in message
news:e50thk$hjd$[email protected]..
> In DW if I hit the "Play" button in Properties and then
click the Flash
> button, the link works but will not work in IE6!!!???
>
>
> "Andy" <[email protected]> wrote in message
> news:e50rde$fde$[email protected]..
>> Thanks for your reply, Alan.
>>
>> That is what I did put in the link box but for some
reason the link will
>> not work.
>> I put
http://www.netspace.net.au in
the link box, then saved my work and
>> viewed it in IE6, but it will not connect me to the
site when I click on
>> the button. If I create a hyperlink using a word, eg
Netspace, it works
>> OK.
>> I'm using Dreamweaver 8.
>>
>> Andy
>>
>> "Alan" <[email protected]>
wrote in message
>>
news:C0995965.28F809%[email protected]..
>>> In the Flash Button dialog box, in the url or
link box, type the full
>>> url
>>> address including the
http://
>>>
>>>
http://www.example.com
>>> instead of
>>> www.example.com
>>>
>>> You have to do this for all external links,
whether using flash buttons
>>> or
>>> regular links.
>>>
>>>
>>
>>
>
> -
I'm still a newbie at this, so pleasse bear with me. I have a links page on a website for myself. I wish to create a link from a hidden button over the text to a pdf file within the project folder. I keep getting errors saying that it cant find the file and points to an address which is totally wrong. This is the code I am using
stop();
var marriages:URLRequest = new URLRequest("marriagesStPauls1837_85.pdf");
function clickHandler(event:MouseEvent):void
navigateToURL(marriages, "_blank");
btSaintPaulBurial1.addEventListener(MouseEvent.CLICK, clickHandler);
This is the message that I get.
can't find the file at /C|/Users/Admin/AppData/Local/Temp/marriagesStPauls1837_85.pdf.
Is this the right way to link a pdf file to flash?
Is there some other code I should be using?Hi,
getURL and navigateToURL both with work only in browser becoz it navigate to some other url or other files.
Saransoft -
I made a button in. This button is part of a repeated region
in a master-page and should "onClick" go to the detail-page.
I don't know if it is possible to make a detail-page link to
a flash-button in Dreamweaver? Or is there a possibility to give
the detail-link already in Flash?
This is the detail-link in Dreamweaver:Ulitasch wrote:
> I don't know what is " FlashVars and level0 scope"?
FlashVars is one way to pass variables to a Flash movie from
HTML very
similar to query strings in the URL. if you pass a var named
foto, it
can be accessed with: _level0.foto
take a look at Flash help for FlashVars and levels
> What do I have to put in: var_to_flash=<?php echo
...; ?>',
> Do I replace <?php echo ...; ?> with the link to
the detail page?
> "../portfolio/index.php?foto=<?php echo
$row_rsPORTFOLIO2['foto_order']; ?>"
just the var name and its dynamic value:
foto=<?php echo $row_rsPORTFOLIO2['foto_order']; ?>
as the path and page name seems to be static it doesn't make
sense to
include them in the var; put them in the Flash movie:
getURL("../portfolio/index.php?"+_level0.foto);
> And what do I put in the places after:
AC_FL_RunContent('...','...','
> Sorry, this is very new for me..
Dreamweaver 8.0.2 generates that code when you insert a Flash
movie and
Code Rewriting > Active content option in Preferences is
selected:
AC_FL_RunContent('codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0',...
and don't worry. everybody learn new things each day! -
Hi there,
I'm using flash MX2004 to create a navigation bar for a
project in Director 8.5. I have used the getURL command in Flash to
transfer information to Director. The buttons are names button1,
button2 etc. I have put the flash component in Director and tested
that it is recieving variable button names successfully.
I want the button bar to change the director movie depending
on what button is pressed. I am able to have the buttons jump to
marker but not change movie.
I'm also trying to implement a roll-over information feature
ie. when the user rolls the mouse over a Flash button from
Director, a text box in Director displays information, eg. When the
user rolls over the "home" button, the information box reads "This
button takes you to the first page".
I'm pretty new to Director and randomly scouring the Lingo
help doesn't seem to be helping me :)
If anyone has any tips or solutions for my problems it would
be much appreciated.
Thanks in advance,
GLIt sounds like you want to have a number of different results
from these
flash button events. It also sounds like you have a number of
buttons in
the flash sprite.
As duckets said, you can use the getURL() actionscript method
to send
information to Director, either to a behavior attached to the
flash
sprite or to a movie script.
Director can interpret a mouse event on the Flash sprite, but
it can't
tell which object inside the flash sprite has been effected.
In other
words Director knows that the cursor rolled over the sprite,
just not
which clip or button was specifically rolled over.
You will need to set up a strategy for working with these
flash buttons.
You will need to decide how much information to send to
Director and
when to send that information.
Actionscript has rollover and rollout events as well as
mouseDown and
mouseUp events. So one way to deal with this is to use the
individual
rollover and rollout events to send information about the
text display.
Then use the mouseup event for navigation control.
One way to simplify the work on the Flash end is to name each
button
instance. Then on the rollover, rollout and mouseup events,
send the
name of the button instance to Director. You can then use a
simple case
statement to parse out the button's instance name and use
that name to
tell Director what to do.
In flash, name your buttons, it could be as simple as "one",
"two", etc.
The write a series of functions for those buttons. Maybe
something like
this:
-- create an array to hold the names of all of the buttons...
var buttonArray:Array = new Array(one,two,three,four);
-- create a set of functions for these buttons...
for (i in buttonArray) {
buttonArray
.onRollOver = sendRollOver;
buttonArray.onRollOut = sendRollOut;
buttonArray
.onMouseUp = sendMouseUp;
-- for the rollover event, send a string that contains a key
word and
the button name...
function sendRollOver() {
var stringToSend:String = "roll$"+ parseButtonName(this);
getURL(stringToSend);
-- do similar for the mouseUp event...
function sendMouseUp() {
var stringToSend:String = "up$"+ parseButtonName(this);
getURL(stringToSend);
-- for the rollout event just send a simple string...
function sendRollOut() {
getURL("rollout");
-- this function will strip out the simple button instance
name from its
full path...
function parseButtonName(button) {
var buttonName:String = string(button);
var nameParts:Array = buttonName.split(".");
var shortName = nameParts[nameParts.length -1];
return shortName;
Now you have a very simple flash movie that doesn't need to
be edited
every time something changes in the Director movie.
in Director make a behavior that will sit on the Flash
sprite:
property thisSprite
on beginSprite me
thisSprite = me.spriteNum
end
on getURL me,data
if data = "rollout" then
member("text display member").text = ""
else
parseOut(data)
end if
end
on parseOut(thisString)
oldDelim = the itemDelimiter
the itemDelimiter = "$"
if thisString.item[1] = "roll" then
case (thisString.item[2]) of
"one": member("text display member").text =
"first button string"
"two": member("text display member").text =
"second button string"
-- continue as needed
end case
if thisString.item[1] = "up" then
case (thisString.item[2]) of
-- similar to above
end case
end if
the itemDelimiter = oldDelim
end
Rob
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412-243-9119
http://www.macromedia.com/software/trial/ -
Flash button script to control browser window
I would like to open a browser window from a Flash button
which will open my .swf into an html page with specific height and
width with no tool bars just like: the "click here for demo" button
in www.teachingtextbooks.com. It opens a window with no tool bars
and it fits the .swf file perfectly. I see javascript in the html
page that looks like it is part of the script however I am assuming
their is script on the button as well.
Please help.
Thanks,
GreenThank you for your help on this. I copy and pasted your code
(on the button and I rec'd 2 errors. I copied and pasted here. I
will put the code on the frame if I can get this working.
**Error** Symbol=premier_mc, layer=angelmovie, frame=151:Line
2: ')' or ',' expected
getURL("javascript:YourWindow=window.open("
http://www.google.com",'YourWindow','width=850,height=650,left=0,top=0,toolbar=No,location =No,scrollbars=No,status=No,resizable=No,fullscreen=No');
YourWindow.focus(); void(0);");
**Error** Symbol=premier_mc, layer=angelmovie, frame=151:Line
3: Unexpected '}' encountered
Total ActionScript Errors: 2 Reported Errors: 2
Frame 151 is where the button is and there is only 3 lines of
code in the Action Script panel. Any idea why I am getting the
error. I won't have to add code to the html page?
Thank you. -
Links to and from a Flash video?
(Sorry for the long post, trying to explain in detail what
I'm looking for ...)
Maybe you guys can tell me if this is possible using the
current version of Flash (I will not be doing this myself, but I
need to know if Flash is the way to go).
1) Embed several videos/audio files in an HTML page, with the
usual playback controls.
2) Place links or form elements (buttons) in the page *to*
those videos, allowing (via JavaScript/DOM) the user to
a) play, pause and jump to a specific (SMPTE) position in a
video.
b) loop a section of the video (by giving two positions and a
loop command)
c) change audio volume.
(I know this is normally done with controls in the video
player, but I need interaction with the page.)
3) Have links *from* the videos to the page/DOM - i.e., when
the video is running, JavaScript events should be sent to the page
to hide/load/update content - either automatically or user-driven
(by clicking on the embedded video at a certain time - if possible,
with hotspots so multiple options can be triggered; similar to a
DVD menu).
I'd like to do the same with audio. So I am basically looking
for a mechanism to link to and from real-time content.
Beyond the "Yup, possible!" I expect to hear ;) I have
another question regarding workflow.
The scenario for producing this stuff (e-learning)
will/should be something like this:
- Developer A builds a nice little audio/video player we can
embed in our pages. This will be used to show/play our content.
- Person B records video and audio, does a little post
production, delivers media/files (DV, MP3).
- Person C batch-converts the videos to FLV format, but
doesn't (have to) do any creative work.
- Person D with some HTML/JavaScript knowledge and a
stopwatch :) builds the page, embeds the player(s) and sets the
cues that will jump to certain positions. HTML pages, SWF, FLV and
MP3 files are uploaded to a plain-vanilla HTTP server.
Is this a realistic scenario? I.e., can we buy (or have
someone develop) a player so that no tinkering with Flash itself is
required anymore once we have established this workflow?
I would appreciate your comments. Also, if the above is
possible, I'd be grateful for links to showcase sites.
Thank you.In theory - yup!
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15683
Html pages can communicate to the flash file using
javascript. The fla page can communicate to the FLV file using
actionscript. So in theory you can send javascript commands to
flash from the html page, and then have that set off some
actionscript to control the movie.
Can I be Person C? Sounds like easy money!
Good luck. Check out the forums at www.gotoandlearn.com -
that site has a lot of creative people with a very high knowledge
of using Flash video.
Maybe you are looking for
-
'Indesign cc' and ePub and 2014 and fonts that work across platforms
After searching this forums and the web, I am posting the question. Does anyone know of a current 2013-2014 REFERENCE which PROVIDES a LIST of FONTS that are ACCEPTED by IPADS and KINDLES that WORK WITHOUT Any PROBLEMS. The article below is in contra
-
I recently updated to the latest version of FF (12). Now when i try to open a URL from an email INSIDE Outlook 2010 it opens in what ever tab FF has opened. I want to be able to open the URL in a new tab. Using the CTRL feature does not work from ins
-
HP Officejet 4315 All-in-One printer problem -
My printer jammed, I cleared it out, I replaced color ink cartridge, black ink cartridge is fine, and jobs just queue up. I can print the test page, the alignment test checks out ok. Still cannot print any jobs. Thanks for any help.
-
10.8.5 supplemental 1 update computer started up in 10.8.2
I'm on a Mac mini Server late 2012. Processor 2.3 GHz Intel Core i7 Memory 16 GB 1600 MHz DDR3 I just installed the 10.8.5 Supplemental update 1. The computer had 10.8.2 when it rebooted. ***? Now what shows in the App Update area is a OS X Update
-
"open in finder" doesn't work (mountain lion)
I had a strange problem pop up recently in Mac OS X Mountain Lion where operations to reveal a file in the Finder would not work. I noticed it first in Chrome where I would try and open a downloaded file and could not get to it. Then I tried to revea