Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Html Code Inside Flash Ques



I have a client who wants me too put some html inside the flash actionscript. He's not sure it will work and I'm not sure if it's possible or how to do it. Here's the code any suggestions thanks<form action="/gift/save/1234" enctype="multipart/form-data" method="post"> <input name="file" type="file" /> </form>



Adobe > ActionScript 1 and 2
Posted on: 11/27/2007 07:08:12 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Flash Buttons To Activate Javascript Code Inside HTML Document (Dreamweaver)
I've been tearing my hair out for over a week, trying to find information on this, and would be extremely grateful if anyone could help with this...

I have a web site done in Dreamweaver, with a collection of all my Flash movies. It has only two simple pages: "Movies" and "Notes". The first one launches movies in separe (new) windows, whereas the second one displays notes (information) about the movies, in the main window (not in a new window).

The way it works on the "Movies" page, is that I use a block of Flash buttons, that when clicked, will use the following Actionscript to launch a new window, that contains the movie:

on (release) {
getURL ("javascript:window.open('http://voxton.hypermart.net/flash/cucumber.html','Cucumber','width=570,height=420,to p=100,left=100'); void(0);");
}

So far so good. But on the "Notes" page, I have gotten stuck. I want to display a scrollable window, with text in it. I have created a layer (DIV table) for each window, and set all layers to be invisible (Except for a default one, that says, "Click on a movie to read notes about it"), and I want the user to be able to click on flash buttons just like in the "Movies" section, and have Flash send a signal to the HTML page, telling the Javascript code/CCS-P/whatever code to set the layer for the notes window on the corresponding movie button, to true...

This is a bit complex, so forgive me if I am unclear -- I'd be glad to explain further. I'm getting a bit desperate here, because I've been stuck for over a week on this one. It seems as if the FSCommand option may be a way of doing it, but I can't find a way to apply it practically -- most of the examples I found seem to not be related to anything quite what I am trying to do.

To get a better idea, maybe you can look at the actual site I have, which is here:

http://voxton.hypermart.net/

The Movies page is working as intended. But the Notes page, I had to try and make it work with HTML/Javascript (Dreamweaver Methods) instead of using the Flash block of buttons that I use on the Movies page...

Would be deeply appreciative of any guidance.

Action Script Ref Code Ques
Hello i keep getting this this action script error when i attempt to render this swf could some one explain what this error message means ......i am not sure what the variables are looking for ....... the version is Flash 8 - the action script is below and the error message is below that.......

#include "lmc_tween.as"
//classes are loaded on this frame
var state:com.collection.State = new com.collection.State(this);
// start program
var main:com.collection.Main = new com.collection.Main(this)
//
bg_img.tween("_alpha",100,1,"linear",.5)
stop()

Error message (below)

**Error** Scene=Scene 1, layer=actions, frame=5:Line 1: Error opening include file lmc_tween.as: File not found.
#include "lmc_tween.as"

**Error** Scene=Scene 1, layer=actions, frame=5:Line 3: The class or interface 'com.collection.State' could not be loaded.
var state:com.collection.State = new com.collection.State(this);

**Error** Scene=Scene 1, layer=actions, frame=5:Line 5: The class or interface 'com.collection.Main' could not be loaded.
var main:com.collection.Main = new com.collection.Main(this)

Total ActionScript Errors: 3 Reported Errors: 3

Action Script Ref Code Ques 2.0
Hello please see this link it is a follow up to the thread i created before....i am stil trying to figure this error out when i generate the flash swf it works but not properly... below is a link to what the swf looks like there are buttons that should show and i get this message (shown below) in the flash error box that says (output) when i hit ctrl+enter to generate the swf.... any suggestions...?

b1,b2,lgText,redText,arrow,a:link,a:hover
yo

http://www.amjaydesign.com/mainCol.html


http://board.flashkit.com/board/showthread.php?t=744878

Html Code Inside A Blank Swf
Hello all.  I know my way around flash a little but am very far from an expert.  What I want to do is pretty simple, well that is if it can be done.  I have thought of several programs to do this and I think my best bet in flash.  I want to create a 468 x 60 flash banner.  For the most part there will be no images on the file.  I do however want to inbed some html in the flash file.  So in the end here is what i would have.  

468 x 60 banner
html and maybe a little java imbeded inside the flash.

Finished product would look like a banner add and would get all the information for the text and pictures to display from the html code.  I hope this makes sense and if further details are needed just let me know.

Flash Ques
please can you explane me how can I make this file like on this site:
http://www.t-s-k-b.com .You go on this site and press SAKUBA WORKS and then button Painting/Drawing

I would like to make a picture gallery like in Painting/Drawing: So how I can make when the mause on the button to show small image of the picture and when I press the image to open the picture how is on the site(not in a new window)?
Please tell give me advice how could I make it!
thank you

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.

PHP To Flash Problem, Can Someone Help Me (code Inside)
This is my php code, that should set my variable "person" to say "Poop" correct?

And below is my Flash code for a movie clip.

Now if I set a dynamic text box to the variable "person" it should display "poop" when the program runs correct? It doesn't, so I must be missing something.

I've been working at this for a while, and I've seen about three different ways of doing it, and I've been unable to get any of them to work as of yet.










Attach Code

PHP CODE:

<?php
session_start ();
$_SESSION['memberid'] = "Poop";
$memid = $_SESSION['memberid'];
echo "&person=$memid";
?>

FLASH CODE: (Actionscript on a movie clip)

onClipEvent (load) {
loadVariablesNum("path/title.php", person, "POST");
}

path is to where it's posted.

























Edited: 01/10/2007 at 01:19:57 AM by beadgirl2

Html Inside Flash
I've seen this somewhere....I looked in the news or something and when I right clicked the text then it showed the normal menu like when you right click a html page.....how can this be done?

HTML Inside Flash?
just stuck with one question.

is flash able to load html file inside? as i need a html file with "anchor" to put inside my flash?

Plz help. Thanks in advanced.

.chil.

Html Inside Flash
Hello-
I was creating a flash site that needs to display entire html pages inside the flash object. Since it appeared to me that this cannot be done inside of flash (please correct me if I am wrong), I broke the flash object into parts and used frames to place it around the one frame representing the html. While this is far from optimal, it works with the exception that I cannot uses any effects, such as expanding menus, over the html page space since it is in a different frame and any effects extending from the flash objects are lost between frames. Is there a way around either of these problems? Am I apporaching it in an entirely inappropriate manner? I would greatly appreciate any and all help you might be able to give me. Thanks in advance!

HTML Inside Flash
Hello,

Is it possible to display an html page within your flash movie?

e.g. to make a frame (like "_self")

And then to set your menu button to display it's results in the _self frame.

Thanks in advance,

Matthijs

Html Inside Flash
is there a way to view a html page inside flash.
but not as a seperate window, but as a window inside my flash site?

jason...

Flash Inside HTML Help
Hello,

I embedded a scrolling Flash navbar inside an HTML site and eveytime i click a button and the html page loads the flash navbar scrolls one slot.

Does anyone know what could be causing this to happen?

we used go live and dreamweaver to put the navbar in the site and it still happens?

also it only happens in IE.

thanks
Zard

Flash Inside Html
how do i do this?

Flash Inside HTML
Hello.

I had created a website completely in flash and now have recreated most of it in HTML but wanted to continue using some of my flash file within my HTML website.

I can embed the flash file but the buttons within it (calling other swfs and linking to different URLs) don't work.

Some browsers are giving me a security notice and others simply aren't doing anything...

I am so confused! I've tried all the ways I know of to embed the flash file and still haven't managed to solve the issue...

My old flash website with the working links is at:
www.laidbacklondon.com (go to the accessories dropdown menu, click on belts, pick a size, and add to basket)

and the new one in HTML with the embeded flash file is at:
http://laidbacklondon.com/acc/belts.htm (lets you pick a size but nothing happens when you add to basket)

PLEASE HELP! All my other pages are done and I need to upload this ASAP.
I'm so fustrated!

Thanks in advance!

Flash Inside HTML
Hello.

I had created a website completely in flash and now have recreated most of it in HTML but wanted to continue using some of my flash file within my HTML website.

I can embed the flash file but the buttons within it (calling other swfs and linking to different URLs) don't work.

Some browsers are giving me a security notice and others simply aren't doing anything...

I am so confused! I've tried all the ways I know of to embed the flash file and still haven't managed to solve the issue...

My old flash website with the working links is at:
www.laidbacklondon.com (go to the accessories dropdown menu, click on belts, pick a size, and add to basket)

and the new one in HTML with the embeded flash file is at:
http://laidbacklondon.com/acc/belts.htm (lets you pick a size but nothing happens when you add to basket)

PLEASE HELP! All my other pages are done and I need to upload this ASAP.
I'm so fustrated!

Thanks in advance!

Html Inside Flash?
Hi, Im trying to think things over here. I was wondering if there was any easy way to load html inside of flash.

Look at this example:http://www.peggy-huyn-kinh.fr/site/PHK1.htm
When you click on an object it loads an image in a window inside the pano.

Would it be possible to click on an object and Load a html document, say with some text and images in the pano?

Flash Inside Html
can anyone help me i´m new to flash and i need to put a flash menu inside a html page, i´ve put this inside flash

var url=_root.url;

if (url=="clientes")
{
_root.gotoAndPlay(30);
}

else if (url=="servicios")
{
_root.gotoAndPlay(20);
}

else if (url=="home")
{
_root.gotoAndPlay(10);
}

else if (url=="acercade")
{
_root.gotoAndPlay(40);
}

else if (url=="contacto")
{
_root.gotoAndPlay(50);
}

and inside the html that:

<td><div id="flashcontent"></div></td>
<script type="text/javascript">


var so = new SWFObject("flash/menu2.swf", "menu", "100", "475", "9", "#FF6600");
so.addParam("flashvars", value="url=clientes");
so.write("flashcontent");


</script>
..........

it works fine in internet explorer, safari and opera but it doesn´t in firefox!

please if some one can help me out....

Thanks

Alex

Html Inside Flash
well i'm still making a site for a band but now have made everthing but one small thing....

i want to make a thumbnailgallary and other stuff to the site and so i thought that i would be the smartest to make it in .html
and i have made an objekt that shows my html objekts... but when i drop the movieclip that works well, onto hompage (flash) and test the whole flash movie it dosen't show anything but if i only test the movie clip that shows the html files i works all right ... does anybody know what i'm doing wrong??

HTML Inside Flash
Any direction would really help as I've lost count of the googles. I'm looking to build a flash application which would have a tree navigation to display HTML content similarly to Flash Help or the LiveDocs. Does anyone know how to display the web pages inside of the player with out a browser or a TextArea component? My content will be dynamic.

Thank you kindly,
Ron

HTML Inside Flash ?
Hi Everyone...
Question - Is there a way for a .swf movie to load an HTML page into itself?
Kind of like dynamic php or txt "parssing", etc... but with HTML ???
Anyone know what I mean?

(see, i dont have the luxury of PHP ... and the people updating the html site
know nothing about xml or anything above simple HTML editing with dreamweaver - not that i know the first thing about the above either... hahahaha)

Thanks!!!

Html Inside Flash
well i'm still making a site for a band but now have made everthing but one small thing....

i want to make a thumbnailgallary and other stuff to the site and so i thought that i would be the smartest to make it in .html
and i have made an objekt that shows my html objekts... but when i drop the movieclip that works well, onto hompage (flash) and test the whole flash movie it dosen't show anything but if i only test the movie clip that shows the html files i works all right ... does anybody know what i'm doing wrong??

HTML Inside Flash
Any direction would really help as I've lost count of the googles. I'm looking to build a flash application which would have a tree navigation to display HTML content similarly to Flash Help or the LiveDocs. Does anyone know how to display the web pages inside of the player with out a browser or a TextArea component? My content will be dynamic.

Thank you kindly,
Ron

HTML Inside Flash ?
Hi Everyone...
Question - Is there a way for a .swf movie to load an HTML page into itself?
Kind of like dynamic php or txt "parssing", etc... but with HTML ???
Anyone know what I mean?

(see, i dont have the luxury of PHP ... and the people updating the html site
know nothing about xml or anything above simple HTML editing with dreamweaver - not that i know the first thing about the above either... hahahaha)

Thanks!!!

HTML Inside Flash?
hi there, I have asked a similar questin in the SEO forum but still no breaktrough.

I want some of my text in the flash movie will appear inside the html, like a real text, and not like a comment <!--this is text inside the flash movie-->

So for this kind of action I need to insert some real html inside the flash movie, is that possible???

BTW a getURL commend also appeas at the end html like a comment.

HTML Inside Of Flash?
I'm starting to see more and more sites with HTML, ASP, and PHP used in comination with Flash. Mostly, Flash is used as a menu but it's seamlessly integrated with the PHP/HTML/ASP. Actually, Ultrashock does it. The very top is Flash and the lower section is not. How does it look so clean??

Here'a another example:
http://flashlevel.net/

How To Use HTML Inside XML With Flash?
How can I use HTML in a XML file?
If I use html tags inside a XML tag it will interpret it as an xml tag and not html.

How can I do this?

Thanks in advance.
Luis Guerreiro

Someone Please Tell Me How To Display Html Inside Flash
if you know how i need help, because i want to use newspro in my flash site, thanks

How To Call Flash Inside Html
I have a flash inside html file in some folder. I want to call another flash that is located in other folder from my flash.

how to do it?

thanks
Rami

HTML Inside A Flash Movie
I am trying to incorporate a snippet of HTML that displays local weather. The code is below. Is there a way to incorporate this into a flash movie? I ready a post where someone was displaying html underneath his movie...relating to submenus on a menu bar. Is this possible?

<!-- Begin weather.com magnet include -->
<form method= "post" action="http://www.weather.com/cgi-bin/uncgi/zip_city_search.cgi?par=internal&site=magnet&code= 666093&promo=english">
<table>
<tr><td>
<font face="arial,helvetica" color="#004371" size="2">
&nbsp;&nbsp;
Enter a City or US Zip: </font>
</td><td>
<input type="text" name="destination" size="8" value="" />
&nbsp;
<input type="image" src="http://image.weather.com/pics/button_go.gif" width="26" height="23" border="0" alt="go!" value="Go City" />
</td></tr><tr>
<td colspan="2"> <a href="http://oap.weather.com/fcgi-bin/oap/redirect_magnet?loc_id=USVA0345&par=internal&site= magnet&code=666093&promo=english">
<img border="1" width="270" height="140" src="http://oap.weather.com/fcgi-bin/oap/generate_magnet?loc_id=USVA0345&code=666093" /></a>
</td>
</tr>
</table></form>
<!-- End weather.com magnet include -->

Flash Inside An HTML Page.
Hi, I need someone to make a template for me. My Swish skills are alot better than my HTML skills, I only know the basics. I need a template for the redesign of my website http://www.halflife2source.com To cut down on the page size and to make pages load faster I want to use both Flash and html. This will also help me with search engines a great deal. I want to insert a flash menu along the right side of my page leaving the middle open for html. For an example of what I need see here http://www.halflife2source.com/template.jpg
Thanks in advance for any help I may receive.

HTML Site Inside Flash?
Found this great site:

http://www.thevoid.co.uk/

If you get through the intro and click on their store

http://www.thevoid.co.uk/store/

It has what looks like a webpage inside the Flash App.

While it isn't really a webpage inside a Flash app, I was wondering whether this was possible. I've successfully imported text into a textbox, but is there a way to import both text and graphics from a separate page that the user can format?

Have a great day,

Lee

Html Document Inside Flash
I think I already know the answer to this one, but I'll double check with all you superbrains!

Is there anyway of loading a html page inside a flash document? The same way iframe does in HTML??

Flash 5: Html Inside A Window
Hello,

Is it possible to run a html document directly in the flash player - Using flash 5 ???

Thank You


iaustin

Run Html Page Inside Flash
Hello,

Is it possible to open a html document on the Flash stage-- Flash5?

Thank You

Can I Call Html Inside Flash...etc?
http://www.louisdilello.com/staging/riggedproductions/

Im trying to make a site similar to this one. I want to have a flash shell with the navigation on the top and bottom, but the inside call html pages that can be scrolled inside of it. In the version on that site, its all html. I though of even doing seperate pages with just a flash navigation on the bottom of each, but i dont know how ot make the html scrollable in that case. Let me know.

Also if there are good sites that have navigation bars like this or templates, point me in the right direction!

Email: ram29@drexel.edu

Can I Call Html Inside Flash?
http://www.louisdilello.com/staging/riggedproductions/

Im trying to make a site similar to this one. I want to have a flash shell with the navigation on the top and bottom, but the inside call html pages that can be scrolled inside of it. In the version on that site, its all html. I though of even doing seperate pages with just a flash navigation on the bottom of each, but i dont know how ot make the html scrollable in that case. Let me know.

Also if there are good sites that have navigation bars like this or templates, point me in the right direction!

Email: ram29@drexel.edu

Php/javascript/html Inside Flash?
Is it possible to insert php/javascript/html inside flash?

Here's what I wanna do. I have a pre-loader for my flash movies. Now, I want to insert banner ads into those pre-loaders.

I saw this done on one website so I was wondering if you guys could tell me how to do this?

Loading HTML Or ASP Inside Flash
Hi all,

I want to creat a web site that is totally in flash. But i want to contents of the web site to be loaded by calling and HTML page or an ASP page. You know, like a small browser inside the flash movie .. an area for loading HTML or ASP.

Can this be done? How?

It would be cool if someone could just walk step by step with me to do so.

Thanks a lot guys!

[MX] Html Page Inside Flash?
Is it possible to load an html page in flash? and if so, how?

Loading HTML Inside Flash?
Hi guys, sorry I know i'm a noob here...

I'm designing a flash website for someone, and he is wondering if there's a way for me to set it up in flash but have the body of the website be in HTML so he could go in at any time and edit the website.

This sounded easy enough, but after playing around with things, I'm not sure if it's possible. Is there a way to have flash load an HTML file inside a Flash file when a button is hit, etc?

So far the site has a pretty simple layout, each button loads a new scene for the main sections of the site.

Thanks for any help!

HTML Inside Flash A Joke?
I'm not really sure what's going on here...I've had some bad HTML tranlation on flash's behalf before, but never as bad as this. It seems all my carriage returns are getting displayed and all my <br> tags are being ignored. I'm setting htmlText for sure so that's not the issue here, and I've had to take my carriage returns out before via using a split and join (because of course, why would flash include a replace function by CS3?!) but now I just have one giant line of text because my BRs are getting ignored. I've tried adding select html tags (such as <html> and <body>) but they don't seem to do anything. I've even tried a straight up XHTML template, but it seems to just throw lots of carriage returns in the beginning. Maybe someone can take a look at my html page I'm loading in (using LoadVars object) and tell me what I'm missing because I'm just getting one straight line of text out of it, and that's only when I manually remove all the carriage returns.









Attach Code

content=<html><body>So this is my page, hope you enjoy!<br>

Check out this <a href="http://benrosenbach.com">link</a>.<br>
test

this should be on the same line<br />
<br />
<br /><br /><br /><br /><br />
<br /><br /><br /><br /><br />
ok
<br /><br /><br /><br /><br /><br />
this is dumb<br /><br /><br />
yup.</body></html>

HTML/CSS Inside Flash Screwed Up On Mac
Hi,

I am making a Hybrid CD for Mac and PC with a flash presentation on it. In some sections I have a textfield that loads css formatted html pages with text and images. On my pc the layout is fine, but on the mac some of the images are placed over the text, covering it up and making the whole thing unreadable...

Does anyone here have any experience with this on how to fix this problem?

Thanks for any input...

Rufus

Flash Inside HTML Page
Hi,
I created a Flash header with animations and buttons for my HTML page. The Flash movie loaded fine and the animations work when I view it using IE. HOWEVER, in order to be able to start clicking the buttons, I must first have to click on my movie once. Why is it doing this?

I found a good example: http://www.ochealthinfo.com/ Notice the animations work, but if you point your cursor at the animation, you much click it once, then click it again to go somewhere. Is there a way to bypass the first click?

Thank you.

Joe

A HTML Page Inside Of Flash?
I have a flash appication with a menu in it. I would like to use one button of the menu for calling a html page (geturl?) inside the flash. (With a close button on it to return the flah application.)

Is it possible?

(Sorry for my English.

Html Page Inside Flash?
is it possible to load an HTML page inside of a flash movie?

HTML/CSS Inside Flash Screwed Up On Mac
Hi,



I am making a Hybrid CD for Mac and PC with a flash presentation on it. In some sections I have a textfield that loads css formatted html pages with text and images. On my pc the layout is fine, but on the mac some of the images are placed over the text, covering it up and making the whole thing unreadable...



Does anyone here have any experience with this on how to fix this problem?



Thanks for any input...



Gene

HTML Page Inside Flash?
Is it possible to load an HTML page inside a Flash move, ontop of the movie? How is this done? Examples?

Html Site Inside Flash...
Maybe, this is a stupid question, but it's been a long time since I haven't written a code in flash since I dropped it to use the old dead guy "Director".
This is my question:

Is there any way to load a site inside flash?
I mean like an iframe or the like inside a text field or whatever?
If so, I would really appreciate that anyone tells me how.

Thanks

Copyright © 2005-08 www.BigResource.com, All rights reserved