Flash :: Html - Create HTML Pages Using AMFPHP (on Server)?
Jan 10, 2010
I have AMFPHP installed on my server. I have a flash app that can call it's methods. I want to create some HTML (on server created) pages which will contain HTML code and results of AMFPHP functions. How to create such thing?
View 1 Replies
Similar Posts:
Oct 6, 2009
I have created a website with one flash animation banner.The banner .swf has 5 menus. Each menu goes to different movieclips inside the .swf file. and at the same time i want to load the corresponding html file when i click the menu button and place the html content into the bottom area of the main html page without refreshing the html page.
View 2 Replies
Nov 17, 2010
Is there a solution to have the background audio/music play across multiple page on a website, WITHOUT restarting on every page load.The website currently uses a frameset, but I'm looking for an alternative.
View 2 Replies
Oct 10, 2009
I'm trying to create a website that is basically a flash toolbar that directs the user to different HTML pages at the bottom, much like this website here.
[URL]
Do I build the bar in Flash and then the HTML portion in dreamweaver or do I build it all in Flash? Would an iFrame work for this sort of website?
View 1 Replies
Jan 27, 2011
We have some HTML pages that embed a swf file to stream flv videos. The video doesn't play and I firstly thought it was the video player's version problem. But it seems more to be related to the path now.
[Code]...
View 2 Replies
May 8, 2010
Is there a way to create a mini window in flash that contain an HTML web page?
View 1 Replies
Nov 12, 2008
is it possible to insert html code into a flash component, like a text area? I have an example at [URL] where I want to insert html code like:
<ul>
<li><a href="whatever.com">something</a></li>
</ul>
into the text area at the bottom, how would I put html into there? I am using amfphp, and I am returning a string of text that has html in it.
View 0 Replies
May 23, 2011
I have created a twitter API in flash using ActionScript 3.0 which loads the latest feeds from a user by using the screen name of the twitter user. When I test the swf locally it works fine. But the problem comes when I embed the swf in html page.The swf loads but does not show the content where it needs to access the TWITTER url to load the feeds.It doesn't load the feeds. It asks for the global settings to be changed.So, I have changed the settings and played the html page.I works fine.My question is when I will upload the files to a server the same problem will come and it will not load the feeds. How to solve this problem permanently?
View 1 Replies
Feb 28, 2008
I'm trying to create a site with HTML pages and Flash based navigation, which basically means that the site content itself is standard in HTML/CSS format, but the main menu bar with the buttons and all is an SWF file. Needless to say, each lit-up button on the menu bar has to dim out on release and take to the corresponding page, e.g. clicking the 'Contact Us' button would cause it to dim out (as if unavailable) and open the 'Contact Us' page. Clicking a different button afterwards, would re-light the previous button and dim-out the newly clicked button and take to the page that corresponds to the newly clicked button, etc, you get the idea. There are 4 buttons for 4 pages.
Anyway, so far I've tried two methods which have failed:
Method A.
I exported four duplicate SWFs from the same FLA, with the only difference being the one unique button dimmed out and the other three lit up (a total of 4 combinations). Then, I put a different SWF on each page. This, the 'Contact Us' page would have the copy of the SWF with the 'Contact Us' button already dimmed out; the 'Home' page would have the one with the 'Home' button dimmed out, and so on. The obvious problem with this approach is that an SWF needs to load over again every time the page changes, which results in a brief, but, nonetheless, annoying enough blink. I hoped to combat this latency issue by loading all bitmap elements in the flash files externally, as opposed importing them to the library. I assumed that since all SWF copies accessed the exact same bitmaps from the exact same location, they would be cached in the memory somehow and not need to be loaded every time, so there'd be no latency. Then again, I was two days younger. This method failed. As Eric Bogosian's character said in the movie Under Siege 2, "Assumption is the mother of all" (you-know-what-ups).
Method B.
At a couple of other message boards, I was suggested another technique, which would require only one single SWF. A guy gave me a tiny peace of Java Script that would use a variable to inform flash about which page is called so it would know which button in the menu bar to dim out. Although this technique rid me of the necessity to use multiple SWFs, it didn't fix the nasty blinking problem AT ALL!!!
Method C.
I was also advised to "put info in a div and generate server requests to bring the appropriate info up". "You need to use ASP or PHP or some other server language" he said. Well, ASP is absolutely out for me, so I won't even consider it. As for PHP, unless there exits a very simple and straight-forward tutorial with source files, which I could very easily figure out, modify, and implement for my needs, I can't get into it because since I don't know PHP, it takes me a really long time to learn how to do a simple thing with it, which is something I can't afford right now with my deadline and all.
Method D.
I basically want to put the page contents into an iFrame window. Even all drawbacks of using iFrames considered, I still thing this is the optimal way for me. So here's where I currently am on this:I learned how to change the iFrame content using a function. Here's a simple test example, and here are the HTML and JavaScript codes for that example:[code]What I need now is to be able to call that JavaScript function and pass it the URL argument using action script instead.
View 5 Replies
Feb 2, 2010
I have continued to find a resolution and have had no luck. My website has 5 flash buttons (tabs) to take you to a new html page. Each time you go to a page the button seems to have to re-load creating a "white blinking" inside the cell. The background of the fla file is black and I have the table cell background set to black hoping thatbut to no avail. I thought once a swf is loaded it won't have to re-load. The swf files are the same on all pages
View 3 Replies
Oct 12, 2010
writing actionScript code. I'm not an actionScript developer and have been trying to get this to work for hours.The requirement is a script that receives a parameter via javascript. The parameter is a url for a remote html web page.The script needs to load the contents of that html page into a string variable and then call a javascript function passing it the html as parameter.
View 1 Replies
Mar 28, 2011
Let's say I have a plain HTML website. More than 80% of my visitors are usually from search engines like Google, Yahoo, etc. What I want to do is to make my whole website in Flash.However, search engines can't read information from Flash or JavaScript. That means my web page would lose more than half of the visitors.So how do I show show HTML pages instead of Flash to the search engines?
Note: you could reach a specific page/category/etc in Flash by using PHP GET function, for example: you can surf trough all the web pages from the homepage and link to a specific web page by typing page?id=1234.
View 4 Replies
Feb 21, 2003
Does anyone know of a good way to pass variables between flash movies on different html pages? Should I use a flash cookie? pass the variables in the URL of the html file and then try to get them back out on the next page?
View 3 Replies
May 14, 2007
I have inserted a flash menu into the html pages in my website. I am using the same swf file and ebedding a variable name in each page eg. "menu.swf?x=about". I then use a conditional statement in the actionscript to determine which page i am on eg
else if (x == "about")
{
mc_menu.about._alpha = 50;
[code]......
View 2 Replies
Aug 19, 2009
I've found an example of this [URL] If you click on the mute button at the top, then navigate to another page, the mute button stays clicked. I have a decompiler, and pulled the code out of it. See below:
[Code]...
View 3 Replies
Feb 26, 2012
- I made a flash-based website using Flash CS3 and then embedded the file into a blank html page with Dreamweaver cs3.-All my buttons, linking, and content were made in Adobe Flash CS3 using ActionScript 2.0 (AS2).The issue I am encountering is that when i click on some buttons that have get URL codes, they will not load the html files assigned to the As2 code of the button. The html files are supposed to load in a separate browser window for each html page assigned to each button. The html files are located within subfolders in my Main Site Root Folder.All my AS2 code is Object-based; meaning I applied it directly to my button symbols.
View 4 Replies
Feb 26, 2012
I made a flash-based website using Flash CS3 and then embedded the file into a blank html page with Dreamweaver cs3. All my buttons, linking, and content were made in Adobe Flash CS3 using ActionScript 2.0 (AS2). The issue I am encountering is that when I click on some buttons that have get URL codes, they will not load the html files assigned to the As2 code of the button. The html files are supposed to load in a separate browser window for each html page assigned to each button. The html files are located within subfolders in my Main Site Root Folder. All my AS2 code is Object-based; meaning I applied it directly to my button symbols.
View 2 Replies
Aug 4, 2011
I am designing a web application in Flex 4 and currently facing an issue rendering advanced HTML tags and entities in Flex 4. All I want to do is basically render an HTML text coming to me something like the one given below:-
[Code]....
View 3 Replies
May 26, 2011
I'm trying to use a .swf for a navagation button in a website I am creating but I'm running into a bit of a problem. I need to know how to code the button (In Flash) so that they link to my specific .html page. Is this possible to do with a realitive link?
View 7 Replies
Apr 13, 2011
Here is my code for buttons(working)is there a way to add links to html pages to the buttons.// Catalogue Bottom Button//stop();//hide button on the stage
catBtmBut.visible = false;
var catBtmmenu_label:Array = new Array("Visit: The Grange Kitchen","Visit: The Bergerie","Visit: Badens ");var catBtmtotal:Number = catBtmmenu_label.length;var catBtmpage:Number;var catBtmmain_menu:MovieClip = new MovieClip();catBtmmain_menu.x = 35;catBtmmain_menu.y = 231;stage.addChild(catBtmmain_menu);for (var catBtmi:int = 0; catBtmi < catBtmtotal; catBtmi++){ var
[code]....
View 2 Replies
May 31, 2011
I'm having trouble and I was hoping someone could shed some light on what I'm doing wrong. I have a main .swf file from which external .swf files are being loaded through the use of buttons.When I preview the animation, everything works just fine. The problem occurs when I put the animation on the website where it needs to be. The main animation appears like it's supposed to, but the buttons are not successful in loading the external .swf files. I've made sure that all .swf files are on the server but still nothing.
Here's the AS:
stop();
var presentationLoader:Loader = new Loader();
addChild(presentationLoader);
[code]....
View 14 Replies
Oct 9, 2006
I have three swf's using local connection to communicate. Basically a top and bottom navigation communicating with a main module. All this works fine and looks a little like this:
Top_Nav:
[AS]
Actions.LINKFunction = function(){
outgoing_lc = new LocalConnection();
[code]....
As I mentioned this all works fine. Where I am having trouble is that there is one link that takes the user to an eCommerce area of the site that lacks the main module. It only has the top and bottom navigation. So the navigation is basically broken once the user heads to this area. By putting a getURL into the top nav function I can easily get back to index.html, but I can't figure out how to send the functions once the page has loaded. Basically looking for a way for the functions to execute after the new html page has loaded. So the user hit's the LINK button, the page index.html is loaded along with the three swf's and instead on the default movie's loading in the main-module, the functions in the main module corresponding to LINK are run.
View 1 Replies
Sep 16, 2008
So I'm making a Flash site that needs to have different swfs on a bunch of different html pages for easy linking purposes. The problem: Even though the swfs are small, as you navigate between pages there is what looks like a white flash just before the swf shows up. I know this is the background of the html page as the swf is loading. Is there any way to load the page in a certain way to avoid this? Would a preloader help? Here's an example of the site:
View 3 Replies
Sep 20, 2009
hopefully this is possible:
-1 large html (home.html) file houses 2 html files (aaa.html and bbb.html)
-aaa.html consists of 1 swf button
-bbb.html is empty
question: is it possible to click on the button in aaa.html and have the action occur in bbb.html? (for example, clicking the button in aaa.html will load a swf in bbb.html)
View 2 Replies
Aug 19, 2009
I've found an example of this [URl] If you click on the mute button at the top, then navigate to another page, the mute button stays clicked. I have a decompiler, and pulled the code out of it. See below:
[Code]...
View 1 Replies
Aug 26, 2008
Is it possible for a flash header to play continuously through several html pages without going back to the first frame on each page load?
View 3 Replies
Aug 2, 2009
I made a movieclip that has 3 plain color thumbnails and 1 image thumbnail pop up when my "change theme" button is clicked. I can't figure out how to go about changing the background color/image when the appropriate thumbnail is clicked. I know I need to set up an addeventlistener, but I don't know where to go from there. Maybe I need to have Flash load a new CSS file for every thumbnail clicked?
View 3 Replies
Sep 3, 2009
i have a flash file created in AS3, let's call it file1.swf it contains a variable.. we will call this testVariable file1.swf is embedded inside file1.html file1.swf reaches a point where it needs to load a new swf file that we will call file2.swf file2.swf is done in AS2. file1.swf simply calls file2.swf by calling a new HTML file that embeds file2.swf
So file1.swf calls
var targetURL:URLRequest = new URLRequest("file2.html");
navigateToURL(targetURL, "_self");
I need file2.swf to have access to testVariable.
View 4 Replies
Mar 20, 2011
I already have HTML pages built and I'm redoing that site in flash.The content pages will stay the same, so instead of completely rebuilding the pages in flash with a new text scroll box, I am looking for an already built component that will allow me to just load html pages into it.
I don't want to spend the time constructing all the elements separately to accomplish this instead I want one already built that allows me to simply load an html page into it.
View 2 Replies
Dec 8, 2011
I'm having trouble linking buttons from a swf banner that will be on all html pages. I'm using the following script, which doesn't work yet.For now, I have only two buttons. Button btn_1 should go to page_1.html, which is in a folder labeled pages.I've tried the variable name and the navigate to URL and neither have worked.
--- AS3
btn_0.mouseEnabled=false;// setting the first button -home - invisible
btn_0.alpha=0.2; // sets the color of the button 20% alpha
[code]....
View 3 Replies