A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: dyn. loadMoviesNum with .swt

Hybrid View

  1. #1
    Junior Member
    Join Date
    Dec 2000
    Posts
    22
    Is it possible to load flash templates into flash templates? I know importing a swf into a swt works fine (AScode loadMovieNum).
    Problem is that swt into swt doesn;t work fine: the Flash Command variables aren't filled with the Datasource content.

    The first thing i thought was that it uses (in normal conditions) only one Turbine.Template-command and one Turbine.generateFlash-command. Next problem is how to solve this in asp (which seems obvious to me() ??


  2. #2
    Senior Member
    Join Date
    Nov 2000
    Posts
    827
    Not sure I fully understood - loadMovie will work at the client by requesting a Flash movie from the server - this Flash movie can be a static .swf, or a Turbine generated movie. You can load an ASP Turbine generated movie by doing loadMovie on the respective .asp script; On Direct Turbine by requesting a .swt template. If you only have ASP Turbine installed .swt files will not be processed, you'll need to create a simple .asp script that processes the .swt template - something as simple as:

    <%
    ' create the Turbine object:
    Set Turbine=Server.CreateObject("Turbine.ASP")

    ' which .swt template file to use:
    Turbine.Template = "template.swt"

    ' .. do any data access, if needed ...

    ' now generate the movie to the web browser
    Turbine.GenerateFlash

    %>

  3. #3
    Junior Member
    Join Date
    Dec 2000
    Posts
    22
    You did understand it correctly... am I supposed to do the ActionScript:

    loadMovieNum(blabla.asp, 1)

    as you say, you should call an .asp... or
    do you have to use two Turbine.Template's and two Turbine.GenerateFlash's in one .asp

    I will give it a try anyway... thx
    suc6 Datacon!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center