ActionScript 1/2 :: Creating Mac CD ROM With Flash Interface?
Oct 16, 2007
I am creating a Mac cd rom with a flash interface and want to open folders on the cd by clicking a button on the interface. I read the this can be done using a bit of applescript but I'm having trouble executing the applescript from flash, I have save the applescipt as an app and when I run it I independently it works fine but when I try to run it using FScommand from flash no joy?
This is the action I'm using on my button:
on (release) {
fscommand("exec", "test.app");
}
I have also created a folder in the root of my cd called 'fscommand' and put my script app in there but still it wont work?
View 2 Replies
Similar Posts:
Feb 17, 2011
Is there a way to generate an instance of a class that implements an interface based on the name of the class?
I am trying:
var ClassReference:Object = getDefinitionByName("movement.OuterSpaceMovement") as IMovement;
var m:IMovement = new ClassReference as IMovement;
trace("startup..." + m);
-But I am getting an error message ReferenceError: Error #1065 (OuterSpaceMovement) not defined.
I have several classes that implement the same interface (IMovement) but I need to be able to generate new instances of these classes and then pass these instances as a datatype (IMovement datatype) to other classes...
So then I tried:
var ClassReference:Class = getDefinitionByName("OuterSpaceMovement") as Class;
var m:IMovement = new ClassReference() as IMovement;
and this doesn't seem to work...but the following
var m:IMovement = new OuterSpaceMovement();
View 1 Replies
Oct 13, 2009
I'm pretty new to flash so apologies if i use incorrect terminologies. I'm trying to create a sliding interface set in a manner demonstrated in the diagram below.On MAIN PAGE there will be objects which will enable you to navigate around the site. i.e. if you click on the stick man the movie clip will navigate to the left and location you to the contributors page. If you click on the camera the movie clip will navigate to the right. Click on the TV the Movie will navigate downwards.Each page is only visible when you click on the relevant icon (i.e if you click on the stick man the movie clip slides to the left locating you to CONTRIBUTORS PAGE and MAIN PAGE comes off the screen.
In order to construct a site which navigates this way.......how would i do it and what is the Actionscript for this sliding interface style Do i combine all pages together and make one big movie clip...using script such as.....
public function moveX(event:Event):void {
Xspeed = (mover_mc.x-newX)/
2+Xspeed)/2.5;
[code].....
View 1 Replies
Nov 4, 2006
I need to create an interface for a competition which also is a fund raising event. There are a number of teams, and for each point a team scores, their 'points' will be equivalent to a certain amount of money.Problem:To figure out a way on how to make so, that when you click/add a point to a certain team, the following should happen:1) The team's amount increases2) The team's bar shows the same increase3) The total amount of all teams updates and shows at the top of the screenHere's a pic that illustrates the whole thing:Fund raiser interfaceIs there anyone out there who has a clue on how to get this thing working? The graphical aspects of it with tweening etc is no problem, it's the actual "adding value to Bar1 and have a MC show the increase, and summarize the total value of all bars" programming that I'm struggling majestically with.
View 1 Replies
Jun 10, 2009
New to flash and actionscript. Here's what I'm using:
Flash CS4
Actionscript 2
I'm creating a mixer interface that plays multiple tracks at the same time. I can play and stop all tracks, but I'm having a tough time figuring out how to pause/unpause the tracks. I have a [pause_btn] and an [unpause_btn] just don't know the code to get them working.
[Code]...
View 5 Replies
Feb 13, 2012
currently I use the following workflow for Live video streaming.I have FMLE on a computer streaming the Video feed to my FMS.I currenlty use Dreamweaver to create window with a few instances of a video window and one of the windows is configured to rtmp to my server and the stream name of the stream I have setup in FMLE.This then streams to one of the windows.I then assign a different Stream name to the other windows.
I send an FMLE client to a user in the locations that want to have a video presence on the webpage.I send them instructions and running FMLE and the parameters to use to get their camera up and running.This works fine to a point.Most of the users are not technically minded and so often this leads to issues and delays to get these things to work.
I want to move on and improve this flow.I want to create the video instances on the page where:Below each video window is a text input field where a user can type in their name which will be used as the stream name.Below each video window is a button that the user clicks to connect their camera automatically without having to install FMLE.Once the video feed is running, only that user can click the button again to disconnect it. ( The button changes to "Stop Broadcast" etc).
I have looked at the structure of Ustream for example, and this seems to be the method they use as you can download the XML file of your channe,l and the RTMP URL and stream name can be copied and then used directly in FMLE and you can stream with more control of your camera that way.
View 1 Replies
Dec 25, 2009
i seem to have trouble finding on the internet what happends when one interface extends another interface.
View 2 Replies
Feb 19, 2007
I am an actionscript newbie but have been given the task of designing a navigation menu in flash that has to connect to a database - the menu items have to be marked - unread, mandatory etc. and have to pull back database information to display then be marked as read.
View 3 Replies
Jun 24, 2011
I don't need to stream anything. Just wanting to look at a webcam using Flash. Hopefully be able to control (zoom) a Logitech cam on Mac os 10.6+.
It will be a screen I share in Connect. The video pod in connect is not what I want.
View 1 Replies
Aug 12, 2010
I've created simple swf with interface:
public class Test extends MovieClip implements ITest
{
public function Test()
{
[Code]....
So if I have test.swf in the same directory(local way) it work's fine. But if I'm placing it on the dedicated server: (event.target.content as ITest) returns null. However, I can access speak() without interface like this event.target.content.speak("a!");
View 2 Replies
Jan 29, 2010
it possible to create a button in flash that when clicked the flash interface extends to fit fullbrowser?
View 4 Replies
Nov 17, 2009
how can I increase the size of flash CS4 interface? Meaning also to enlarge tools buttons, so they are easier to see. I have to strain my eyes, because all of the toolbars and text related to them are too small, for constant work.Is this possible? I know there is one way - to increase display DPI settings, but that would also increase the whole desktop, but I would like just to increase flash interface text size and if it is possible then also tool buttons.
View 1 Replies
Nov 9, 2009
i am new to the actionscript 3 . i want to create Phone book for me
i want to use front end as flash interface Back end as Ms excel or Ms access or any databases
View 1 Replies
Mar 2, 2010
I would like to have a flash app on a website where:A user can input some values Those values are then sent to a server which has an executable fileThe exe is run with the user's settings and then sends some data back to the userThe data is displayed in the flash app.Is it doable with CGI or is there a better alternative to this?
View 2 Replies
Jun 8, 2011
This is a computer I am provided with while I work onsite. I am having severe corruption issues. Sometimes the fly out panels appear on the opposite side of the monitor, scroll bars duplicate and appear over the top of my work, and the toolbar just disappears completly until I mouse over each button and force flash to redraw them. It seems to be redraw issues of flashs actual interface, not my work.Not sure how flash renders its own interface, but my .NET framework and java is up to date if that makes any diff.Is this an incompatibility with the video card? I've never seen this before and I wasnt able to find any solutions while googling, or even mentions of this issue, unless I was just searching for the wrong keywords
View 1 Replies
Nov 5, 2010
I'm trying to make an interface akin to the DS (have two screens, top just displaying the images, bottom handling input), but I'm not sure how... Would I just make 2 different flash files then merge them somehow, or would that not give me two seperate screens?
View 0 Replies
Aug 22, 2009
I'm developing a Flash web site with AS2 that uses a "pan" interface to transition between sections. When the user clicks on any of the sections, the entire web site pans to the location of that section. I've accomplished this by placing all of the content inside of a container movieclip, then tweening the movieclip's _x and _y properties using TweenMax. Everything works great, but the transitions are a little choppy and I'm trying to find any way I can to smooth them out. You can view the site in development here:URL...I know this type of question is hard to answer without looking at the code to ensure I'm minimizing CPU usage wherever possible, but I am using TweenMax as my tweening engine, and from the research I've done it is the least CPU intensive tweening engine available. Additionally, I know this site is pretty graphic intensive, so there is a lot of graphic rendering that is going on as the transition takes place.So, my actual question - is this as smooth as I can expect the animated transitions to be with the amount of graphics I'm using, or is there anything that anyone can think of that I could try to increase the frame rate?
View 2 Replies
Aug 20, 2010
Having a problem trying to get the external interface working with as3. My flash file has 2 input text boxes with instances of 'received_ti' and 'sending_ti' and a button with instance of 'send_button'. My html code has a simple form with 'sendField' and 'receivedField' inputs and a submit with a value of 'Send'.
At the moment i can get the flash file to send text into the html 'receivedField' input but cannot send text from html into the flash file's 'received_ti' text box.
[Code]....
View 1 Replies
Oct 1, 2010
I'm having an incredibly annoying problem with Flash CS5 on my Mac that is making the software absolutely unusable.
If I open a previously worked on file and start deleting layers and moving keyframes, the screen never redraws the interface. As in, if I delete a layer, I don't actually see it go away. It's still there in the interface. Minimizing/maximizing does nothing to refresh the interface.
View 2 Replies
Dec 28, 2010
I am developing a test system and want to allow the users to access the questions in the database without the ability to copy them. A php file intermediates the access with the database. There a couple of links to certain sections of questions and then links to certain pages. Is there a possibility to put this php content in a flash frame and deactivate the possibility to select text?
View 5 Replies
Apr 8, 2012
I have looked for something like this on Google and on this very site, but only found answers detailing procedures for sites. How is it possible to make so financial transactions can be carried over inside the game using Paypal, or maybe a different site? Is there any API/Library? If possible provide a solution in AS3...
View 1 Replies
Oct 8, 2010
I am looking to build a Flash/ActionScript 2 Command Line interface simulator which acts like a Unix/Dos CLI.
View 1 Replies
Jun 16, 2011
I have an older site that is coded in AS2(I can't get it to AS3 sorry) I found this script online that allows for mouse scrolling. It is in AS3 and I can't figure out what Event replaced in AS2. I'm sure there are much better AS programmers than me that could tell me off the bat. I'm just trying to get this converted to AS2.
var verticalCenter:Number = stage.stageHeight / 2;
var limit:Number = stage.stageHeight - content_mc.height;
var speed:Number = 0.1;
[Code]....
View 1 Replies
Jan 7, 2008
1. The task at hand that the client needs is to be able to import about 2 min. of flash video.2. Once the video is playing in the flv the client would like the user to be able to click and edit button.3. Edit button than takes you to a screen where the start point and end points are shown. The start and end can only be 30 sec.4. Once you locate the start of your video you can drag the end point where you want it to end.5. Than you click save and the video player will now only show the 30 sec clip you designated.
View 4 Replies
Jul 16, 2008
In my project i need to get the data from the microphone and webcam to upload in the webserver. how to get the data from those devices
View 1 Replies
Oct 22, 2009
I need to prototype a tabbed interface in Flash, AS3. I was thinking of 3 MC buttons on my timeline (let's say there instance names are; tab1, tab2, tab3).
In theory I would have a respective MC (instance names; content1, content2, content3) for each tab and when the tab was clicked on, it's MC would appear below (i.e. tab1 was clicked and in result shows content1).
Any guidance as to how I would structure this in Flash I'm blanking on the code structure to get this working and can't use easy goto's on frame ids as once performed in AS2
View 4 Replies
Feb 27, 2005
first off is this possible?personally, I believe it is if I can some how set up my computer to be a server.Basically what I want to do is have a flash document on my website access/create text files on my hard drive.I know I need something along the lines of XML or PHP can anybody tell me what the best things are to start with?
View 2 Replies
Aug 18, 2010
I am looking for flash to javascript function calling external interface using AS3[code]...
View 1 Replies
Jan 28, 2010
What I have:A swf exports a function via ExternalInterfaceJavascript creates new embed object and adds it to the documentCalling flash functions works fine in other browsersCalling flash functions will fail in IE 8Example of exporting functions in swf:
flash.external.ExternalInterface.addCallback("isActive", ...
Example of creating the embed object:
var b = document.createElement('embed');
[code].....
View 4 Replies
May 30, 2010
Everytime I try to do even an
ExternalInterface.call('alert','abc');
(Which will work on every browser) I get an
object doesn't support this property or method
After the alert appears. It even happens in the HTML generated by flash without me touching it...
View 1 Replies