ActionScript 2.0 :: [mx04] Xml To Access CD Drive?
Feb 27, 2006
I'm having trouble trying to link a .swf using xml to open up an html link that is on the cd that a user will have in their drive when running the swf.home.swf > goes to CD drive> open up about.html
example of xml:
<linktype="sample" display="yes" ref="file:///d:/about.html">
View 5 Replies
Similar Posts:
Nov 22, 2004
I have a group of buttons that are grouped together and animated to move continuously across a MC. This SWF gets dynamically loaded into my main movie. Now, I want to be able to click on the buttons in the loaded SWF, and have the button click cause another SWF to be loaded into a different empty MC.
View 4 Replies
Jun 4, 2011
I am creating an AIR application using flex3 and actionscript3. there, i need to display dir content of cd drive/usb drive entered by user. how can i get cd/dvd drive name by actionscript3
View 1 Replies
Apr 20, 2009
I am not exactly new to Flash in that I can do several things with it. However, I am not anywhere near expert status. I am working on an interactive map of a college campus for my employer. I am employing buttons that, when moused over, display a large image of each campus building. The question is this: is there a way to also have maybe an actionscript that would center that image automatically?
In other words, if the building I want to show is on the right hand side of an internet explorer window and I mouse over it, is there a way to have the map auto scroll the window to center the image that pops up on mouse over?
View 1 Replies
Sep 19, 2009
Can images be stored in some sort of array and then called to the stage ramdomly?
View 1 Replies
Jul 22, 2010
I have been asked to loop an existing FLV file that someone else created. I do not know what version of Flash was used to create this file, however I do have an older version 7.2 Flash MX Pro. Currently the FLV starts automatically and stops and the end of the movie. The owner of the site would like the movie to start over with a continuous loop. I'm pretty much of a rookie with Flash and with HTML5 coming out soon, I don't think I'll get a chance to become a pro at this.
View 5 Replies
Feb 29, 2008
We recently upgraded our network to Leopard and Flash to CS3,and since then, I can't publish to a network drive.The reason I need to do this is that we're on a network where all our project files are on the server, and we work directly from the server. With previous versions of Flash and the system, I was able to work on a Flash file on the server and publish or test to the same place. Now I need to copy my flash file to my local
computer in order to publish or test.If I try, I get this error: "Error creating Flash movie file.Be sure the destination file is not locked or on a locked drive.Also, check that the file name is not too long." Neither of those are the case.
View 1 Replies
Aug 4, 2011
Im wonder if its possible to make an AIR app to only be able to be run when its CD is in the CD drive?
View 1 Replies
Mar 25, 2009
How come every time I run this script:[code]Where does the Undefined come into things? I have only asked the script to fire 3 times so the first time through the text in position [0] in the script Carp should be printed out?
View 2 Replies
May 1, 2009
basically what im trying to do is have a basic countup timer that goes in intervals of three. (3,6,9,12,15,ETC.) but it has to run with a 12 fps and not stop. also this cannot be 1000 frames long .
View 12 Replies
May 4, 2009
Im trying to make a preloader. this is my first attempt and from a tutorial and some minor adjustments on my part this is what ive come up with. i was wondering if there was a way to add a percent, and also why this doesnt disapear after its done loading. it remains on the stage throughout the loaded swf.
PHP Code:
siteLoader.loadMovie("Population.swf");
loadingBar._xscale = 1;
loadingBar.onEnterFrame = function() {
[code]....
View 14 Replies
Sep 30, 2009
my flash tutor is on vacation and I need to work on a project. How do I move an action from from 246 to 271?? I've tried Copy/Paste and it's not working.
View 1 Replies
Jan 16, 2010
I've put a blur effect on the hit state of a button, but the script for the button is On Release Go to and Play the scene I wan't it to skip to. So as soon as the button is clicked it does what it's told and the blur effect (16 frames long) doesn't get to play.
View 5 Replies
Mar 27, 2010
On to the problem: I have a very simple flash, basically just a photo slideshow. The issue I'm having is this: I have a bunch of photos on the timeline, but I have a button on top of everything, just to give viewers the option to skip that particular scene. The button works, but only when the video timeline has reached the very end of the scene. It won't work before the end of the scene. The button actionscript is the most basic of basic:
on (release) {
gotoAndPlay(scene1)
}
View 2 Replies
Feb 23, 2004
Anyone know a good tut on how to implement the JMEvents calendar component? It comes with MX04 but I am unable to find a tut at the moment (although as I type I am looking and trying to work through it). It can be either an xml, db, or hard coded example. Just need a little push.
View 1 Replies
Nov 4, 2004
I'm having a buch of pictures of different height and width, which have to be loaded into different movieclips, and resized to 'bout 100px * 100px (so they're all the same size ~> thumbnails)
The problem width xscale and yscale, is that you have to specify the amount the movieclip/image resizes, in percentages instead of in pixels.
is there ANY way you can resize a dynamically loaded JPEG to EXACTLY 100*100 pixels ?
Here's my code (which doesn't work):
Code:
movieMain.thumbsHolder.createEmptyMovieClip("afbeelding" + j, j);
imageHolder = movieMain.thumbsHolder["afbeelding" + j]; imageHolder.loadMovie(path);
imageHolder._y = j * 200;
imageHolder._height = 100;
imageHolder._width = 100;
View 4 Replies
May 28, 2005
ok I have 2 buttons, and they load external swfs into containers everything works fine but it seems like my gotoAndPlay("framelabel") isn't working...
here is the code for the buttons... incidentally they are inside a movieclip on the mainstage... everything else seems to work just fine... also I have my intro and out animations inside the external swfs. I've tried _root.contents_mc.gotoAndPlay("out"); I've tried _parent this._parent and _parent._parent and this.contents_mc.
both buttons will load the external swf but when I click on the other button it should play the out and then load the next swf and start playing the intro (which is the beinging of the external swfs timeline) ANY Ideas whats going on here?
[Code]...
View 5 Replies
Jul 14, 2005
That was supposed to be my first preloader dealing with an XML file and external jpgs ... searched the forum, found something that looked/sounded like it would work, tried to adapt it to my particular situation and ... (surprise!) ... it doesn't work. Let me add at this point that I'd consider myself a "very casual" ActionScripter (if there is such a thing), meaning that most of the time, I try to learn as I go along, without any *real* background knowledge. Here's my situation - methinks it's rather straightforward: SWF file (project.swf), XML file (config.xml) and a bunch of jpgs all in the same directory - nothing exotic so far. Here's the AS I (try to) use in my SWF file to load the xml and the imgs therein:
[Code]...
View 3 Replies
Jul 22, 2006
[URL]
I want the clips to be displayed in, for example, 2 rows of 3 clips, 6 in total.
By modding the AS to
total = 6;
for (i=0; i<total; i++) {
t = _root.createEmptyMovieClip("xml"+i, i);
loadMovie("imgBack.jpg", "xml"+i);
[Code].....
I realise that the size of the jpg determines the point at which the second row is displayed so can I do it easily by determining that the third mc has been reached so start a new row?
View 3 Replies
Dec 29, 2006
I am doing up a photo gallery as a pet project using only actionscript. So far I have been successful in achieving the objectives that I want. However, moving forward, I intend to make the flash photo gallery easy to customise and want to add in a XML config file for flashh to reference.Here is where I am facing some problems. I managed to get Flash to read the XML data w/o a problem. The catch is how can I know when the XML file is loaded before I render the other movie objects (which require the settings in the config file)?
eg.
file_xml = new XML();
//Load XML file
XML.prototype.ignoreWhite = true;
//Parse the XML data
[code]....
Is there a way for Flash to listen to when I can start using the config values?
View 3 Replies
Mar 11, 2009
I need to make a flash located on the internet load a swf from user's PC/network. Essentially, make it so that "myrandomsite.com/main.swf" can load "U: andomfolderinfo.swf".
I tried using cross domain policies but that didn't help (of course I've never used them before so I'm not entirely sure how they work). And I'm not well versed with Javascript but I am willing to try. I'm trying to do is have a .swf from C: read files from U:
View 3 Replies
Mar 23, 2010
in actionscript, is there a way to open CD ROM Drive when you click a button?
View 2 Replies
Nov 3, 2010
We have an Adobe Air application. Now we'll make DVD's an ship them to potential clients. How can I be certain that the client can open this .air file if they don't have adobe Air installed? Also I saw that Mac's often wanna open .air files in applescript(also if Air is installed).
I know that there are install badge. But I think they don't work with local .air files. Or is there a way to install a local .air with a badge?
View 2 Replies
Oct 6, 2011
How do I save a resource like "something.rar" from the web, like when it is located on a regular web page?
View 2 Replies
Nov 28, 2011
Is it possible to read/write to the C: drive and it's directories with Adobe Air? if so how? I've only seen examples using the desktop or user directories with resolvePath().
View 1 Replies
Jan 28, 2010
i'm trying to see if a file exists, the file is located in a usb memory so i'm using an array and an ioerrorevent, if the file is found (event.COMPLETE), i execute another function and if the file does not exist i use this (IOErrorEvent.IO_ERROR) which tirggers another function to look for the next drive. however, even when the load find the file in the right drive the IOErrorEvent is triggered anyway and not my event.COMPLETE.
[Code]...
View 0 Replies
Sep 5, 2010
I got a complete package of creative suite cs4. Even though I didnot want to install additional components such as Adobe Bridge, Adobe Drive, etc. They got installed with the package. Now I have CS5 available, and I don't want these to keep occupy the disk space, atleast not CS4.
How can I uninstall these components, I don't really use them too. I looked into my Control Panel, but there is no option to uninstall them. I am using Windows 7.
View 0 Replies
Mar 2, 2006
I've got myself a gallery which is generated from the contents of an XML file. (I just followed this excellent tut!)
I've decided that its too much hassle to update the XML file everytime a new image is added to the directory, so I'm thinking about using PHP to build the XML file. That means that going from PHP->XML->Flash. Can I just go straight from PHP->Flash? All I want to do is get a list of files in /directory_x. Are there any obvious benefits/drawbacks to either method?
View 1 Replies
Feb 26, 2009
is there such a thing? it's either this or "for each" pretend I have 6 red cars and 14 blue cars in my ParkingLot class. I want ParkingLot to tell just the red cars to drive. In my mind it works as follows:
[code]...
View 3 Replies
Apr 17, 2010
I was looking into a readymade flash CS4 project. It's kind of slideshow for some photos. I wanted to modify the Action Script in order to use the pictures in my computer's hard drive.
The code that has been used there in that project is something like
var gal_uno_uno="http://infernotech.co.cc/meracup.jpg";
var gal_uno_unoth= "http://infernotech.co.cc/meracup.jpg";
var gal_uno_dos="http://farm2.static.flickr.com/1073/756274318_d3bc6b17c9.jpg";
var gal_uno_do= "http://farm2.static.flickr.com/1073/756274318_d3bc6b17c9_s.jpg";
var gal_uno="http://farm1.static.flickr.com/217/485076305_fb0eb729e9.jpg";
but, I don't want to specify the url of the images. Instead I want to pick up these images from my hard drive.
View 2 Replies