ActionScript 3.0 :: Interaction Between Swf File And Webpage?
Mar 9, 2012
I have a swf file with some images inside. What I want is to update the information displayed in my webpage without refreshing the whole page.In the simplest way explained I know how to do this using a simple link using jquery:
$(document).ready(function() {
$("#refresh").click(function() {
$("#Container").load("test.asp");
[code]...
However, what I exactly want is the same effect by clicking on the images that move around in my swf file:
// Depending on the image you click on the swf file, the page should display different info in the same div
target_mc.onRelease = function() {
if (ruta.indexOf("AP") != -1){
[code]...
View 1 Replies
Similar Posts:
Mar 9, 2012
I have a swf file with some images inside. What I want is to update the information displayed in my webpage without refreshing the whole page. In the simplest way explained I know how to do this using a simple link using jquery:
$(document).ready(function() {
$("#refresh").click(function() {
$("#Container").load("test.asp");
return false;
});
});
However, what I exactly want is the same effect by clicking on the images that move around in my swf file:
[Code]...
What I've found out till now is that this is ActionScript 2.0 and not 3.0. I suppose I'm getting closer to the solution with this ;). I'm fairly new in all this stuff.
View 4 Replies
Oct 25, 2011
I have a .swf file. From there I use a MovieClip witch is associated with a class. The information is inside of a separate .as file. On Runtime i create several instances of this object. This all works. Now I would like to let functions inside of th .as file give access to variables set in the action layer on frame 1 where i handle the code that is associated with the .swf file. Or the other way around. Is there a way to manage this communication?
View 2 Replies
Sep 27, 2011
The code flow is as follows: user clicks 'download details' button on the page -> on button click handler a call to a RPC method is made using s:CallResponder -> RPC method generates and returns a URL from where to download the file -> the success event handler of the CallResponder gets the url where FileRefrence.download() is used to download the file but throws following error:-
Error: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.
[Code]...
View 3 Replies
Sep 25, 2009
I want to open a file dialog via FileReference.browse() but I get #2176 error which means that this action can only be invoked upon some user interaction. I'm aware of security considerations but in my scenario I have a thin flash movie which merely displays an image and the whole UI is in javascript (I heavily use javascript <-> actionscript communication).
So the question is - do you think it would be possible to invoke FileReference.browse() upon the user interaction coming from javascript?
View 4 Replies
Dec 30, 2009
my problem is related to website resolution problem i develop a drop down menu from a software "flash menu lab". Then i embed it on a web page, it correctly show in 1024*768. but when i go to high resolution it does not move width automatically it show menu similar to 1024*768 i hope you got my problem...! remember i fixed width to 100% but it is not working...! this is my code
[Code]...
View 1 Replies
Sep 7, 2006
Is it possible to embed and play a file.flv in a web page ..without having the flv in a file.swf.
View 5 Replies
May 18, 2009
I need to play a FLV file on a web page, but I don't want it playing in a visible player. That is I don't want there to be the usual Play button and no frame. I want it to work and look much like this link: [URL]. It is similar to those infamous "Mac vs PC" videos which occasionally play on the home page of [URL]. My flash ability in this area is limited. (I'm a Joomla pro but not a flash pro.) Looking at the source code, I see various swf controller file links, and some javascript, I think.
I have no idea what is in the swf files that may or may not be making it all work. First of all I don't even know if it is possible for a FLV file to play above html and then disappear revealing the html when it is finished playing. I assume with the swf and javascript and divs this is possible, but am not sure.Ideally I would love the complete code if possible. Or links to where I can find out how to do it.
View 1 Replies
Aug 23, 2010
I have a web page which has a SWF file embeded. I have an issue with the focus.
Click on a HTML Text Field and Click on a Flex Field. Begin to type a text.
Expected Result is the entered text should go in the Flex TextInput field but the actual Result is it goes into HTML text field.
View 1 Replies
Mar 28, 2010
Is it possible for 2 separate .swf files embeded in a html page influence the other? For example - button.swf is located in the middle of a web page and animation.swf is at the top. Can I code button.swf to have animation.swf gotoAndPlay frame 2?
View 2 Replies
May 14, 2010
its got a bunch of .fla, .swf and .html files which i just have to edit with my information. pretty easy.I uploaded all the files to my server and everything works great.so ive been editing the .fla files, inserting my pictures and information then publishing the .swf files and putting them back on the server and everthing looks great.
* The problem is that after uploading my last .swf file my webpage stopped working... i can see the front page put it doesnt load and when i click on my links it doesnt go to them.When i open the .swf file i get this ERROR:
Error opening URL 'file:///Macintosh%20HD/Users/thumper%5Fjeep/Library/Caches/Cleanup%20At%20Startup/Transmit/3704291E%2D0BE0%2D4A1F%2DB379%2D3F80743EE79B/xml/menu.xml'
It looks like the .swf file is looking xml/menu.xml on the server but for some reason the path is all wrong and the path appears to be to my Mac and not the server.
View 1 Replies
Apr 13, 2011
I am working on an AS3 file for one of my webpages, in Flash it is 660 x 2800 pixels in size, which is relatively large, and to view the entire file contents i need to have a zoom level of 40%! Once publish as an SWF file and uploaded to my webpage, the file appears very small!! I expand the file to as large as possible on the webpage and the file still appears undersized. Obviously I wish it to fill the whole content area.
View 1 Replies
Jan 13, 2010
As the site will be totally in flash, there is no use of JavaScript required. So, what is the best way to embed a SWF file into a web page without using JavaScript. And why do you consider it to be the best one?
View 3 Replies
Aug 17, 2011
I bought this flying birds MOV file from istockphotos and now I'm stuck trying to implement it into my webpage, I want it to run like a flash file, every few seconds but I can't seem to be able to import it into Adobe Flash, I tried using the code below but it does not allow me to do much and is not transparent:
[Code]...
View 1 Replies
Jan 14, 2012
I have a .SWF file that if I test by itself outside of a browser the file reference works just fine. However if I test inside a browser I get nothing.
Is there some publish setting that should be checked?
View 1 Replies
Feb 7, 2012
I need to make a Flash animation fullscreen. After a bit of research it seems I can only feasibly do this via a browser, since the Windows 7 preview does not support fullscreen.
I followed the steps of this website; [URL]
However, I'm having a problem embedding the flash file into a simple HTML document. The file is called "LaBoheme.swf" and is stored in the same directory as my HTML file. Hence, here is my code;
<html>
<body>
<h1>Test Heading</h1>
[Code]....
The problem is simply that the flash animation does not appear. I get the feeling I'm making a rookie mistake here
View 1 Replies
Aug 20, 2009
I have got a game swf file and I am trying to load the file into my main webpage. However, the website works fine until I try and play the external game.
I can move the character around the screen but when I press the space bar on the keyboard it jumps to the website and the game is still playing in the background layers behind.[code]...
View 4 Replies
Aug 7, 2011
I've been looking around like a forensic scientist piecing together information for my latest project. Basically I need to display a particular webpage within my flash file... Now I know flash can display simple HTML, but nothing complex and nothing from an external source... BUT I know flash can also handle PHP - obviously. The page I need to load is a wordpress website, a combination of PHP codes and simple HTML snippets... but what I couldn't find was a way of inserting the snippets into a control box or movieclip on my page (actually run the PHP code to fetch HTML snippets).
View 9 Replies
Aug 17, 2006
what I'm tyring to do is to open webpage within a flash file, so that it displays in a specific part of the SWF as opposed to it opening a new window.
View 2 Replies
Aug 4, 2009
I ve uploaded flash file with transparent background to my web page. Set background transparency in html code of page. Purpose of this flash is to represent main meny, so it contains few buttons, in up and over stage everything is ok but when i press mouse some strange doted line appears around flash, on click out of flash zone line disappear i want to remove that doted line.
View 3 Replies
Sep 19, 2011
I have a Flash file, which uses AS 2, that is displayed in 2 individual html pages. When I click a link in the file, I would like to, if possible, determine the name of the page that it is inside of. Is there a way to determine which of the 2 HTML pages my Flash file is being called from?
View 1 Replies
Mar 10, 2011
Making simple player to allow viewing on website.Adding flv file to create a published player.Works fine after publishing on local system as long as the flv is located in the same directory as the swf player.When copying to a website, it seems the player does not know how to find the video file.
View 1 Replies
Apr 15, 2012
I am newer with flex or .swf. I am trying to embed a .swf file but it does not displaying. If my .swf in bin folder then how does i display on page??
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "[URL]">
<html><wicket:extend><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Chart.....</title>
[Code] .....
View 1 Replies
Sep 16, 2010
I'm looking for a Flash component to display a pdf/word/png in a web page. Something like Flashpaper : [URL] but Free.
View 2 Replies
Sep 19, 2011
I have an AS2 Flash file that is displayed within 2 different HTML pages. I want to determine, when I click on a link, which of these pages the Flash file is in. Is this possible? Is there a way to determine the parent page's name? If so, how do I do this?
View 2 Replies
Jun 8, 2010
Background: I am trying to create a website that is easily updateable by a non-html savy user. I figure I can load the content of my flash page from a notepad file within the same directory.I would prefer to not make the editor use a FTP program, so I figure the best method is a webpage where the person can log in and type the updated text and have it create a new notepad file and overwrite the old one. I am not sure if this is technically flash or simply a html question, but does anyone know how to go about doing this
View 6 Replies
Oct 1, 2010
I'm trying to pull in dynamic text from a txt file and display in a web page. The text works great when I view the .swf, but when I place the .swf in a web page the text no longer appears. I'm using loadVariables("text.txt", ""); in my ActionScript and text.txt is located in the same directory. I have embedded the fonts and I'm using Flash CS5 and I have selected Classic Text/Dynamic Text.
View 2 Replies
Nov 14, 2011
I made a flash effect for my friend's site and he won't let me get the flash back after a fight. I can see the effect on the homepage of his website. Is there any way I can get the flash to an fla file on my computer? Is there any way I can find the swf file on his websites system and convert it to an fla?
View 2 Replies
Nov 11, 2009
is possible to drag (multiple) files from desktop directly into a flash webpage.
View 2 Replies
Sep 26, 2010
what is the code needed to create a simple .swf file that once double-clicked on opens and all it has inside it's window is an iframed website (scrolling and resizing are optional), basically a simple flash mini-browser if you will, with no navigation features of any kind just the ability to click inside and maybe refresh the page...
View 2 Replies