Send variable to Flash from HTML link
Does anyone know if it's possible to include a variable in an
html link <a> tag that can set a variable in Flash. I have
used JavaScript to do this in the past but would prefer not to on
this site. I also would prefer not have to use a server side script
or xml, as all I want to do is set multiple links on one html page
to open the same Flash movie on another html page, but make it go
to a particular frame or load a particular external swf based on
the link that was clicked. Thanks, JD
You need to use them in the object and embed tags.
Dan Mode
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
*Must Read*
http://www.smithmediafusion.com/blog
"JDRives" <[email protected]> wrote in
message
news:efcb61$rkb$[email protected]..
> Do I need to use Flash Vars in the object and embed code
to load them in
> or will they automatically be passed to the variable on
the _root level of
> the SWF file? Thanks for your quick reply, JD
Similar Messages
-
Target Flash Movieclip from HTML Link - Feasible?
Is it possible to target a specific movieclip within an swf
that's embedded on an external html page using an HTML link? Or is
this a stretch? It seems like this would be feasible but I've hit a
wall on this one.No. Google search for FLV grabbers.
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"martinpillot" <[email protected]> wrote in
message
news:g8ul80$c9j$[email protected]..
> Is it possible to target a specific movieclip within an
swf that's
embedded on
> an external html page using an HTML link? Or is this a
stretch? It seems
like
> this would be feasible but I've hit a wall on this one.
> -
How can i send data POST with a html link in a textfield
Hello,
This is my problem : I generate (from a php script) html
links in a textfield. I would like for each link to send data with
the POST method to an other script.
My problem is that the getURL("lien", "", "POST") function
can be use only by a movieclip or button event ... and not from a
html link ...
How can i do it ?
Have you a small idea???
Thanks ....yes, thanks but now my problem is in my function associated
to this link :
function SendPost()
var toto="toto";
getURL("
http://127.0.0.1/board/scheduledfirst.php",
"_blank", "GET");
The function is executed but after in php i can get anything
with echo ($_GET["toto"]); echo ($_POST["toto"]);
Why ? -
Flash hijacking HTML links while images are loading
I've designed a slide show player using Flash and Actionscript 3.0 which loads several external images. While the images are loading, the HTML links on my page (outside of the Flash movie) don't work. As soon as all the images are loaded, the links start working again. It seems like the Flash player is hijacking the browser while the images are loading which can take the better part of a minute depending on my connection speed. I can click an HTML link once during the loading time and as soon as the images have loaded, the browser loads the new page (the one the HTML links to). Once all the images are in my Temporary Internet Files folder, this problem ceases to exist (since the images no longer need to be downloaded). It's only first-time viewers that will have this problem, but it's a pretty major problem.
To see what I'm talking about, go to:
http://www.ericlindberg.com/indexTemp.html
Click the Images button after the "Loading..." animation disappears but before all the images are loaded. As the images load the thumbnails at the bottom of the Flash player go from 50% to 100% opaque. If you click the "Images" button before all the thumbnails are 100% opaque, nothing happens. However, once they are all loaded and the thumbnails are all 100% opaque, the "Images" page loads. You can do the same thing with any of the subpages in the Images section of the site and get the same results.
Any advice would be greatly appreciated.
JoeI have something similar on my site.
http://alt-web.com/gallery.shtml
You might try using CSS rollovers instead of MM (javascript) rollovers. Straight HTML links load fast and work immediately.
http://alt-web.com/DEMOS/CSS-Sprites-II.shtml
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb -
Control Flash from HTML (k)
I have a button in HTML that I want to use to control the
flash on the
page it sits on.
When the button is rolled over, I want to pass a variable to
the Flash
movie so that something happens.
How can I do this in Dreamweaver?
-KirkIt's a stupid way of doing it, but I got it to work using the
FSCommand.
I send the user to a frame in the Flash movie. That frame has
the
variable set to the "On" state. I then have them go to
another frame for
the "Off" state.
-Kirk
W. Kirk Lutz wrote:
> I know that it would be easier. But I have a very tall
flash file of a
> floorplan. I have a legend for the floorplan that I want
to float in a
> layer so that when someone scrolls down the page, the
legend follows. I
> Can make a scroller in flash, but would prefer to try
and control Flash
> via HTML.
>
> I know you can pass a variable in HTML to flash, but if
it has to reload
> the page each time the user will be throwing their
machine out the window.
>
> Any way to control Flash?
>
> I've tried to send the user to a frame in Flash via the
FSCommand, but
> it doesn't seem to work. I have two scenes in my flash
file. A loading
> scene and the main scene. The FSCommand jumps me to the
frame in the
> loading Scene.
>
> -Kirk
>
>
> -->dan mode wrote:
>> It would be much easier to do the rollover button in
Flash.
>> Otherwise, you need a server side language that
would populate a
>> variable in the embedded swf code.
>>
>> -
Hello, I'm trying to affect my flash movie from HTML. For
example, if I have a google adsense module, and I want to trigger
something in flash each time that link is hit, how would I go about
doing that?
Any help would be much appreciated!You would have to use a frame.
-
I want to be able to click and HTML Link such as:
<a href="gotoFrame" target="flashID">TEXT</a>
And have the Flash read that you clicked the link and then go to the specified place depnending on the HREF.
Basically, I just need to know how to get Flash to read that you clicked the HTML Link.Your HTML link can call a JavaScript function that calls a function in Flash. Read up ExternalInterface class.
-
Send variable into flash macromedia
Hi,
I would send a variable into flash macromedia.
I explain my problem. I created an flash wherein i send a word into a variable called lol and i read this varibale in a other variable called dis.
But in labview i dont know how i can send this word into lol and read into dis.
I did many research and i made a .vi who could be functional.
can you help me to see where is my error in this .VI.
Thanks.
Solved!
Go to Solution.
Attachments:
flash and prog.zip 40 KBHi danylolo,
You could use a web service between Flash and LabVIEW to pass your data? You'll certainly have to develop an adapter for Flash.
Romain P.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense -
Pass image name and path to flash from html
Hello Flash Forum,
I would like to use Flash to display a larger image in an
HTML page that opens on top of a window with
thumbnail images. The thumbnail page will be a php page. If
the user clicks the thumbnail, I would like to open a swf that
diplays the larger image. I would like to pass the path and name of
the image to display to my swf. It would open a browser page (or
just a swf file) over the thumbnail page. The use could then close
the larger image display, and click another thumbnail, etc.
How could I do this? I have a swf file that will display the
image, but I would like to pass the image name from outside the swf
file.
Thanks for any tips,
eholz1Hello jpsoul,
Thanks for the suggestion. I did see some info on the query
string aspect. I will take a look at the JavaScript
external.ExternalInterface class as well.
Thanks again,
eholz1 -
Hi there,
I've gotten a question actually and I haven't found any
answer yet.
How can I put a Flash element (swf) like a "loop" for example
and make it separate from the rest of HTML pages, so this "loop"
can be played continuously while the visitor and browsing the pages
and the Loop don't stop or change and doesn't effect by moving from
one page to another?!
I've tried many scripts and tried to make a layer above the
tables but nothing changed, the loop started every time by clicking
a new page!
Please help me.
thanks for your time.
Mo!You would have to use a frame.
-
Passing parameters to Flash from HTML or JavaScript
Hi. How do I pass paramaters to a Flash movie without using
the "../name.swf?param=value" syntax. I have a Flash menu that
jumps to a certain keyframe depending on the value specified inline
with the .swf address, which corresponds to the page being viewed.
The only problem is that, when another page is loaded, the menu
flickers and reloads because it's not cached: the browser thinks
it's another file when in fact it's just a different address
telling it where to go in the movie to update the menu for the
current page.
Any ideas how to do this with either HTML or JavaScript? Help
and suggestions are truly appreciated!The other method for doing this is using the Flashvars param.
You can read about it in the LiveDocs here:
http://livedocs.macromedia.com/flash/8/main/00001206.html
Don't know if it will solve your problem, but it is the other
of the two main ways of passing in variables.
Good luck! -
Failing to send and retrieve data from HTML page to BPEL
once i have the html form ready, which 'onSubmit' calls the BPEL process, i am unable to send the data to the process and thereafter i m unable to retrieve the data send by the html form... Want to know how can i use the HTML form to send data and then retrieve data back from the BPEL process
Rohit JainThere is an example showing this, it can be found under /samples/tutorials/102.InvokingProcesses/jsp/invokeCreditRatingService.html
hth clemens -
Use SESSION variable in URL from HTML region
Hello,
I have what looks like a simple question but i've been struggling with it for three days now, and i need your help!
I have a page, with an HTML region. I want to display some links to other pages within the application, so i thought i'd use this:
a href="http://server.xxxx.com:7777/pls/htmldb/f?p=114:13:&SESSION"
But the session ID is not interpreted, and the link doesn;t work. Any idea what's wrong here? or how i should create links with the session id in it?
Thanks!!!! Matt
Message was edited by:
matt_amsterdamMatt,
You've missed off the period (.) off the end, use &SESSION. instead -
Pass Variables into Flash from URL
I have a real simple request for some reason cannot pull it
off. I have a url that looks like this:
http://mywebserver/directory1/directory2/webpage.html?name=Mark
I am trying to pull the variable "mark" into a swf. The URL
will change depedning on the user and I plan on adding additional
variables as well (lastname, state, age, etc).
Easy answer to this? If so, please excuse my ignorance. I use
actionscript 2 but would consider myelf a novice as I am more into
design.Using FlashVars would work, as would SWFObject - which is
what I'd use. Glad
yout got it though.
Dave -
www.offroadfire.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Pass variable to swf from html to load image
var current_loader:Number = 1;
var current_img:Number = 0;
this.createEmptyMovieClip('img_01', 999);
this.createEmptyMovieClip('img_02', 998);
img_01._x = img_01._y = img_02._x = img_02._y = 20;
var loader:MovieClipLoader = new MovieClipLoader();
var listener:Object = new Object();
listener.onLoadStart = function(target_mc:MovieClip) {
listener.onLoadProgress = function(target_mc:MovieClip, numBytesLoaded:Number, numBytesTotal:Number) {
listener.onLoadComplete = function(target_mc:MovieClip) {
if(target_mc._name == 'img_01'){
img_02._visible = false;
} else {
img_01._visible = false;
var interval:Number = setInterval(load_image, 1000);
function load_image() {
loader.addListener(listener);
loader.loadClip("http\\:google.com\flower.php", _root['img_0'+current_loader]);
// set the next loader
current_loader = current_loader == 1 ? 2 : 1;
// set next image
current_img = current_img == images.length - 1 ? 0 : current_img + 1;
// load the first image
load_image();to comunicate between actionscript and a html page, you can use flashvars or the externalinterface class.
Maybe you are looking for
-
Hi all, After migration from ep6(WAS 620) to EP7, there are some roles which can't edit permission by content administration. The error message appears when open edit role permission. ========================= Error Start Line========================
-
How do I transfer content from my ipod to my computer
I got a new computer and downloaded a new verion of Itunes. My ipod touch has all of the files that were part of my itunes on my old computer. I just want to transfer everything that is currently on my ipod to my itunes on my new computer. Looking
-
Object List Tab in Notification
Hi, I am looking for option to add multiple equipments in one notification , I checked in SPRO setting in Notification creation >>Screen structure for extend view and added one new tab as OBJECT LIST and in SCREEN AREA , it allows me to enter 05 refe
-
REG : Communication between R3 systems and PDK applciations
Hi All, I have created one APC in Ep7.0 where i am accessing RFC .I am able to fetch the details from the RFC.But we need to pass the parameters from front end to get the details from the RFC. Can anybody help me in this reagard that how to pass valu
-
I cannot start Premiere, when it loads this message appears: loading Il wave candy.dll. I first reinstalled only this program, and later the whole package (Creative Suite 3 Production Premium) and nothing has changed. I also actualized the Realtek so