ActionScript 2.0 :: Insert A Link Into This Dynamic Calendar?
Feb 20, 2009
I've got a flash calendar and if you click on a specific date it shows the event in a text box for that date. Unfortunately, I can't figure out how to insert a linkable text into that event area. The flash file is associated with XML files for each month and also with an XML.AS file. The calendar (FlashGordon) can be downloaded here: [URL]Here is the code for the XML.AS file:
// XML LOADING FOR CALENDAR DATES AND IMAGE DISPLAYED
var xml:XML;
var displayImage:String;
var scope:MovieClip = this;
[code]....
If I insert a link inside the event line, for ex.: <event date="19" event="<a href="http://www.google.com/">Test</a>"/> the calendar won't show any events and obviously it's not working.how can I insert a linkable text in the event area of the calendar?
View 12 Replies
Similar Posts:
Oct 28, 2011
I had an assessment i need to finish as my test for flash developer vacancy...i need to create a function that convert date Gregorian calendar to Hijri calendar in flashis that possible?I've search through google, but still doesnt find anything useful yet.
View 3 Replies
Mar 28, 2004
I have to set up an list of events in sort of a calendar format. I'm trying to figure out how I should bring in the data.The data will be stored in a mySQL database. Should I just bring it straight into flash with PHP, or should I use PHP to convert it to XML and then bring it to flash?
View 1 Replies
Feb 20, 2008
I would like to know if there is a way to create a calendar page on my site that will display the free Google Calendar? I have embedded code in a Myspace site before and it worked well, but have no experience with the IFrame code that Google Calendar uses. fyi- I just bought Flash a month ago and have been editing a template that I purchased to be my new website.
View 1 Replies
Nov 10, 2010
I recently bought this template: [URL] but I have a big problem. I want to add a hyperlink over the big images which appears when you click on bedrooms for example. There are 9 small images in the right side and 1 big image on the left. I changed all the images but I want also to add hyperlinks on some big images. The action script import an xml file like: <?xml version="1.0" encoding="iso-8859-1"?><root>
[Code]...
View 3 Replies
Dec 27, 2011
I was wondering, how would I insert a link into a MC/Button?
See, I made an MC that has a Button inside of it for a website. All is well exept I dont know how to insert the link to make it go to another page from the website?
View 1 Replies
Feb 7, 2003
In textfields it's possible to insert a HTML-style link. Is there any solution to activate a actionscript function from a link like this in the text?I would like to load another text into the textfield when clicking a word into the text.
View 1 Replies
May 31, 2009
I'm trying to develope a texteditor for my websites in As3, but I'm facing a issue, I can make my selected text bold, italic, untherline etc, I can insert a link, to an email, per example, but if I try to insert more than one email link, my textarea looses all previously inserted bolds, italics, etc, even all the line breacks are gone.
What can I do to avoid this, this is the piece of code to make an email link
[Code]...
View 7 Replies
Jan 31, 2007
Google calendar is available to be embed into a HTML website.. But I have a Flash site.. I want to load that calendar into my site.. It has an option for a button. But would like to have the entire calendar view. Can this be loaded into a dynamic text box or a loader component??? Does anyone have a clue how to do this... Or create a monthly calendar with events.. I can't seem to find one anywhere, I am sure it can be done.. but not very good with AS.
View 1 Replies
May 3, 2010
If I am intruding here with a silly beginner questions I apologize. I am new to Flash. I have purchased a dynamic flash intro sort of like this url..It came with the full package including source files and but also simple editing through an xml file. I have the video as I want it but want to put it as an introduction for a full video (in AVI or .FLA format).How can I export it as a video file without the need of anything else such as the xml?
View 1 Replies
Aug 31, 2011
I am writing a script which will load a csv file and Auto/Dynamic insert buttons depending on the number of lines within the csv & the X and Y position. Eventfully the user will be able to move they mouse over the buttons and a pop up will appear with information contained within the csv file. I have managed to generate the buttons and event handler to mouse functions, which is triggered from the mouse click, up etc. My question is how to work out which button the mouse is over? If they is ten buttons generated, how do I detect which button has been pressed to display the appropriate information in the pop-up?
[Code]...
View 1 Replies
Sep 27, 2010
I dont know how to do this, i am trying but i cant, [code]...
View 9 Replies
Apr 24, 2009
I searched the forums and couldn't find anything relevant to my issue.I'm creating 3 textfields and loading XML into them. What i need is to add a "label" before each textfield on the stage. For instance i'm pulling a city name from the XML file,i want to insert the word, "Location" on the stage before the textfield with the city's name in it. Here's a snippet from my code where i'm loading one of the variables into one of the dynamic textfields.
Code:
var where:TextField = new TextField();
where.text = eventsXML.Event[0].City;
where.x = 85;
where.y = 81;
I want it to appear on the stage as: Location: Sydney, Australia
View 2 Replies
Jun 15, 2007
im trying to do a dinamic link for my dinamic thumbs gallery. But i dont know how to propagate it. here is my function for my show next button PHP Code:
[Code]...
View 1 Replies
Jan 25, 2012
I have a load of objects with arrays in them.
var tabData0: Object = new Object();
tabData0.tab1 = new Object();
tabData0.tab1.names = new Array();
[Code]....
I want to combine this output with a few more to refer to my object / array. The remoteHolder contains the value I need to know which object (tabData0, tabData1, etc) to retrieve the info from.
tabHolder['btn' + i].titleHolder.titleField.htmlText = all['tab' + tab].names[(i-1)];
But get this:
ReferenceError: Error #1069: Property tab1 not found on String and there is no default value.
View 1 Replies
Jul 27, 2004
i have few button to let user click and the symbol will insert into the input text. i change my input box to 'symbol' but i facing the problem that i can't insert character other than symbol...
View 6 Replies
Oct 13, 2009
able to link several buttons to a dynamic text box within the same mc on the same timeline, however when I try to move the dynamic text box to another mc, I am no longer able to link the buttons and populate the textbox.Textbox instance name is textbox.Button instance name is allegdistThe new movieclip is named page5It works within the same mc and timelineHere is the code I am using just for testing...How would I get the button to recognize the textbox in the new movie clip?
allegdist.addEventListener(MouseEvent.MOUSE_DOWN, click1);
function click1(event:MouseEvent):void{
textbox.text = "test"
[code]....
View 1 Replies
Jul 28, 2011
Program: Adobe Clash CS5.1Explanation:When you select a text field, under Options in the Properties there is the field "Link". Normally when you want to add a link you put the URL in a text box, then assign it a URL in the Properties...I am using a .xml file to pull up information, is there a code I can put in to the "Link" field in Properties to link to the URL that is entered by the .xml file?Example:The dynamic text field in flash displays the URL entered in the .xml, which is the URL for the Google homepage. The user clicks the link and it takes them to Google.
View 3 Replies
Mar 23, 2004
Is there a way to make the hand show up on a rollover of a dynamic text link. My dynamic text links fine and i can get it to work, but it wold be nice if the person rolled over the link for the hand to show up. Is that possible?
View 10 Replies
May 6, 2004
My swf file is stored on the web server in say /images/swf/my_swf.swf
The web page I want to link to is stored in the same folder /images/swf/My_Page.htm
So if my_swf.swf is embedded in say Original.htm page in the /images/swf/ directory.
When the visitor to Original.htm Clicks on the Button_btn they will be linked to the My_Page.htm with the following code.
Code:
_root.Button_btn.onPress = function () {
getURL("My_Page.htm", "mainFrame");
}
I have to store the My_Page.htm and the my_swf.swf where they are but the Original.htm is else where and has a number of other .swf's on it. So now when the Vistor click on the Button_btn the link tries to find the My_page.htm in the root of the Original.htm. How can I make the link in the my_swf.swf force the link to read from the root of the swf rather than the Original.htm?
View 5 Replies
Nov 8, 2006
Here i got stuck with a prob... i think it's simple, but still im not clear...I need to link my dynamic text...That data is comming from an array...Is that possible to do.
View 5 Replies
Feb 14, 2008
I have a very simple xml file.
Code:
<article>
<link>
<site>Click for transfering to: <a href="http://www.google.com">Google</a>.</site>
</link>
</article>
I successfully load the xml into the stage,although the part <url= "http://www.google.com">Google</url> doesn't appear.Do I have to create a unique script in order that part of dynamic text to become a link?
View 10 Replies
Mar 23, 2004
Is there a way to make the hand show up on a rollover of a dynamic text link. My dynamic text links fine and i can get it to work, but it wold be nice if the person rolled over the link for the hand to show up. Is that possible?
View 10 Replies
Aug 23, 2010
I am trying to create a hyperlink to an external website within a dynamic text field. Basically, I need it to work like this: My text will read, "Here is an example. Click here to see a larger version." I need the "click here" part to be a hyperlink. But since I already have all of this text within a dynamic text field, I can't figure out how to make that one part of the text a hyperlink. I've searched online for an answer to this but can only find information on how to create a hyperlink from the entire text field or to add a button hyperlink. I don't want to do these things.
View 4 Replies
Sep 2, 2011
I want to make link from a dynamic text(in flash project) to an external swf i created(a gallery that is controlled by xml file). This is the code of first frame of my fla project:
url="edit";
loadVariablesNum(url + "_main.html",0);
_root.link=1;
function linkgal() {
loadMovieNum("gal_car.swf", 1);
[Code]...
View 1 Replies
Jul 8, 2009
I'm pulling news information from an XML file. The root node is "article", the child nodes are (for example) "date", "title", "caption", "copy", "link", etc.
For each article, two new buttons are added to the stage.
1st button - on rollover, display the date & title for that article in a small movie clip w/ dynamic text fields.
2nd button - on click, display ALL nodes listed for that article in a large movie clip updating only the dyn text fields
What are some methods I can use to automate the process? That is, to avoid writing an if/else statement and some code to filter the XML properly for each and every article?
I need to somehow connect the XML content and the movie clips I add to the stage dynamically.
Is it common to write two ID attributes for each XML node? Unfortunately, each article isn't in sequence and older articles could be added even amongst the new ones... so a better "ID" would be the date of the article. Would that screw up automation?
View 1 Replies
Oct 1, 2009
I am trying to link to link several buttons to a dynamic text box.I am trying to populate the dynamic text box with specific data called from an external text file by each button.
In other words:
Button 1 ---> text file1----->Dynamic Text Box
Button 2 ---> text file2----->Dynamic Text Box
I have searched everywhere, but cannot seem to find anything specific.
Does anyone know of any tutorials I could try?
View 0 Replies
Jan 3, 2007
Here is the situation: I have an XML document which I rip through using a for Loop, and I place the data into an array. From there I tell the data where to go. I have an attribute in my XML called 'link' which contains a URL, now I want to spit that out into a separate textbox and have it also link to the given URL. I have the URL stored in the array just fine, and I can even spit the URL into the textfield, my only question is how to make it link instead of just being normal text?
I hope I explained this well, but the basic gist of it is I have everything working except for adding the hyperlink.
View 2 Replies
Jan 15, 2007
I think this is a relatively easy fix but I have looked around for the answer and have not been able to find it. I am using a dynamic scrollable html text box. I would like to add links. The only problem is that the double forward slashes (//) in http:[url]....makes the following text become a commment.I have a dynamic text box with an instance name of myText and in my AS layer I have:
Code:
myText.htmlText ="the text for this scrollable text box,
which is html formatted";
If I try to add a html link, obviously it doesn't work.The only workaround that I know of uses exteral .txt files.I would prefer to use those since I have not been able to get my scrolling bar with tweening to load properly with external .txt files.
View 3 Replies
Apr 25, 2008
I'm trying to get my dynamic link to open in a new centered window. The window opens fine, but it tries to display the url "url[p]" and not its correct dynamic link.
Here's my code:
Code:
on (release) {
getURL ("javascript:NewWindow=window.open(url[p],'newwin','650,400,yes,center'); NewWindow.focus();");
}
View 2 Replies