-
Loading CSS Style Problem - Need Help
So here is the code I have currently
Code:
// ----------<Load CSS>---------- \\
var cssStyles:TextField.StyleSheet = new TextField.StyleSheet();
cssStyles.load("styles/styles.css");
cssStyles.onLoad = function(success) {
if (success) {
loadedInfo.styleSheet = cssStyles;
_level0.myLV.load("vars/ourHistory.txt");
}
else {
loadedInfo.text = "ERROR: CAN'T LOAD INFO...";
}
}
// ----------</Load CSS>---------- \\
Now when I load this, the text box is completely empty, or appears to be that way. When I take everything out except:
Code:
_level0.myLV.load("vars/ourHistory.txt");
my text will show up (unstyled of course).
Also, if I change the location of the OurHistory.txt file the error message will load for me.
It's just when it's all together it will not load my CSS styled text. Anyone have a clue to what I am missing? I was thinking there was a spelling error or a typo, but after looking for a long time I couldn't find any. Any help would be greatly apreshiated.
-
anyone?
this is really bugging me
-
bump...
anyone have a clue?
-
one more try, I still can't figure it out.
Can someone please help me, I can pay for your time via paypal
Thanks,
Mike
-
Alright, after a week of working on this, I still can't figure out what I did wrong
I'm offering $10USD via paypal for anyone who can attempt to help me out on this. I'm surprised no one has even posted in here yet
Any help will be GREATLY apreshiated and rewarded!
- Mike
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
|