ActionScript 2.0 :: Diference Between An Relative Adress And One Absolut?

Sep 22, 2004

i need to know how i made a relative URL in flash mx. Cos in my computer works but when i try to open the links in other comptuers is not found.

View 1 Replies


Similar Posts:


Media Server :: Diference Between Streaming & Interactive FMS?

Jan 17, 2010

I want to bought FMS Streaming version, but I don't know the exactly diferent between both. Unlimited Adaptors v/s 1 Adaptors.
 
For example, I want use FMS for live streaming, whiteboard (Stefan Richter), chat, live conferences, etc.

View 4 Replies

ActionScript 2.0 :: Conter With IP Adress?

Dec 2, 2005

I wanna make a flash counter which can show that the visitors from which country but have no idea how to begin. Ive searched on the web too but didn find some the same.

View 2 Replies

ActionScript 3.0 :: Use Regular Expresion To Validate Email Adress?

Nov 24, 2011

how can I use regular expresion to validate email adress.

View 1 Replies

ActionScript 2.0 :: Internet Adress Doesn't Even Get Into Onload Function

Aug 21, 2004

I'm building a streaming mp3 player. So that you can load a mp3 from all over the internet in a streaming way, but soon It became obvious that when I set the loadSound to true (used to stream sounds) that sometimes the mp3 begins to stop and load and then play again. A sort of short stops. So I thought let's place a buffer so that when the song is loaded half way it's starts playing and gone are the short stops. But that's where my problem started and some questions arised. I use the onload method to check if any sounds are loaded into the sound object. I used this sentense to handle the onload action:[code]But now that I'm not exactly streaming anymore, so I have set the loadSound to false. Now I wonder if the onID3 method I used for getting some specific information out of the mp3 also acts like a none streaming file stream?Also something is wrong with my check if the loading process is half way.I have some songs on my pc and one on the internet. The songs on my pc load very well. (offcourse ) But they don't get into my if statement. And the song loaded from an internet adress doesn't even get into the onload function

View 2 Replies

ActionScript 2.0 :: Clickcounter - Make A Submission Field That Registers The Clicks And Sends It To An Specified Email Adress?

Oct 24, 2007

I had an idea of taking two pictures of a hand with a nutcracker in it, the first with the nut whole and the second with the nut cracked and then make it a button.It should also have a counter on the side so users can se how many "nuts the cracked" and a submission form with email, name, city and adress. When the user have cracked enought nuts they should be able to fill in the form and press send button so a certain email addy gets the info.

I found this simple tutorial on how to make a counter http:[url]....But how do I make a submission field that registers the clicks and sends it to an specified email adress?

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

ActionScript 2.0 :: Creating An Order Form For Flash Site - Results Of The Order Sent To A Pre-specified Email Adress In A Certain Format?

Aug 17, 2004

I am creating an order form for my flash site. I have never done this before in flash but I have in visual basic. I have a few questions:

1. Is assigning variable names to checkboxes and radio buttons the same as in visual basic? I mean i know that you probably assign them in the properties. ex..say i name a radio button 'radio1', to run a check in my actionscript whether radio1 was checked or not would it be something like if(radio1){}

2. After the person fills out the form I would like to have the results of the order sent to a pre-specified email adress in a certain format. What would be a good way to do this?

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







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