Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 17-09-2005, 12:56 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2005
Posts: 3
Default A Question On flash


I have created a flash animation with buttons for my college.I have a small problem in making the buttons work inside the CD.I have made the flash file to autorun.After all the animation are over.The buttons will appear.And on clicking them a new page in html will appear.I have problems in making it run from the CD.It runs well from my PC.But not in any others PC.May be due to the drive letter Change.Can anyone give me an alternative.I am a novice in using flash.The coding I have used is
on (release) {
getURL("file:\\F:files\doc.html","_blank");
//or similar, for each button
}

The url is not a webpage.But a html document inside the CD.
I need help to make it autorun.[/b]
allwinsumit is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 17-09-2005, 01:22 PM   #2 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

I've never worked with flash. but as from your code what i can see is that you are using absolute path(the complete path including the drive letter) for referring your document. insted you must use relative paths( path relative to the document where you are calling another one.

suppose u are calling doc.html from in the folder files, from a file index.html in the root folder, the command must be

getURL("files\doc.html","_blank");
for the below file tree.

index.html
file
|_ doc.html
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 18-09-2005, 11:52 AM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2005
Posts: 3
Default

Sorry Desert wind.I have a doubt what's root folder.Does it refers to the files in the Cd or in my flash player folder.
for example:
i have a CD with files
project.exe-a exe file created using flash.
files-a folder
doc.html - a html file inside the folder.
How do i give my url inside the flash file.
like this
getURL("files\doc.html","_blank");
or in some other way.
allwinsumit is offline  
Old 18-09-2005, 12:58 PM   #4 (permalink)
Wise Old Owl
 
desertwind's Avatar
 
Join Date: Nov 2004
Location: Hyderabad
Posts: 1,096
Default

root folder is the folder where the base file (the file where u refer all other files, for a website this is the folder where the home page - index.htm) is located. This is not related with any drives. for eg. project.exe is ur base file, if it is located in C:\Flash, then c:\Flash is ur root folder relative to that document. if it is located in f:\, then f:\ is ur root folder. Relative paths are used so that links will work irrespective of the path or folder you save them.

so as for ur case, the file project.exe is the base file. so u must refer all other file with referance to this file. So it will work irrespective of drives and media(provided you copy the whole tree).
and in the above case the command will be

getURL("files\doc.html","_blank");

NB:if it doesnt work try / instead of \
__________________
Sometime you'll think you understand everything

...Then you'll regain consciousness
desertwind is offline  
Old 18-09-2005, 01:49 PM   #5 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2005
Location: Bilaspur
Posts: 20
Default Soft

Well! u can use soft like Auto Playmenu Builder & let it do everything for u from Autorun to Customization......

U can insert flash, media files, images & almost everything....

Here is a screenshot that I build for my CD & ofcourse it autorunned....

Sarwesh is offline  
Old 18-09-2005, 03:43 PM   #6 (permalink)
Human Spambot
 
expertno.1's Avatar
 
Join Date: May 2005
Location: Expert Planet
Posts: 2,480
Default

Hi ,

Yes you can surely use Auto Playmenu Builder

http://www.soft32.com/download_9349.html

Quote:
AutoPlay Menu Builder Review

AutoPlay Menu Builder is one of the best tools for creating an automatic playing menu to launch your CDROM. No programming experience is necessary! Just click and drag your mouse a few times, and like magic you can build a menu which will pop up when your CDROM is inserted into the drive. From the menu you can run applications, open documents, play movies, and do much, much more. This is the simple, elegant solution to your CDROM creation needs.
System Requirements: No special requirement - Microsoft operating system: Windows 95, Windows 98, Windows ME, Windows NT, Windows 2000 and Windows XP.
Download
http://www.soft32.com/download-AutoP...er-9349-5.html

Screenshot
http://www.linasoft.com/images/apmbuild.png

Thanks
Regards..
Expertno.1
__________________
Off From Digit Forum for some months.....busy
expertno.1 is offline  
Old 19-09-2005, 09:13 PM   #7 (permalink)
Right Off the Assembly Line
 
Join Date: Sep 2005
Posts: 3
Default

Thanx guys for all those help.i have fixed my error.I have misunderstood about root folder.Now I am all clear.I would like to use appz.But I have somke animation on the flash file with sound.Can anyone suggest me how to reduce and increase the volume using flash.

And thanx in advance.
allwinsumit is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear
- by Charan

Advertisement




All times are GMT +5.5. The time now is 06:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2