473,383 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Mutiple Choice Question Interactive Video

I would like to know if there is an example, or tutorial of someone selecting multiple choice questions before they see a video in flash? A different video would come up based on the selection of questions.

Thanks for your time,
Jun 25 '07 #1
3 1360
kestrel
1,071 Expert 1GB
Do you want this to be doen with flash? or before any flash movie gets displayed?
Jun 25 '07 #2
If you are using FLVs, you can change the content path with the differant selections made. Just make sure the FLVPlayback component is in the library

Like this:
Expand|Select|Wrap|Line Numbers
  1.  
  2. import mx.video.*;
  3. attachMovie("FLVPlayback", "myFlv", 1);
  4. var movieLinks = new Array("flvs/movie1.flv","flvs/movie2.flv","flvs/movie3.flv");
  5. button0.onRelease = function(){
  6.     myFlv.contentPath = movieLinks[0];
  7.     myFlv.play();
  8. }
  9. button1.onRelease = function(){
  10.     myFlv.contentPath = movieLinks[1];
  11.     myFlv.play();
  12. }
  13. etc...
  14.  
  15.  
-J
Jun 26 '07 #3
Hey thanks for the replies. Yes I would like it to be done in flash before the movie gets played. They would answer some radio button questions, and depending what they pick the video would come up. I will try the posted code and reply what happenes. Thanks for all your help.
Thanks Again for your time
Jun 26 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

198
by: Sridhar R | last post by:
>From technical point of view, I could not understand the the reasoning behind using Java in major companies. Sure that Python, is used in some, but still Java is considered as a sure-job...
10
by: Richard | last post by:
Here is the program problem: Month with 30 days have 720 hours, and month with 31 days have 744 hours. February, with 28 days, has 672 hours. Enhance the input validation of the program code...
0
by: deepak | last post by:
i have set multiple selection property in bith listboxes(html control) to true. i have taken 2 buttons(html control) say Button1,Button2.now i want to add mutiple selected items to another listbox...
0
by: saravana | last post by:
I have to display the mutiple xml filename path in treeview control using c#. net some thing like this In treeview control....... ========= =C:\\a.xml=
2
by: daokfella | last post by:
I'm hoping someone could get me started on this. I have an ASP.Net website that collects information from users for my organization. I now have a large SQL Server database that I'd like to convert...
0
by: lee.richmond | last post by:
Hi, I have a Matrix in RS and I would like to sort the data fields based on a header. I've been searching for an answer to this and it appears it's a common frustration. All I'm doing: 1....
7
by: shanmugamit | last post by:
hi, i using mutiple check box but i didn't get all value... as $res=mysql_query("select * from cie where des='Resource Pipeline Associate' order by name"); $j=0;...
2
by: ravitunk | last post by:
hi..i have a datagridview in my windows application using C#......i want to select mutiple cells(by pressing shift key) or select mutiple columns or multiple rows.....if this happens then i should...
7
by: Haines Brown | last post by:
I'd like to raise an issue that is somewhat outside the focus of this newsgroup although related, which is the ideal document format for web publication. In terms of likely future trends, what...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.