Javascript :: Web Browsers Interacting With Desktop?

Aug 29, 2010

What languages/techniques are used for letting the web browser interact with the desktop, e.g. dragging files to the web browser, dragging files from web browser to desktop, and maybe more features that I'm not aware of.

View 2 Replies


Similar Posts:


Javascript :: Use HTML/JavaScript And Flash To Build An Desktop AIR Application And Publish It From Flash?

Feb 16, 2011

Is it possible to make desktop Air application by using HTML/JavaScript and Flash?Actually I want to make an Air app (which is for desktop) by using flash and want to use HTML , javascript and CSS as well.Is it possible ?

View 1 Replies

Javascript :: Get ExternalInterface Working With All Browsers?

Apr 12, 2011

I want to call a function inside a Flash movie from javascript, using the ExternalInterface class. The problem is that to get it to work with Firefox I need to use the embed element and with the rest I have to get the object element. To solve it, I gave different ids to that two elements and depending on the user agent I select one or the other:

function getMovie(movieName) {
alert(navigator.userAgent);
if (navigator.userAgent.indexOf("Firefox") != -1) {

[Code].....

This works, but it is not very elegant and it may not work with other browsers..

View 1 Replies

Javascript :: Event Not Bubbling In Some Browsers When Clicked On Flash

Jul 21, 2010

Environment:
Windows 7,
Internet Explorer 8,
Flash ActiveX 10.1.53.64,
wmode=transparent

Just wrote a small test page that you can load in IE and Firefox or any other Browser.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

[Code].....

So clicking any colored shape should produce an alert (except for the green one in IE, not sure why but I hope that's off topic and not related to my issue).

Clicking the Flash container in Firefox will work Perfectly fine. You should get alert boxes in this order containing: span, div and body. Flash bubbles the event to the HTML. But this is not happening in IE.

So why is Flash in IE not bubbling events to HTML?

Edit: As mentioned by Andy E this behavior can also bee seen in Google Chrome which to my knowledge is not using ActiveX to embed the flash movie into the page.

View 3 Replies

Flash :: Persist Application Data Via Javascript Between Browsers?

Feb 23, 2012

I'd like to persist a list of favorited items for all browsers on the user's machine.

Cookies are too volatile, and localStorage, while useful, does not move between browsers.

Are Flash's Local Session Objects my best bet?

View 1 Replies

Javascript ::Relative Positioning At Bottom Of The Screen Issue With Flex And Different Browsers?

Jul 4, 2010

I have a flex component like this:

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
...
width="100%"

[code].....

View 4 Replies

Jquery :: Display The Javascript Navigation Menu On The Top Of The Flash In All Major Browsers?

Oct 12, 2010

My site has a jQuery drop-down navigation menu and that is displayed beneath the Flash. How can I display the navigation menu above the Flash object? I tried with setting wmode="transparent" but it is not work.

View 1 Replies

ActionScript 3.0 :: Flash - Make A Standard Background Resize On Different Browsers Using Javascript

Oct 8, 2009

I'd like to create an animated background for my latest gig using Flash. My only issue (as of right now) is different browser sizes. I know a way to make a standard background resize (meaning no nasty scroll bars) using Javascript, but it's not working with the embedded movie.

View 2 Replies

Javascript :: Protecting Websites From Outdated Browsers / Plugins Via Whitelist / Blacklist Combination?

Feb 6, 2011

Aside from using browser headers, I want to blacklist/whitelist browser and plugins from my site so that I can prevent these older unpatched systems from (1) being a general user of my site (2) removing those 'targets' from would-be-attackers reach.Is there a standard way to use Whitelisting or Blacklisting to control browser access to my site? For example, I want to prevent any browser that has outdated Flash, but I want to permit them if they have no Flash at all.

View 1 Replies

ActionScript 2.0 :: Flash Audio File Works On Mac Browsers But Not Windows Browsers

Jan 13, 2011

I inherited a flash website about a year ago.. not sure what version it was originally done in. I've made changes on the model last year using CS3 Flash Action script 2, but don't remember the flash version when published. The audio in question is the music that plays in the background when you get on the website:

[URL]

When I changed the image of the model this last week using CS4, I published it as Flash8 actionscript 2... now, the music plays on Mac Safari and Mac Firefox, but not on the Windows versions of IE or Firefox..

this is the code called sound control

onClipEvent(load)
{
_root.soundstatus="on";
_root.mySound = new Sound(_level0);

[Code]....

then there's the stop() that's used when the music is toggled off..

I've tried updating the flash player in Windows to the latest release, and I even tried republishing as flash 10, just not sure where to troubleshoot this..

View 3 Replies

C++ :: Program Interacting With Web

Jan 4, 2012

How or what do I need to know programming wise in order to interact with the web using c++. For instance i want to wrote a program that automatically sends invites to players on yahoo chess. How would i go about doing this?

View 2 Replies

Flash :: Android 2.2 Interacting With 10.1 And Use From App?

May 22, 2010

I'm searched adobe and android developers sites, but can't find any details on this. Is it possible to use Flash as a part of my app? E.g. like a widget/GUI element? Or it's integrated in browser only and can't be simple accessible? I know, Adobe AIR apps are supported as standalone .apk. So it must be some API/SDK (from Google) to connect with Flash player. Is there any details, how to program it (more clear: launch swf from my app and interact with it)?

View 2 Replies

Flash :: Interacting With A Flex App From CS3

Mar 15, 2011

I have a panorama viewer in Flash in which I want to embed a small Flex application. I've managed to load the Flex swf into the Flash like this:

[Code]....

View 3 Replies

ActionScript 2.0 :: Interacting With FLV Cuepoints?

Oct 22, 2009

First, I should mention that I haven't used Flash for years and I'm feeling a bit out of my depth.I've created an offline presentation for a client using ActionScript 2, authored with Flash CS3 (to run off a laptop).The presentation has an FLV (currently attached to the stage via the FLVPlayback component) which must play through it's entirety and at the end present 3 questions. Each question will present an answer once clicked. The user will then be presented with a "watch again" button which should restart the FLV from the beginning.

The second time the FLV plays back it should pause at 3 key points and present the user with questions and answers as before. Once the user has dealt with the Q&A's they should see a button to continue and the FLV should continue playing from where it was paused.I'm happy making the various interactive Q&A's, but have no experience of interacting with video. After a brief search in the web "cue points" look like the best tool for the job.

View 9 Replies

ActionScript 3.0 :: Interacting With Other SWF Files?

Oct 1, 2010

I had embedded .swf file. I want to save screenshots from this. How ever, the author has not given any option to do so.

[Code]...

View 3 Replies

Flash 10 :: Lag While Interacting With The Frame

Mar 20, 2012

I've recently gotten myself Flash CS 5.5 and I'm having quite an issue developing applications using the ActionScript frame. Whenever I type inside the AS frame there's major lag. It takes ~1 second for the content to appear after I've typed it using my keyboard. I've got an i7 CPU so there shouldn't be any issues directly related to my CPU's power.

View 3 Replies

ActionScript 3.0 :: Multiple SWF Instances Interacting With Each Other?

Sep 8, 2009

On a webpage there would be multiple swfs. There could be one, there could be 15. It depends on the client.Each instance is the same swf but with different parameters. The swf is a simple toggle button, play/pause.When the page initially loads up, nothing happens.All the swf's default to the pause icon.An ID is passed from the html using flashvars i.e., FlashVars="Playerid=1" in the code, for each instance.When a user clicks on one swf (here is the problem), all the instances need to be listening and if they are not the clicked swf they need to change from play to pause if they were the previously playing swf or if the were in the 'pause' state to do nothing.

I was looking at using localConnection but it seems that a single swf can only listen to multiple swfs but multiple swfs cannot listen to one swf.I need them all to be continually listening for a user interaction (addEventListener.CLICK) and then all acting accordingly.I tried an enter.frame event for every instance to check if they were no longer the chosen track and update accordingly but it didn't work out.I have been playing with sharedObjects, storing the currentID (after being clicked), the previously played swf and whether the status is playing or paused.None of my efforts worked properly.Having re-written the above question many times, It is still a little unclear. I'll try again.

There will be say ten tracks from an album. Next to each track name will be a simple flash button the user can press to hear a 30 second sample. On clicking the icon, if no track is currently playing the icon will change from pause to play and the track will then play. If there IS a track already playing (say track 3) then on clicking say track 1 will stop track 3, change it's icon and then start track 1 and change it's icon from pause to play.The problem is that each swf on the page is exactly the same apart from an ID from flashvars and trackname which will be from an XML file or passed as a parameter when instantiated such as flashvars.

View 0 Replies

ActionScript 3.0 :: Stop A Class From Interacting?

Nov 11, 2010

I have a class that has a couple of events after each other:It loads an image, loads another image, fades in a player, and plays a video.Now when the user goes to somewhere else, this instance keeps on doing all it's stuff.. Setting it to null doesn't help..

View 4 Replies

ActionScript 3.0 :: Interacting With Dynamic Movie Clips

Jul 25, 2007

I have loaded a swf using AS3, using the

Code:
import fl.containers.UILoader;
import fl.controls.Label;
import fl.controls.ProgressBar;

so MC is called myUILoader, I want to navigate to another section of the FLA and I put an if statement on the function for the button:

Code:
function mMenuNav1(event:MouseEvent):void {
var nav:String = "home";
mmBtnsOn();

[Code].....

Why the sound doesnt stop after the child has been removed and why I can't stop the MC????

View 10 Replies

ActionScript 3.0 :: MovieClip In SWF File - Interacting With Variables?

Aug 1, 2009

Basically I have a SWF file, there is a movieclip in this SWF file with instance name "stage" and I can alter the parameters of "_level0.stage" from within this SWF file to change the way it acts. But now, I am making a second SWF file, which loads the first SWF file, and from this new SWF file I want to interact with the same "_level0.stage" variable from the first SWF, does that make sense? This is the AS3 code for the second SWF, I have a movie clip with instance name "LoadSWF" in this SWF.

Code:
var movieLoader:Loader = new Loader();
var movieRequest:URLRequest = new URLRequest("load.swf");
movieLoader.load(movieRequest);
LoadSWF.addChild(movieLoader);
load.swf is the file which contains movie clip "_level0.stage"

I've tried referencing this movie clip from this code using
"_level0.LoadSWF.stage"
but it doesn't find it?

View 1 Replies

ActionScript 3.0 :: Interacting With Html Documents From Flash

Apr 9, 2011

I'm a newbie in actionscript. I created a world map in flash. The map has regions (Europe, North America, Latin America, etc.). The regions on the map are defined as buttons.

The final flash map will be embedded in an html document (map.html). The idea is that when you click for example the "Europe" button on the flash movie, this will open an html document called Europe.html and will show it underneath the map flash (inside map.html). The "Europe.html" for example contains a list of countries. In this mission I have 2 problems:

1. What script I have to attach to every region button on the flash map so it will call the right html file into the div on the map.html?

2. What script do I have to put inside the html document?

View 5 Replies

ActionScript 3.0 :: Flash Interacting With A Simple XML Database?

Aug 30, 2011

I need to build a simple database (3 elements total) using XML and make the swf interact with it.What I need is an interface that pops out if you've done a better score (better than the 3 saved in the XML).
 
Then you insert your name, send it with the proper button (or clear the field with the reset one) and then get a new classification in the txt field below dividing the players with their score. To do this, since I wasn't able to do it on my own, I've found a ready-script and this is it:

[Code]...

View 6 Replies

ActionScript 3.0 :: Interacting With Html Documents From Flash?

Apr 9, 2011

I created a world map in flash. The map has regions (Europe, North America, Latin America, etc.). The regions on the map are defined as buttons.

The final flash map will be embedded in map document (map.html). The idea is that when you click for example the "Europe" button on the flash movie, this will open an html document called Europe.html and will show it underneath the map flash (inside map.html).

The "Europe.html" for example contains a list of countries.

In this mission I have 2 problems:

1.What script I have to attach to every region button on the flash map so it will call the right html file into the div on the map.html?

2.What script do I have to put inside the html document?

View 2 Replies

ActionScript 2.0 :: Interacting Movies Between Two Different Frames Of Website?

Jun 5, 2002

make a variable readable from other flash movies, on the same website, but just in different frames. For example, if one frame was a menu, and the other frame had a picture of some sort, could i program my movie so that if a user clicks on a button on the menu side, the movie on the other side will display a different picture?

View 5 Replies

ActionScript 3.0 :: AIR- Interacting Native Windows Of An Application?

Apr 9, 2009

1. Is there any way to send events from one native window of an application to another native window of the same application? For ex. a login window pops up when the app starts in the main window. Once the login is successful, an event should be posted to the main window, so that it starts displaying other things. Right now, I am posting an event, but it is not reaching the main window (nothing shows up in trace and breakpoint is not hit in the main window).

2. Is there a way for any window to grab focus? For ex. the login window above grabs the focus till the creds are keyed in. I mean, the user should not be able to select the main window at all till this window is active.

View 3 Replies

ActionScript 3.0 :: Reload This Page Interacting With External Swf. File?

Feb 27, 2009

I'm working on my website and I have one main swf file with the loader, and other four swf. files with home, about, contact and work.This is the code for the main one

Code:
var holdercontent:MovieClip = new MovieClip();
holdercontent.x = 0

[code]........

View 2 Replies

Data Integration :: Interacting With Flash Via A Loaded Text?

May 8, 2006

Here's my problem:I have a project with loads of text ergo I am loading textfrom external files with html formating. Now I have to insertvideos linked to the text file too (as in "dolor ipsum ... press here to view video"). All I need is a code that lets my textinteract somehow with the movie.Can I do it somehow through Javascript/Coldfusion/anything ordo I have to scrap my text and make things manually ?

View 5 Replies

ActionScript 2.0 :: Stop The Mouse From Interacting With Masked Image?

Jun 11, 2007

Alright, is there some way to keep a clip with masked content from reacting to the mouse?'ve got a button clip with a masked image inside (so the image that goes beyond the button's bounds can't be seen), but, when the mouse rolls over the masked-off image area, the button still reacts. I've been looking for a few days now, and I can absolutely not figure out what to do!

View 3 Replies

ActionScript 3.0 :: Interacting Classes - 1119: Access Of Possibly Undefined Property DoWork Through A Reference With Static Type Class

May 12, 2009

I have two custom classes in the same package - sGallery and vChange - within sGallery how can I call a function thats inside vChange?

[Code]...

but gave me error: 1119: Access of possibly undefined property doWork through a reference with static type Class.

[Code]...

View 15 Replies

ActionScript 2.0 :: Buttons Interacting With Other Buttons

Jun 11, 2010

I've to do a presentation in flash. I need to create buttons that will interact with other buttons. An example:

I've an electronic circuit with 4switches (ON or OFF state). Each switch it's a button. I've to close 2 switches so that closes the circuit and then i want to show to where the current flows.

I'm trying to do something like this, but I think this isn't a good solution:

on (release) {
if(_root.btn1 == "btn1_on")
gotoAndStop(<number_of_a_frame>);
else
gotoAndStop(<another_frame_number>);
}

I think this is gonna take me an HUGE time to create all the possibilities. Because I can open the switch1 and close switch4, or open switch3 and close switch2... Do you know what i've mean?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved