ActionScript 1/2 :: Adding Text To Javascript Pop Up Window
Mar 21, 2009
I am opening a pop up windows with javascript from my Flash movie that works fine. Each opening window has a video in it. Now what I'd like to do is add text under/above the quick time movie inside the pop up windows. I'm not very savvy with programming and I've tried to look all over but can't find a simple direct answer, Here's the code I have inside the Flash movie:
[Code]....
View 5 Replies
Similar Posts:
Sep 20, 2010
I am kind of new to flash and used a template to build a flash website. One of my pages has links on it that when you click them open a pop-up text box. I've looked at the actions of the link to try to figure out how to add an image but can't seem to figure it out. The actions of the link also reference a text file. The [URL] and it's the second page with the contacts (peoples names). Below is the actions from one of the links:
[Code]...
View 21 Replies
Nov 8, 2010
I have XML displaying in dynamic text boxes. Some of the text are a href links, I also want to track which links are clicked by sending a javascript call to Google Analytics. Is there a way to do it and also open the link in a new window?
View 1 Replies
Apr 20, 2011
I need to include a feature on an app I'm building that allows the user to upload an image and manipulate it in various ways including adding text. This is basically a way to design custom printed merchandise as is already found on many websites and will be overlayed on a background image of whatever is being customised e.g. T-Shirt.The basic requirements are: resize, crop and rotate image against background. Overlay and change position/colour/style of text against image. Preview the final design against the background.
I know that flash is possibly the best solution but I was really hoping to avoid it and use Jquery instead. While there is plenty out there for resizing and cropping images with javascript there doesn't seem to be anything that fits my needs.
View 3 Replies
Nov 30, 2011
I created a Flash application that reads POST data from a form. A user clicks the button, and the data gets posted to the flash app in a new window (_blank). Now takes the data and then spins a wheel to give users a prize. If they don't win a message pops up letting them know they didn't win. If they don't win, clicking the OK button needs to close the browser window.
I've tried a number of solutions and it seems that the only way to get this done is to launch the window with javascript and then use ExternalInterface.call('window.close'); to close the window from within the Flash actionscript (3) because otherwise the window won't close (I've tried just using window.close and window.close() with no luck)
I understand how to launch a new window with javascript, but I don't know how to simultaneously launch and POST data to that window (the Flash application has to have the POST data. Is this the best solution? Is there a way to close a browser window easier than what I'm describing?[URL]
View 1 Replies
Oct 2, 2009
I am using AIR, and i am creating a new window and then adding a MovieClip there. The problem is that te movie clip appears really oversized. Originally the movie clip is 500x300, so In order to put it into the new window, i set the new window to 500x300, but when i add the MovieClip inside it i have to reduce the movieClip to 100x60 to fit.[code]
View 1 Replies
Mar 2, 2011
I am trying to open a new browser window popup from Flash. I am using:
[Code]....
What is supposed to happen is that the popup should open in a new smaller window whilst the original window keeps displaying the flash file. Not sure what I'm doing wrong. Is there a better way to go about this? NOTE: I know that you can call JavaScript functions and house your js in the HTML file, but I cannot edit the HTML file since it is a page from a remote site.
View 5 Replies
Dec 29, 2009
Ok so my main window is going to open up a popup window, the popup window is going to contain a Flex app. The flex app is going to need to navigatToURL() but also send POST data along with it. However instead of the popup-window navigating, I would like to main-window to navigate to the url and recieve the post vars.
View 1 Replies
Feb 2, 2011
The swf files has many hyperlinks. And this swf files are downloaded from an external source. So cannot change its source code. My question is that from javascript, jquery be made that all the hyperlinks that appear in the swf be open in a different window also which starts with an http:// location
<div align="center">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="myMovieName">
<PARAM NAME="movie" VALUE="/media/cam.swf" />
<PARAM NAME="quality" VALUE="high" />
<PARAM NAME="bgcolor" VALUE="#FFFFFF" />
<EMBED href="/media/players/camera.swf" src="/media/players/camera.swf" quality=high bgcolor=#FFFFFF NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash">
</EMBED></OBJECT></div>
View 2 Replies
Oct 9, 2009
I've been trying to find the Migration from AS2 to AS3,for the following code:
ActionScript Code:
on (release) {
getURL("javascript:NewWindow=window.open('main.htm l','ssWin','width=990,height=600,left=0,top=0,tool bar=N0,location=No,scrollbars=No,status=No,resizab le=No,fullscreen=No');NewWindow.focus();");
}
the code I've got so far is:
ActionScript Code:
if (mcUrl == i)
{
[code]....
But I'm not sure how to implement JavaScript in it.
View 1 Replies
Aug 4, 2005
I have a code, by which I open the page in a new window.
[Code]...
View 9 Replies
Jun 8, 2011
Is it possible at all to create a feature on a website where you allow a user to select a portion of the web page, and that selected area is rendered as an image? Its similar to the "Cropper" desktop program but needs to be embedded on the web page It sounds near impossible using JS, flash, silverlight or any web based tools but I just wanted to get a 2nd opinion.
View 2 Replies
Jul 24, 2009
I have the following JavaScript code which I need to call from my Flash Navigation:
Code:
function updateWith(a){
var url = a+'.html';
var pars = '';
var myAjax = new Ajax.Updater(
[code]....
View 1 Replies
Dec 10, 2010
How can I control a flash movie in a window from a child (pop-up) window invoked via ExternalInterface's call method?
The name of the movie is myMovie. Using javascript in the popup, I try to access a function in the movie using document['myMovie'].flashFunction(). However, since the javascript is in the popup window and the flash is in another, the browser complains that the function is undefined.
This would have worked if the javascript and the movie were in the same window.
I use Firefox.
View 1 Replies
Feb 23, 2011
I am tring to create a Chrome extension that adds a contex menu entry when ever the right mouse button is clicked. I also need for the new entry to be displayed when the right click is on a flash object (Such as Youtube clip) I cannot find a way to do it... Can it be done? What directions should I check?
View 1 Replies
Aug 1, 2011
It is a small widget. It lives in an iframe, and because of this, this method is not working. And since the iframe is loaded from a different domain there is no way to reach the top level window object.
[URL]
"With the recent new 10.3 player this should be much easier, since there are new events for this specific situation."
So, using a simple flash object, and maybe js callbacks this might be the solution, but what are theese events?
View 2 Replies
Dec 19, 2005
In actionscript I am trying to get the location of the host html doc that has the .swf embedded (ie: [URL]). I have tried the _url method in actionscript, but it returns the path of the .swf doc relative to the website (ie: [URL]) Is there a way to achieve this in Actionscript? I looked into fscommand but I need this to work with Safari for Mac OS.
View 7 Replies
Feb 6, 2011
How do I add a widget to Facebook wall? So when a user clicks on wall post, it gets opened there only, like YouTube video/audio.
It's certainly possible, as Slideshare app [URL] does it.
And, I see that it's a Flash component. I have an iframe (Javascript/html) widget.
View 1 Replies
Aug 2, 2010
I think I remember hearing that you can trigger a java alert message from within actionscript out to the html page but whats the code to do such a thing?
View 2 Replies
Dec 31, 2009
I have a html popup containing one flash file. Onclose of the popup I need to write some values into the socket. How can I handle the onclose event from flash ?
View 1 Replies
Nov 24, 2011
I'm looking for a code to stop all flash animations on a web page when this page/tab is not focused or active. Because this problem causes performance loss at any computer.
View 1 Replies
Sep 20, 2010
I'm working on a kind of coverflow layout and I'm using an XML file to house my links and information about those links. in my ActionScript, I'm using getURL to point to the link the user clicks and open the link in a new window using the following script:
getURL(infostruc[current - 1].artLink, "_blank");
I need to have the new window open up to a specific size (1014x714), but I'm not sure how to write the AS for this kind of action since I'm calling the link from an external file.
View 1 Replies
Jul 7, 2005
I've been attempting to launch a window from an attached movie, I've got the function to work but after it launches, the main window (with the flash file) relocates automatically with the message "[object Window]"
I'm presently using the following coding with the button's AS:
Code:
getURL("javascript:window.open('http://www.atomicstos.com/popup.html','Nubeau Guarantee', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizable=no, width=500, height=800')");
I've attempted to setup a javascript function in the HTML and have the "getURL" call the function, but that doesn't seem to work.
View 1 Replies
May 28, 2008
I cant seem to find the solution to call the javascript:window.close() function.It is running locally so there may be some issues on that front.Has anybody used this type of functionality before. it is doing my head in.
View 3 Replies
May 21, 2004
In Flash, I programmed a directions html page to close when a link is selected.However, it asks if you are sure if you want to close the page.Well, my audience will probably hyperventilate if they see that pop-up.Is there a way just to hard close a html window without the pop-up message?Also, are there any good tutorials out there combining Flash and Javascript?
View 6 Replies
Apr 25, 2011
I am still using flash MX. I'm pulling random text from a textfile (array.txt) into movieclip instance textbox.[code]All is good, but now my question is if I can have a text effect as well. For example having the random quotes typed out as they appear.
View 16 Replies
Feb 24, 2010
I have a Flash file embedded into HTML - the objects inside are place based on the browser's screen size.Most of the time I don't want a scroll bar, as things are correctly placed, but once the browser window gets too small it'd be nice to have it.So, the main question: can I have a Javascript code listening for the browser window, then adding a scroll bar if it's smaller than a certain number?
View 1 Replies
May 21, 2010
I have to have many small thumbnails on a page and each one needs to open up to a full size (640x480) video with controls when clicked.
View 3 Replies
Jun 21, 2010
I have a Flash/Flex object (Flashlight-VNC), which I would like to dynamically resize to fit the entire window after pressing a button in the Flex app. This would preferably happen without restarting the Flex app (and therefore the VNC session). I would just use the built-in Flash fullscreen mode, however Adobe's somewhat silly security restrictions prevent keyboard input while in fullscreen mode.
How exactly can I do this? I'm already using SWFObject to embed the SWF, if that helps. I am open to any solution utilizing ActionScript, JavaScript, or both, however I am not all too familiar with ActionScript or Flex, and the AS-based solutions I have found involve extending a "Sprite" object to add resize functionality, which Flashlight-VNC does not seem to use.
View 1 Replies
Nov 6, 2010
I can open a new window using window.open() in ExternalInterface.call() but then I want to be able to write contents to the new window. Since, I cannot get the reference of the window back from window.open() call, I am not able to do anything to the window once it is opened.
I do not have any control over the HTML in which my swf is displayed.
Has anyone been in this situation before?
Update: After a few hours of trial and error I found you can get out of this situation by storing your window reference globally and referring to the same global reference whenever you need to access the new window.
View 2 Replies