ActionScript 2.0 :: SWF Menu Of Past Projects: Change Current Directory?

Sep 10, 2008

I am trying to create a menu in Flash to access different Flash interactives I have created.When a button is clicked it brings up a different Flash project, but I am having problems with it now bring up it's own assets because they are all referenced as if we were in the sub-folder of the current swf.

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Change The Working Directory So That Index.swf Can Simply Call Projects.html?

Dec 6, 2003

My main movie calls loadMovieNum("projects/index.swf", 1); . Therein, the movie index.swf calls loadText.load("projects/projects.html");.

Is there a way to change the working directory so that index.swf can simply call projects.html, without referencing the projects directory? This is particularly useful bc the text file calls a number of links.

View 1 Replies

ActionScript 2.0 :: Get The Current Directory The Swf Is In?

May 31, 2007

is it possible to get the current directory the swf is in? like if I have a movie in a folder called "folder01", i would like to have some code in the movie that returns "folder01".. and if it's in "anotherfolder", it returns "anotherfolder", and so on..

View 7 Replies

As3 :: Get Current Directory Of A Running Project?

Jan 28, 2010

is there a way to get the current directory of the project? i'm trying to load images using dynamic paths and it seems that the link is broken. but seeing the current directory of the running project i'll be able to make sure that my picture links are valid.

View 1 Replies

Flash :: Media Server - Main.asc File To Return The Current Directory Listing To A Application

Aug 12, 2009

I need the main.asc file to return the current directory listing to a flash application.

[Code]...

View 1 Replies

ActionScript 3.0 :: Convert Flash Projects Using Flex Projects?

Sep 6, 2010

I am going to build chart application with Flash Professional CS5 using AS3.0.Is there any possibility to convert this Flash application into Flex by creating movieclips and symbols in runtime in flex.How to do it.

View 1 Replies

ActionScript 2.0 :: Rewind And Fast Forward Buttons Start To Mess Up When Fast Forward Or Rewind Past The Current Scene?

Apr 1, 2009

Problem is that my rewind and fast forward buttons do not work properly in the sense that they start to mess up when you fast forward or rewind past the current scene. It seems to just skip through the whole movie and totally mess up the animation.the code for the controls is on a single layer and reads as the following:

stop();
play_btn.onRelease = function (){
play();

[code].....

View 4 Replies

Media Server :: Change Directory For VOD Files?

Jun 1, 2011

My company has recently asked me to install the Adobe Streaming Server 4.0.I was wondering if it is possible to have the server software reside on the C: drive, while having my VOD files on seperate D: drive.The staff here wants to separate the software (server in this instance) from the individual flash video files, so they have set up two drives.

View 2 Replies

Media Server :: FMS  - Change Directory Where The Log Files Are Located?

Sep 28, 2010

I want to change the logs files directory from: C:Program Files (x86)AdobeFlash Media Server 3.5/logs to: D:fmsLogs in adobe in: Home / Flash Media Server 3.5 Configuration and Administration Guide / XML configuration files reference it says:

[Code]...

View 1 Replies

Actionscript :: Flex : Change The Directory Name Used By Flash Builder 4.5?

Nov 11, 2011

I have a nicely working actionscript project in Flash Builder 4.5. However, I'd like to change the directory name that it sits in. Seems Flash Builder breaks if I manually change this directory name using the operating system. Is there a way to change this in Flash Builder so it doesn't get mad at me, or other workaround?

View 2 Replies

Actionscript 3 :: Why Moving A Symbol's Class File From Top-level Directory To Deeper Directory Break

Feb 9, 2010

When I have a class linked to a MovieClip in my library and that class takes an argument in its constructor method. That class will compile properly ONLY when it's located in my top-level directory (same dir as the .fla and Document.as files). If I move that class to a deeper directory, say com.place, and update the package statement and symbol link appropriately, the compiler will generate error "1136: Incorrect number of arguments. Expected 0."Create flash project and put a rectangle on the stage. Covert it to symbol and assign it to class TestPanel - or whatever you choose. Also configure the fla so that is uses a Document (Main) class.Create Main.as and TestPanel.as in the same folder. In the Main class, instantiate a instance of TestPanel and add it to the stage. Flash will, predictably, add the rectangle symbol and everything is fine.Now modify TestPanel so that its constructor method takes a Number and have Main.as pass some number to TestPanel.[code]You now get the error: 1136: Incorrect number of arguments.Expected 0.When I move the TestPanel.as into a deeper directory, Flash somehow is looking elsewhere for the base class for Symbol, even though I'm mapping that Symbol to com.place.TestPanel.

View 4 Replies

Adobe Flex 2 Projects With Same Class Share That Class Between The Two Projects?

Dec 24, 2009

i have several flash projects and i have common classes. is there a way to share these classes between the project so i won't need to copy it to all the project when ever i modify something?

View 2 Replies

ActionScript 3.0 :: Dropdown Menu - Current XML Node?

Mar 18, 2009

I have a XML file:
<Books><Book>
<label>Demolehti</label>
<data>Lehti2.swf</data>
<nextfile>Lehti1.swf</nextfile>
</Book><Book>
[Code] .....

So, I load it into dropdown menu, label is what user sees in dropdown, data is url to swf and nextfile is url of the next swf on the list. Now if user has loaded, let's say swf number 3, Community News (lehti3.swf). Is there a way to get a content of nextfile-node of this current Book only....If I trace myXML.Book.nextfile, I get a result:
<nextfile>Lehti1.swf</nextfile>
<nextfile>Lehti3.swf</nextfile>
<nextfile>Newsletter.swf</nextfile>
<nextfile>Lehti2.swf</nextfile>

When I would like to get result
<nextfile>Newsletter.swf</nextfile>
I tried to trace current.myXML.Book.nextfile but of course it didn't work...

View 1 Replies

ActionScript 2.0 :: Change The Menu To A Horizontal Menu With The Same Submenu Animated Dropdowns?

Apr 20, 2005

I'm recreating an xml menu inspired by [URL]... How to change the menu to a horizontal menu with the same submenu animated dropdowns... so basically, I need the main categories to go accross the top and the rest work the same.

View 9 Replies

ActionScript 3.0 :: Disabling Menu Button For Current Page Using Flashvars?

Nov 22, 2009

So I know Flashvars uses a lot different methods in AS3 because of the loader classes and all that. How do I disable the button and make it only display the second frame to the button corresponding to the page that the user is currently on?I've called a variable in the HTML document using query string (or I could use Flashvars just as easy if that makes it easier) called "currentPage" and on each page in the HTML give it a page name.I know how to grab the variable from the HTML into a text field in the SWF (see this tutorial) but I'm having trouble manipulating my menu buttons.

View 0 Replies

Actionscript 3 :: Change A Flash Context Menu That Is Already Personalized -- Can't Find It To Change?

Dec 16, 2009

Is there any way to change a context menu that already has been personalized. I have an small application that I purchased to learn with and also to save some time. When I right click the context menu appears with the other person's information in it. I want to change that information if it is possible to do so. I tried

var my_menu:ContextMenu = new ContextMenu();
my_menu.hideBuiltInItems();
contextMenu = my_menu;

and added my info but the menu will not change from the person I got the app from. Is this considered unethical or illegal? I put so much work into this, I don't want the person to get credit for it.

View 1 Replies

Actionscript 3 :: Change The Current State Of Itemrenderer?

Oct 15, 2009

I have created a module with 3 states as an itemrenderer. The states are called Movies, Songs and TvShows. The base state is empty. The itemRenderer consists of Hbox, Vboxes and labels.And I have created a List component.What I want to do is to populate data in my List component and make it visible using my ItemRenderer. Depending on the data that is pulled out from the database I want to show the itemRenderer's correct state. Hence if the record pulled out from the database is a song, I want to display the Song state, if it is a movie, I want to show the Movie state and so on.So depending on the data that's pulled out, I would like to change the current state of itemrenderer.

View 2 Replies

ActionScript 3.0 :: Make Current Button/mc Change Color When Active?

Aug 5, 2011

I have a slideshow where you can click a button and it will bring you to a specific frame with an image on it. How can I code it so that the clicked button that represents the 'current' slide changes color until another button is clicked?  When the other button is clicked, it will take on the 'current' color  I bet this has been asked before, but I've only found responses for AS2.

View 3 Replies

ActionScript 2.0 :: Change Movie Clip Current Frame With Tween?

Feb 8, 2009

The _currentframe property is readonly, so how do i tween between keyframes in a movieclip?

View 3 Replies

Actionscript 3.0 :: Change And Load Pictures Based On Current Date?

Feb 22, 2009

how to control the display of pictures by date?

I want to display images based on the date. Then it changes to the next one. For example for March it would be picture: img01.jpg and for April I would like the flash movie to automatically load the next picture: img02.jpg.

View 2 Replies

ActionScript 3.0 :: Change The Current External Photo That Is Being Loaded To Load The Url From A Setting In The Same Xml File?

Mar 5, 2012

I have a gfx which I have created 6 shapes and converted them into simple buttons. I have urls sat inside an xml file. How can I get the buttons to use the urls set from within the xml file?Also how can I change the current external photo that is being loaded to load the url from a setting in the same xml file.

View 9 Replies

ActionScript 1/2 :: Cannot Get Scroll To Go Past

Jul 22, 2010

I have an fla that has a scroll which is large, 4591.60 is there a limit where flash will scroll and then stop? I did not create the file but I cannot get the scroll to go past where it is now as there is more to the scroll.

View 1 Replies

ActionScript 2.0 :: Health Bar Keeps Going Past 100 When Healed?

Jul 25, 2009

i have an apple and the character the character can walk over and touch the apple when he touches it he gets 30 random health but then if he health is already 100 the apple will give him 130. ??? is their any way to make it so his health doesnt go past 100

heres the code on the apple

PHP Code:

onClipEvent (enterFrame) {
}
if (this.hitTest(_root.char)) {

[code].......

View 2 Replies

Flex :: End Up Getting A Http 500 Error And Have Not Been Able To Get Past That?

May 24, 2011

I have used wsdl2js to generate the javascript needed to communicate with the service.However I end up getting a http 500 error and have not been able to get past that. I have looked through the provided examples from the Apache CXF download and I have done some searching and cannot find a solid example of creating the javascript client. A lot of examples seem to somehow access the wsdl file at runtime from a server but my javascript is already generated from the CXF tool and I just include the scripts.

Adobe Flex and AS3Another option I have considered is using Adobe Flex. I create a new Mobile Flex project in Flash Builder using the BlackBerry PlayBook SDK and Flex 4.5. However when I use the menu options to connect to a web service I get prompted with "This option is only available for flex projects."Are there any other options out there that provide a solution to this problem? If you need more information just let me know

View 1 Replies

ActionScript 3.0 :: Cs4 Will Not Let Rezise An Image Past 28.8

Sep 23, 2009

i have a movie clip symbol (its just a red square 1x1).

at frame 1 it is just in the centre at 1px x 1 px.

i go to frame 60 ( the end of the movie clip ) and i want 2 resize it quite a bit.

but it WILL NOT let me resize past 28.8 for widht and height.

p.s. if i remove the tween then i can resize it to my hearts content.

View 0 Replies

ActionScript 3.0 :: Movie Not Getting Past The Preloader

Feb 8, 2010

I've got a couple of questions regarding the same project.

1- When you view URL... in IE, you'll notice that it sometimes doesn't go past the preloader. I asked why this happened in an IRC channel, and was told to use swfobject. However, with swfobject, I have the same problem. Is something else the problem?

2- I have the code [code]

View 2 Replies

ActionScript 2.0 :: Getting The Date With Past Days?

May 9, 2010

I've got a number of days from the date to today. Like 1689 days. How can I get from this the date subtraction past days with date?

View 1 Replies

ActionScript 2.0 :: FMX: Cannot -= _x Value Past Zero With Small Numbers?

Jul 7, 2004

I am having a little trouble understanding why my code is not functioning. It works if I subtract and combine numbers above .1 but if I use a number below .1 the _x and _y values stop at 0. I would like the _x and _y values to go into the negative. I am using Flash MX.

function movePastCorner(mc){
mc._x = 2;
mc._y = 2;

[code]......

View 2 Replies

ActionScript 2.0 :: MC Advances Past Its Max Y Position?

Aug 24, 2009

I have a scroller mc that I want to control by clicking underneath its y position to advance it down its y axis by a predetermined amount.The below code works to move it, but it advances past its max value of 496.5 (off the screen).Have I made a mistake in the code below? The scroller mc and associated text block is in their own mc on the root timeline. This code is on a frame on the root timeline.Has it got to do with the relative y positions of the stage compared with the y positions in the actual MC that I am trying to control?

Code:
principals_mc.johnTxt_mc.scrollerZone_mc.onRelease = function () {
var scrollerAmount:Number = 80;
if (this.hitTest(principals_mc.johnTxt_mc.jfscroller_mc)) {[code]......

View 6 Replies

ActionScript 2.0 :: Change To Vertical Menu?

Feb 17, 2010

I have attached an AS2.0 class file.

I am needing to change the dropdown menu from horizontal to vertical.

View 0 Replies







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