Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Tutorials and Tips

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2011, 08:41 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 31,254
PTGigi
Default Flash Links Tip

Yeah this is just a REALLY quick tip that'll save your site. I found this out when only one of my links was working properly. I know not a lot of people use Flash, but for those who do or are planning to keep this in mind!

Okay, so if you are using Flash ActionScript 2 the code for a url is:
Code:
on (release) {
    getURL("URLHERE", "_self", "GET");
}
You take this simple code and place it on any button object to get your URL. But if you type in your URL one way (which is a correct way to make a url) your log-in will break. Meaning, if a logged in user goes to the page with the Flash element, clicks on the button in the Flash program, and gets taken to another page THE USER WILL BE LOGGED OUT

Now to make SURE you type your URLs in correctly use this format:
Code:
on (release) {
    getURL("http://yoursite.com", "_self", "GET");
}
The tiny little thing you must keep in mind is NOT to include the 'www.' before the URL as this, for some unknown reason, will log the user out until they click on a menubar link (that makes no sense either).

Sound easy enough? X3 Basically this whole lesson is remove the 'www.' and your user will not be logged out
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic
Reply With Quote
  #2  
Old 01-31-2011, 12:14 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 37,872
fadillzzz is an unknown quantity at this point
Default

I think the log out problem is caused by the cookie settings, the cookie maybe set to domain.com but not www.domain.com... just a hunch though..
Reply With Quote
  #3  
Old 01-31-2011, 03:03 PM
PTGigi's Avatar
PTGigi PTGigi is offline
Crazily Friendly~HoF
 
Join Date: Jul 2009
Location: Somewhere >.>
Posts: 370
Gender: Female
Credits: 31,254
PTGigi
Default

Hm that seems odd O.o It could explain it.
__________________


"I see now that the circumstances of one's birth are irrelevant; it is what you do with the gift of life that determines who you are."~Mewtwo
My Adoptables|Nuzlocke Webcomic
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gigi's Thread of Flash [Games] PTGigi Programming and Game Development 10 11-09-2014 01:28 PM
insert flash / .swf files voni Questions and Supports 7 06-15-2014 11:55 AM
Changing the links under Member's Links. LucasA33 Questions and Supports 1 12-24-2013 09:04 PM
Flash Animation elfhome Art Gallery 3 01-26-2011 04:53 PM
using a Flash or SWF for the image redheadturkey Questions and Supports 2 06-01-2010 11:07 AM


All times are GMT -5. The time now is 01:16 PM.

Currently Active Users: 1095 (0 members and 1095 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636