Flash linking button to a .html in frame
is this possible?
say i have 2 frames,
frame1 = flash file (.swf)
frame2 = homepage.html
and in flash, i make a button that opens up bla.html in
frame2?
if so what is the code to link a flash button to a frame,
html page?
thanks
thanks for that now i got 1 part working. i can open up the
web page but not in the right frame... im working on trying to get
the correct frame open cause no matter what i type it always opens
up in a new window :(
but yer, the url you type in is relative to where the flash
file is on the site. i can put up with that for my site but if you
find out how to make the address 'absolute' it would be helpful for
the future :)
lets see if i can figure out how to get this opening in the
correct frame
edit: i just realized i forgot to type in '
http://'... so if you type that it gets the
absolute address :P
Similar Messages
-
Link button to local html page using AS3
I am using AS3 and having trouble linking a button to a local html page
Okay, I tried both of the codes and it is still now working.
navigateToURL(new URLRequest("file:///fishcom/Home.html"));
I get a Windows dialog box that states that the path can not be found.
navigateToURL(new URLRequest("./fishcom/Home.html"));
This goes to http://./fishcom/Home.html but not my page.
The Flash file and the HTML page are in the fishcom folder on my desktop. Very frustrating because this was so easy in AS2. -
Flash link(button) problem via xml link (Flash popup error)
hi...
I'm getting a problem when i run a swf file from HTML/Outside(i mean to say from folder) and click on the button (button calling xml file which has link in it), i get a adobe flash popup error/msg. As shown below....
my codes are as follows
XML CODE:
<?xml version="1.0" encoding="utf-8"?>
<tree>
<link>
<port>http://www.marcomanie.com</port>
<news>http://www.asdfmanie.com</news>
<gallery>http://www.wesdmanie.com</gallery>
</link>
</tree>
My flash codes are as follows
LOADING AS
function loadXML(loaded) {
if (loaded) {
_root.port = this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
_root.news = this.firstChild.childNodes[0].childNodes[2].firstChild.nodeValue;
_root.gallery = this.firstChild.childNodes[0].childNodes[3].firstChild.nodeValue;
port.text = _root.port;
news.text = _root.news;
gallery.text = _root.gallery;
} else {
trace("file not loaded!");
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("linker.xml");
BUTTON AS
on (release) {
getURL(_root.port, "_self");
Pls let me know what i have to do, to get away with that error
im very much new to these kind of errors, any fast help will be appreciated.
thank u
sunderfix your security settings to trust that swf:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l -
i am not sure if this will make sense so please tell me if it
doesn't. is it possible to have a link/button inserted into the end
of my flash video that makes up the first page of my web site. the
video plays showing the name of the site then fades to show the
text "enter" which i want to make the link to the next page.> the video plays showing the name of the
> site then fades to show the text "enter"
in FLASH set a gotourl action on the last frame of the move.
If this is a "splash page" and has a dancing company logo and
a throbbing
drumbeat- reconsider. Just make the homepage of the website
the homepage.
Don't make people wait to see some content.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Linking button from one flash file to a different flash file
Hi All,
Wondering if anyone knows how to link buttons in one flash
file to open a specific scene of an entirely different flash file?
If it isn't possible to choose a specific scene, is there a way to
just open a flash file...in the same browser window, but not within
the flash file...if that makes sense?
I'm putting this on a website, so additionally, I will need
to know which file to link it to, the swf, html, or fla.
Thanks!!I would advise against using scenes for your website. You
would need to create a separate html which would load the second
swf file within the same browser window.
This is how you call for it:
on(release){
getURL("
http://www.sitelocation.com/secondswf.html"); -
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. -
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. -
Link button in applet to open html file in same window
Hello I am an student in holland.
I am working on a project but can't find a code to make a button what links to an html file practicly just a link
I got a html where i need to implent the applet to the applet only needs 10 buttons who can link to another html file or site.
its not realy difficult i geus but i just cant find the right codes and because i only got 1 day left im asking for help on this forum.
I realy hope you guys can help me.
greets,
RobIt's hard to tell what you're asking, but you should probably take a look at java.applet.AppletContext.showDocument.
-
I am a new user of Flash and have run into a problem I can't
seem to solve after hours of trying. What I thought would be quite
simple...creating a button that when published and then opened in
IE7 would, when clicked, cause IE7 to link to another web page. My
tutorial book mentions just applying a "Go to web page" Behaviour
to it, but while that works fine in "Test Movie", nothing happens
in IE7. I have also read some previous posts here on the subject,
done what was recommended and still no luck. What the heck am I
doing wrong and where? Here's a simple run through of what one
might do.
1. Open a new Flash file and call it Button_Test, create a
new Button symbol called btn_test, create the Up, Over and Down
states, and return to the Stage.
2. Move the button to Frame 1 of the first layer on the
stage, click the button, and name the "instance" in Properties
my_btn
3. Click on frame 1 of the button layer, open Actions (F9),
then as recommended here to others, I tried the following action
scripts:
my_btn.onRelease=function(){
getURL("
http://www.adobe.com");
and later I tried:
my_btn.onPress=function()
getURL("
http://www.adobe.com","_self");
Both of these worked fine in Control>Test Movie. IE7
opened and a link was established to Adobe. So the next step was to
publish the button in .html as one would do with a completed Flash
project one wanted to use as a web page. Here's maybe where
something is going wrong?? For that I clicked on File>Publish
Settings, used all the defaults except for the HTML tab where I
selected "Active Content Update-HTTP" beside the template title,
and unchecked "Loop". Clicked "Publish", and published
"Button_Test.html". Then I clicked on Commands>Apply Active
Content Update, and added that file to the directory containing
Button_Test.html.
Finally I closed Flash, and in Windows Explorer, I went to
the Button Test directory and double clicked on Button_Test.html.
IE7 opened, and there was my button......the Up, Over and Down
states working perfectly, but no mouse clicking on it in any manner
did a thing. The button just sits there, no link is established,
and no Adobe web site opens. So what is wrong here? If I can get
one simple button to work, I can then return to a very large
project I'm working on and get several buttons there working.
What's really strange is that the main project contains buttons
that open Outlook Express from IE7 (after publication etc) and
place an address in it, and they work fine. In fact everything in
the main project including embedded movies etc. is working
beautifully in IE7 after publishing except for the darn web link
buttons. Any help or clues anyone could offer would be greatly
appreciated. If my IE7 is the problem, exactly what settings should
be changed there?...................frankOkay, here's an update....A fresh install of IE7 with default
settings, Flash buttons with links to a URL that work in Test
Movie, but won't link in IE7 after button is published with mostly
default settings (see first post) to .html. Looked at .html code
for button (see below) and tried changing all "AllowScriptAccess"
places to "always" , but still no change in IE7. I've tried every
single thing I know to solve this and still no luck. I am now at
the complete mercy of this community :) and am hoping someone,
somewhere can see what is wrong. Thanks to all...........frank
Button's html code:
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Button Test</title>
<script language="javascript">AC_FL_RunContent =
0;</script>
<script src="AC_RunActiveContent.js"
language="javascript"></script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js. In Flash,
run \"Apply Active Content Update\" in the Commands menu to copy
AC_RunActiveContent.js to the HTML output folder.");
} else {
AC_FL_RunContent(
'codebase', '
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '550',
'height', '400',
'src', 'Button Test',
'quality', 'high',
'pluginspage', '
http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'false',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'Button Test',
'bgcolor', '#ffffff',
'name', 'Button Test',
'menu', 'true',
'allowScriptAccess','sameDomain',
'movie', 'Button Test',
'salign', ''
); //end AC code
</script>
<noscript>
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="550" height="400" id="Button Test" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Button Test.swf"
/><param name="loop" value="false" /><param
name="quality" value="high" /><param name="bgcolor"
value="#ffffff" /> <embed src="Button Test.swf" loop="false"
quality="high" bgcolor="#ffffff" width="550" height="400"
name="Button Test" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>
</noscript>
</body>
</html> -
I'm new to Flash and i need some help please! I've been
through loads of tutorials but can't find exactly what i need.
I'm creating a virtual tour of my website. I've done the
intro as a simple timeline with animation text etc, but now what i
want to do is have 6 buttons, which when you click on, they open up
individual movies. I've created the buttons as our logo icon...when
you click on one i'd like it to be able to simultaneously open up a
video (which i've imported so it's FLV) and two mp3 files ( a
narration and a music clip).
So how do i 'pause' the main timeline once the intro has
completed, and how to i then link buttons to video and audio? Think
i need specific code for it?
Thank you!Hi
this has to be relatively simple but I have looked everywhere and can't
find a solution.
One would think so, but unfortunately not, as you have to use a combination of actionscript in your flv creation and javascript on the browser side to do this.
If you have a working solution in flash, it would probably be easier to insert this into your dreamweaver page and ensure that the links to your videos are relative to the position of the files in your html page.
PZ -
Hey guys,
I was wondering wether there was a way to create rollover
link graphics the same way as text links ie.
link/active/hover/visited. I want to create link buttons with
graphics and need the different 'rollover' states (but dont want to
use Flash) as I want pure HTML/CSS - is there a way round to do it
or should I stick to good old fashioned text links, which I'm
trying not to? Many thanks.Make the graphics the background image for the <a>
tags, and use the hover
pseudo-class to do the rollover to a new background image.
You can see that in the menu here -
http://66.165.96.216
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
==================
"tommysauce" <[email protected]> wrote in
message
news:ed218e$7b6$[email protected]..
> Hey guys,
> I was wondering wether there was a way to create
rollover link graphics
> the
> same way as text links ie. link/active/hover/visited. I
want to create
> link
> buttons with graphics and need the different 'rollover'
states (but dont
> want
> to use Flash) as I want pure HTML/CSS - is there a way
round to do it or
> should
> I stick to good old fashioned text links, which I'm
trying not to? Many
> thanks.
> -
Powershell IE get html in frame
Hello.
Show HTML-code in IE (right button click)
<html>
<head>
</head>
<frameset id='frameset_main' rows="0px,81px,*,0px">
<frame name="audio" src="copyright.html" scrolling="no" frameborder="no" noresize="noresize">
<frame name="main_menu" src="menu_reccall.jsp" scrolling="no" noresize="noresize" frameborder="no">
<frameset id='frameset_middle_row' cols="*,0px">
<frame name="main" src="filteroperation?view_type=couple" frameborder="no" scrolling="yes" noresize="noresize">
#document
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<div id="hovory"> ... </div>
<html>
<frame name="search" src="filters.jsp" frameborder="no" scrolling="yes" noresize="noresize">
</frameset>
<frame name="copyright" src="copyright.html" scrolling="no" noresize="noresize" frameborder="no">
</frameset>
</html>
I want get html-code in frame name="main" by powershell:
$link = "http://localhost"
$ie = New-Object -com InternetExplorer.Application
$ie.visible = $true
$ie.navigate($link)
while ($ie.Busy -eq $true)
{ Start-Sleep -Milliseconds 2000; }
$html = $ie.Document.getElementByID("frameset_middle_row").document.body.innerHTML
But this code doesn't return right HTML:
Powershell:
<FRAME noResize src="copyright.html" frameBorder=no name=audio scrolling=no><FRAME noResize src="menu_reccall.jsp" frameBorder=no name=main_menu scrolling=no><FRAMESET id=frameset_middle_row cols=*,0px><FRAME
noResize src="filteroperation?view_type=couple" fr
ameBorder=no name=main scrolling=yes><FRAME noResize src="filters.jsp" frameBorder=no name=search scrolling=yes></FRAMESET><FRAME noResize src="copyright.html" frameBorder=no name=copyright scrolling=no>
Thank you.I'll take a mistake.
correct: $html = $ie.Document.getElementByID("frameset_middle_row").document.body.innerHTML
If I use
$html = $ie.Document.getElementByName("main").document.body.innerHTML
I get: InvalidOperation: getElementByName:String
If I use
$html = $ie.Document.getElementsByName("main").document.body.innerHTML
I
get $html=nothing -
Commands from a flash movie to a DW html document
I'm using ajax to load a flash movie when a button is
pressed. the movie loads ok and all, but I need to have a button
within the flash movie to be able to close both the animation and
the layer.
http://amedeldesign.com/interiores2/
I took the idea from those animations that sometimes appear
in yahoo, where you click on a corner for example, and a flash
animation that cover part of the page appears on top of the other
content.
I don't know if what I'm doing is as practical code-wise
either.
So also, if anyones has suggestions to do it in a better way,
please let me. The least I ask is how to send a command fromt he
flash movie that affects the html document.
Thanks!!! Here's what I have so far, Please note thtat the
layer witht he aniomation closes with another html on top of the
flash movie, that's not how I want it...
http://amedeldesign.com/interiores2/Hi there Katherine,
It sounds like you want to know if there’s a way to share movies between your devices. Take a look at the article linked below which provides a lot of great information about sharing iTunes libraries on your home network with Home Sharing.
Set up Home Sharing on your computer - Apple Support
Take care,
-Jason -
Are Flash Professional Buttons broken in Flash Builder 4.7/AIR 3.4?
Moved my ActionScript Mobile Project game from Flash Builder 4.6 / AIR 3.2 yesterday to the new release of 4.7 / AIR 3.4. I immediately ran into a problem with Flash Professional Button's working incorrectly. The buttons have linkages in a SWC exported from Flash Professional CS6, which the project has linked. The content of the buttons doesn't seem to matter. It seems to break in different ways visually depending on it's composition (sometimes it loads unreleated bitmap data or displays with a strange transformation). Has anyone else seen this behaviour so far?
I don't have the time to create a unique project for adobe bug database. So many are having the same issue, I'm shocked that Adobe doesn't know about this already. This discussion that I'm writing in right now was started in december, almost 7 months ago.
Joseph Labrecque says in his blog that adobe does know of this issue and is working on it, he said that 6 months ago. Is he incorrect?
Joseph LabrecqueJanuary 4, 2013 at 6:21 pmGood news that Adobe is actively working on a fix for this issue.
http://inflagrantedelicto.memoryspiral.com/2012/12/flash-builder-4-7-useflashsdk/ -
Linking button to PDF file with published Windows Executable
Hello all,
I've been using Captivate 1 for years. I have always linked
buttons to PDF files. The only thing I really ever had to remember
was to take away the local directory address so where as only the
filename was left. When I burned to CD I would just leave
everything top-level.
Well, for some reason now Captivate won't launch my pdf file
(and yes I put the ".pdf"). It launches my web browser looking for
a web address. Here's what I do. I create a new text or image
button, next I select "open url or file". Finally I select the file
through the browse window. I immediately take off the local
directory before the filename because everything is located
top-level on the CD's I produce.
Please help, anyone. BTW I am experiencing the same thing on
Captivate 2. I'm afraid I'm doing something silly wrong since it's
been awhile. Thanks in advance .Hi Charles,
Does by any chance you have upgraded your Flash Player
recently? Flash Player 8 and above have restriction on not
accessing the local files directly?
thanks
Maybe you are looking for
-
Report no longer pulls in data
Hi All, Very weird thing happened today. I have a report that connects to an ODBC SQL connection. It was pulling in data fine from this connection and producing a report. All of a sudden, the report no longer shows data anymore when I submit the p
-
Is it possible to re-register a hand me down itouch
Is it possible to re-register a hand me down Itouch? My daughter upgraded from her 8GB ITouch and gave it to me, I would like to have it say my name and allow me to download upgrades etc but it will not allow unless I have her information.
-
I was successfully running two separate airport expresses to make some speakers wireless in different areas of my house. This was with my old linksys router, and everything was great. My router died though, so i purchased an airport extreme to use as
-
BBP_PS_PROJECT_GET_LIST: Checks for Change Authorization.
Hi, I have a custom SAP program that is required to fetch pertinent details from a project. The SAP function module BBP_PS_PROJECT_GET_LIST retrieves several internal tables is used for this purpose. For some reason this function module, which looks
-
Hi Experts, I have a requirement to design xcelsius dash board to display data analysis.when a value is selected from the combo box i need to display a pie chart and a map.when a pie chart is clicked a table with details need to be displayed.wh