![]() |
#1 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
![]()
Howdy peeps,
I'm breaking down and asking for help because I thought about giving up. Then I thought, Shut Up! Sirat you pansy! Anyway.. Working on first WA skin and I've got snappy graphics just not enough code working right. Specifically i'm trying to get an average beat animation to work. Just a layeranimation linked to beat. I've got the scripts from Frisbee and others but no matter what i've tried, I get Null object found and Divide by zero errors. I have other animations running and AniSeek and Anivolume and they all work just fine. Any tips? Wits end. Sirat ![]() |
![]() |
![]() |
![]() |
#2 |
w3 addict
(Major Dude) Join Date: May 2004
Location: Norway
Posts: 1,806
|
The problem is probably in the MAKI script and not in the XML, however a Null Object error means that the script is calling for an object that does not excist in the XML document. Make sure you have the identifications correctly typed in both the XML and MAKI scripts.
09 F9 11 01 9D 74 E8 5B D8 41 56 C3 63 56 81 C0 |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
I hear what your're saying.
It ain't the script. I got that from Maki Cheats and other versions from working skins. I'm sure it's my end but i've thrice checked the element names because that was my problem when trying to get seek and volume ani's working. My guess is that I need to use a specific scriptID for the animation like with SeekAni. This works fine: <script id="seek" file="scripts/seekbyframe.maki"/> <AnimatedLayer id="SeekAnim" x="486" y="18" w="104" h="7" image="player.anim.seek" move="0" autoplay="0" autoreplay="0" /> Right below it I have: <script id="Vis" file="scripts/customvis.maki"/> <AnimatedLayer id="VisAnim" x="486" y="8" w="104" h="7" image="player.anim.Vis" move="0" autoplay="0" autoreplay="0" /> and it gives me the errors.(customvis.maki) Hmmm |
![]() |
![]() |
![]() |
#4 |
Senior Member
|
try this:
PHP Code:
|
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
That would be a negatory.
Fastest reply in history though. ;0 Sweet sig too. |
![]() |
![]() |
![]() |
#6 | |
Senior Member
|
Quote:
![]() can i see a script? |
|
![]() |
![]() |
![]() |
#7 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
This is the script.
I got from here though, I doubt it has issues. http://frisbeemonkey.com/winamp3/ref...hp?id_files=41 |
![]() |
![]() |
![]() |
#8 |
Senior Member
|
whell, if you use this script (unchanged) your animated layer must have id "Vis.Animation"...
|
![]() |
![]() |
![]() |
#9 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
Yer some kinda XML ninja monkey.
![]() It worky Thx, had no what to look for. Now I do. Kowtow to you. BTW when I was a kid here in America there was a superhero named Montenegro and he was a mountain climber guy that swung around on a rope and fired a piton gun. That you? |
![]() |
![]() |
![]() |
#10 |
Major Dude
Join Date: Oct 2004
Location: The timid west
Posts: 1,444
|
Your posts remind me of A clockwork orange. The huy in that film used to put ys on the end of words. Now i have that scary image of them with long noses. Thanks a bunch
![]() ![]() |
![]() |
![]() |
![]() |
#11 |
Senior Member
|
ha, ha, no!
Serbia & Montenegro is my country (ex Yugolsavia) its near the Italy (accross Adriatic sea) |
![]() |
![]() |
![]() |
#12 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
Ahhh that's too bad krckoorascic,
He had a cool hat with a feather in it. .. and he'd shoot you. ![]() Thanks again. No big deal, but now i'm trying to use this script twice and it's resisting me. (2 different graphics) |
![]() |
![]() |
![]() |
#13 |
Senior Member
|
try this:
(in xml) PHP Code:
PHP Code:
|
![]() |
![]() |
![]() |
#14 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
Are you saying that i'd need to compile that script and replace the other?
|
![]() |
![]() |
![]() |
#15 |
Senior Member
|
yeap
|
![]() |
![]() |
![]() |
#16 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
Thx I'll give it a try, got to leave now though.
Thanks for the help |
![]() |
![]() |
![]() |
#17 |
Senior Member
|
anytime...
|
![]() |
![]() |
![]() |
#18 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
Hello again peeps,
Phase 2: I've tried to compile this and get an 'exited with code 4' after running MC. It got partway through it looks like. Not sure if this is relevant- I have no winamp 3 directory, and mc.exe wasn't on my hard drive. I got it online from the developers kit and put it in the folder with the .M script. It couldn't find lib\std.mi and stopped so I made a lib folder and put std in there. Then it ran farther but stopped at mentioned error. Never tried to compile anything before and if there's a good webspot for me to visit besides here then point me at it. |
![]() |
![]() |
![]() |
#19 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
I just realized that this is probably relevant. lol-
syntax error at customvis.m17 [2] : Then the code 4 error. I didn't change what you posted at all. |
![]() |
![]() |
![]() |
#20 |
w3 addict
(Major Dude) Join Date: May 2004
Location: Norway
Posts: 1,806
|
Hum, I am no expert, but putting the <script> tag before the called element will result in null object error doesn't it? Try moving the script below the animated layer insted..
09 F9 11 01 9D 74 E8 5B D8 41 56 C3 63 56 81 C0 |
![]() |
![]() |
![]() |
#21 |
Senior Member
|
sorry, i made mistake writting code, this should work:
PHP Code:
|
![]() |
![]() |
![]() |
#22 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
Almost there I think...
I think there was a typo at .getLenght Changed to Length and it runs with no errors but the 2 graphics are frozen. If I refresh the skin they change length with the music but not in realtime. Just each time I hit F5. This is fun ![]() |
![]() |
![]() |
![]() |
#23 |
Junior Member
Join Date: Mar 2005
Posts: 14
|
Well, strike the last, it works.
I restarted some things including Winamp and now it works perfectly. Thanks for coming through for me krckoorascic. Here's that comic book guy I mentioned, sure it's not you? ![]() http://www.marvunapp.com/Appendix2/montenegropm.htm |
![]() |
![]() |
![]() |
#24 |
Senior Member
|
:P noup, when i last time looked in mirror it wasn't that
![]() |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|