* Google Search


Author Topic: [Tutorial] How to make lockscreen and how to make it work perfectly  (Read 4150 times)

0 Members and 1 Guest are viewing this topic.

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
first ill explain how do i make lockscreen work..
1. lockscreen.swf is external swf that loads when a lock button is press
2. to unlock (or remove the external lockscreen.swf we have to unload the loaded swf
3. loading external.swf on top of the main swf (gadget.swf) did not tottaly lock the main swf
icons below can still press even not visible
if you have sliding or moving gadget is can still slide so we have to make some modification to avoid that and make lockscreen.swf act like a real screen lock

here we go
to be able to have a lockscreen first we need a script that load the external swf
here it is

Quote

        this.createEmptyMovieClip("htcBar", 99);
        htcBar.loadMovie("HTC FILES/Lockscreen/lockscreen.swf");



but with that script lockscreen.swf will load on startup and we do not want that to happen so we have to modify the script to make the lockscreen.swf loads only when a lock button is pressed

the script should look like this

Quote

function loadBar1()
{
    if (barLoaded)
    {
        htcBar.unloadMovie("htcBar");
        barLoaded != barLoaded;
    }
    else
    {
        this.createEmptyMovieClip("htcBar", 99);
        htcBar.loadMovie("HTC FILES/Lockscreen/lockscreen.swf");
        barLoaded != barLoaded;
    } // end else if
} // End of the function



where:
function loadBar1() = name of function that need to be loaded
 htcBar = container of movieclip that will load
99); = location of loaded clip (i put 99 to make it on top)
("HTC FILES/Lockscreen/lockscreen.swf"); = root folder and file name of external swf that would be load

paste that script in timelime action script layer(not in any movieclip action tab)

now that we have a function script that waits for us to load him we need a lock button
make a button in your gadget and paste this script
Quote

on (release)
{
   
   fscommand2("set", "Menu", 1, 3, 0);
   _root.aamir._visible = false;
   _root.loadBar1();

   
}





_root.loadBar1(); is the script that make the function loadBar1() load




now we are all set with gadget.swf,now we need a lockscreen.swf
lockscreen is very easy to make
we just have to make a 240x400 with flashlite 2.1/action script 2.0 swf
put a button that will unload itself (unload the lockscreen.swf to return to main gadget)

make a button and paste this script
Quote

       _root.htcBar.unloadMovie();



htcBar  = is the container of the loaded movie clip meaning unloading the container unloads the lockscreen.swf

but who want a lockscreen that unlocked with just a press of a button we wanted a press and hold to unlock features so we will add script to do that

your button script should look like this
Quote

on (press)
{
    function pressed()
    {
        clearInterval(InterID);
        _root.druck = 1;
        _root.htcBar.unloadMovie();
        _root.screenLock = false;
        lock = false;
    } // End of the function
   
    _root.druck = 0;
    InterID = setInterval(pressed, 300);
}
on (release, releaseOutside)
{
   
    clearInterval(InterID);
    if (_root.druck != 1)
    {
        if (_root.druck == 0)
        {
            notifier.gotoAndStop(2);
        } // end if
    }
    else
    {
        _root.druck = 0;
       
        notifier.gotoAndStop(3);
    } // end else if
}







now we will put default wallpaper to a lockscreen
make a new movieclip
Insert>New symbol(ctrl+f8) type movieclip name it BGloader
on the timelime action script layer(or the layer1)
paste this code
Quote

fscommand2("set", "Mode", "Gadget");
backgroundClip = createEmptyMovieClip("bg1", 0);
backgroundClip._x = 0;
backgroundClip._y = 0;
var backgroundLoader = new MovieClipLoader();
fscommand2("Get", "idle", "InitWallPaper", "mainBGPath");
backgroundLoader.loadClip(mainBGPath, bg1);
delete mainBGPath;






go back to scene 1
go to library and find BGLoader movie
now drag the BGLoader movie to scene1 set the position

X=-240
Y=0

now we are almost done but as i said in top lockscreen does not really lock the gadget.swf icons can still press and desk still slide (if present)

to avoid that we use this simple method

on the main lockscreen timeline make a new layer
put the new layer at the very bottom of all layer click Text tool (press T)
make a textbox bigger than the movie 240x400







thats all now the icons below cannot be press

about gadget that has slide features

just paste this script in lockscreen.swf main timeline action layer frame
Quote

_root.screenLock = true;
lock = true;



thats's all now you have a lockscreen that looks like a star default lockscreen(almost look like)
i have attached here the lockscreen.swf and lockscreen.fla

the script posted here are not just for lockscreen you can use it to load external swf like  music player etc. etc.
i think me and onestyle deserved a credit for every mod that will use this script
but we are not into credits send the recognition to terry he badly needs it hehehe peace

===============================================================================
i hope you find this tutorial useful
if you like my mods just pray for my 3 yr old son to be okay
(he have congenital heart decease plus 3 holes in it)
that way you would help me a lot
« Last Edit: November 16, 2010, 09:52:59 PM by jdotcong »
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

DFG StarMods


Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #1 on: November 16, 2010, 09:42:59 PM »
i hope some moderator make this topic sticked
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #2 on: November 16, 2010, 09:49:23 PM »
i also hope all modders use this script so that all lockcreen posted will be centralized that way all lockscreen work with all gadget.swf modded
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

Offline jerwincatacutan

  • **
  • Posts: 79
  • Thanks Meter: 0
  • GOD IS THE ONLY SATISFACTION OF LIFE
    • View Profile
  • Firmware: MXEJF1
  • Model: s5233A
  • Mods: DREAMING |^_^
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #3 on: November 16, 2010, 11:18:21 PM »
Ill pray for it kababayan
nice tut...
now r star boring default lock will be change ;D ;D ;D
GOD IS THE ONLY SATISFACTION OF LIFE

Offline pyromaniac

  • Developer
  • *****
  • Posts: 150
  • Thanks Meter: 0
  • PyroManiac
    • View Profile
    • http://samsungstargroup.jimdo.com/
  • Firmware: mxeil2
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #4 on: November 17, 2010, 05:55:10 AM »
thank u man !! u're great

out of topic !!" when i modify a theme like motoblur and i export it , i put the gadget in my phone !! the icons dont work !! everything goes well exept icons !!  where's the problem !! in the config file or what ??? " please help and make a tuto fole MXL files =)
PyroManiac  oO'

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #5 on: November 17, 2010, 05:57:49 AM »
did you convert motoblur swf to fla? if yes press ctrl + f search for the word FLcmd change it to fscommand or fscommand2 it depends on link of a button
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

Offline pyromaniac

  • Developer
  • *****
  • Posts: 150
  • Thanks Meter: 0
  • PyroManiac
    • View Profile
    • http://samsungstargroup.jimdo.com/
  • Firmware: mxeil2
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #6 on: November 17, 2010, 06:04:58 AM »
did you convert motoblur swf to fla? if yes press ctrl + f search for the word FLcmd change it to fscommand or fscommand2 it depends on link of a button

ok Boss i'll try
PyroManiac  oO'

Offline pyromaniac

  • Developer
  • *****
  • Posts: 150
  • Thanks Meter: 0
  • PyroManiac
    • View Profile
    • http://samsungstargroup.jimdo.com/
  • Firmware: mxeil2
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #7 on: November 17, 2010, 06:28:05 AM »
i've found just one FLcmd  i change it but , the icons still not working
PyroManiac  oO'

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #8 on: November 17, 2010, 06:36:46 AM »
i think you mess up with your swf make a new copy of fla convert again the swf.. also get a copy of xml and dont touch it.. before you do anything on it test it if it works
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

TerryCee

  • Guest
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #9 on: November 17, 2010, 12:03:33 PM »
if anyone want lockscreen changer send me your fla. i will also put filename load by xml.
« Last Edit: November 17, 2010, 12:26:46 PM by gaurav.stallion »

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #10 on: November 17, 2010, 06:03:37 PM »
beside me who has a lockscreen changer?
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

Offline Kobus

  • Developer
  • *****
  • Posts: 548
  • Thanks Meter: 0
  • Life's perfect so be happy
    • View Profile
  • Firmware: mxejf1
  • Model: s5233
  • Mods: Galaxy Extreme
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #11 on: November 17, 2010, 10:46:00 PM »
beside me who has a lockscreen changer?

I have lockscreen changer in UI 3 beta, all lockscreens are compatable exept yours from starhero, how do you get shortcuts to work in them like you did?
Life's perfect so be happy

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #12 on: November 17, 2010, 10:49:03 PM »
send me a pm
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

TerryCee

  • Guest
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #13 on: November 18, 2010, 01:21:12 AM »
in fact pm me and i will do it for you.

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #14 on: November 18, 2010, 01:29:33 AM »
who you talking kobus?
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

TerryCee

  • Guest
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #15 on: November 18, 2010, 01:39:56 AM »
your grammar is not correct.

Offline Patr0

  • Developer
  • *****
  • Posts: 403
  • Thanks Meter: 1
    • View Profile
  • Model: s5230
  • Mods: StarHero by Jdotcong & OneStyle07
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #16 on: November 18, 2010, 02:07:13 AM »
Moderator Comment Don't start again!!
Most people shout "OMG!!!" just before they lose control of a car... but I say: "Hold my beer and watch this!"

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #17 on: November 18, 2010, 02:23:11 AM »
yeah you heard it again dont worry i stay calm..
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

Offline Patr0

  • Developer
  • *****
  • Posts: 403
  • Thanks Meter: 1
    • View Profile
  • Model: s5230
  • Mods: StarHero by Jdotcong & OneStyle07
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #18 on: November 18, 2010, 04:06:13 AM »
i stay calm..
I expect the same thing from Terry
Most people shout "OMG!!!" just before they lose control of a car... but I say: "Hold my beer and watch this!"

TerryCee

  • Guest
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #19 on: November 18, 2010, 10:44:46 AM »
how is saying grammar is wrong a reason to get demoted? i was the one who suggested to df5 that u should be jr mod. lf i get demoted i leave.

Offline Kobus

  • Developer
  • *****
  • Posts: 548
  • Thanks Meter: 0
  • Life's perfect so be happy
    • View Profile
  • Firmware: mxejf1
  • Model: s5233
  • Mods: Galaxy Extreme
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #20 on: November 18, 2010, 11:43:48 AM »
Don't start again!!

atleast theyr fight started this time for a good cause ;D, they fight to help me ;D.

But im not sure yet what shortcuts i wana put in it, what script do you need to use? or do you need to use other script for the gadget?
Life's perfect so be happy

Offline Patr0

  • Developer
  • *****
  • Posts: 403
  • Thanks Meter: 1
    • View Profile
  • Model: s5230
  • Mods: StarHero by Jdotcong & OneStyle07
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #21 on: November 18, 2010, 03:32:20 PM »
how is saying grammar is wrong a reason to get demoted? i was the one who suggested to df5 that u should be jr mod. lf i get demoted i leave.
I wanted to be a moderator only to help this forum and it's users, and I will try to do that no mater what rank I have in the forum, so even if I get banned I will make another acount and do my best
And
Moderator Comment Back on topic pls
« Last Edit: November 18, 2010, 03:34:21 PM by Patr0 »
Most people shout "OMG!!!" just before they lose control of a car... but I say: "Hold my beer and watch this!"

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #22 on: November 18, 2010, 04:31:22 PM »
f*ck this forum a tutorial section flooded by arguments.. f*ck our so called moderator
are you called moderator to moderate argue's?
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

Offline jdotcong

  • Elite Developer
  • Elite Member
  • *****
  • Posts: 1053
  • Thanks Meter: 0
  • DFG ELITE MODDING TEAM
    • View Profile
    • MY FACEBOOK ACCOUNT
  • Model: s5230 (star)
  • Mods: STAR HERO v1 + StarEVO
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #23 on: November 18, 2010, 04:46:35 PM »
OFFTOPIC:

if someone here manage to perfect the lockscreen tuto..
i think you better make few lockscreen or mod any available swf over the internet..
when you have 7 lockscreen or more... that would be the time to make a lockscreen changer
if someone wants it i would be glad to make a tuto for that..

lockcreen setting
title loaded my xml for easy renaming
indicator to determine what is currently lockscreen use
and more features
if you want i can add thumbnails for lockscreen
VALUE HAS A VALUE IF ITS VALUE IS VALUED!!

Offline COD3R™

  • *
  • Posts: 2
  • Thanks Meter: 0
  • I'm the Original COD3R™
    • View Profile
  • Model: ?
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #24 on: December 27, 2010, 11:16:11 PM »
Thank you,nice TuT :D

greeZ.

Offline oguzhan

  • *
  • Posts: 3
  • Thanks Meter: 0
    • View Profile
  • Model: Samsung star
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #25 on: March 16, 2011, 07:35:59 PM »
How do i do this , need help
i have irevo (unlock to slide)
can anyone do this for me or help me atleast how to begin
i want the password iphone scrreen 2
please help me :(
« Last Edit: March 17, 2011, 02:46:57 PM by oguzhan »

Offline ★-- ηι¢к ...

  • Code Modifier
  • Super Moderator
  • Elite Member
  • *****
  • Posts: 1172
  • Thanks Meter: 6
    • View Profile
  • Firmware: MMGJK2
  • Model: STAR NXT
  • Mods: StarEVO.. !!
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #26 on: September 08, 2011, 07:03:51 AM »
Moved to the new section....            Tutorials--> Advanced

Offline Ikkom2HF

  • Contributor
  • *****
  • Posts: 232
  • Thanks Meter: 0
  • Graphics -- windows 7 Helper
    • View Profile
  • Firmware: MXEIl2 on the 5230 the other i have no idea
  • Model: GT-S5230 , GT-S5260 and the Jét
  • Mods: BlackBerry Storm And some kind of android compilation
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #27 on: September 10, 2011, 05:44:23 AM »
guys ... we are a international forum so Dont get mad about grammar  >:(

and theres young people here (i went 14 1 august) which are foreign , so english is not everyones first language here ...
If you need any of the following pm me :

Windows 7 help
Graphics (or help with it)


Offline it

  • Ace of all Trades
  • Developer
  • Elite Member
  • *****
  • Posts: 1605
  • Thanks Meter: 0
    • View Profile
    • NEWZone
  • Model: Skyworth S7
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #28 on: September 10, 2011, 05:53:10 AM »
guys ... we are a international forum so Dont get mad about grammar  >:(

and theres young people here (i went 14 1 august) which are foreign , so english is not everyones first language here ...

why do you mad?

Offline Ikkom2HF

  • Contributor
  • *****
  • Posts: 232
  • Thanks Meter: 0
  • Graphics -- windows 7 Helper
    • View Profile
  • Firmware: MXEIl2 on the 5230 the other i have no idea
  • Model: GT-S5230 , GT-S5260 and the Jét
  • Mods: BlackBerry Storm And some kind of android compilation
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #29 on: September 10, 2011, 06:34:59 AM »
people above are ranting and by the way , it is Why are you mad/Why are you being mad ... If you want it this way ::)
If you need any of the following pm me :

Windows 7 help
Graphics (or help with it)


Offline Jonny

  • Android Developer
  • Administrator
  • Elite Member
  • *****
  • Posts: 1839
  • Thanks Meter: 18
    • View Profile
  • Firmware: Android 4.0.4 With HTC Sense 4.1
  • Model: HTC Sensation XE with Beats Audio Z715e
  • Mods: DarkSense 1.1.1, DarkForest Sensation XE ICS 7.2.0 & 4EXT Recovery Touch 1.0.0.5 RC3
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #30 on: September 10, 2011, 06:48:08 AM »
Administrator Comment Enough - Get back on topic
please dont start any flame wars.
we are all aware english is difficult for some, hence why google translate was invented.
« Last Edit: September 10, 2011, 02:46:08 PM by mrangry15 »
Follow me on Twitter

TerryCee

  • Guest
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #31 on: September 10, 2011, 12:38:47 PM »
I was going to tell you all off but then I realised I started it all.
@mrangry, please do not use the Administrator comment so often.
« Last Edit: September 10, 2011, 02:47:28 PM by mrangry15 »

Offline Jonny

  • Android Developer
  • Administrator
  • Elite Member
  • *****
  • Posts: 1839
  • Thanks Meter: 18
    • View Profile
  • Firmware: Android 4.0.4 With HTC Sense 4.1
  • Model: HTC Sensation XE with Beats Audio Z715e
  • Mods: DarkSense 1.1.1, DarkForest Sensation XE ICS 7.2.0 & 4EXT Recovery Touch 1.0.0.5 RC3
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #32 on: September 10, 2011, 12:54:13 PM »
Point taken, anyway people, please back on topic
Follow me on Twitter

Offline Jonny

  • Android Developer
  • Administrator
  • Elite Member
  • *****
  • Posts: 1839
  • Thanks Meter: 18
    • View Profile
  • Firmware: Android 4.0.4 With HTC Sense 4.1
  • Model: HTC Sensation XE with Beats Audio Z715e
  • Mods: DarkSense 1.1.1, DarkForest Sensation XE ICS 7.2.0 & 4EXT Recovery Touch 1.0.0.5 RC3
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #33 on: September 10, 2011, 04:24:04 PM »
To get everyone back on topic, if you want to create a lockscreen to be used in starhero, samsense etc. via the lockscreen chooser, use jdotcong's method.
however, if you want to create a proper lockscreen to be used with the NewPhoneLock patch, then instead of all the htcbar, lock=visible stuff etc. only one fscommand is important,
fscommand ("send", "KeyUnlock");
this unlocks the lockscreen :)
Follow me on Twitter

nate07

  • Guest
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #34 on: September 10, 2011, 04:46:26 PM »
To get everyone back on topic, if you want to create a lockscreen to be used in starhero, samsense etc. via the lockscreen chooser, use jdotcong's method.
however, if you want to create a proper lockscreen to be used with the NewPhoneLock patch, then instead of all the htcbar, lock=visible stuff etc. only one fscommand is important,
fscommand ("send", "KeyUnlock");
this unlocks the lockscreen :)

he mean this command is for the phonelock.swf.. :)

Offline John brac

  • Contributor
  • *****
  • Posts: 22
  • Thanks Meter: 0
    • View Profile
  • Firmware: MFJF1
  • Model: S5620 Monte
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #35 on: May 01, 2012, 06:30:17 AM »
hey guys....i badly need your help....
i am using phonelock patch..
i am trying to make my own phonelock....
how do i make the wallpaper of the gadget appear in the phonelock.swf?????
Any help regarding to modding, and i am here.......

Offline ★-- ηι¢к ...

  • Code Modifier
  • Super Moderator
  • Elite Member
  • *****
  • Posts: 1172
  • Thanks Meter: 6
    • View Profile
  • Firmware: MMGJK2
  • Model: STAR NXT
  • Mods: StarEVO.. !!
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #36 on: May 01, 2012, 06:56:25 AM »
use this

Code: [Select]
function loadWallpaper()
{
    fscommand2("set", "Mode", "Gadget");
    backgroundClip = createEmptyMovieClip("bg1", 0);
    backgroundClip._x = 0;
    backgroundClip._y = 0;
    var _loc1 = new MovieClipLoader();
    fscommand2("Get", "idle", "InitWallPaper", "mainBGPath");
    _loc1.loadClip(mainBGPath, bg1);
    delete mainBGPath;
} // End of the function
fscommand2("set", "Mode", "Gadget");
_root.backgroundClip = _root.createEmptyMovieClip("bg1", 0);
_root.backgroundClip._x = -240;
_root.backgroundClip._y = 0;
var backgroundLoader = new MovieClipLoader();
fscommand2("Get", "idle", "InitWallPaper", "mainBGPath");
backgroundLoader.loadClip(_root.mainBGPath, _root.bg1);
delete _root.mainBGPath;
EVWallpapers = new Object();
EVWallpapers.onEvent = function (procedure)
{
    procedure = "load";
    loadWallpaper(procedure);
};
ExtendedEvents.setWallpaper.addListener(EVWallpapers);
procedure = "load";
loadWallpaper("load");

Offline ★-- ηι¢к ...

  • Code Modifier
  • Super Moderator
  • Elite Member
  • *****
  • Posts: 1172
  • Thanks Meter: 6
    • View Profile
  • Firmware: MMGJK2
  • Model: STAR NXT
  • Mods: StarEVO.. !!
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #37 on: May 01, 2012, 06:57:31 AM »
That script will load the system default wallpaper. I am assuming gadget wallpaper in your question to be system wallpaper

Offline John brac

  • Contributor
  • *****
  • Posts: 22
  • Thanks Meter: 0
    • View Profile
  • Firmware: MFJF1
  • Model: S5620 Monte
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #38 on: May 01, 2012, 07:35:14 AM »
thank you soo much anyway... but i dont want the default wallpaper.. i want the wallpaper that i am using in the gadget..i have made my own gadget...
Any help regarding to modding, and i am here.......

Offline ★-- ηι¢к ...

  • Code Modifier
  • Super Moderator
  • Elite Member
  • *****
  • Posts: 1172
  • Thanks Meter: 6
    • View Profile
  • Firmware: MMGJK2
  • Model: STAR NXT
  • Mods: StarEVO.. !!
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #39 on: May 01, 2012, 08:30:01 AM »
thank you soo much anyway... but i dont want the default wallpaper.. i want the wallpaper that i am using in the gadget..i have made my own gadget...

I dont think that's possible. Because lockscreen using PhoneLock patch is a completely different thing. Even the gadget commands dont work there

Offline John brac

  • Contributor
  • *****
  • Posts: 22
  • Thanks Meter: 0
    • View Profile
  • Firmware: MFJF1
  • Model: S5620 Monte
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #40 on: May 01, 2012, 08:35:36 AM »
but siris cac has done that in his monte evo mod....
Any help regarding to modding, and i am here.......

Offline ★-- ηι¢к ...

  • Code Modifier
  • Super Moderator
  • Elite Member
  • *****
  • Posts: 1172
  • Thanks Meter: 6
    • View Profile
  • Firmware: MMGJK2
  • Model: STAR NXT
  • Mods: StarEVO.. !!
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #41 on: May 01, 2012, 08:42:36 AM »
but siris cac has done that in his monte evo mod....

then why not ask siris only? PM him or add him on FB

Offline John brac

  • Contributor
  • *****
  • Posts: 22
  • Thanks Meter: 0
    • View Profile
  • Firmware: MFJF1
  • Model: S5620 Monte
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #42 on: May 09, 2012, 07:41:42 AM »
i found a way to do that its kinda easy...................
you need to use SO handlers for that...........
Any help regarding to modding, and i am here.......

Offline ★-- ηι¢к ...

  • Code Modifier
  • Super Moderator
  • Elite Member
  • *****
  • Posts: 1172
  • Thanks Meter: 6
    • View Profile
  • Firmware: MMGJK2
  • Model: STAR NXT
  • Mods: StarEVO.. !!
Re: [Tutorial] How to make lockscreen and how to make it work perfectly
« Reply #43 on: May 09, 2012, 10:06:27 AM »
i found a way to do that its kinda easy...................
you need to use SO handlers for that...........

post the code in the scripts section in code modifiers board so that others can also use it

 


Chat

Refresh History
  • White Rider: @fare1180, port/driver problem. reinstall the drivers and try different usb ports. are you able to use the media player mode with computer?
    April 29, 2013, 09:13:30 PM
  • farey1180: :-[
    April 27, 2013, 11:10:07 PM
  • farey1180: my phone is not seen in multi loader. why?
    April 27, 2013, 11:02:04 PM
  • CookieMen: @goku i know it, but i have other patch menu? but i downloaded it from this topic. can you make screens with enabled patches?
    April 26, 2013, 05:05:33 AM
  • beginnerPRO: can you help me to make scrolling background for gadget.swf please..!!
    April 25, 2013, 09:25:18 PM
  • wahyuaire: :(
    April 23, 2013, 07:16:07 AM
  • wahyuaire: i miss U all Guys
    April 23, 2013, 07:16:04 AM
  • Goku: Deactivate all patchs and activate nly the ones i postd ther..
    April 19, 2013, 11:10:27 AM
  • CookieMen: default eabled patches, not settings
    April 18, 2013, 05:10:44 AM
  • CookieMen: white screen, but with default settings phonebook and lockscreen doesnt work
    April 18, 2013, 05:10:10 AM
  • CookieMen: pb
    April 18, 2013, 05:08:33 AM
  • Goku: Wat help u want??
    April 17, 2013, 11:28:28 AM
  • CookieMen: anyone can help me with this theme? http://darkforestgroup.com/starmod/index.php?topic=1999.msg24556#new
    April 17, 2013, 05:31:34 AM
  • iXamueL: Good ol' forum where everything started :D
    April 13, 2013, 11:44:00 PM
  • White Rider: @it , and nothing has changed since you left....  :(
    April 10, 2013, 07:01:30 AM
  • it: it's been so long since my last visit.. :)
    April 09, 2013, 08:12:51 PM
  • onlook: ...
    March 25, 2013, 02:35:41 AM
  • White Rider: Bored....
    March 20, 2013, 10:56:00 AM
  • null14: yeah
    March 14, 2013, 11:13:46 PM
  • Goku: Thats true...
    March 14, 2013, 11:14:48 AM

SimplePortal 2.3.3 © 2008-2010, SimplePortal