ActionScript 2.0 :: Creating A Hyperlink From A Shared Object?
Sep 11, 2005
I am trying to create a bookmark in my e-learning application. So far I have been abe to create 2 buttons that write and receive information from a shared object. My next step is writing the current frame and swfs to the shared object, but I am unsure how to write the code to do this. How would I display the swf's retreived from a shared object as a hyperlink, where the user can click on and return to their bookmarked spot?
View 2 Replies
Similar Posts:
Aug 26, 2004
I am creating a computer game with a save game function which outputs the contents of an array to a shared object, so that users don't loose their place.However, I wish for this to work with multiple users, and realise that to do this I need a new seperate "folder" within the shared object being created for each new users data array.I know it must be something like....
// Define the shared object using a "sublevel" for each users data array...
_root.savegame.sublevel = sharedobject.getLocal("savegame"; "/");
// somehow dynamically change "sublevel" to the contents of the var "currentUser" as defined when the user logs in when the game loads up.
OR...
//Define the shared object but using a variable title for the actual SO...
_root.savegame = sharedobject.getLocal("savegame_currentUser", "/");
//with that "currentUser" being dynamically substituted for the contents of the var "currentUser" which is defined when the User logs in when the game loads up.
View 4 Replies
Mar 13, 2009
I created a very simple experiment to attempt to access the same shared object in Flash Player and AIR.
A Flash SWF creates a local shared object.
A AIR application (being tested from CS3 or installed) opens the same shared object.
The data does not persist. Is this theoretically possible?
View 1 Replies
Apr 6, 2009
I'm looking to create a hyperlink outside of my flash website. Does anyone have the Actionscript 3.0 to code an instance of a button? or a better way to code this???
View 3 Replies
Feb 15, 2009
I'm trying to create hyperlinks within TextFields by using a combination of plain text and the getCharIndexAtPoint method of the TextField object.
I've got everything nailed down except for the handCursor. To solve this problem I decided to place the TextField within a Sprite container and have the MOUSE_MOVE event attached to the TextField signal to its parent [Sprite container] that it should modify its buttonMode, useHandCursor, and mouseChildren properties to allow the hand cursor to be displayed, which I'm happy to say does work.
Unfortunately when I set the mouseChildren to false and the buttonMode and useHandCursor to true. The TextField within the Sprite container stops tracking the mouse...which I understand why but was wondering if there's some other combination that would allow me to do what I need to do?
[Code]...
View 2 Replies
Jan 22, 2011
I'm using a loader for people to use to upload their own images for a background, and I want it to remember the image the next time they come to the page, so is there any way to save the loader data in a shared object? I haven't tried just using something like
Code:
sharedObject.data.dataName=loader
because I assume it doesn't work that way.
View 9 Replies
Jul 5, 2009
So I've decided to at least have a fallback option outside of cs4 for all further projects by using a shared library (IE, my graphics in a separate swf)So, what are some programs that would allow me to do this? Preferrably something that can take illustrator files. Anything thats going to let me package graphics for as3/flash 9+I looked at swfmill, but does it function with as3? I couldn't figure this out, it looks like it was last updated in 2005 and the tutorial was still talking about attachmovie (which is deprecated)A program like this would be useful for new versions of HaXe as well. Having everything you're developing thrown in a single .fla is awful for a lot of reasons
View 4 Replies
Jan 11, 2010
I want to do is add a simple hyperlink in my xmlhtml hyperlink in my xml.how to do a hyperlink in xml.This is what I do know,you can add the <a href="http:[url]...but that does not work for me,when i save and preview my fla, it takes away my scroll bar that i have.I have also seen somwhere you can use the <?[[DATA tag, but this aswell doesnt work for me in my FLA, is there somewhere i need to reference hyperlinks before I can modify my xml?
View 38 Replies
May 20, 2008
Just wondering if you can use more than one shared object, as my AS code doesn't act as i would think
Code:
---this one works
var submenu_so:SharedObject;
submenu_so = SharedObject.getLocal("menu");
[Code].....
View 1 Replies
Jun 24, 2009
Can I use Flash Shared Object to pass information between two different SWF files on two different pages within the same website?I know it can if the SWF files are the same. But what if they are different Flash object with different SWF files?
View 7 Replies
Jan 28, 2010
Does anyone know if it's possible to save and access a LSO from an EXE projector on a CD?
Obviously the LSO couldn't be saved on the CD itself - would it be able to save the LSO somewhere on the users hard drive?
View 4 Replies
May 28, 2009
I made a shared object whiteboard but I have a stupid problem with removing objects. This is function to clear shared object :
public function clearShape (so:SharedObject):void {
trace('clear:', this.name);
delete so.data[this.name];
[code].....
View 2 Replies
Aug 7, 2011
I was thinking if there was a way to remove the shared object pop up from popping up lol?Its because Im making a game where when the player saves the pop up comes up over a 100 times and it's really frustrating, so I was thinking if you could remove the pop up entirely by using actionscript?I've found a script that shows the popup:System.showSettings(1);So is there a way to reverse this script? like System.hideSettings(1); ?
View 1 Replies
Jun 9, 2009
I have a client who has a video that is to only play once when a user visits. So I created a shared object to create a param that the video has been played. It works perfect locally and on my live test site. However when the client posts it on his ning website in the header it doesn't work. The strange thing is that live and locally on my server you can see the shared object and it's size through the advanced tab in Flash's privacy settings.
View 7 Replies
Aug 23, 2009
I have a gane that uses shared object and keeps note of highscores and users names. So - if that is possible then I can set up teaching courses on standalone pcs can't I? ie: Databses I have in access can go in XML and the recording of position in course and results of tests can also be recorded using Shared object.Is that a good way of going about things OR should the whole thing go over to AIR and its sqlite system?
View 3 Replies
Sep 21, 2009
I have 2 ways of accessing info in my course files (SWFs): text-only and audio playback. I'd like to use shared object to store the user preference so it remembers the setting when navigating between screens. It stores info file but each file creates its own shared object.
for example:
<path to the swf>page1.swfcoursename.sol
<path to the swf>page2.swfcoursename.sol
<path to the swf>page3.swfcoursename.sol
Since it writes and reads the SOL file of its own folder, the user setting isn't remembered when switching pages.
View 3 Replies
Nov 1, 2006
I am running a chat program which displays a list of users along with their status (online or offline). I wish to remove the list and display their status in their respective biographies, which are separate swfs. The usernames and status are stored in a remote shared object as an array.My question is, what is the most efficent way of extracting an individual user's current status from the SO array?[code]
View 2 Replies
May 5, 2005
Does anyone knows why the output is "undefined"?:
mySo = SharedObject.getLocal("kookie");
myButton.onPress = function(){
mySo.data.nome = "dados de utilizador";
[code]....
View 2 Replies
Nov 21, 2006
how to rewrite the Shared Object? Is it possible?
View 7 Replies
Apr 10, 2010
Is there a way in which xml can be saved as shared object?
View 1 Replies
Oct 30, 2009
I was trying to obtain data I wrote using a sharedobject location from one application on another, but it didn't seem to work(used same machine). So I take it local stored data is only allowed to be accessed/manipulated from the application that initially wrote data to it?
Is this is for security reasons? Is there anyway around this, I want to have one application read variables from another...
View 1 Replies
Oct 13, 2010
I am building an application that uses a Shared Object that is shared (ironically) between 3 separate applications. 1 application listens for updates, and the others update the app. The problem I am having is that I need the main application to be able to detect changes to the Shared Object. Unfortunately there seems to be no events to listen for that are not for 'remote objects'. Because of this I created a timer that gets a new local instance of the shared object every X seconds.I just call the following before I read or write to the sharedObject:[code]This is causing a CPU Hiccup every 3 seconds and bogging down the system. so all this being said, does anyone know of a clean way to refresh a copy of the sharedobject without creating a brand new instance of it
View 2 Replies
Mar 31, 2010
I'm having trouble storing a dataprovider in a shared object. Writing the dataprovider object to my local shared object seems to work fine, but when I try to read this out of the shared object, it appears to have been transformed into a generic object. When I try to assign a local dataprovider variable to the dataprovider I've read out of the shared object, I get the following error:
"cannot convert Object@3721e6c9 to fl.data.DataProvider"
View 7 Replies
Sep 16, 2009
read a local shared object with a servlet even if there is no flash present on a page? I want to set a local shared object like a cookie, and then access it again from a page that doesn't have a flash movie.If I can't do this, is it standard to have the initial flash movie call an external javascript to set a traditional cookie that can later be read?
View 1 Replies
May 10, 2011
I have a Flash.exe projector that stores data in a Shared Object. Anything works fine if I launch it from my desktop. The Flash.exe will be recorded and used from a CD-rom. Will the path of the Shared Object change? Say, will it try to record itself on the cd?!
View 1 Replies
Jul 3, 2011
I want to let the user save some bigger data in a shared object by choice. Is it possible to define the size the user needs to allow?
I'ld like to set the minimum to at least 10 MB to have some extra space for future usage.
View 1 Replies
Oct 31, 2011
I am trying to access a flash shared object using sharedObject.getLocal("sharedObjectName"); But, it always creates a new object and doesn't locate the existing object, then I searched the location where it saves the object and I got this location from the internet c:/Documents and Settings/username/Application Data/Macromedia/Flash Player/#SharedObjects But, I could not get this directory in my windows XP. access my shared object which is residing in my flash media serverapplication folder..
View 1 Replies
Feb 11, 2009
I'm trying to detect if a shared object's value has changed. Is there a way to do this? I'm using setProperty and it works fine but I need to change info the info has changed. I have tried event.changeList but it just shoots out [Objects] without giving me values. Can't it tell me a boolean to see if it has changed?
View 1 Replies
Sep 28, 2009
I have simple slideshow set up where the user presses a button(forward or back) and the image changes. I used a sharedObject to save each frame, so when the page is refreshed/reloaded, the swf loads back to the image it left off on... thats the idea anyway.However, instead of just loading the previous frame when the page is refreshed, it loads frame 1, and i have to click my "next" button, which then jumps to the slide that should have loaded in the first place. I dont know why this is happening..I'm using Sothink SWF Quicker.. so heres the .sqf[URL]
View 1 Replies
Dec 2, 2009
What are some possible reasons that an LSO will not update/store information when nested within an IFRAME nested in another IFRAME?The mark-up structure was not determined/dictated by me.
View 0 Replies