Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > Projectors and CDs

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-03-2001, 10:00 AM   #1
scat_happens
Registered User
 
Join Date: Nov 2001
Location: UK
Posts: 15
Send a message via ICQ to scat_happens Send a message via AIM to scat_happens Send a message via Yahoo to scat_happens
Default Movie Madness

this is probablyu amazingly simple but as they say...only if you know how.

ne way here is the problem...i am making a flash site to be pout onto a cd to be sent out to people and i would like to add an avi to it...the avi is on the cd and in the same directory as the flash page. i want to set it up so that clicking on a button will play the movie.
i have tried doing it with a get url command but it only seems to work if i give it a full path. this is not practicle however as the path may change depending on the letter of the cd rom drive in other computers

any help greatly appreciated
scat_happens is offline   Reply With Quote
Old 12-04-2001, 03:30 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

You can get around the problem of the drive label changing by doing this in your flash file:
Code:
basePath = _url;
that will give you the full system path to the current SWF, so with substring you can lop off the swf name and throw in the avi name and you should be away!
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder
Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 12-04-2001, 08:35 AM   #3
Billy T
Oops I did it again
 
Billy T's Avatar
 
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
Default

how do you play avi's in flash anyway? through a browser? The flash player (whether an swf or a projector) cannot play quicktimes can it?

cheers
__________________
Billy
Online Galleries
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with movie stoffel Other Flash General Questions 6 08-30-2007 04:09 PM
Print command doesn't work from external movie. vladc77 ActionScript 1.0 (and below) 1 05-20-2003 02:40 AM
Looping Movie B until Movie A stops ajlazarte Other Flash General Questions 1 03-24-2003 07:16 AM
load a movie into a movie but then load an other movie into that loaded movie ? lesaint ActionScript 1.0 (and below) 1 03-23-2002 10:16 PM
Can't get unload movie to work? skippy ActionScript 1.0 (and below) 8 02-13-2002 10:18 PM


All times are GMT. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.