ActionScript 3.0 :: Display RSS Newsfeed Entries?
Jul 30, 2010I want to display RSS newsfeed entries (headline, date, description) and animate in the first 5 entries automatically.[code]...
View 9 RepliesI want to display RSS newsfeed entries (headline, date, description) and animate in the first 5 entries automatically.[code]...
View 9 Repliesi have a flash file that has a MovieClip, instance name "entry", on the stage.this movieclip has 2 dynamic textfield inside of it. i have and XML file with 5 entries that contain "title" and "description" each, how could i use one MovieClip to display all of the entries at once.do i have to duplicate "entry" MovieClip or do i have to create a different class for the movieclip?
View 6 Repliesa problem I'm having with passing some validation in a form im creating.For the sake of getting to the point, I have two Textfields in my form lets say email_txt and friendsEmail_txt. What I would like to do is validate the two fields to make sure the user does not put the same email address in both fields.Im sure I need to do this via a function but I'm lost as to how to go about it. I googled for about an hour and perhaps im not qeurying it properly as I could not find any answers - Im sure there is one.
View 4 RepliesMy AS3 class has some quirks. It's sort of a guestbook, so someone can add a 'question'under a certain category. When I publish the results in a dynamic textfield or when I trace the results I get the existing XML values and some undefined ones.This is my AS3 script:
Code:
//Class name is AddQuestionMenu
public function AddQuestionMenu()
[code].....
I have the following XML
[Code]...
What I want to be able to do is to extract all of the items listed in the categories and put them into an array as individual items. So would like have an array that contained Cosmetics, Pharmaceuticals, Food, Sportswear, Football, Rugby and Tennis as individual items within the array.
For a number of reasons (which I wont bore you with) we may have to interface our FMS servers over an NFS mesh to share disks. For example we have 6 core sites around the world and we want all core sites to see each others primary content store. Whilst we sort out the commercials for Aspera or similar to handle file replication properly, I had the idea to use <streams> to remotely mount each others disks (The disk systems here present themselves as NAS via NFS)So before you say No, don't do it im not sure I have a lot of choice at present.Its a large global core/edge deployment and the edges are implicitly configured to their origin.If i DID want to do it how many <streams> can I define before the server ignores them?
View 1 RepliesI'm learning Flash to make a website for one of the companies I work forI have a decent portfolio page that loads content information from an .xml document. I'm just thrilled that it works, but my boss wants a little more.He wants to be able to scroll through the entries with left and right keystrokes. In the glow of my recent array-building triumph, I told him, 'sure, I can do that!' ...but I can't. I can't figure out how to make the left and right keys go to previous or next entries. With previous problems I've been able to find an answer by searching google, but I'm stuck on this one.
Here's my code:
var titleArray:Array = new Array();
var descriptionArray:Array = new Array();
[code]....
I want to delete the duplicate entries in an array. So I have tried the code I atach to this post. I have proved all the posible combinations but no one seems to work.This is the code I have writen:
Code:
package
{
[code].....
Essentially i have a 5 section image gallery that pulls its' caption and image file from an XML file. 1 xml file for each section. Within each section I also have x number of buttons allowing you to click through the images....
button1 is for image 1
button2 is for image 2 .... so on and son....
My ISSUE: As it is right now -- each section has a set number of images. BUT.....(always a but)
To add more images, I have to:
1. Add the xml tags in (not a big deal)
2. Open up flash, and manually add a button (which is a movieClip)
3. Open up the actions and add another function..... Which consists of this code:
Code: Select allfunction threeClick_1(e:Event):void
{
// FIRST WE HAVE TO LOAD THE IMAGES VIA THE XML FILE
var imageLoader:Loader;
[Code]....
Is there a way for flash to scroll through the xml file and if there are more image tags ---- add a button to the stage --- and associate it with the next image?
How might I go about creating an array, and then use AS to input a range of entries dynamically.
For example, imagine I wanted to create an array with 9 null entries.[code]....
I have this flash game. In it there is one movie clip called address_group. In address_group I have another MC called address. In address I have many text fields. Their info is being loaded from a xml file called database.xml. In the timeline where my address_group MC is located I have placed this code to load the XML data to flash:
var planet_title = new Array();
var planet_subtitle = new Array();
var chevron1_txt = new Array();
var chevron2_txt = new Array();
var chevron3_txt = new Array();
[Code] .....
My problem is that when there is a second <planet title_planet="Name"....> the new info from the second input which should be a new entry which means that I want when there is a second input this address_group to duplicate and in it to be placed the info from the second entry. But it doesn't do that it loads the second info over the first one in the flash. So my question is how to make flash to detect if there is something written as second entry or third or forth and so on... and than when it detects to duplicate this address_group Movie Clip and in it to put the info from the second entry if they are 3 to make 3 copies of the MC and put in each the different information....
I'm dynamically creating an IList to use as a dataprovider for a DropDownList in Flex.
The code is creating the IList correctly, and I can access the data inside just fine.
However, when I set the dataprovider for my DropDownList, it only shows blank entries for each item in the list.[code]...
I'm doing a little weather web app in flash.So i read an xml feed and copose an array of data from it.[code]Now what i would like to do is to find and trace the entry in mydate array which have a a value that approach the most to "currenthour" variable (which is my current time i'm getting upper).For exemple if currenthour = 11.In the case that i have myhour array equal to 5 , 10 , 14 , 20.The best match will be myhour[1].
View 2 RepliesI have a font in the library. I use this font for all the menu entries and other things.
how can i set this font for the entire stage within specifying it for every menu entries?
I just did Kirupa's (excellent) XML/AS3 tutorial, and I still have one important question. How can I set up and search for an XML node with multiple entries?
for example:
Code:
<Movie>
<MovieTitle>Nine Months</MovieTitle>
<Actors>Hugh Grant, Julianne Moore, Tom Arnold</Actors>
<Movie>
That way, I can use a "for" loop or something (?) to search for actor Hugh Grant, and it'll return all of his (excellent) movies.
And if they do does the uninstall remove them? Sorry I am such a noob!
View 2 RepliesHave an array which contains items in a comma delimited list such as below:
Code:
men,women,kids
outdoor,adventure
holidays,adventure
Am trying to use toString().split to further seperate them into individual entries in the array and it ain't working.
[Code]...
I have a FMS 3.5 installed on windows 2003 server, with a NFS file system.Both the application directory and the data directory is on the network file system.Every two weeks the system became unstable because the Free system PTEs go under 2000.The only strange thing i've noticed is that the Virtual size of the FMScore grows to about 1.300.000K after few hours from the reboot of the machine and stay to this value indipendently from the load of the server, In another FMS installed on a machine without the network file system this value is 16.800 K.
View 6 RepliesBased on UI inputs I am saving the results to an XML file (eg)[code]...
View 4 RepliesI am making a webTV player, and I have a combobox displaying the entries. When scrolling the combobox, the scrolling jumps between the entries. I would like to have it scroll though the entries smoothly and not jump.
View 1 RepliesI'm creating something like a text editor. I have text-movieclips at set coordinates. I'm trying to create a function to delete entries. My idea is that my cursor is at the text-mc's coordinate so I'd like to be able to connect the delete key to any clip that happens to match my cursor(x,y). Like this:
if ((Key.getCode() == Key.DELETEKEY)){
if((anytxtclip == cursor._x) && (anytxtclip == cursor._y)) {
delete anytxtclip
}}
I think I'm looking for a world variable to describe anytxtclip.
I am acquiring the contents of a table to fill a dropdown box in a Flex 3 application:
<mx:ComboBox dataSource="{myList}" />
The list is populated by the contents of a database table of persons:
Public, John Q
Doe, Jane
...
The combo box, however, also needs to have some other meta-entries in it that do not come from the database:
ALL
ALL MEN
ALL WOMEN
Public, John Q
Doe, Jane
...
I am deploying a desktop application using AIR, and I would like to store some user-specific data on the machine such as a history of his entries.
View 2 RepliesIf I have an object that calls
addEventListener(Event.ENTER_FRAME, update);
addEventListener(Event.ENTER_FRAME, update);
will that add 2 listeners?
When using Loader class to load display objects (bitmaps, SWFs...) from remote URLs, is there any way for them to be instantiated (referenced as we know, by Loader::content property) as some user specified valid subclass? For example if I had a class that extended a Bitmap, is there any way for the loaded object to be of this class?
View 9 RepliesI am a complete rookie in ActionScript2.0/Flash.I just started learning regarding a project. My problem is I want to display data from MySQL in a DropDown Menu in Flash. the SendAndRecieve functionality only aids us to receive any responses,right?(Please correct me If I am Wrong.
View 2 RepliesI have tried to fix this error but I just cant get it to work.
View 2 RepliesIs there any way to display flash objects which are outside the display area when flash is embeded in HTML
The reason i ask is my current project has a rotating + enlarging effect which is largely dynamic so sometimes an object may clip the edge of the stage areathis looks messy but i dont want to increase the stage area to cover the largest possible area any object could enter because most of the time the objects are at the center and small so i would end up with a lot of white space
I have a list containing display objects from throughout the application (insertion order). I want to process the list either top-down (parent, child) or bottom up (child, parent). The only requirement is that either a parent is processed before any child or vice versa a child before its parent. What is a good approach? This question is not about sorting a list. It's about retrieving the depth of a particular display object.
Example
Display list:
A (root)
B1
C1
C2
D1
B2
......
My list:
list = [E1, F4, A, B2, B1, C3, ..., N9, N8]
Bottom-up:
N9, N8, F4, E1, C3, B2, B1, A
Top-down:
A, B2, B1, C3, E1, F4, N9, N8
Does not matter if N9 before N8 or N8 before N9. Important is that any N is before M (first run) or any M before its children N* (second run).
Is there any way to test if a display object has been added to the display list?
View 9 Replies