ActionScript 2.0 :: Javascript Pop Up Windows In XML Gallery?
Aug 22, 2007
I have been trying to get my images (not the thumbnails) in kirupas xml photo gallery to launch a pop up window (with javascript) that displays another swf. The window needs to be centered, 800 x 600, toolbars, etc etc, but I cant get it to work.
I have read alot of posts on this, but nothing seems to work for me to get a pop up window working (I can get the link to work with a _blank window, but I need it to constrain to 800x600 and preferably be centered)
Has anyone got this to work using a javascript pop up window?
View 8 Replies
Similar Posts:
Feb 12, 2007
I am not new to flash but i'm still fairly unfamilar with actionscript. How would one go about making it so an image is clicked on and it enlarges the image within the flash on top of the thumbnail. Clicking it again would close the image. I was thinking of having the images externally as well.
View 1 Replies
Jul 22, 2009
I have a chat application that I built using Flex. The application on page load is hidden by setting the <object> in the page height to 0px. I did this because I need to be able to talk to the swf with javascript and setting the object to hidden really does "hide" it. In other words it treats the swf like it is not loaded on the page at all.I have an HTML button on the page that says "chat". When you click the button a couple of things happen. First I show the swf by setting the <object> height to 330px and I also tell the swf what person I am going to be chatting with by passing in a user name variable using javascript.On Windows using FF and IE my javascript can't find the swfobject.getObjectById("myswf") if the <object> height is set to 0px. Sometimes it can't find the swf at all event if height is set to 300px.The javascript calls work perfectly on OS X in any browser and it works on windows using Safari.
View 1 Replies
Apr 16, 2007
I used the pop up window tute from this site and it uses javascript which I know very little about.Basically the tute opens a customised url window from the swf file but only one at a time.I need to open two or more at the same time.What would I have to change so I could open more than one at a time?here is the script ....
_root.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) { getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h +
[code].....
View 1 Replies
Apr 26, 2011
I want a single online web page for my bookmarks. The page should include small windows which opens the following pages:
Fizy, Facebook, Guardian.
There should also be a button for adding a new window with an URL text input.Here's an illustration of how the page should look: http:[url].....I've built a version of this at http:[url]...., but as you may see, it uses iframes under javascript windows, which can not open frame-breaking sites (like fizy.com), or Facebook.
View 2 Replies
Jun 12, 2006
I am trying to launch 2 different JavaScript Centered Pop-Up Windows within a Flash movie. There is a main movie, then 2 other movies that load into the main. The main movie resides in the index page and all of the JavaScript is in the header. I need one pop-up to load an FLV (movie.html) with NO SCROLL BARS......and the other to load a results.php page (results.php) WITH A VERTICAL SCROLL BAR only. I have been referring to the a tutorial on the Kirupa Website [ [URL] ] but I'm not totally clear how to write with the properties in the Java Script to talk to these windows individually.
View 2 Replies
Jun 23, 2009
My webpage loads a background flash which will connect to the server using socket. If a user open multiple windows/tabs of my website, the server will get multiple socket connections. Any idea of how to make sure that only one socket is connected from the same user and same browser?
I am thinking of using Javascript to monitor the window close event, if a window that was connected to the server is closed, one of the other windows will try to connect to the server. But I can't find a way to listen to that event.I was thinking of Flash's LocalConnection too, but can't find a way to assign unique connection names and let other Flashes know.
View 3 Replies
Jan 28, 2011
I am sending over a JavaScript Array to ActionScript. The JavaScript code is as follows:
[Code]....
When I run this on Safari for Windows, arrayInput is null. However, this method works fine in Safari for Mac, IE, FF, Chrome, and the variable holds the actual array.
View 1 Replies
Jan 5, 2012
Want to make an Image gallery that responds to a swipe gesture. Found some tutorials but they were a bit vague. Someone an idea where I can find some good ones? How to test this on a windows pc? I do not have a certificate (I know that there are some illegal cert. on the internet), just want it to test it on a simulator?
View 1 Replies
Mar 16, 2009
I have a lot of pictures I need to be able to have two specification windows where I can enter a f-stop and shutter speed and when they are entered it displays the corresponding picture or pictures.
View 1 Replies
Jul 11, 2011
I'm embedding a flash object in an html page and calling windows.onload to initialize the Flash movie. The problem is that the windows.onload does not wait for the Flash object to completely load. Is there way to make sure that the Flash object has fully loaded?
Here is the code I'm using:
<head>
<script>
var falshObj = null;
function pageInit() {
thisMovie();
[Code] .....
View 1 Replies
Jul 26, 2010
I am developing an Adobe AIR application which uses both native windows and floating panels. Is is possible to enable the creation of a floating window instead of a native window when a JavaScript window.open() function is called?
It is required that all of the floating windows are contained within one native window, therefore the creation of more native windows is not suitable.
I have used a Custom HTMLHost class in order to enable the creation of a native window but I can't work out a way of creating a MDI window instead. I am using the flexMDI framework for my floating panel interface.
View 1 Replies
Feb 8, 2010
i'm looking for a good/lightweight gallery script.jquery, plain javascript or flash.it should be possible to display thumbnails and click for bigger view,but also possibility to click through a series of images (previous/next button)
View 4 Replies
Aug 12, 2010
Is there already a plugin for jquery to re-create this: [URL]
View 2 Replies
Jul 27, 2011
I've pretty much taught myself everything about editing html so far, but this one is loosing me quickly. I've downloaded a html css template, edited out the fat i don't need, so on and so forth, now all I need is a photo gallery. However, I'm not sure how to embed the flash template to get it to run. I'm trying to use a sliding gallery, but can't seem to get it.
View 1 Replies
Oct 28, 2011
I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder
[Code]...
View 1 Replies
Feb 5, 2010
I want develop an application on windows mobile.In this app, i need to show some Flash games to the end user.ow should I do?embed an Flash ActiveX Control (in Windows mobile Form application) ?embed an IE control?BTW (because i do not have a windows mobile device now)Can I views flash in IE of the windows mobile device?for play flash, Macromedia Flash Player 7 for Pocket PC should be installed on your windows mobile emulator.DIT2:after practice i found following package should be installed before your windows mobile progr
Vista SP2
Visual Studio 2008 SP1
Windows Mobile Device Center
[code].....
View 2 Replies
Feb 23, 2011
I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:
[Code]...
All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.
View 1 Replies
Apr 12, 2011
And just loved the way it looked, anyone have any idea how to get a similar effect using ideally CSS/JS and if not then using flash? Furthermore it would be excellent if you could move to the next slide by clicking on the image itself.I'm also wondering how she is able to maintain height of the images when resizing (unless she is doing it manually which I doubt now days).
View 1 Replies
Mar 8, 2010
I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?
var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);
[code]....
View 1 Replies
Nov 25, 2011
From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?
View 1 Replies
Aug 29, 2009
i setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows.
View 1 Replies
Aug 24, 2010
I have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.
As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player
View 1 Replies
Feb 6, 2012
I have a flex application (.swf) and want to create a projector file. When I choose File-> create projector I get the .app file because I work on a Mac. I know I can create both projector formats for windows and mac using the export feature in Flash Professional. But this is not an option since it's Flex.Is there any other way rather than switching to windows to create the file?
View 1 Replies
Sep 21, 2009
I want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?
View 1 Replies
Jul 30, 2010
does anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.
View 1 Replies
Nov 15, 2010
How would you defer loading of other graphics on the page until after the images in a Flash gallery's images.xml file are finished loading?Is there any way to detect for this, or would I only be able to check if the flash swf object is finished loading? I'm pretty sure the swf object would be loaded/ready as with document.getElementById('flashobject').onload = function(){}; before the corresponding images have loaded though, instead of after.
View 1 Replies
Jan 12, 2010
I am working on a short animated story, which has a scrubbable timeline and chapter headings. I used TimelineMax for sequencing it. For the most part, it is working fine. I am seeing some strange behavior that pop up, though: sprites disappear, functions stop responding to user input, seams of the sprites become transparent -- all small issues but pretty hard to nail down because they happen in Mac only.
So I am wondering what is wrong with Flash, and why it misbehaves on a Mac?
View 2 Replies
Mar 1, 2012
we're having a strange problem on a project here. When we use NetConnection in combination with a NetGroup to initiate communication between two local AIR applications on Windows XP, they always both connect to the NetGroup succesfully and detect each other as neighbors. However, on Windows 7 both applications connect succesfully to the NetConnection and NetGroup both don't detect each other as neighbors.To reproduce this problem, here are two AIR applications:[code]
These applications can connect and send message to each other without a problem on Windows XP. On Windows 7 however, they cannot.Does anyone know why this wouldn't work on Windows 7 and what steps can be taken to make it work? It's critical to our project that this works.In some cases, the applications take quite a long time to detect each other as neighbors (up to 15 seconds in some cases), in other cases they detect each other immediately. Does anyone know what could cause this delay?
View 1 Replies
Jul 19, 2005
What I want to do is to make a gallery based on the tutorial gallery here (thumbs), but I want the user to be able to choose different galleries from within the movie. I figured that I could make a loop to cycle through the galleries, then nest another loop inside it to cycle through the pics, captions and thumbs. While I wrote, I constantly tested the output with trace commands, but when I tried nesting the loop I lost all output.. I'm pretty new to both Flash and Actionscript, so if theres an obvious solution I havent been able to see it.. This is my temp XML file:
[Code]...
View 2 Replies