Hyperlinking from a flash movie object
Ok, I am teh uber-noob when it comes to Flash. For the last
few weeks I have been gathering up .fla files and reverse
engineering things to see how they tick. I am not normally a
web/flash guy, so this has been interesting me for some time. I
have a project I am working on where I have an animated button
which opens up to reveal a logo. I would like to be able to click
on that logo and go to a page. Then when the mouse goes off of the
button it closes back up and the logo disappears. I seem to have
the majority of this done. I can mouseover the button and it opens
up, revealing the logo, then mouseoff and it closes. Everything
works except for the link on the logo. This appears to have stumped
me (it doesn't take much at this point, believe me)
Now, before you say anything, I have tried turning things
into buttons in the movie where the button opens, and I assume that
doesn't work because the movie is being called in another movie. I
can get the button to work if I slap it into the base project and
not in one of the open/close movies. I will be glad to email the
project to you if you are interested in looking at it.
-DF
hi there - posting some of the code you are using would be
helpful for debugging - just for future reference - also what
version of ActionScript you are using as well AS2 and AS3 are very
different in several regards. but basically what you need here is
to add another mouse handler for the 'click' event - how you do so
depends on the version of code you are working in. but all that
said, the basic method in AS2 is getURL() and in AS3 is
navigateToURL() - something like the following for both:
Similar Messages
-
Reading a TXT file from a Flash Movie
Using "LoadVariables" to establish a connection between the
running Flash program and a text file in the same folder works just
as expected with no problems. I am on a Windows machine and using
the recipe from the fabulous help system.
The problem - yes there IS a problem - arises when the text
file contains special Danish characters.
The odd part here is, that everything works fine from inside
Falsh using "Test Movie", but not when publishing the movie and
launching from inside a browser (both IE and Firefox).
The help system says, that data should be URL-encoded. Trying
that (characters %e6, %f8 and %e5) does not fix anything. The input
is read, but the offending character is gobbled up along with the
two next characters, or the program simply hangs.
Any suggestions?[No i didn't do that in my first series of tries. Following
your suggestion I did that (embedding Latin I, that should contain
all the necessary characters), but it didn't do the trick. Actually
it prevented my writing to a dynamic text field intended to
interact with the user.
Using English cahracters only it worked fine (with invisible
text ;-) ).
Using Danish characters I got the same result: Not working
properly.
Using the Danish characters from inside Flash to fill in text
fields (static, dynamic and input) normally works fine, so I am
puzzled - still -
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 -
Opening maximized window from embedded flash movie
Hi!
I need your help!
I have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to open a new maximized window (not the full screen thing) onclick.
How can I achieve this?
thank you!use the javascript window.open method to open your popup and set the page dimensions.
you can use getURL or navigateToURL() to execute a javascript function or better use the externalinterface class to call a javascript function in your embedding html file. -
Removing ToolTips from over Flash movie
I've loaded my swf movie into Dreamweaver CS3 - everything
works fine - but when I view the page live the name of the movie
displays itself after the mouse has been still for a second. How do
you keep that from coming up? It's a portfolio slideshow and I
really don't want a callout over it. Thanks for any
replys/help!!!That would be a function of the Flash Actionscript, not the
HTML. Sorry....
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
==================
"rbkh2008" <[email protected]> wrote in
message
news:fng297$s6q$[email protected]..
> I've loaded my swf movie into Dreamweaver CS3 -
everything works fine -
> but
> when I view the page live the name of the movie displays
itself after the
> mouse
> has been still for a second. How do you keep that from
coming up? It's a
> portfolio slideshow and I really don't want a callout
over it. Thanks for
> any
> replys/help!!!
> -
Removing Flash logo, RightClick Menu, and Resize Menu from a Flash Movie
Hello,
I am a new user of Adobe Flash Professional CS6 and Flash Player 11.2, I need to code the followings in the Action Panel:
Removing RightClick Menu from the Stage.
Removing the Flash Player Logo.
Removing the Resize Menu e.g: Maximize, Manimize, etc.
Please I need to apply these actions. If you can provide me with the code and if I will use package, class, etc
Thanks..moccamaximum wrote:
1.
stage.addEventListener(MouseEvent.RIGHT_CLICK, doNothing);
function doNothing(e:MouseEvent):void {
//do nothing...
trace(e.type);
2. ResourceHacker can open up a windows-projector (exe) and allows you to replace the embedded icons
3. the above mentioned program gives you also access to the menus and allows you to hide them
Use ResourceHacker on the windows-projector exe generated with flash
this comand
stage.showDefaultContextMenu = false;
does not remove the submenu, it leaves less options -
How does one detect flash movie (embed object) focus?
If I use javascript to shift focus to the embedded flash
movie object, for example with the following line of code:
document.getElementById("myMovie").focus();
Is there any location within actionscript that I can add an
event listener to detect this shift in focus to the flash movie? I
have tried attaching a "focusIn" event handler to the application
container, to the the stage, and the systemManager, but none of
them appear to work.
Essentially I need to know what object within the application
is receiving focus when I make this javascript call.Here's a tutorial for adding a referenced movie along with instructions: #18 - Adding Movie/Video File to iWeb Page via Export for Web in Quicktime Player.
OT -
Problem downloading files from flash movie?
For some reason, on my Mac Book Pro (running OSX 10.5.4) I am unable to download a file from a flash movie (.swf). All other macs in the office are capable, and I can download files from other sources, just not from a flash movie. It allows me to choose where to save the file, but when the download starts, the progress bar remains at 0%.
Does anyone know what causes this?There's no such thing as Final Cut HD 5.0.4. If what you really have is Final Cut Pro 5.0.4, then you should be able to capture and edit HDV. But, you haven't told us what camcordr you have, so it's difficult to help.
The usual procdure for resolving this situation looks something like this:
1) With the camcorder powered on and connected, open System Profiler, and see if it sees the camcorder. (SP is in the /Applications/Utilities folder.)
2) If SP sees it, then with FCP not running, power down the camcorder, then start Final Cut again. When the window opens saying FCP can't find your HDV device, power on the camcorder and click continue. Try it again.
3) If Log & Capture doesn't see it, then Quit FCP, shut down the Mac, power down the camcorder. Wait 20 seconds. Power up the camcorder, boot up again, open FCP & try it.
4) If L&C still doesn't see it, then trash your FCP preferences, and try it again.
5) Report back here.
EDIT: You are using the HDV Easy Setup, aren't you? -
How i can save or export an image(jpg or other) from a Flash
movie into hard disk or rendering it in a page of browser.
thanksPlease search the forum - this question comes up once or
twice a week
currently
Remove '_spamkiller_' to mail -
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 -
Flash movie in director heard but not seen... mostly not seen!
Using flash i made a flash movie to use as an intro to my
director project, I imported the flash movie into director and
placed it on the stage. When i play the director file i can hear
the audio from the flash movie but cannot see the flash movie,
untill right near the end i have an image on a motion tween in the
flash movie which i can see.
Can anybody tell me why i cannot see the rest of the flash
movie?Hi Ajrobson,
I'm guessing you're using Flash 8 and haven't updated
Director for Flash 8
compatibility.
Go to:
http://www.adobe.com/support/director/downloads.html
make sure you've downloaded and installed the 10.1 update.
Then install the 10.1.1
update. This will update your Flash support.
regards
Dean
Director Lecturer / Consultant
http://www.fbe.unsw.edu.au/learning/director
http://www.multimediacreative.com.au -
Unloading FlashPaper Document from Flash Movie
I'm using the following script to play a FlashPaper movie clip:
// function: loadFlashPaper
// Parameters:
// path_s: path of SWF to load
// dest_mc: Movie clip to hold the imported SWF
// width_i: New size of the dest movie clip
// height_i: New size of the dest movie clip
// loaded_o: (optional) Object to be notified that loading is complete
function loadFlashPaper(path_s, dest_mc, width_i, height_i, loaded_o) {
var intervalID = 0;
var loadFunc = function(){
dest_mc._visible = false;
var fp = dest_mc.getIFlashPaper();
if (!fp) {
return;
} else if (fp.setSize(width_i, height_i) == false) {
return;
} else {
clearInterval(intervalID);
dest_mc._visible = true; // Now show the document
loaded_o.onLoaded(fp);
intervalID = setInterval(loadFunc, 100);
dest_mc.loadMovie(path_s);
// Function called once the FlashPaper SWF is embedded:
function onLoaded(fp) {
// We can now call the FlashPaper API functions.
// Remove the standard user interface features:
fp.showUIElement("PrevNext", true);
fp.showUIElement("Print", true);
fp.showUIElement("Find", true);
fp.showUIElement("Tool", true);
fp.showUIElement("Pop", true);
fp.showUIElement("Zoom", true);
fp.showUIElement("Page", true);
fp.showUIElement("Overflow", true);
fp.enableScrolling(true);
// Some additional API features (here commented out):
// Go to page:
// fp.setCurrentPage(8);
// Change the magnification to 50%:
// fp.setCurrentZoom(50);
// Now we're ready to start
// Create the destination movie clip to hold the SWF:
var theDocMC_mc = this.createEmptyMovieClip("theDocMC",100);
// Position it on the stage:
theDocMC_mc._x = -220;
theDocMC_mc._y = -150;
// Load the FlashPaper SWF into the clip,
// size it, and trigger the onLoaded() function:
loadFlashPaper("MarketingDoc.swf", theDocMC_mc, 500, 350, this);
Everything works fine on all pages including the page with the FlashPaper movie. The problem is after I visit the page with the FlashPaper movie my file starts to play through all the pages and wont stop.
I'm new to flash and this has been driving me mad. Any tips would be greatly apprciated.
files attached for example of my problem:
Thanks.jollygrizzly wrote:
> This might seem like a bit of a silly question. I have a
PDF I want to upload
> and make available to download from my flash website. I
originally did this by
> uploading the file to '4share' but my employer did not
like it saying it was a
> bit confusing and full of adverts. If I upload the PDF
with the rest of my
> site to the remote folder how do I connect a button in
the website to
> automatically start a download of the file? Should I
have the file in an html
> document, or is it a simple case of getURL on the
desired button? If so, what
> do I need to do to the PDF before the link will work
correctly.
>
getURL action and instead of URL, path to your file on sever.
Depends on user end, if the browser has DPF plugin, the file
will
automatically open so if you want to force download, zip that
file.
ZIP always prompt download dialog.
Best Regards
Urami
"Never play Leap-Frog with a Unicorn."
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
Please check http://www.syus.com for an example. There is a Flash movie underneath the main navigation. The main navigation has a jQuery mouse event, and when you mouse over a button in the main navigation, the Flash movie re-starts. I can confirm that this happens not only on Flash swf files, but on standard <object> YouTube embeds.
Ok, I promise this is my last post without your help. I did some more troubleshooting and it only seems to happen when jQuery appends elements to the body that were previously invisible. In other words, I can simply change the css in jQuery from using element.css('display','inline'), but if I try to use something like slideDown or other jQuery tooltip functions that append and/or remove elements or style definitions it causes the "object restart" bug.
It is impossible for any developer to eliminate this bug without changing the actual source of jQuery, which I can't do. My only other option is not to use sophisticated show/hide jQuery elements like drop-down menus and tooltips on the same page as an embedded object, but I don't want to do this since Safari, Chrome and even IE (dear God) users won't have a problem with this. I think this is a major major bug that should be fixed in Firefox 4 as more and more sites will be looking to use the latest jQuery plugins. -
Crop flash movie from top ???
I'm trying to crop my flash movie from the top. I'd like to
crop it by 20 pixels or so. I heard there was a way to do this
using the "SALIGN" parameter and alignment tags but I don't know to
code it. Can someone revise my code (below) to include the proper
parameters and tags? Thanks.
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
<head>
<title>Photos</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
</head>
<body bgcolor="#000000" text="#000000" topmargin="0">
<div align="center"><script
type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','766','height','720','src','header','quality','high','pluginspage','http://www.macromed ia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie','header'
); //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=5,0,0,0"
width="766" height="720">
<param name=movie value="header.swf">
<param name=quality value=high>
<embed src="header.swf" quality=high pluginspage="
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="766" height="720">
</embed>
</object></noscript></div>
</body>
</html>Tzvetan,
Goto Properties of the Gauge
Behavior>common>Needle Movement
Increment and value as "0"
-Anil -
Passing multiple session values from cold fusion into a flash movie
Hello all,
I know that to pass multiple variables into a flash movie
you could use the embed tag like this(with the & between each
variable):
<embed
flashvars="variable1=value1&variable2=value2"
></embed>
Now to pass a single session variable from coldfusion in i
did the following; which worked:
<embed
src="ASdb.swf"
FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>"
width="550" height="400" autostart="true">
</embed>
Note that i had to use the cfoutput tags to get the value
stored in the variables. Now; i tried to do the same thing for two
session variables and the second one does not get read in. Here was
my code:
<embed src="ASdb.swf"
FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>&testTypeID=<cfoutput>#session .testTypeID#</cfoutput>"
width="550" height="400" autostart="true">
</embed>
Can someone please tell me what I am doing wrong? Thank you
very much in advance.Hold on there was a little error: My final code that did not
work was the following:
<embed src="ASdb.swf"
FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>&testTypeID
=<cfoutput>#session.testTypeID#</cfoutput>"
width="550" height="400" autostart="true">
</embed>
Maybe you are looking for
-
i installed jdk1.3 standard edition. then i installed jdk1.2.1 enterprise edition. however, when i compile, i get the error message "package javax.servlet does not exist". what am i doing wrong? thanks.
-
Need to automate blocking a set of users from carrying out any activity...
We want to block a set of users from carrying out any activity in SAP everymorning between 05:00 to 10:00. The users should be blocked at 05:00am and unblocked at 10:00am. The blocking and unblocking should happen automatically. Request any solutions
-
Hi experts, I would like creating G/L account (field SAKNR) as string, for example 0123. After saving I get 123.Zero disappear. Where is problem? Rgds Stenwa
-
Dealer Portal - Vehicle Sales - Maintain more selection Criteria
Hi, In Dealer Portal, Vehicle Sales --> Work Overview, I am getting the below error. Error message: Maintain more selection Criteria. What configuration is missing? I am Portal consultant, Please provide step by step procedure to fix this. Kindly sup
-
I have no installation CD, is there a way around th
I have recently had to reformat my PC as my windows XP OS had corrupted...badly. Since doing so however i have had to reinstall all of my software, and alas io have lost the CD that came with my 20gb Zen. Any ideas?