[F8] Time Lock Or Password For Website
Hi i have the following question:
I have a client i'm building a website for. However i'm not sure he will pay me everything once the project is done. So i need to make a sort of timelock, meaning i need to make the site usable for a month or so, and in the meantime, if i don't get paid, i need to have the swf disable itself.
If i get the money, i will send an updated swf with the timelock removed.
My question is: how do i do this in such a way that another young flash programmer doesn't decompile my SWF and remove the timelock once its been activated?
I though of a few alternatives, but i myself could work around everyone of them:
- one would be a date timelock, that would disable the flash once the date is november or something (easy to remove from a decompiled SWF).
- another would be an XML / PHP combo, where the SWF could check some variables from the XML, and once the date has passed, erase the XML. However, this would be another simple "if" statement to remove from the SWF
- i thought of remote linking - having the SWF read some variable off my own website and if it doesn't find it, do not play - this one has 2 problems: one is the same as above - the if statement could be easely removed. Another problem is the clients website is expected to have a lot of traffic, which i don't think my server could handle.
So any ideas, thought or suggestions on how to keep my work assured?
Thanks
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-23-2007, 04:14 PM
View Complete Forum Thread with Replies
Sponsored Links:
[F8] Time Lock Or Password For Website
Hi i have the following question:
I have a client i'm building a website for. However i'm not sure he will pay me everything once the project is done. So i need to make a sort of timelock, meaning i need to make the site usable for a month or so, and in the meantime, if i don't get paid, i need to have the swf disable itself.
If i get the money, i will send an updated swf with the timelock removed.
My question is: how do i do this in such a way that another young flash programmer doesn't decompile my SWF and remove the timelock once its been activated?
I though of a few alternatives, but i myself could work around everyone of them:
- one would be a date timelock, that would disable the flash once the date is november or something (easy to remove from a decompiled SWF).
- another would be an XML / PHP combo, where the SWF could check some variables from the XML, and once the date has passed, erase the XML. However, this would be another simple "if" statement to remove from the SWF
- i thought of remote linking - having the SWF read some variable off my own website and if it doesn't find it, do not play - this one has 2 problems: one is the same as above - the if statement could be easely removed. Another problem is the clients website is expected to have a lot of traffic, which i don't think my server could handle.
So any ideas, thought or suggestions on how to keep my work assured?
Thanks
View Replies !
View Related
One Time Password
Hi Guys,
I want to send a sample, and I want the client to only see it once. I can't figure out a self-destruct button for the whole movie, so how do I make a one time password?
again, thanks in advance for the help.
View Replies !
View Related
Regenerate Password After Set Time
i know its easy to create a password movie clip but what about setting it up so that the password is void after say 24 hours and a new password is generated automatically.
what i would actually want if possable
the flash puts out a new password every 15 minutes and allows this to be valid for 24 hours.ovecourse the previous passwords would still be valid for the remainder of the 24 hours from when they were created.
maybe i would have to input the passwords initially.
any help eternally gratefull
View Replies !
View Related
[F8] Changing A Password According To The Time?
Hello, I was wondering if any one could help me with this problem, as I have already attempted it myself and failed.
I want to change a password in a string, at a particular hour of the day for a certain length of time and I'm using the variable assignment
var myPassword:String = 'password';
Eg. if(time > 1400 && time < 1600){
var myPassword:String = 'newpassword';
}
Obviously, the above thing doesn't work, as the time in hours and such hasn't been retrieved. But something along those lines...
The code below is the condition used for password entry, but I would like to know how you integrate time(In hours) into this.
submit_btn.onRelease = function (){ //submit is the btn
if (password_txt.text == myPassword) { //password_txt is the field
gotoAndStop(3);
} else {
gotoAndStop(2);
}
}
Thanks
View Replies !
View Related
Manipulating Time For Website
hi I don't know if this is a newb question but
basically I am trying to create a "normal" flash website with
one catch. After ie. 45 seconds, it automatically moves the timeline
to ie. frame 200 regardless of what frame(different webpage section) the user was on.
Obviously I need a global variable and some way for flash to measure the time. any comments/suggestions welcome
thanks
View Replies !
View Related
[F8] First Time Flash User - Website Help
Using Flash 8 (Full) - Making a webpage - Experience 1/10 (new)
#1 To cut to the chase my title states the basics, I made my website template for my homepage. Im making this site for part of a school assignment and we are only allowed using 2 pages but I have 5 different pages in flash. SO how do I make it possible for me to just make all the buttons open up the new page on the same html.
Not following me?
I want to make [BUTTON] open a music page while staying at www.Mysitename.com . So I was wondering if someone could help me with the actionscript for the buttons.
That is problem numaro une
#2 Ok I started to make an intro for a site and I was wondering how I get it to move to the sites hoem page after the intro (Do I just make the homepage in scene 2 and intro in scene one?). I also need to know how to make a "Skip Intro" button (actionscript code please)
View Replies !
View Related
Flash Website Load Time Help
Hopefully some of you flash experts can help me. I just created my first flash site for my church at medinahbaptistchurch.org. The site is mostly flash objects embedded in html using dreamweaver. The whole site is less than 1 mb but it seems like the flash objects take a long time to load. For instance, a flash object that is about 200k takes 8 seconds on a 256k connection. And it looks like crap because there are white boxes when the objects are loading. Is this normal or am I doing something wrong?
Thanks
View Replies !
View Related
Snapple Website - Fast Load Time - HOW Is It Possible?
Hi all,
If you've come across www.snapple.com, then you know how serious this website is with it's integrated 3D animations.
But, HOW is it possible to integrated 3D movies with such Fast load time in Flash? Does anyone know which 3D app they're using, and how they could compress so much to result in such incredibly fast download time?
When I have a .SWF that's like 5MB in size, the pre-loader takes longer then a trip to China at Snapple.com.
Thanks!!
-CG
View Replies !
View Related
Load Unique SWF Each Time Website Visited
Hi,
I had a question and have never really seen any information on this. Below is a thread that explains how to "SOLVE CACHE PROBLEMS" by loading a uniquely named swf within flash. Does anybody know how to do this in Javascript perhaps so that the visitor does not have to clear their temporary internet files to get the latest swf update? I realize the easy solution might be to just put a revision number/letter on your swf everytime you make an update. Please see below.
Solve Cache Problems when you Load a Movie
by ilyas usal
When you load a movie, variables, or a text, what you load is put in the cache of your computer by your browser. This can cause problems because if you load files, chances are that you are going to update them quite often, but Flash will look for the files in the cache, that is to say the old ones.
The solution is to load your files with a unique identifier. Example:
Code:
myIdentifier=Math.round(Math.random()*10000);
loadMovie("myAnim.swf?uniq="+myIdentifier,1);
This works also with LoadVariables, LoadMovieNum and LoadVariablesNum.
View Replies !
View Related
Opening Quick Time Movie In Flash Website?
Hi I have a flash website, and i want to have a button that when clicked opens up a quicktime movie to show a panaramic view in a seperate window, how can i go about doing this?
site is at www.freshlemon.co.uk/cavalier/intro.html
the button is in the plans section of the site
View Replies !
View Related
Opening Quick Time Movie In Flash Website?
Hi I have a flash website, and i want to have a button that when clicked opens up a quicktime movie to show a panaramic view in a seperate window, how can i go about doing this?
site is at www.freshlemon.co.uk/cavalier/intro.html
the button is in the plans section of the site
View Replies !
View Related
Building A Flash Based Website For The First Time. (Mountains Of Help Needed)
First off, heres my email (severance@gmail.com), so that all you kind (and bored) flash pro's can communicate with me outside of these forums.
Secondly, this is the site i would like to base mine around (in style) jkrowling.com
Thirdly, to the problem at hand - Im completely new to flash
If possible, could someone either post a link to an indepth website creation (using flash) tutorial, or (preferrably for me) could they get in touch via my email and guide me through it.
I have skills with photoshop, html, javascript and css but im new (and confused) to actionscript, and all other things flash.
Thankyou for any help you can offer,
View Replies !
View Related
Password Protection W/ E-mailed Password
I need a password protection gate that E-mailes a password to the visitor if they pay to enter the site. I really need this or I can't take this job I got. Please help. If can be anything like .html, .swf, .php, .etc.
I'm just a flash designer and I don't have a ton of knowlege in programing outside of flash and html.
Thanks!!!
View Replies !
View Related
What Is That Little Lock For?
I have looked in the help, the manual, and all over these forums. I have messed with this little lock, and I don't know what it does!
Any object in flash, when you select it, in the properties, if expanded, you see in the bottom left the width and height fields, as well as the x and y pos fields. To the left of those is a little lock, which when you click on it produces two lines which move to the boxes. Presumably it would lock these values. However, this is not the case. What does it do, then?
-Rataluge
View Replies !
View Related
Getting Something To Lock On The Y
lets try this again. I guess I made the mistake to try and ask too much in my last post. so I will start off with something easier. (well, at least to you all who understand it)
first one. how would I make an object stay along one path? like say, I have a box, and when I mouse drag it, I only want it to be able to move up and down. so if I try moving the box off to the side, it wont move, but up and down it will.
and if I can ask, how do I make a start button work? have it so my code and game does not start until I hit this specific button.
View Replies !
View Related
Lock With MSN ?
Is there anyway possible that upon logging into my msn I can change an indicator on my flash site to show I'm logged on???
I'm thinking it might be possible to take it through a database but I cant figure out how to connect msn to anything.
~~ Seretha
View Replies !
View Related
Lock With MSN ?
Is there anyway possible that upon logging into my msn I can change an indicator on my flash site to show I'm logged on???
I'm thinking it might be possible to take it through a database but I cant figure out how to connect msn to anything.
~~ Seretha
View Replies !
View Related
Swf - LOCK EVERYTHING DOWN
Guys, sorry about this, I'm sure it's been posted before but I need immediate help and I can't find this info anywhere.
What is the easiest way to lock down an exported flash movie.
Specifically dealing with published swf's I want it so that users can't resize the final output as it's basically just a video and it looks like crap when resized/maximized
So:
NO RESIZE of the window
NO MAXIMIZE of the window
that's all I really need.
Any help? Please... been so long since I used flash regularly that it's like learning from the beginning all over again.
View Replies !
View Related
Any Way To Lock Printing
I know this sounds a bit stupid, but my boss is paranoid about people being able to print his work off the website. Is there any way that printing is turned off for specific pages? I am working with Flash 5.0
Thanks a lot.
View Replies !
View Related
Lock MouseDown
Anyone know a way to lock the mouseDown or onPress feature? I have a function set to play when the mouse in over the button, but it stops when the user presses and holds the button. I just wanna take that ability away from them. Any ideas?
View Replies !
View Related
Lock An MC Position?
hi,
i have a Mc that has a drag action on it. within this Mc there is another Mc which i would like to lock the position of. So in other words when "MclipMain" is dragged MclipInMain" stays where it is relative to _root.
strange one i know but any help would be great.
tnx
View Replies !
View Related
Lock And Keys Take 2
hi everyone,
I am trying to get a key and lock thing happening, "key2.fla" is the file I am talking about...when the key is turned I want it to go the the next scene..but it doesn't seem to work, would there be any reason for this??
thanks,
tom
View Replies !
View Related
Lock Movie?
I have one other quick question...
When I publish my movies, like all others, it comes out and you are able to rite click on the movie and go foweard, back, rewind, ect. I have come accross meany people that have their movie where all that is allowed it settings, and about flash 6.Do I have to create a progector or publish in another format? Thanks for your time.
View Replies !
View Related
Lock Code Against Changes
The client wants the .fla and we are concerned about code changes that may backfire on us for future enhancements. The Lock layer can be unlocked by clicking the icon so this is not securing or preventing code changes.
Any suggestions?
View Replies !
View Related
Key And Lock Trapped Me In
This part is just background:
I have a "storte_key" mc that attaches to a "inventory" mc when you click on the "outer_key" button. When this happens, the button dissapeers( which is supposed to happen) and the item "appears in the inventory.
After the key is in the inventory:
Now, there is a "_root.complete_door.knob" handle that tells the door when it is unlocked, which depends on whether the key has been dragged
from the inventory, to the knob, and has been released yet. What should happen then is the key dissapeers and the door is "unlocked".So you click the "knob" and open the "door" (the complete_door mc, plays, revealing the next room) .
I only need to know how do the key to the door thing. I have tried the hitTest and dragOver. please help.
View Replies !
View Related
How To Lock .swf Size
I'm in the process of publishing my .fla file but when I open the .swf file I can resize the window, which allows me to see all of the components that are off of the stage. Is there any way that I can lock the size of the window?
I know that when you publish an html it will lock the size of the .swf file, but you need the .swf file in the same directory of the html. So is there a way to embed the .swf inside the html?
Sorry if these questions seem stupid, and thank you in advance for any help you can offer.
View Replies !
View Related
[F8] Lock Startdrag ?
just wondering how do you lock startdrag. because in my game, newEscape, when you scroll your mouse out of the swf file and go to the other side, the startDrag jumps through.
i am using this code
Code:
square_mc.onEnterFrame=function(){
startStopInterval(true);
startDrag(this,true,32,32,268,268);
for(var i:Number = 1; i<=4; i++){
if (this.hitTest(this._root["bar"+i+"_mc"]))
this.stopDrag();
}
}
so far I made a quick fix by using
Code:
square_mc.onEnterFrame=function(){
startStopInterval(true);
this.onRollOver = function(){
startDrag(this,true,32,32,268,268);
}
this.onRollOut = function(){
this.stopDrag();
}
for(var i:Number = 1; i<=4; i++){
if (this.hitTest(this._root["bar"+i+"_mc"]))
this.stopDrag();
}
}
the fix works, but now its kinda harder to play.
see my signature for the link to the game.
thanks
View Replies !
View Related
How To Lock Button's / Mc's?
How do I lock my menu when a movie clip covers the whole scene? They cant be seen at all though Im still able to click on them, which sucks.
I could disable their functions but they're in the main scene and the mc (the one that appears over them) is inside another mc so that option wouldnt work.
How can I do this?
Thanks for your help!!!
View Replies !
View Related
Domain Lock With AS3?
Hi,
I was wondering if anyone can tell me how to write a domain lock in AS3? That means locking an SWF file to a certain domain so that it will not run on any other URLs. Maybe there are any tutorials out there that I haven't found yet?
I remember darkly how it was done in AS2 but I guess there are better/safer ways in AS3?
View Replies !
View Related
A Way To Lock X And Y Values?
I am still having the same issues mentioned in my preview thread...I have created a menu system and when you click on the button I would like to load an external swf file.
I can load the swf but when I click on another menu item, the external swf does not unload and it moves up and down with the drop down menu.
How can I get around this? Can I lock the x and y values? Do I just unload the swf file??
I have been looking at this issue for days and am getting frustrated!
Please help!!!
View Replies !
View Related
How To Lock Button's / Mc's?
How do I lock my menu when a movie clip covers the whole scene? They cant be seen at all though Im still able to click on them, which sucks.
I could disable their functions but they're in the main scene and the mc (the one that appears over them) is inside another mc so that option wouldnt work.
How can I do this?
Thanks for your help!!!
View Replies !
View Related
[MX] Preloader Lock Up
Hello,
I'm using a preloader on my website. The preloader works fine on Internet Explorer, however when I tested it in Mozilla and on a Mac (running Netscape) there is a lockup on the preloader. The screen will just sit there and the website doesn't load. Both were running Flash Player 6 which is the version I'm aiming for. I found that if I refreshed the page the site would begin to work, but I doubt visitors to my site would do this and I don't want it to be required to get my site to work. I'm going to post the code I'm using below. If anyone out there could help me with this it would be greatly appreciated!
Heres the action script - from the first frame of my launch movie
ActionScript Code:
stop();function loadSWF(theURL, theTarget) { loadMovie(theURL, theTarget); loaderInterval = setInterval(loadChecker, 50);}function loadChecker() { loading = _root.holder1_mc.getBytesLoaded(); total = _root.holder1_mc.getBytesTotal(); percent -= (percent-((loading/total)*100))*.25; per = int(percent); percentage = per+"%"; _root.loading_mc.preloader_mc.loadBar._width = per * 2; if (percent > 99) { faderInterval = setInterval(fadeBack, 50); clearInterval(loaderInterval); }};function fadeBack() { _root.loading_mc._alpha -= 6 if (_root.loading_mc._alpha < 1) { _root.holder1_mc.gotoAndStop("home"); unloadMovie("_root.loading_mc"); clearInterval(faderInterval); }};loadSWF("menu.swf", "_root.holder1_mc");
As you can see I call the loadSWF function to load menu.swf into the holder1_mc movieclip. That function then sets an interval with the loadChecker function that acts as the preloader. This is where nothing happens on some browsers (yet it works fine in IE). Any suggestions?
Thanks
Foo
View Replies !
View Related
Help With Browser Lock
Hey all, I'm trying to get my browser to lock down (ie no BG, no scrollbars) to the exact size of my embedded movie. I searched the forums here and elsewhere, but cannot find it. I know I have to use some type of javascript for this, but can anyone help me with it? Thanks.
View Replies !
View Related
Lock Scale
I was through the F1 Help doc a lot yesterday, and I sware I saw something about locking the horizontal or vertical scale of ... a movieclip or bitmapdata, I can't remember. All I know is that would be really useful for me right now! I'm transforming the matrix of an mc, but I don't want a certain child mc to be scaled.
Anyone know of such a thing? Maybe not for mc, maybe textfields? Thanks.
View Replies !
View Related
Lock Two Sliders Together
I've created a slider control (using the excellent tute on kirupa) and am using two instances of it on my stage. I also have a lock that sets the variable locked to true or false. What I want to do is if locked == true have both sliders move simultaneously to the same values if either one of them is dragged...
Any suggestions?
View Replies !
View Related
Drag And Lock
Hello there,
I'm trying to figure out how to drag and lock an item to a movie clip. I have 4 different items that are going to be draggable to a movie clip area called "basket_mc". Once they hit the movie clip area, these 4 items will be lock to that. I was able to drag them to the area, but I also want them to lock as well. any ideas please?
ActionScript Code:
stop();tv_mc.onPress = function () { startDrag ("tv_mc");}tv_mc.onRelease = function () { stopDrag (); if (tv_mc._droptarget == "/tv_mc") { basket_mc.gotoandStop("tv_mc"); }}mobile_mc.onPress = function () { startDrag ("mobile_mc");}mobile_mc.onRelease = function () { stopDrag (); if (mobile_mc._droptarget == "/mobile_mc") { basket_mc.gotoandStop("mobile_mc"); }}mouse_mc.onPress = function () { startDrag ("mouse_mc");}mouse_mc.onRelease = function () { stopDrag (); if (mouse_mc._droptarget == "/mouse_mc") { basket_mc.gotoandStop("mouse_mc"); }}phone_mc.onPress = function () { startDrag ("phone_mc");}phone_mc.onRelease = function () { stopDrag (); if (phone_mc._droptarget == "/phone_mc") { basket_mc.gotoandStop("phone_mc"); }}
View Replies !
View Related
[MX] Preloader Lock Up
Hello,
I'm using a preloader on my website. The preloader works fine on Internet Explorer, however when I tested it in Mozilla and on a Mac (running Netscape) there is a lockup on the preloader. The screen will just sit there and the website doesn't load. Both were running Flash Player 6 which is the version I'm aiming for. I found that if I refreshed the page the site would begin to work, but I doubt visitors to my site would do this and I don't want it to be required to get my site to work. I'm going to post the code I'm using below. If anyone out there could help me with this it would be greatly appreciated!
Heres the action script - from the first frame of my launch movie
ActionScript Code:
stop();function loadSWF(theURL, theTarget) { loadMovie(theURL, theTarget); loaderInterval = setInterval(loadChecker, 50);}function loadChecker() { loading = _root.holder1_mc.getBytesLoaded(); total = _root.holder1_mc.getBytesTotal(); percent -= (percent-((loading/total)*100))*.25; per = int(percent); percentage = per+"%"; _root.loading_mc.preloader_mc.loadBar._width = per * 2; if (percent > 99) { faderInterval = setInterval(fadeBack, 50); clearInterval(loaderInterval); }};function fadeBack() { _root.loading_mc._alpha -= 6 if (_root.loading_mc._alpha < 1) { _root.holder1_mc.gotoAndStop("home"); unloadMovie("_root.loading_mc"); clearInterval(faderInterval); }};loadSWF("menu.swf", "_root.holder1_mc");
As you can see I call the loadSWF function to load menu.swf into the holder1_mc movieclip. That function then sets an interval with the loadChecker function that acts as the preloader. This is where nothing happens on some browsers (yet it works fine in IE). Any suggestions?
Thanks
Foo
View Replies !
View Related
Help With Browser Lock
Hey all, I'm trying to get my browser to lock down (ie no BG, no scrollbars) to the exact size of my embedded movie. I searched the forums here and elsewhere, but cannot find it. I know I have to use some type of javascript for this, but can anyone help me with it? Thanks.
View Replies !
View Related
|