Hi, I do pretty much as you outline ie show th emenu, display the .swf from a .taf using the <embed> Unfortunately, I can't edit the swfs but they do call a .taf on completion. Now, then I just user a user scope variable to return to the login page (via a branch). Is that robust enough or should I record the login info in a table as you suggest?
thanks Norm -----Original Message----- From: John Arnold [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2007 7:41 PM To: [email protected] Subject: Re: Witango-Talk: branching to html? Norman, Without the swf source, how will your movie call a .taf? 1) You've got the login .taf. 2) Login, and it shows a menu of movies, and creates some session variables with the user info. 3) Clicking on a link in the menu should take you to a .taf that displays the .swf. This can be done by using <@include> to include different html pages, calling different presentation pages to present differnt html, or by changing the embed tag in a taf result page. 4) The movie plays, and when done calls a .taf. When the called .taf loads, it writes the user session id created at login to a database and via a branch, include, or meta refresh goes back to your menu. Is that correct? You want a youtube that records what a person has watched? Or a game that records users previous completed actions? Based on your earlier question and responses it looks like you hoped to branch to, meta refresh to, or include the swf itself. That won't work. You need html-like pages to present the swf using the <embed> tag. Those pages with the <embed> tags can be included, presented, or branched to. John [EMAIL PROTECTED] wrote: > Hi, > > I don't have the source for the Flash files (neither do I have > MAcromedia). > So, at present, I can do the following: > a) the user logs in (ie to a .taf) > b) user can choose one of the .swf files to run (or exit) > c) the .swf file runs fine and then it calls a .taf file to update the > database (I think this will work ok) > > Now want to exit this .taf and go back to the start (part (b)) ... > that's the problem > > thanks > Norm > > >> -------- Original Message -------- >> Subject: RE: Witango-Talk: branching to html? >> From: John Arnold <[EMAIL PROTECTED]> >> Date: Thu, June 21, 2007 1:37 pm >> To: [email protected] >> >> So is the problem directing them to the correct flash >> file? or recording the completion? >> >> Because including the html should work just fine. You >> can even include variables and other tags in your >> included html if you like. >> >> Heck, dynamically building the embed in a result would >> be fine too. >> >> If you're trying to record a successful completion, >> you need to add a call to your movie to call a page >> when its done. The page call could be XML and load >> variables in the movie, or refresh the page to a menu >> for the next selection. >> >> --- [EMAIL PROTECTED] wrote: >> >> >>> ok, here's exactly what I'd like to do. >>> >>> a) I have 5 flash files (.swf) >>> b) the user logs in (ie to a .taf) >>> c) user can choose one of the .swf files to run (or >>> exit) >>> d) when .swf file complete, the database is updated >>> (recording user's >>> progress) >>> e) user can choose one of the .swf files to run (or >>> exit) >>> >>> so <@include> won't work rmand I think the redirect >>> will lose context so >>> I don't have the logini info any more. >>> >>> any ideas? >>> >>> thanks >>> No >>> >>>> -------- Original Message -------- >>>> Subject: Re: Witango-Talk: branching to html? >>>> From: Jason Pamental <[EMAIL PROTECTED]> >>>> Date: Thu, June 21, 2007 10:35 am >>>> To: [email protected] >>>> >>>> Norman, >>>> >>>> I don't think you can use the 'branch' action to >>>> >>> do anything other >>> >>>> than branch to another part of a taf or a >>>> >>> different taf file. You >>> >>>> could however use 'include' to bring the html file >>>> >>> in. Depends on >>> >>>> what you're trying to accomplish really in order >>>> >>> to figure out the >>> >>>> best possible approach. >>>> >>>> Feel free to outline more completely what you're >>>> >>> trying to do. >>> >>>> Jason >>>> >>>> ----- >>>> >>>> Jason Pamental >>>> Director of Web Services >>>> North Sails >>>> >>>> Office: 401.643.1415 >>>> Fax: 401.643.1420 >>>> Mobile: 401.743.4406 >>>> Email: [EMAIL PROTECTED] >>>> >>>> >>>> On Jun 21, 2007, at 1:25 PM, [EMAIL PROTECTED] >>>> >>> wrote: >>> >>>>> Hi, >>>>> >>>>> I'd like to branch out of my .taf file to a >>>>> >>> .html file (and perhaps >>> >>>>> some >>>>> other types of files to) and >>>>> then return to the .taf >>>>> >>>>> is there any way to do this? >>>>> >>>>> thanks >>>>> >>>>> Norman >>>>> ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
