Make "x" = 0.00 Relative To Something Else

Oct 8, 2009

i have a loader basically and i have a circle on it the scrubber.

i pulled it all the way to the left now i need to set it's X to 0.00 so i can easily work with it from action script.

i don't know how to make it 0.00

View 1 Replies


Similar Posts:


Flex :: Make Bubble Size Relative To Chart?

Jan 12, 2011

I'm wondering if there is any way to make the bubble sizes scale or resize when the size of the chart resizes. If the bubbles are set to a specific pixel size, it seems as though the size is set and that's it. So, if your chart is large, the bubble is size X and if the chart is small the bubble is still size X. [code]...

View 1 Replies

ActionScript 2.0 :: CS3 Relative Paths - Can't Seem To Make Movie2.swf Communicate With Movie3.swf

Mar 22, 2009

My situation is this I have 4 movies which load each other, meaning: movie1.swf loads movie2.swf which loads movie3.swf which loads movie4.swf movie3.swf communicates with movie2.swf though the _parent path and it works. but i can't seem to make movie2.swf communicate with movie3.swf since movie2 is _parent i assumed movie3 is a _child...but it does not work so my question is what do i replace _child with?

PHP Code: _child.mc.gotoAndStop("subM" + no); ps: would apreciate it if u could tell me a bit about levels ex: _level10/_level0 what do they mean and how can i tell on what level i have something

View 1 Replies

ActionScript 3.0 :: Make Code Simpler For Relative Position Of Each Movie Clip

Oct 13, 2009

i'm making an accordion menu with tweenlite, the menu works, but i want to know how can i make the code simpler for the relative position of each movie clip, i create a variable and override the variable inside the function for each movie, there is a better way to do it?[code]

View 4 Replies

ActionScript 3.0 :: Passing Relative Url In Flash (or) Absolute Path Vs Relative Path

Jul 6, 2009

I am new to Flash and ActionScript 3.0 environment. I don't have any knowledge in depth with Flash and ActionScript 3.0. I am using the flash(.swf file) in my Java application. Now, this .swf file is to be placed in the server system. While I am working with these, I faced an error. Here, my issue/problem(s) starts....

1.)With the help of URLRequest & URLLoader classes, I am loading a jpg file dynamically onto the stage using the following code:

[Code]...

View 1 Replies

IDE :: Relative Positioning With X AND Y?

Feb 13, 2009

I'm looking to create something like the link below, [URL].. however I need it to work on both x and y,I've been trying for days to figure out a way to pull this off,

can anyone point me to a tutorial or an example of something along those lines?

View 5 Replies

ActionScript 3.0 :: Can't Use A Relative Path

Jul 14, 2009

In my flash project, I make a call to an xml file using url... and it works fine as long as the userhas entered url... in the url. If the user enters url...without the www my xml file wont load.I can't use a relative path here because I share the widget on other sites. Any ideas, how I can let both users that enter the www and no www see the widget load properly ?

View 3 Replies

ActionScript 3.0 :: Relative Path To SWC?

Nov 6, 2009

I can't seem to get an FLA to properly import a SWC folder using a relative path to the project.

View 1 Replies

ActionScript 3.0 :: Get And Set Relative Properties?

Nov 6, 2009

Is there a way for me to handle relative properties? For example I have a circle in a box. The box is being moved, resized, rotated etc. How do I move, resize, rotate etc. the circle as if it were inside the box? Or must I remember the properties of the box, resize, move etc. it to default, move the ball then move, resize, rotate etc. the box again?

View 3 Replies

ActionScript 3.0 :: Relative Positioning With X And Y?

Feb 13, 2009

I'm looking to create something like the link below,
[URL]
However I need it to work on both x and y.

View 2 Replies

IDE :: Set The Co-ordinates Of One Object Relative To Another?

Jun 28, 2009

How should I set the Co-ordinates of one object relative to another?

Eg: Balloon, Monkey

If I need the Monkey co-ordinates fixed relative to the Balloon only and my Global or Stage Co-ordinates fixed at the Top - Left hand corner should not affect my Monkey's movements.

i.e Monkey's co-ordinates computed with respect to Balloon's only.

View 1 Replies

IDE :: How To Show Relative Videos

Mar 12, 2010

I have this FLV player that plays movies in a library style.
Where you get thumbnails for all different videos with the ability to add different categories. I have a fla and XML file as my source files. xml has all the information about the list of movies titles description and all that and my fla file has info about the way player looks. I want to be able to add a tab called related videos, kind of like YouTube where when you play a certain movie it show a list of similar videos.

View 1 Replies

Relative Path To Video Not Working?

Jun 2, 2009

I am having trouble getting a relative path to my video to work.It plays when I link to the video on the server or when I use the absolute path from my hard drive but I need this to play on someone els's computer so looking to enter a realtive path but then the video fails. I am using AS3 CS4. I used to do this using AS2 CS3 so something must have changed.

View 3 Replies

Way To Change Relative Path Flash Uses?

May 27, 2010

So I just found out the hard way that the path that Flash uses to load external content is based on the HTML it is embedded in, not the SWF itself. This is a problem for me because I have the HTML generated from a PHP file that is in a folder below the SWF. The PHP has other dependencies that would break if I moved it into the same folder as the SWF.So basically now my dev testing and web versions are separated by a folder.Is there a way to change the relative path Flash uses? Or am I going to have to hack things up?

View 1 Replies

Professional :: URL Relative To Flash Button?

Mar 14, 2011

I'm finishing up a flash template that I have used on numerous occasions and it has worked really well. This time however, the nav button that is used to bring up html pages within my site got out of whack. I have checked (and changed) the flash/menu_v8.swf?button=3 relative to the index page I'm trying to link to, but to no avail. I have also gone into Flash and can change the h-link of the TEXT on the button to the corresponding page, but it makes no changes whatsoever.

View 3 Replies

Html :: Why Is The Relative Path Not Finding The Swf

Jul 26, 2011

I have this url and in the middle I have this embed link

[Code]...

But for some reason the flash doesnt pull up. I have the banner.swf in the /images folder as you can see with this link what am i missing

View 2 Replies

Actionscript 3 :: AddChild() Relative To Another Object

Feb 16, 2012

I've seen code where an object can be added relative to another but I can't get it to work. I'm just trying to draw a rectangle and then add another smaller rectangle relative to the first

public var rectangle:Sprite = new Sprite();
public var other:Sprite = new Sprite();
rectangle.graphics.beginFill(0xFF0000);

[Code].....

Both rectangles just end up rendered relative to the stage.

View 1 Replies

ActionScript 3.0 :: Get Position Relative To Stage?

Oct 27, 2009

I have a movieclip thats inside another movieclip..lets call them mc1 and mc2..

the problem is that I want to get the position of mc2 relative to the stage...and not to mc1..is there any simple way to do this?

View 1 Replies

ActionScript 3.0 :: Rotate MC Relative To Mouse?

Oct 29, 2009

I'm using the following code to rotate a MC on the Y axis that stops at a certain point. Is there any way to do the same using the tween class so it has a softer finish.

addEventListener(Event.ENTER_FRAME, mcRotation);
function mcRotation(event:Event):void
{
var controller:Number = mouseX - stage.stageWidth * 0.5

[Code].....

View 1 Replies

ActionScript 3.0 :: Distinguishing Relative Z Position?

Dec 10, 2009

Imagine that I make a movie clip that looks like a chess board, and that inside that move board I place other movie clips that look like pieces.Now imagine that I tilt the chessboard so that you are no longer looking at it top down and rotate it so that the dark pieces are first in front of you and and this slowly changes until the white ones are, etc.In order to make this look right I have to rearrange the stacking order of the movie clips (which pieces are "on top" of which other pieces when they are drawn). But when the clip rotates, the mc.z value for all the clips does not change. Neither does the width or height which I thought I could use instead even though they are clearly looking bigger or smaller onscreen.I think that I might just be getting the z point relative to the other children of the rotating movieclip. Is there any way to get the z point relative to the stage?

View 3 Replies

ActionScript 3.0 :: Relative And Absolute Path?

Jun 21, 2010

I have doubt about relative and absolute path. I mostly use relative path to load xml, sound and image Is there any problem with cross domain policy?Which one is better in web projects?

View 1 Replies

Actionscript 3.0 :: Relative Path SWF Loading?

Jan 14, 2009

create a flash viewer, which will load various other flash movies. The viewer will be in the root directory, but the flash movies it will load are a few directories deep. Those movies access various sound clips that are in an audio directory relative to each swf I want to load.

/flashViewer.swf
/myContent/someProgram/program.swf
/myContent/someProgram/audio/sound1.wav

It seems that when I load one of these movies into my viewer, the loaded movie is looking for the sounds in an audio folder in the root directory, and not relative to the swf I loaded. Is there a way to set this? I would rather not have to make the changes in each of my other movies to use the absolute path

View 1 Replies

Actionscript 3.0 :: Relative Paths Of A Child Swf?

Mar 19, 2010

I have two swfs, index.swf and history.swf. History.swf loads and xml file and some images using a relative path. This swf works fine on it's own.When I load history.swf from within index.swf to display it on stage, I get an error saying "TypeError: Error #1009: Cannot access a property or method of a null object reference. at History()"

I ran a test loading a basic test.swf (just text on stage) from within index.swf and it works fine.I am guessing that maybe once the history.swf is loaded into index.swf, the relative paths within history.swf are failing.

View 2 Replies

ActionScript 3.0 :: Does Flash Supports Relative URL

Jul 7, 2009

I am new to the Flash platform. My work is on Java. But, I need the help of a flash file(.swf) in my Java application to work with. So, I came to here to listen my doubts like this in this forum.Can we pass relative-url using ActionScript 3.0 with Flash?I have worked with absolute-url till now[WHICH IS IN BOLD] within localhost server only. And my sample piece of code looks like below:[code]

View 3 Replies

ActionScript 3.0 :: Using Relative Reference With '.download'

Jul 2, 2010

Does anyone know a way to use a relative reference with the download? I would be surprised if only absolute references will work but I can't find a solution.

This code just gives me this error (as expect by the live docs) Error #2039: Invalid remote URL protocol. The remote URL protocol must be HTTP or HTTPS.

Code:
trace(s);//someFile.pdf
var downloadURL:URLRequest= new URLRequest(s);
var fileName:String=s;

[Code]....

View 6 Replies

ActionScript 3.0 :: Relative Path In Externally Loaded SWF?

Oct 14, 2009

I have a flash movie (let's call it B.swf) that loads an XML file which is located in the same directory to provide some data. This flash movie works fine itself. Now, I've made another flash movie, a main movie (let's call it A.swf), which loads different SWF's in turn, including the aforementioned one B.swf (which now would be located along with the XML file in a subdirectory).

To my surprise, I've checked that now I get an error, as the path I specified for the XML file in B.swf is not valid anymore when B.swf is loaded from A.swf. The relative path from which it's searching for the file is the directory where A.swf is located, not the one where B.swf is located, as happened when this movie was executed standalone.

Is there any way to fix this so that I don't have to change the path I specified in the code and I can use B.swf either way externally loaded or standalone?

View 8 Replies

ActionScript 3.0 :: Relative Path Loading In Loaded Swf

Mar 7, 2010

Code:
/
|-main.swf
|-game
|-game.swf
|-assets
|-a.jpg

let's say I have a file structure like above, I have game.swf loads resource by relative path like "assets/a.jpg". It runs fine on its own. But when I try to load game.swf from main.swf (using relative path again "game/game.swf") it tries to find a.jpg from "/assets/a.jpg" instead of "/game/assets/a.jpg"

View 2 Replies

Change The Path To Sounds In Flash To Relative?

Mar 19, 2010

I have to have relative paths to the sound file assets but for some reason when I change them they are all absolute. Even when the file is in the same directory as the .fla.How can I change the path to sounds in flash to relative?

View 1 Replies

ActionScript 2.0 :: Find MC Center Relative To Edges?

Aug 31, 2010

I don't seem to be able to find the right wording to find my answer anywhere.How do I determine where an MC's center is relative to its edges?I'm developing a tool that a variety of noobs (as if I'm not still a noob) will be using, and I don't trust them to keep art with 0,0 being the top left corner.How do I figure out that the left edge is now at -111px, and the top at -52, and the right at 12, and the bottom at 334?

View 3 Replies

Professional :: Projector In Linux And Relative Paths

May 17, 2007

I create a projector for Linux by executing a swf file in flash player and chosing "create projector" from the file menu. The initial swf loads external resources (using MovieClip Loader.loadClip for example). In the swf this works fine but in the projector this fails. The projector seems to always execute in the users home directory no matter where it is in the file system, thus to find the external resources the path should be relevant to the users home directory. The problem i now have is that my application will be packaged and distributed on a cd rom. At development time i have no idea of the path to where the cd-rom will be mounted in the end users machine.For what motive does the projector execute in the users home directory and not in its real location?

View 1 Replies







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