Help.. Flash,html, And Action Script Help Help..
Hi I have a question.
If you see a website like xs-engineering made by 2Advanced.com they combined flash and html on one page, if I click on one button [in flash], it will call to the specified html page. It just like they are using a frames or something. Do you know where I can get a tutorial for this?
Thank you
Ultrashock Forums > Flash > ActionScript
Posted on: 2003-02-17
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Can You Put Html Into Flash Through Action Scripting?
I want to make a flash site but its so hard updating news through flash so I thought I could set an Iframe into the flash then through that Iframe it would reveal the news which I could update regularly through a news posting script. Can it be done?
If it can please help me.
Flash Movement On Html Action
Hey out there all you geniuses. Hope you can help me out. Video production is my specialty but I find myself getting flashed at work this week.
Problem: We have a very basic html site using png bg images with hotspots as links. We are firm believers in less is more and we want to incorporate just a bit of flash movement. When the user clicks on a link and goes to another page on our site we would like our flash graphic to change images. The flash graphic is in a window that is always displayed. So is it possible to have flash take direction from outside of flash like the html link?
Thanks for you time....
justin
thinking HD
Html To Flash Action Script ...
hello all u experts
I have a Q, how can I do this html tag by flash button ?What action script is needed to be for the button?
<a href='#' onClick="forms['a3'].submit()"></a>
Thanks for ur support
Pro Help Needed For Newbee, HTML/Flash Action
Hi everyone, I hope a new title adds some power to this question. I realy need some help!! Therefore I consider every reply a reply from a Pro
In my flash file I have got a scrollbar witch scrolls .txt files, starting with "textfield=" (design by ilanJ). These files are at the root of the same folder the flashfile is in. Becouse de the .txt files display in a dynamic txt box they are formattable with HTML tags.
In this txt file you can make links with <a href=> and that works fine for linking to other websites, but I want to link back to the .fla, starting a mc for example.
any suggestions...?
Is it posseble to use actionscript commands in external txt files? or make links to a specific frame in a flash file using HTML?
thanks alot
How Do I Make Flash Mx Respond To An Action In HTML Or ASP?
Hi
I have just upgraded to Flash MX because I thought it had a system where I could get a movie to respond to an action in HTML (or ASP), but I can't find any info on this.
What I am after is a way of controling the Flash movie from an HTM/ASP page in a frame next to the flash movie.
e.g. when a user clicks a link on the ASP page, it somehow notifies the Flash movie that there is new data available, so it can issue a loadVariables request, or better still, pass the required variables directly to the flash movie.
Any ideas??
Nick
How Do I Make Flash Mx Respond To An Action In HTML Or ASP?
Hi
I have just upgraded to Flash MX because I thought it had a system where I could get a movie to respond to an action in HTML (or ASP), but I can't find any info on this.
What I am after is a way of controling the Flash movie from an HTM/ASP page in a frame next to the flash movie.
e.g. when a user clicks a link on the ASP page, it somehow notifies the Flash movie that there is new data available, so it can issue a loadVariables request, or better still, pass the required variables directly to the flash movie.
Any ideas??
Nick
HTML+SMIL Action From Flash Button? Help
Please look at the example (10 seconds only): http://www.azurmm.com/flash+smil/flash+smil.html
When one click on the From HTML button, a flash form/movie comes in the page and stops. Could this action be done from a flash movie/button (like the yellow one button called FlashButt).
I have written the corresponding code with explanations here (but U can use the source code from the page): http://www.azurmm.com/flash+smil/
Is it possible to start the action-animation that results from the blue button but from a Flash movie (like the yellow button just below...)
How should I write the code in Flash so I can trigger the same action?
If U need more details on SMIL or XHTML+TIME or else please write to me daniel.victor@laposte.net
Thanks in advance for your help!
Victor
Html Link Runs Flash Action
hi, is there any way that i can click on an html link in which the link url opens a flash movie clip?
thanks
Flash Action Link In Dynamic HTML Text Box
I am currently developing a Flash Website for a client and I would like to do the following:
I load text from a mySQL DB into a dynamic textbox in Flash with the HTML option ticked.
With this HTML option the dynamic text can contain a link to a specific webpage, what I would like to do is have the link in the textbox perform an action in the flash file.
The way I figured it out was that I use an FScommand in the webpage where the flash file is embedded and try to call it within that link.
I'm not really familiar with that concept, can someone tell me if it is possible doing this using an FScommand and get me started on how to code it ?
All help is greatly appreciated !
Funky Joe
Pass An Action From Frame In Html To Another One
Hi all,
I have a problem. I have a HTML page with have two FRAMES, left and right. One movie in left FRAME and another in right frame.
I want to pass an action from the movie on the left FRAME to de right one, but I don´t Know how.
¿Could anybody help me, please?
Thank you.
Problem With Action Scripting And HTML
I am experiencing a problem that maybe someone can help me with. I setup a basic review quiz with questions and answers that are pulled from a .dat file into a flash 5 test shell. When i run this review from my local computer...the review runs fine. When I upload the review test to the web....the test shell opens up but nothing else happens. None of the data is pulled in from the text files (.dat). Does anyone know why this might be occuring. Thanks in advance.
Html Frames With Action Script
Ok...
Use my site for reference to my problems
www.xcelleration.com/~xtk
I have created my site using frames. With these frames I used the left one for a flash navigation bar. If you click on the "Main" button it opens a new window when I want it to open up in the News Body area.
Here is my code
on (release) {
getURL("index.htm", "right");
}
I’m not sure what the argument of "right" command does. All I want it to do is open up in the main body part of the frames.
After I figure a way to do that I could finish the rest of my nav bar.
I’m using the latest Flash player with MX 2004. Any Help would be greatly appreciated and would benefit my educational experience with flash.
Translation Html To Action Script
Hi All
Is there anybody out there who knows how to do this
I want to pass some value from a field called email with a submit button.
This is what is written in the html
<form name="mymail_add" method="post" action="http://www.mysite.com/MyMail//add.php">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td colspan="2"><input type="text" name="email" size=20" value="" onFocus=this.value=''>
<input type="hidden" name="id" value="babettemailing">
</td></tr> <tr>
<td><font face="" size="1"> </font></td> <td >
<select name="type">
<option value="0">Text</option>
<option value="1" selected>HTML</option>
</select>
<input type="submit" name="Submit" value="Schrijf je in">
</td></tr></table></form>
-------------------------------------------------
This is what I did
I made one frame whit the action
set(id, "babettemailing");
set(type, "html");
stop();
And on the button I gave the action
on (release) {
set(email, "");
loadVariablesNum("http://www.mysite.com/MyMail//add.php","0","POST");
gotoAndStop(4);
}
-----------------------------------------------
What’s wrong in this code? i also attached the fla.
Thanks for helping me out
Cheers Peterpan2000
HTML Frames And Action Script
My site uses frames.
In the top frame (called "upper") is the embedded flash document.
I want to use a script in another frame (called "lower") to trigger actions in my flash document.
Any tips?
My java script:
<script language="javascript">
var movieName = "navigation";
function thisMovie(movieName)
{
if (navigator.appName.indexOf ("Microsoft") !=-1)
{
return window[movieName]
}
else
{
return document[movieName]
}
}
function reSet(target, frameNumber)
{
thisMovie(movieName).TCallFrame(target, frameNumber)
}
</script>
My HTML Trigger:
<form><input type="BUTTON" value="Reset" onclick="reSet('/', 3)"></form>
Currently it only works if both the script and the flash are on the same page.
Listen An Action From HTML Page
Hi, guys!
I need to know how can I "get" a click event in a html´s button. Hum... it sounds complicated... So: a exemple:
I have a flash menu into a HTML page. Ok. But I have links at the html section also. And those links, when clicked, they must tell flash: "Hey, Flash! The client clcked me! My name is htmlButton!".
I must to do this to Flash player 7. I know how to SEND vars from flash and get a "ok" from html/javascript or php. But. When the actions START out-side flash, how can I tell flash that he has a variable wich is wating for him?
I hope you understand me.
Thanks a lot!
pp
Preview / HTML Action Script Help
Hi, wondering if anyone can give me some help, ive got a some variables that help to animate movie clips on and off the stage. the code is useful because it looks for the current movie clip and animates it off the stage before the new movie clip moves on. Anyway my problem is that when i view my work using the flash preview it works fine. however, when published and viewed by opening the html version of my work, the first movie clip does not roll into place. the code that says - _root.onLoad = function "contentHome_mc" etc.. should mean that the my home animation automatically moves into position when the file loads. As i said before it works fine in the flash preview, but does nothing when viewed by cliking on the html version of it. any ideas why this might be? Thanks!
below is my code, again the _root.onLoad should mean my movie clip starts when the file is loaded, any ideas why this is not the case when viewed via the html version?
var currentPage = "contentHome_mc";
_root.onLoad = function() {
animateOn("contentHome_mc");
};
function animateOn(page:String) {
eval(page).gotoAndPlay("on");
}
function animateOff(page:String) {
eval(page).gotoAndPlay("off");
}
homebtn_mc.onRelease = function() {
if (currentPage != "contentHome_mc") {
animateOff(currentPage);
animateOn("contentHome_mc");
currentPage = "contentHome_mc";
}
};
kitchensbtn_mc.onRelease = function() {
if (currentPage != "contentkitchens_mc") {
animateOff(currentPage);
animateOn("contentKitchens_mc");
currentPage = "contentKitchens_mc";
}
};
contactbtn_mc.onRelease = function() {
if (currentPage != "contentContact_mc") {
animateOff(currentPage);
animateOn("contentContact_mc");
currentPage = "contentContact_mc";
}
};
HTML Frames And Action Script
My site uses frames.
In the top frame (called "upper") is the embedded flash document.
I want to use a script in another frame (called "lower") to trigger actions in my flash document.
Any tips?
My java script:
<script language="javascript">
var movieName = "navigation";
function thisMovie(movieName)
{
if (navigator.appName.indexOf ("Microsoft") !=-1)
{
return window[movieName]
}
else
{
return document[movieName]
}
}
function reSet(target, frameNumber)
{
thisMovie(movieName).TCallFrame(target, frameNumber)
}
</script>
My HTML Trigger:
<form><input type="BUTTON" value="Reset" onclick="reSet('/', 3)"></form>
Currently it only works if both the script and the flash are on the same page.
GetURL Action W/ Javascript In HTML Page
I have a getURL action that pops up a window working here
http://www.whitneysmithdesign.com
This was created by following tech notes at Macromedia as well as Flashkit. Using Javascript in the HTML as well as the getURL action, the popup window will accept feature modifications. Yet,
The window pops once and no more.
Within the .swf file there exists a loop utilizing the duplicate movie clip action. I beleive this loop prohibits the repeated use of the get URL action, but I am unsure. Is there a workaround for this anyone is aware of?
That is, can a loop in the Flash timeline interrupt or make ineffective the button actions upon similar frames within that movie?
Your help would greatly appreciated.
Html Link In Textfield Using Action Script?
ACTION
#the link is made up in a textfield by the two entries in textfields called "url" and "mask" on submit of a button with the code below#
PROBLEM
why does this code on a button causes the link to appear on the next line in a html textfield called "Comments" and not behind the text already typed in that textfield?
on (release) {
_root.Comments = _root.Comments + "<FONT color='#FF6699'><A HREF = 'http://www."+ _root.url +"' TARGET='_blank'>"+ _root.mask + "</A></FONT>";
_root.url =""
_root.mask = ""
}
2 Swfs / 1 Html Page / Rollover Action / Help Please
I have a site I'm working on at the moment and I plan on it begin a HTML site with Flash menus.
I have a .swf called menu.swf and another .swf on the same page called rollovers.swf
What I'm trying to figure out how to do is have a on(rollOver) action on a button in menu.swf which will gotoAndStop on a frame label in rollovers.swf
How exactly is this done?
Thank you very much in advance for any help given...
MX Navbar Inside HTML-page Using Action Script
Hi guys,
I use action script to get 'double disjointed roll-overs' in a navigation bar, don't I (see attached file, never mind crappy design)..?
Q1. Now I need the submenu to stay (the one on the right already works, strangely enough), so users are able to choose them, and to show where they are at, once they made their choice.
Q2. I want to use this nav in an HTML-page. Will the Flash-navbar keep it's state without further ado..? Or do I need to pass variables or something complicated..?
Thanks,
Freek, Amsterdam
Paypal HTML Cart Button To Action Script
Hi all, id greatly appreciate some help here, ive been searching the web for a while and contacted paypal over this but no joy. Im not the best at programming, and feel like im climbing a vertical hill at the moment. I need to add an "Add to cart" and "View cart" button to my Flash site. Its pretty basic im sure for someone in the know but im stumped. Below is the code for the add to cart button
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/x-click-but22.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="tripolitrx@XYZcom">
<input type="hidden" name="item_name" value="Isle of Lewis">
<input type="hidden" name="item_number" value="A102">
<input type="hidden" name="amount" value="45.00">
<input type="hidden" name="return" value="http://www.classicchessandgames/thankyou/html">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>
And here is the code for the view cart button
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="tripolitrx@XYZ.com">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/view_cart.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<input type="hidden" name="display" value="1">
</form>
Ive been fiddling around with it for a while but cant seem to get anywhere with it. Also would i have to put any HTML in my publised HTML page?
I Hope someone can help, the site is mostly done bar these buttons for the checkout, any help is greatly appreciated
Trip
Html Editors Don't Recognize Loader Action Re: Nested Swf
Hi,
I'm new to Flash (MX 2004), so please bear with me. I've created an .fla and nested a .swf inside an instance of an empty movie clip in the main .fla, per tutoring. When I publish an .swf of the main movie, it plays perfectly in browsers and in Flash Player, i.e. the event handler triggers loading of the nested .swf when it's supposed to (on invisible button rollover) and everything. It works perfectly. The problem is when I insert the main movie .swf into my index.html page in Dreamweaver (or Golive) and save, the resulting browser check plays the main movie, recognizes there's an invisible button in it (curser changes to pointing finger on rollover), but the rollover won't trigger loading of the nested .swf as it does when testing from Flash or testing the Flash-published html file of the movie. I've been trying all weekend to solve this. Any help would be MUCH appreciated.
Thanks,
Stephen
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I don't know if that's even possible and if it is how I would go about it. Can anyone help?
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I have posted this question before and someone gave me this code to use:
<html>....<head>
<SCRIPT LANGUAGE=JavaScript>
<!--
function NEWbg(newcolor) {
document.bgColor=newcolor;
}
//-->
</SCRIPT>
Button action in flash :
on(release){
getURL("javascript:NEWbg('#FFFFFF')");
}
/////////////////////////////
or from flash w/o any code in html :
on(release){
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");
}
The problem with this is that it brings up a dialogue box about flash security settings when you press the button which obviously won't do. does anyone know another method? Thanks in advance.
[CS3] Why Does My Action Script Navigation Not Work On Html Pages In A Sub Folder?
Hi Guys.
I have a flash navigation menu sitting on html pages.
Now this works fine on all pages except pages within a sub folder (/Memberpages)
When the navigation menu is clicked on html pages within this subfolder it does not point back to the root folder.
here's the error.
http://www.wvhgc.org/MemberPages/gallery.html
Why does it put /MemberPages/ into the action script?
I have tried changing the script to point to the root like this http://www.wvhgc.org/gallery.html but with no success.
Can anyone tell me where I am going wrong?
Also here is the action script
onClipEvent (load) {
num = 6;
txt = "gallery.html";
}
Converting Html Code To Action Script For Paypal Button
Ok I found out the way to put my code in AS...
arw_go_mc.onRelease = function ()
{
var paypal_lv = new LoadVars();
paypal_lv.cmd = "_xclick";
paypal_lv.business = "Business";
paypal_lv.item_name = "Item";
paypal_lv.amount = "Amount";
paypal_lv.no_shipping = "1";
paypal_lv.no_note = "1";
paypal_lv.currency_code = "USD";
paypal_lv.tax = "0"
paypal_lv.bn = "PP-BuyNowBF";
paypal_lv.send("https://www.paypal.com/cgi-bin/webscr", "_blank", "POST");
}
Now I need to figure out how to make it work correctly. I am getting an error...
**Error** Symbol=page_content_scroll copy 2, layer=Layer 11, frame=1:Line 11: Statement must appear within on/onClipEvent handler
arw_go_mc.onRelease = function ()
Thanks for looking.
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I have posted this question on another site and someone gave me this code to use:
<html>....<head>
<SCRIPT LANGUAGE=JavaScript>
<!--
function NEWbg(newcolor) {
document.bgColor=newcolor;
}
//-->
</SCRIPT>
Button action in flash :
on(release){
getURL("javascript:NEWbg('#FFFFFF')");
}
/////////////////////////////
or from flash w/o any code in html :
on(release){
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");
}
The problem with this is that it brings up a dialogue box about flash security settings when you press the button which obviously won't do. does anyone know another method? Thanks in advance.
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I have posted this question on another site and someone gave me this code to use:
<html>....<head>
<SCRIPT LANGUAGE=JavaScript>
<!--
function NEWbg(newcolor) {
document.bgColor=newcolor;
}
//-->
</SCRIPT>
Button action in flash :
on(release){
getURL("javascript:NEWbg('#FFFFFF')");
}
/////////////////////////////
or from flash w/o any code in html :
on(release){
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");
}
The problem with this is that it brings up a dialogue box about flash security settings when you press the button which obviously won't do. does anyone know another method? I'm using action script 1. Thanks in advance.
Action Script Question: Where Is The OnRelease Action In The Action Folders
I’m working on a project and I trying to make it when you click down on a button that click will send you to a point in the movie and then a symbol will play from there. I know that you need to pick the key with the button on it in the time line and then I know you need to pick the button that you would like to assign the GoToAndPlay statement on.
But what’s really messing with me is where in the heck the on release or the on mouse down statement is in the little action a book when are looking in the action window.
Any help would be much appreciated.
Action Script Question: Where Is The OnRelease Action In The Action Folders
I’m working on a project and I trying to make it when you click down on a button that click will send you to a point in the movie and then a symbol will play from there. I know that you need to pick the key with the button on it in the time line and then I know you need to pick the button that you would like to assign the GoToAndPlay statement on.
But what’s really messing with me is where in the heck the on release or the on mouse down statement is in the little action a book when are looking in the action window.
Any help would be much appreciated.
Action Script Question: Where Is The OnRelease Action In The Action Folders
I’m working on a project and I trying to make it when you click down on a button that click will send you to a point in the movie and then a symbol will play from there. I know that you need to pick the key with the button on it in the time line and then I know you need to pick the button that you would like to assign the GoToAndPlay statement on.
But what’s really messing with me is where in the heck the on release or the on mouse down statement is in the little action a book when are looking in the action window.
Any help would be much appreciated.
Action Script Question: Where Is The OnRelease Action In The Action Folders
Action Script Question: where is the OnRelease action in the action folders
I’m working on a project and I trying to make it when you click down on a button that click will send you to a point in the movie and then a symbol will play from there. I know that you need to pick the key with the button on it in the time line and then I know you need to pick the button that you would like to assign the GoToAndPlay statement on.
But what’s really messing with me is where in the heck the on release or the on mouse down statement is in the little action a book when are looking in the action window.
Any help would be much appreciated.
Flash Over Html, Hide Flash Access Html After Flash Movie Ends
We've got a green screened video playing in a flash movie over top of our html content.
when the movie ends, flash uses external interface .api to call a javascript function which swaps the flash movie out with a 5 x 5 pixel flash movie (rewrites the <div>).
this works and you can interact with the html content after the flash movie in all browsers except firefox...!
anyone know of any work-arounds or is there a better way of handling flash over html in this fashion?
any input would be greatly appreciated!
New To Flash Newer To Html How Do I Test Flash-html Links?
im making a site but becuase of file size restrictions my flash has to be split up and put on html pages bit by bit, now i need my menu to link to html pages and so not frames in flash anymore. So far i realise that id need for example getURL "croject/project/news'_blank'"
however i want to test my html with the links on my PC as it is not server side yet i cant replace THIS
getURL"croject/project/news'_blank'"
WITH THIS
getURL"http://www.blahblahblah/news.htm" because it looks for a web page not there yet as it isnt actually uploaded or existing yet, so how do i test my flash-html link?
um that sounds complex, but is there a quick flash fix, which lets u put in say _something/news which allows it to work as C: drive and/or www. prefixes?
Be greatful for any help
Flash MX - HTML Parsing Problem: Custom Extension File Won't Parse As HTML
I am using Flash MX.
The problem is, I have a movieclip in my main timeline. This movieclip has a main key and a refresh key, which updates the dynamic textfield's contents with a loaded variable named content. The variable content is stored within a file named readme.ifh. When I load the variable in the textfield, it shows me the source of the HTML, not the rendered version.
What's wrong (and yes, I do have the "Render as HTML" option checked)?
URGENT: Flash Navigation Embedded In Html That Link To Frameset Content In Html
Hi all,
I want to build a website that consists of a menu navigation (made in flash but embedded in a topframe in dreamweaver. On the left site, there would be some flash animations (images etc.)embedded in the leftframe and in the right/main frame, there would be either flash content or html content (depending on the content). The menu bar is made of 7 buttons; when you mouse over a button, you get a scrolling menu with different items, those buttons items have a rollover effect and when you click on one of this items it will load either a flash or html content in the right/mainframe of my dreamweaver site. My question is what is the best way to build this navigation bar so that when i click on one of this item, it will load the correct content in the right/main.frame.html. When this occurs, i want that the scrolling menu still displays while the content is loading so that when the visitor have seen the content, he just needs to click to another item to load the content (so no ectra step). Please help me with this as it urges.
Be clear in your responses as i am not a pro of actionscrit!
Many thanks, lineda
Getting Flash To Load HTML Pages Into Iframes In A Seperate HTML Page
Hi everybody
Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm currently running an animation within a webpage, and my client would like to be able to have some captions in HTML on the page that go with specific parts of the animation.
He wants the captions done in seperate HTML pages so that they can be changed into different languages at a later date.
I am loading these captions (HTML pages) into <iframes> on the page.
So far so good..... however...
I need to be able to get flash to load the HTML pages into the <iframes>, in certain points within the animation.
So... Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm guessing getURL is used somewhere, but I don't know the exact code.
Hope you can help!
Deadhands
Getting Flash To Load HTML Pages Into Iframes In A Seperate HTML Page
Hi everybody
Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm currently running an animation within a webpage, and my client would like to be able to have some captions in HTML on the page that go with specific parts of the animation.
He wants the captions done in seperate HTML pages so that they can be changed into different languages at a later date.
I am loading these captions (HTML pages) into <iframes> on the page.
So far so good..... however...
I need to be able to get flash to load the HTML pages into the <iframes>, in certain points within the animation.
So... Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm guessing getURL is used somewhere, but I don't know the exact code.
Hope you can help!
Deadhands
Passing HTML Form And Hidden Variables From Flash To Html Page
Hi,
I have a html/flash site now, http://www.zachariack.com.
i access email from my site itself by giving the userid and pwd text box which i copied from the actual website hosting my email access. i copied the entire
<form...></form> tag to my page and thus was able to put the name and pwd in my home page only and access the email in a separate window.
now i have redesigned my webpage using only flash. i would like to know how i can implement the same using flash. as i have not much experience using action scripting i am a bit stuck about how you pass the hidden form variables. the below is the the exact form syntax:
<form name="form1" action="http://www.accudatanet.com/mail/msglist.php" method=post>
<input type="hidden" name=sid value="E9697301F704A0CE947DEF42CF86636A">
<input type=text size=15 name=f_user value="">
<input type=hidden name=six value=0>
<input type=password size=15 name="f_pass">
<input type=submit name=submit value="Login >>" class="button">
</form>
how do i implement the above using action scripting. thanks.
regards,
vasant
Dynamic HTML Textbox Won't Display Flash Generated HTML?
I'll TRY to keep this simple... Keep in mind that the Hand Coded HTML works. It's the HTML that Flash writes that doesn't....
How I create the file:
------------------------
1st, I created a movie in Flash that has a HTML formated input box. So when I type things into that field, Flash automatically generates the HTML into the variable for the input box.
Next, I take that variable and display the HTML code in a dynamic text field. Then I copy and paste it into a text file, assign it a variable (myText=....), then I save it to my harddrive.
Got me so far?
The Problem
-------------------------
I have another movie that is just supposed to load the txt file and display the code in an Dynamic HTML text field. However... Flash can't seem to read the HTML that it creates? But it can read the HTML that I simplify and hand write. Does anyone know what I can do to use the Flash generated HTML?
Here is the code in the movie
----------------------------------------------
Code:
loadVarsText = new loadVars();
// load the text file
loadVarsText.load("scroller.txt");
// function which fires when the data is loaded:
loadVarsText.onLoad = function(success) {
if (success) {
// activate html
scroller.html = true;
// myText is var to put in the textfile
scroller.htmlText = this.myText;
} else {
trace("not loaded, try again!");
}
};
Below is what i'm loading into my movie. It's the HTML that Flash Generates from the input box, and below that is the HTML that I hand coded. HOWEVER I CAN'T GET THIS TO DISPLAY THE HTML CODE
FLASH CODE
-----------------------------
myText=<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* A hospital-acquired infection caused by methicillin-resistant Staphylococcus aureus or vancomycin-resistant Enterococcus can double the time a patient stays in the hospital</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* Infections in burn wounds account for 3 to 7of all infections in patients with burns, occurring most frequently in children, followed by the elderly</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* An analysis of post-surgical wound infections following head and neck surgery demonstrated an increase in the average hospitalization period from 14 days when wounds healed without complication, to 24 days when the wounds became infected.</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* In a survey of 96 English hospitals, surgical site infections led to an additional hospital stay of 6.5 days, and the hospital costs were doubled.</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="12" COLOR="#000000">* About 59of diabetic lower extremity amputations are proceeded by an infected foot ulcer; among people with diabetes (150 million globally), 15will experience a foot ulcer in their lifetime</FONT></P></TEXTFORMAT>
MY CODE
----------------------------------------------
myText=* A hospital-acquired infection caused by methicillin-resistant Staphylococcus aureus or vancomycin-resistant Enterococcus can double the time a patient stays in the hospital<br><br>* Infections in burn wounds account for 3 to 7% of all infections in patients with burns, occurring most frequently in children, followed by the elderly<br><br>* An analysis of post-surgical wound infections following head and neck surgery demonstrated an increase in the average hospitalization period from 14 days when wounds healed without complication, to 24 days when the wounds became infected.<br><br>* In a survey of 96 English hospitals, surgical site infections led to an additional hospital stay of 6.5 days, and the hospital costs were doubled.<br><br>* About 59% of diabetic lower extremity amputations are proceeded by an infected foot ulcer; among people with diabetes (150 million globally), 15% will experience a foot ulcer in their lifetime
Thanks in advance for any help you can give
Frequent-C
http://www.Freq-Fest.com
[Edited by Frequentc on 06-10-2002 at 05:06 PM]
Passing HTML Form And Hidden Variables From Html To Flash
Hi
I need some help passing a html code to flash code. Maybe you guys can set some light on the subject.
<html>
<script>
function Dimensiones()
{
document.getElementById("tamx").value= document.getElementsByTagName('body')[0].clientHeight;
document.getElementById("tamy").value= document.getElementsByTagName('body')[0].clientWidth;
}
</script>
<body ONLOAD="Dimensiones();" ONRESIZE="Dimensiones();">
<form method="Post"
action="http://Validation link.asp">
<input type ="hidden" name="tamx">
<input type ="hidden" name="tamy">
<input type ="hidden" name="url_return" value ="http://Link.asp">
<input type ="hidden" name="url_ot" value = "http://Validation link.asp">
Nombre <input type="text" name="UserName" value="" size="20">
Password <input type="password" name="UserPass" size="20">
<INPUT type="submit" value="Enviar">
</form>
</body>
</html>
I'm having a real hard time passing the function Dimensiones() and dealing with the hidden variables. Can you guys help me with this? Thanks
Full Screen Flash Over HTML - Access Underlying HTML?
Im pretty sure this is done with JS somehow - but does anyone have any insight? I have a full screen transparent movie that overlays the html content below. The problem is, none of the html below (links, rollovers, etc) are accessible. How can I fix this?
Thanks in advance.
M
Passing HTML Form And Hidden Variables From Html To Flash
Hi
I need some help passing a html code to flash code. Maybe you guys can set some light on the subject.
<html>
<script>
function Dimensiones()
{
document.getElementById("tamx").value= document.getElementsByTagName('body')[0].clientHeight;
document.getElementById("tamy").value= document.getElementsByTagName('body')[0].clientWidth;
}
</script>
<body ONLOAD="Dimensiones();" ONRESIZE="Dimensiones();">
<form method="Post"
action="http://Validation link.asp">
<input type ="hidden" name="tamx">
<input type ="hidden" name="tamy">
<input type ="hidden" name="url_return" value ="http://Link.asp">
<input type ="hidden" name="url_ot" value = "http://Validation link.asp">
Nombre <input type="text" name="UserName" value="" size="20">
Password <input type="password" name="UserPass" size="20">
<INPUT type="submit" value="Enviar">
</form>
</body>
</html>
I'm having a real hard time passing the function Dimensiones() and dealing with the hidden variables. Can you guys help me with this? Thanks
HTML Code In Flash To Load An HTML Page In A Frame
Hello.
I have an existing website built in html, with three frames. One on the top for the banner, one on the left for navigation, and a larger window to the right of the navigation for the main content. I want to replace the content in my navgation frame with a flash built navgation menu, and when my menu items are selected, it will load a new page in the content frame.
I currently have this working fine in html. I can make my buttons link to a URL no problem in flash, but how do I tell it to load the content into the other frame? I haven't started this process yet, and figured I'd ask first to get any ideas.
Thanks.
Action Script/java Script/html?
I'm trying to have my index file scale to browser dimensions,
but all .swf files called upon the parent file (on clip events)
scale too. Is there a way to scale the index and not the other
files?, and can I do this with html and action scripting, or do
I need java script too?
Thanks for helping....I'm using flash mx 2004
M.
|