Loading HTML or PHP page in flash
Hi,
I would like someone to tell me if there is a way to load html or php page in flash just like a movieclip without actually navigating from the flash player(by using getURL code). Basically, I am wondering if there is a way to load a html file just like we load movieclips and perform all the functions of html page.
Thanks,
Abinash
No. Flash can only display html content in textfields and only supports a very limited number of html tags (look up the htmlText property of TextFields). So to display an html/php file is not possible.
Similar Messages
-
How we can load external html or php file in flash?
Hi there,
I want to show my php's file desing in flash..
i m getting data through database in php file and it has
table... so I want to show that data in my flash movie...
Please help me ..
How can I load external html or php file in flash?
If any other way is there then plz tell me.....
thanxNo. Flash can only display html content in textfields and only supports a very limited number of html tags (look up the htmlText property of TextFields). So to display an html/php file is not possible.
-
Loading and external php page without reloading
Hi to all,i want to load(include) php pages without reloading
the whole page?how to accomplish that in Spry?Also can we include
php pages also through the HTML PANEL in spry?forexample, i have a
link which i click it should fetch dreamweaver recordset values in
php without reloading the whole page.Is there any XML involved or
it can be done merely through HTML Panel in Spry.Kindly help me in
this regard.You can include a whole page (or part of a page) with the
HTML Panel widget. No XML is needed for this.See the following
page
for HTML Panel examples and just replace the static pages by your
php pages. -
Hello,
I basically want to have my php pages with flash swf objects to be smart enough to replace the flash swf's with static images or other content for the non-flash user (iphone, ipad, etc.) who visits the website. I guess this would be an option or perhaps a script that just sent the visitor to a version of the .php page that is tailored to them, a version of the page designed for non-flash users.
I've done a little bit of reading up and have found that some people like to use DOM scripts like
Unobtrusive Flash Objects (UFO) v3.22
or what seems to be the successor:
SWFObject 2.0
What is better? Is there a better script out there to use at this point? Advice would be much appreciated.I guess I will reiterate this.
I would like someone to tell me which one of these scripts that I have mentioned above would be best to use.
What am I trying to do? Well from my understanding these scripts allow me to have multiple versions of the website, so that it loads up with static images in place of the flash swf's for... NON FLASH USERS.
The script will be able to detect whether the flash capabilities of the browser are sufficient, and if not display the web page accordingly.
SO. I'm looking for an answer as to what is the best script to use, if it's not one of the scripts I am asking about.
@The Shocker.. if I wanted to research it on the net by googling, which I already have, I wouldn't be using this forum. I'm looking for someone who is knowledgeable in this area of expertise to give me a recommendation, based on information they can give me that is logical and clear. And then I can do further research once I feel I'm being sent in the right direction.
Thanks in advance to anyone who would like to offer me some direction on this. -
How to load html page or website in flash as3
hi
how to load html page or web link (www.google.com) in flash as3.
please help me...Use the navigateToURL function...
var url:String = "http://www.wherever.com";:
var req:URLRequest = new URLRequest(url);
navigateToURL(req);
OR in one line...
navugateToURL(new URLRequest("http://www.wherever.com")); -
Is It possible to load Html page inside Adobe Flash...?
Hi Everyone!
Is It possible to load Html page Inside Adobe Flash CS5.
Any help would be a great help...!
Originally, i wanted to bring in through <IFRAME> but i don't see that flash understands that.
Thanks in advance!
-yajivNot exactly sure how you where planning to display that HTML content in relation to the overall page, but given the limitations of Flash... that may just not be possible...
But, it would be a simple matter to display an HTML iframe over the top of or behind a Flash .swf... So while the iframe would not be a part of the .swf, it certainly could be designed to make it look as though it were.
Controling the stacking order or layering of content on a Web page is accomplished through z-indexing. Correctly positioned and z-indexed, the iframe could apear over the top of the .swf... the .swf in effect being the background... OR the iframe could appear behind the .swf and with a transparent section in the .swf, the iframe would appear through that hole. If there is navigation or links in the iframe, they will be blocked by the .swf though.
http://www.w3schools.com/cssref/pr_pos_z-index.asp
But this may be an option....
Best wishes,
Adninjastrator -
Is It possible to load Html page inside Adobe Flash Professional..?
Hi Everyone,
Is It possible to load Html page inside Adobe Flash Professional or Adobe Flex. Thanks in Advance.
-Vijayprobably not the way you are thinking.
flash textfields and their extensions have a limited number of html tags they can parse so, in general, html from most web pages will not display, as expected in flash. -
'''php script:'''
<?php
$page = $_GET['page'];
if ($page)
include ("inc/".$page.".php");
else
include ("inc/home.php");
?>
'''Action script 2.0 in flash:'''
on(release){
getURL("index.php?page=new");
}A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.
See http://forums.mozillazine.org/viewforum.php?f=25 -
Php data correct on html ouput but output to flash is incorrect
Not sure whats going on. Information sent back from database
is correct so it must be my for statement.
var nextY = 0;
var nextY2 = 18;
for (var count = 0; count < result_lv.typeCount; count++)
var nextY2 = 18;
holder.attachMovie("header", "type" + count, count);
holder["type" + count]._y = nextY;
holder["type" + count].txTitle.text = result_lv["type" +
count];
for (var counter = 0; counter < result_lv["type" + count
+ "clientCount"]; counter++) {
holder["type" + count].attachMovie("client", "cl" + counter,
counter);
holder["type" + count]["cl" + counter]._y = nextY2;
holder["type" + count]["cl" + counter]._x = 200;
holder["type" + count]["cl" + counter].txTitle.text =
result_lv["cl" + counter + "projName"];
nextY2 += Math.ceil(holder["type" + count]["cl" +
counter]._height + 2);
trace("project title=" + result_lv["cl" + counter +
"projName"]);
nextY += Math.ceil(holder["type" + count]._height + 2);
there are 3 sub categorys:
cd/dvd
www/html
www/flash
These load fine.
the problem starts in the second for(). For some strange
reason every category has the first 2 same projects.
The count for each category project count is correct.
But it would seem that each category want to load every
project regardless of the category that it should be in.
I have since discovered that flash is not outputting the
correct information being sent by the php file. This is a strange
one :S
Here's what php outputs and sends back to flash
quote:
&spotID=19&typeCount=3&type0=CD/DVD&type0clientCount=2&cl0projName=CD
Presentation&cl1projName=Alison
Gollings&type1=www/Flash&type1clientCount=15&cl0projName=Scotlet
redesign&cl1projName=glasgow as i see
it&cl2projName=mxgb.info&cl3projName=Sensua. The
collection&cl4projName=Clifford white
racing&cl5projName=Replenish line
count&cl6projName=scotlet.co.uk&cl7projName=Riki
Christo&cl8projName=IT
Band&cl9projName=JamieDobb.com&cl10projName=Kunt Flash
intro&cl11projName=R A Sneddon -- Flash
logo&cl12projName=Activefm&cl13projName=Flash test
area&cl14projName=Excel-Management&type2=www/html&type2clientCount=2&cl0projName=vinyl
revival&cl1projName=Photo Gallery&retval=1&
This information is correct and should be what flash is
recieving.
Below is what flash outputs via trace of flash input from php
script.
quote:
retval=1&type2clientCount=2&type2=www/html&cl14projName=Excel-Management&cl13projName=Flas h
test area&cl12projName=Activefm&cl11projName=R A Sneddon --
Flash logo&cl10projName=Kunt Flash
intro&cl9projName=JamieDobb.com&cl8projName=IT
Band&cl7projName=Riki
Christo&cl6projName=scotlet.co.uk&cl5projName=Replenish
line count&cl4projName=Clifford white
racing&cl3projName=Sensua. The
collection&cl2projName=mxgb.info&type1clientCount=15&type1=www/Flash&cl1projName=Photo
Gallery&cl0projName=vinyl
revival&type0clientCount=2&type0=CD/DVD&typeCount=3&spotID=19
The type count is correct but the information for the project
is wrong.
Can anyone see a typo??? it must be a typo.
THanks for any helpOne possible issue is a browser caching problem.
Also consider trace statements for
trace ("results_lv.typeCount :" +results_lv.typeCount);
trace ("count:" +count);
trace ("result_lv[\"type\" + count + \"clientCount\"]:" +
result_lv["type" +
count + "clientCount"]);
Your statements "here is what PHP sends back to Flash" and
"what Flash
receives" is puzzling. Could you be saying here is what PHP
returns to a web
browser page and here is what Flash sees? If that is the
case, then it looks
like two different responses from the PHP program.
I generally have a test web page that sends the same data to
the PHP script
as Flash would and have have a debug option in the PHP to
return the return
values in a <pre> format so I can see them neatly in a
web page. This
allows testing the PHP program separately and verify what it
returns outside
of Flash. Once that is clear, then you should see the exact
same
information.
Example
echo $returnVals; // Contains all the url encoded variables.
in debug mode for web page
echo "<html><body><pre>" . $returnVals .
</pre></body></html>";
Lon Hosford
www.lonhosford.com
Flash, Actionscript and Flash Media Server examples:
http://flashexamples.hosfordusa.com
May many happy bits flow your way!
"[djdomain]" <[email protected]> wrote in
message
news:[email protected]...
> Not sure whats going on. Information sent back from
database is correct
> so it
> must be my for statement.
>
> var nextY = 0;
> var nextY2 = 18;
> for (var count = 0; count < result_lv.typeCount;
count++) {
> var nextY2 = 18;
> holder.attachMovie("header", "type" + count, count);
> holder["type" + count]._y = nextY;
> holder["type" + count].txTitle.text = result_lv["type" +
count];
> for (var counter = 0; counter < result_lv["type" +
count +
> "clientCount"];
> counter++) {
> holder["type" + count].attachMovie("client", "cl" +
counter, counter);
> holder["type" + count]["cl" + counter]._y = nextY2;
> holder["type" + count]["cl" + counter]._x = 200;
> holder["type" + count]["cl" + counter].txTitle.text =
result_lv["cl" +
> counter + "projName"];
> nextY2 += Math.ceil(holder["type" + count]["cl" +
counter]._height + 2);
> trace("project title=" + result_lv["cl" + counter +
"projName"]);
> }
> nextY += Math.ceil(holder["type" + count]._height + 2);
> }
>
> there are 3 sub categorys:
> cd/dvd
> www/html
> www/flash
> These load fine.
> the problem starts in the second for(). For some strange
reason every
> category has the first 2 same projects.
> The count for each category project count is correct.
> But it would seem that each category want to load every
project regardless
> of
> the category that it should be in.
> I have since discovered that flash is not outputting the
correct
> information
> being sent by the php file. This is a strange one :S
> Here's what php outputs and sends back to flash
>
quote:
>
&spotID=19&typeCount=3&type0=CD/DVD&type0clientCount=2&cl0projName=CD
> Presentation&cl1projName=Alison
>
Gollings&type1=www/Flash&type1clientCount=15&cl0projName=Scotlet
> redesign&cl1projName=glasgow as i see
> it&cl2projName=mxgb.info&cl3projName=Sensua. The
> collection&cl4projName=Clifford white
racing&cl5projName=Replenish line
> count&cl6projName=scotlet.co.uk&cl7projName=Riki
Christo&cl8projName=IT
> Band&cl9projName=JamieDobb.com&cl10projName=Kunt
Flash
> intro&cl11projName=R A
> Sneddon -- Flash
logo&cl12projName=Activefm&cl13projName=Flash test
>
area&cl14projName=Excel-Management&type2=www/html&type2clientCount=2&cl0projName
> =vinyl revival&cl1projName=Photo
Gallery&retval=1&
>
> This information is correct and should be what flash is
recieving.
> Below is what flash outputs via trace of flash input
from php script.
>
quote:
>
>
retval=1&type2clientCount=2&type2=www/html&cl14projName=Excel-Management&cl13pro
> jName=Flash test
area&cl12projName=Activefm&cl11projName=R A Sneddon --
> Flash
> logo&cl10projName=Kunt Flash
> intro&cl9projName=JamieDobb.com&cl8projName=IT
> Band&cl7projName=Riki
>
Christo&cl6projName=scotlet.co.uk&cl5projName=Replenish
> line count&cl4projName=Clifford white
racing&cl3projName=Sensua. The
>
collection&cl2projName=mxgb.info&type1clientCount=15&type1=www/Flash&cl1projName
> =Photo Gallery&cl0projName=vinyl
>
revival&type0clientCount=2&type0=CD/DVD&typeCount=3&spotID=19
>
> The type count is correct but the information for the
project is wrong.
>
> Can anyone see a typo??? it must be a typo.
>
> THanks for any help
> -
HTML page with FLASH object doesn't reload upon a redirect
Am using: ECC 6.0 and ABAP SAPGUI development
Hi All,
I'm seeing a frustrating issue that i'm hoping others have seen and resolved.
Here is what i'm attempting and below that is the issue:
1) I have created a ABAP program in which i'm using the HTML viewer (class: cl_gui_html_viewer ) within a container that is on one of my ABAP screens.
2) I load up a web page on our (intra)network that displays an HTML page that has a nice FLASH navigation object. This navigation object operates as such - when a node is clicked it will go to another html page (on the same network) that will then parse apart what node they clicked on and via javascript submit a form in which I've defined a SAPEVENT for.
3) My ABAP program has defined the event handler for this sap event and calls the appropriate method just fine (ON_SAPEVENT). I am able to trap the event details and do some other things.
This is all working just fine, except....I want it to then go back to the first page (original page) that contained the FLASH navigation on it upon after the page that trapped the SAPEVENT is complete automatically. Easy? - that's what I thought...I tried several different ways to do this "go_back" on the html control, "show_url" (with the original URL)...even a redirect in the actual html page itself to go back.
They all DO go back to the first page, however my flash navigation object on that page NEVER shows up! It's almost like the frontend is thinking it is already loaded and will not load it again. I thought maybe I need to do a "flush" or some such - but that didn't seem to solve it. Has anyone seen this and resolved it or knows what this is? The thing is...I can completely exit out of the program - and the flash object will load just fine (but only after I wait a minute or so). What gives...anyone know?
Thanks in advance,
MattAm using: ECC 6.0 and ABAP SAPGUI development
Hi All,
I'm seeing a frustrating issue that i'm hoping others have seen and resolved.
Here is what i'm attempting and below that is the issue:
1) I have created a ABAP program in which i'm using the HTML viewer (class: cl_gui_html_viewer ) within a container that is on one of my ABAP screens.
2) I load up a web page on our (intra)network that displays an HTML page that has a nice FLASH navigation object. This navigation object operates as such - when a node is clicked it will go to another html page (on the same network) that will then parse apart what node they clicked on and via javascript submit a form in which I've defined a SAPEVENT for.
3) My ABAP program has defined the event handler for this sap event and calls the appropriate method just fine (ON_SAPEVENT). I am able to trap the event details and do some other things.
This is all working just fine, except....I want it to then go back to the first page (original page) that contained the FLASH navigation on it upon after the page that trapped the SAPEVENT is complete automatically. Easy? - that's what I thought...I tried several different ways to do this "go_back" on the html control, "show_url" (with the original URL)...even a redirect in the actual html page itself to go back.
They all DO go back to the first page, however my flash navigation object on that page NEVER shows up! It's almost like the frontend is thinking it is already loaded and will not load it again. I thought maybe I need to do a "flush" or some such - but that didn't seem to solve it. Has anyone seen this and resolved it or knows what this is? The thing is...I can completely exit out of the program - and the flash object will load just fine (but only after I wait a minute or so). What gives...anyone know?
Thanks in advance,
Matt -
how to load external html page into flash? (AS3)
You cannot load an html page into Flash, though you can try to load the html code that it contains into a textfield. Flash supports only a very limited number of html tags, so it is highly likely you won't get what you are after if you are reading an html file that hasn't been edited for Flash specifically. Just look up the TextField.htmlText property in the AS3 help documents and it lists the html tags that are supported.
For AS3 you need to look into the URLLoader class as far as loadng an extrernal text file goes. -
Hi all,
i want to load HTML pages into my flash movie when i press a button. is that possible?
Thanks
thilsenNo. Flash has limited support for html and is not capable of displaying html web pages as content.
-
hi
using JEditpane i can load html pages but it's not supporting gif and flash files.is there any way to open a html page which contains flash and gif files.
please help me...In CS6, go to View > Live View Options > Use Testing Server for Document Source.
I just tried it with a plain .html page on WAMP and it works.
Nancy O. -
Flash Button not showing on php page
Hi Folks,
Hopefully this is a simple problem. I've added a Flash Button
via the Insert Media -> Flash Button in DW8. Unfortunately the
button does not show up when the php page is loaded up to the
server. And yes, I did make sure to upload the button file. When I
look at the source code from the server, the flash part looks a
little different compared to how it normally looks on a .htm page.
Here's what the 'view source' in the browser shows:David,
I don't know what that file is. Can you elaborate?
Thanks,
Chris
quote:
Originally posted by:
Newsgroup User
chriscatalano wrote:
> Hopefully this is a simple problem. I've added a Flash
Button via the Insert
> Media -> Flash Button in DW8. Unfortunately the
button does not show up when
> the php page is loaded up to the server. And yes, I did
make sure to upload
> the button file.
But did you upload this file?
Scripts/AC_RunActiveContent.js
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Flash problems on PHP pages - dreamweaver
hi, i'm building a site that's basically a bunch of php-pages
(header, content, menu...) that are loaded into a index.php page
using "require" and javascript etc. anyways, many of the pages will
include flash files and this is causing some problem. have been
doing this kind of stuff before, but the flash code has changed
with the new version of dreamweaver. and i'm having trouble
figuring out what the problem is.
the index page is at
http://www.onion-berlin.com/test
the logo animation (flash) sits on a page called header.php
and works like it should
but the mustavuori.php page in the content div isn't working.
the text is there, but the flash doesn't show.
the flash icon on the index.php page (in dw) looks broken,
but on mustavuori.php not.
what's wrong?
i put the
<script src="Scripts/swfobject_modified.js"
type="text/javascript"></script>
in the head-section of the index page,
but where should this stuff go:
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>and yeah, don't pay attetion to the news section. the links
& pages are not yet in place...
Maybe you are looking for
-
Hi, I am new in JDeveloper I build a model in JDeveloper but when I build the web pages I accidentally face the following problem can any one help me? *** Using port 7101 *** "H:\Documents and Settings\Administrator\Application Data\JDeveloper\system
-
How to create a database using Cloudscape provided by Weblogic
Hi, I am new to EJB and i am trying to run the sample Entity bean given in the book "Enterprise Java Beans" by Richard Monson-Haefel.In the 4th chapter he has given a example Cabin Entity bean. My problem is i am not able to execute Cloudscape to cre
-
Hi, I am working on SAP CRM .Currently i used the XI system to read a XML file file using a file adapter and posting the information as a inbound idoc in the CRM system using the idoc adapter. Can the same functionality be achieved without using
-
Lbplugin not passing pages that end in .html through
Hi, We are running SunOne 7.0 U2 webserver with the installed lbplugin for SUN Appserver (Glassfish). I've set up the loadbalancer.xml to pass the context root through to the appserver cluster, but any page in the war file that ends in .html is not p
-
Disaster recovery of Oracle Apps(financials)
We have an 11i Financials App server and 8i backend database installed on two seperate units. At our remote location, we have a standby database. Archive log files generated by production are copied and applied to the standby. To minimize support cos