-
Hello, everybody.
I want to change my SWF's frame sequence to protect my
swf file not be played by no authorization user.I used
gotoFrame to make sure the swf file can work right .
Firstly, I cut a swf to several individual frame file,
and I move all the Character's definition to the first
frame, then I compound all the frame file to one swf
in disorder.In most time it can work well, but in some
frame it can not display correct. I believe this is
because the Character's location is affected by the
previous frame.For instance, tag PlaceObject2 can not
display correct if PlaceFlagHasCharacter and PlaceFlagMove
are all be set.
Can somebody tell me what the Frash Player exactly do
when it get a PlaceObject2 command ? or where can I find
more details about flash's Control tag?
Thanks a lot.
-
Your problem is simple...flash doesn't regard your random orders in the slightest. Bascially, all tags are read in a linear order. If you jump around, all the actions, etc. are preformed prior to that frame. The move flag requires that the object has already be placed in a previous frame (linearly, not randomly). I would think of a different method to do what you want to do if I was you. Use ASP or .htaccess to password protect the page and SWF...it would be easier and more effective.
--Jesse
-
Originally posted by JAEzell
Your problem is simple...flash doesn't regard your random orders in the slightest. Bascially, all tags are read in a linear order. If you jump around, all the actions, etc. are preformed prior to that frame. The move flag requires that the object has already be placed in a previous frame (linearly, not randomly). I would think of a different method to do what you want to do if I was you. Use ASP or .htaccess to password protect the page and SWF...it would be easier and more effective.
--Jesse
Thank you very much. I know using ASP or PHP or
some other method can identify the legal user,
but I also want to prevent some legal user from
downloading all the swf and provide them to some
other. I think the possible solution is changing
the frame's order, and save the right order in the
server's database, and the swf should get the right
frame order by "Load variables" from the web server,
so I can check the user in the cgi program which is
called by "Load variables".
your answer made me understand how the flash file
exactly works.I reallised the flash's display is
depend on a display list, and each frame can affect
it by adding or deleting some object. So if I have
changed the frame's order, I also must change the
frame's action of adding or deleting object. I have
accomplished this work.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|