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


Similar Posts:


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

Html :: Flash Hides Behind Submenu, Z-index Is Not Working

Nov 29, 2011

actually i have an image gallery in a seperate HTML page, I want to embed it into the main html page containing the menu, but even after using the code <param name="wmode" value="transparent"> or <param name="wmode" value="opaque"> the submenu is still hiding behind the flash. I also tried by changing z-index values, still didn't work.

View 2 Replies

ActionScript 2.0 :: Email Form Not Working Via Index.html?

Jul 5, 2009

I've got an email form within a swf file - [URL]

If I try and fill this form in, it gives me nothing, I got my "Your email failed" message.

However, if I call the swf file - www.kismetroadshow.com/main8.swf and do the same again, it works and I get an email.

I've ruled out the php script therefore.

I've posted the actionscript below:-

stop();
senderLoad = new LoadVars();
receiveLoad = new LoadVars();

[Code].....

the button's called sender. It's been doing my head in for 4 days, everytime I think I have it cracked the punter sends it back which is really embarrassing.

View 3 Replies

Change The Output Name Of Index.template.html In Flash Builder?

Oct 20, 2011

when I compile my action script project in Flash Builder 4 it creates a html wrapper file based on index.template.html in my html-template folder. That file automatically gets the name of my project or main application (project name.html). But usually I want it to have the name index.html

View 1 Replies

Flex :: Change The Index.html Flex Output To Admin.anotherExtension?

Dec 9, 2010

i need to change the automatically generated index.html flex output to admin.anotherExtension. I understand that if i change the index.template.html the changes in html level will be preserve when the file is generated, however i need to change the name of the file also, and the extension.

View 1 Replies

ActionScript 3.0 :: Simply Change Color Of MC Via FlashVars?

Aug 19, 2009

I'm setting up a simple Flash file (AS3) & want to check a flashvar on the first frame of my movie. The flashvar would be boolean to switch between two different values. If the flashvar is true the background MC would be purple. If the flashvar is false the background MC would be red.

View 1 Replies

Actionscript 3 :: URLRequest Or Loader Simply Not Working On Some Computers?

Aug 24, 2010

So my problem may be a little bigger than that, but I'm not certain. I'm creating a custom flash photo viewer for a client that dynamically loads the images with Loader objects. It takes a folder name in a specified directory on the server and calls a php page (using URLRequest) to get the workable contents of the folder. And then it loads it up from that array.

Here's the problem: it works FINE on my machine and every machine I've tested it on, but it DOESN'T work on my client's machine or some of his customer's machines. The loader bar that's at the bottom of the screen doesn't start to fill, which means that the images aren't starting to even load, and the status bar indicates that it continues to wait for a the server, yet never finishes waiting. This is consistent on a single machine, but varies across machines.

I've added diagnostics (a custom class I made to track certain vars and collect errors) to the thing to catch any errors, but it reports nothing on my client's machine. I've added flash version checking code, so the possibility of a lower version messing it up is gone... I guess my question is, is there anything (security, environment, etc) that I could have overlooked that doesn't allow request objects or something to work on certain machines?? I've been ripping my hair out trying to figure this out!

[Code]....

View 2 Replies

ActionScript 3.0 :: Working With Multiple Projects

Aug 11, 2009

I am working on an educational project where users access multiple interfaces that teach them scientific concepts and I've come to a snag in the best method of developing these interfaces.As they were developed in the last module the format looked like this. Each interface was a separate swf file that contained all needed code, graphics, and a set of fake data for whatever the interface needed. Each revision of the interface is compiled and displayed through meetings or emails where the actual swf file is sent, we do not have a test server nor do we have access to the internet in the rooms where reviews happen. Currently after the final look and interaction is approved all calls to the fake data are modified to either make database calls themselves, or call functions from it's containing swf file once it is loaded.[code]Obviously I haven't gotten it to work but I'm thinking something along those lines. Any suggestions on a method to do this the best. Ultimately I would like to be able to do this for embedding assets as well. For example a font, currently I load fonts from an external file, which means each FLA needs a copy of that font file and at completion all files load the same text file.

View 3 Replies

Javascript :: Reference The Html Object That Made The Call To SomeFunction Directly Using The ExternalInterface.call Call?

Jun 28, 2011

i have some actionscript that makes a

ExternalInterface.call('someFunction');

call.is it possible to reference the html object that made the call to someFunction directly using the ExternalInterface.call call?

Assume that the object that makes the call also has some Callbacks (via ExternalInterface.addCallback) that are accessible via javascript.

Currently:

Actionscript source
ExternalInterface.call("someFunction");
ExternalInterface.addCallback("someCallback",someASfunction);

[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 :: Link To PDF In Another HTML Directory?

Jan 29, 2009

I have my files organized in various directories on the server. If I'm in Directory A, how do I link to a file in Directory B? I know how to drill down into a directory using forward slashes, but I can't recall how to drill back up (or however you say it).

How do I rewrite this so that my button links to the PDF in a separate directory?

on (release) {
getURL("DirectoryA/bio.pdf","blank");
}

View 2 Replies

Flash :: Html - Specify Embedded Object Directory?

Aug 23, 2010

How should I change the following code if I want to put my flash object into a directory named "flash/", I tried changing the value to "flash/photo.swf" but it didn't work.

[Code]...

View 2 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

Javascript :: Is It The Index.template.html File Per Project Or The HTML File Created Per MXML Application

Sep 26, 2011

I was reading about Flex- JavaScript communication via ExternalInterface.But I had a doubt, it said that the javascript code should be written in the HTML file of the application ? Now which is this HTML file ? Is it the index.template.html file per project or the HTML file created per MXML application ?

View 3 Replies

ActionScript 3.0 :: Call A Function Using Array Index?

Aug 11, 2010

I've defined an array which stores the function name, like this:

var aresetButtonTop:Array = new Array(resetTop1,resetTop2,resetTop3,resetTop4,resetTop5);

Then I have a button named"btnresetTop" which when clicked will call one of the five functions stored in the above array(aresetButtonTop). The functions are called at run-time depending upon some conditions. I need to figure out how I can call those functions using the array index. I'm using the following code to call the function. The value of i has been already calculated.

btnresetTop.addEventListener(MouseEvent.CLICK, aresetButtonTop[i]);

After doing this I'm getting the following error when I click the button:

TypeError: Error #2007: Parameter listener must be non-null. at flash.events::EventDispatcher/addEventListener() at gallerytest_fla::MainTimeline/thumbTopClick()

Note: thumbTopClick() is a function inside which all these codes are written.

I need to find out whether it is posible in AS3 to call a function name using the array index or not.

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.0 :: Function Call Not Working - Getting Error 1180: Call To A Possibly Undefined Method Init? ?

Sep 25, 2009

why this is not working.I have an application with a new class I just created. The class loads, but will not call it's own internal function.

package com.parkerandkent.components.classic.photogallery {
import caurina.transitions.Tweener;
import flash.display.MovieClip;[code]....

"Test 2" will not fire here.And I get this error message:

CallTag.as , Line 10 1180: Call to a possibly undefined method init.

View 4 Replies

Flash Items Vanished - Directory Only Changing The Output .swf File And Used All Of The Same Html Files

Aug 11, 2009

I am new to flash and decided to start out using templates to gain a beter understanding. I grabbed a template - that when I went to save it said it was an MX version - once I began to make changes in it re-save and publish it I noticed that some of the elements were missing. I thought it was something I did so I copied the entire directory and just opened the .fla and saved it without making a change and then published it and the items were gone again. I saved it in the same directory only changing the output .swf file and used all of the same html files

View 5 Replies

ActionScript 2.0 :: Call External Swfs In An Empty MC On The Index Page?

May 28, 2008

I am currently building a website and what i need to do is to call external swfs in an empty MC on the index page regarding which buttons of the nav you clicked on.It works, very nicely. But then i need to be able to preload another swf on the index when i click on a thumbnail.

e.g: index load the "who.swf" first. On the who.swf there are 2 thumbnail and when click it must replace the "who.swf" with contact.swf. It works but the only problem is that i cant make the preloader of the index to preload the empty MC which load all the external swf.

Is it because i am using loadMovie and not loadCLip.

View 2 Replies

Actionscript 3 :: Live Streaming Of .flv Format Movie Is Not Working If The Directory Is Moved Into Other Place

Jun 27, 2011

I can play the .flv movie after compilation through FlashDevelop but its not working if I move the whole directory into another PC or another Directory in the same PC.

package
{
import flash.display.Sprite;
import flash.net.NetConnection;

[Code]....

View 1 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

Flash :: Html - Z-index With CSS IE8 And Chrome?

Dec 10, 2010

I have a website at link text. I'm having problems with the navigation menu on the left. In the following menu: "Галерия -> Проекти" the submenu that pops up is shown under the flash content, despite of me setting the z-index. This only happens in Chrome and IE. Firefox renders it fine. Does anyone have a solution ?

View 2 Replies

Html :: Div With Swf Inside And Z-index : Firefox Mac Bug?

Jan 5, 2012

I've got a problem with firefox for mac and z-index.I've got 3 div: header, wrapper and footer; inside of them i've got 3 swf header.swf, wrapper.swf and footer.swf.This is the code:

<div id="header">
<div id="navigation">
<script type="text/javascript">

[code]....

the problem is that wrapper div dont work good with zindex and cant stay below the header.So rollover and rollout actions doesnt work!

View 1 Replies

IDE :: Swf File Not Loading Index.html?

Jan 19, 2009

I created a very simple flash intro and I just need the swf file to index2a.html. The swf file sits in the html file. Here is the link http://thinkprint.at/maunz I'm using Flash CS3

View 3 Replies

ActionScript 3.0 :: Run The Index.html The Swf File Displays The Same ID #

Mar 26, 2012

when I run index.html (loads the swf file) locally, the 'ID' is not changing when i resfresh the window. I clear browsing history and the ID changes when I resfresh. Is there a way to tell my swf file to ignore the browsing history so that it will change the ID number everythime I refresh the swf file? Is it because I'm using a textfiled to display it? this is the fla file the displays the ID

import com.actions.getXML.*;
var feed:XML;
var myText:TextField = new TextField();
var modelsXML:loadXML = new loadXML("localhost/a_test2/data.xml");

[Code].....

View 4 Replies

Flex :: Why Selected Index Not Working When TextBox Changes

Oct 31, 2010

In the following working example the list's selected index is supposed to reset to 0 whenever the text box changes. However, for some odd reason every other keystroke the selected item disappears and then reappears at the subsequent keystroke.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Script>
[Code] .....

View 4 Replies

ActionScript 3.0 :: Change Index In Array Objects?

Aug 22, 2009

I have a Array of Objects

var pp:Array=new Array()
pp.push([object,object2,object3,object4])

all the objects have Events, propertys, functions.....I will like change the position in the array, but not destroy de object.

View 6 Replies







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