the .swf and .html files does not work while the .fla file works great
Hi I'm new to actionscript, and I have a question. The fla file works perfectly and runs the timer function and reads the xml file to create an RSS feed, but when I publish and choose HTML wrapper and then choose 14 Flash swf and html file load the photos and the text field but isn't something else please help.
Thanks in advance.
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.text.TextField;
import flash.text. *;
import flash.utils.Timer;
import flash.events.TimerEvent;
var RSSLoader:URLLoader = new URLLoader();
var RSSURL:URLRequest = new URLRequest ("http://sports.yahoo.com/soccer//rss.xml");
RSSLoader.addEventListener (Event.COMPLETE, RSSLoaded);
RSSLoader.load (RSSURL);
var RSSXML:XML = new XML();
RSSXML.ignoreWhitespace = true;
var title: TextField;
var desc:TextField;
var allText:TextField;
title = new TextField();
allText = new TextField();
var i: int;
function RSSLoaded(e:Event):void {}
trace ("xml load file here");
RSSXML = XML (RSSLoader.data);
for {(var selectedItems:String in RSSXML.channel.item)
title. Text = (RSSXML.channel.item [selectedItems] .title + "/");
title.wordWrap = true;
tfLog.text += title.text;
tfLog.wordWrap = true;
trace (title. (Text);
}
}
var t:Timer = new Timer (200);
t.addEventListener)
TimerEvent.TIMER,
function(EV:TimerEvent): void
{
tfLog.text tfLog.text.substr = (1) + tfLog.text.charAt (0);
}
);
t.Start ();
var picTimer:Timer = new Timer (2000);
picTimer.start ();
picTimer.addEventListener (TimerEvent.TIMER, timehandler);
function timehandler(event:TimerEvent):void {}
setChildIndex (getChildAt (7), 0);
}
A way around that is to have a PHP file on your server that reads the XML feed and your swf reads the data from the PHP file rather than directly from the external domain.
Tags: Adobe Animate
Similar Questions
-
I bought the Photoshop product for a year and spent a month and my product does not work.
I bought the Photoshop product for a year and spent a month and my product does not work. reason why its not not a money from my card? I wrote the details of two my maps. It is played automatically? I hope I could understand my problem to you. Thank you!
During the work week...
To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If it fails to connect, try to use another browser.
Creative cloud support (all creative cloud customer service problems)
http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )
-
My Inbox to view the sender for each message and now it does not work... How do I get it back to where it was?
Right-click on the header at the top of the list of messages and select from the list of options.
-
The sign + to add a new tab has suddenly stopped to work earlier. I tried uninstalling and reinstalling and it still does not work. What can happen and how to fix it?
Hello
The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
Note: This will make you lose all the Extensions, open Web sites and preferences.To reset Firefox, perform the following steps:
- Go to Firefox > help > troubleshooting information.
- Click on the button 'Reset Firefox'.
- Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
- Firefox opens with all the default settings applied.
Information can be found in the article Firefox Refresh - reset the settings and Add-ons .
This solve your problems? Please report to us!
Thank you.
-
The top of page 1 1/4 inch has no response when you click it. As in this page, sign in or register and other app does not work. in English
This problem can be caused by that extended the Yahoo! toolbar or extension of Babylon also well down and covers the top of the browser window and therefore links and buttons in this part of the screen not clickable.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.org/KB/safe+mode
-
Computor was disconnected during the installation of Vista Service Pack 2. I did now no operating system and startup repair does not work. What should I do now?
You may have to reinstall Vista from the original media or from the recovery partition according to the type of computer you have.
Hope that you made the backup recommended all of your data before attempting to install Vista SP2.
-
How can I install CS5 on a replacement/new laptop? I paid full price in 2011 and the key (and it appears in my Adobe account under products), but it was a downloaded product and I can't find a download of this online version and my key does not work in CC.
Your key does not work in CC, this is a newer version and would require a new purchase.
Downlaod CS5 here.
-
My Pc came with Photoshop elements 11 I did a factory rest on my pc and now Photoshop does not work. The error code is 213:19 I have not the disc to install it came with the pc already installed.
I hope this will help:
-
HTML export does not work in my host.
HTML export does not work in my host.
The program works very well. Look in the browser preview and published in businesscatalyst, but when I export to html and upload it to my server is bad, just misguided.
Try to rename the master of the CSS css/master_a-p%c3%a1gina-maestra.css?fileVersionPlaceholder
Your server reports an error 404. "The requested URL /css/master_a-pagina-maestra.css was not found on this server."
I have a normal design for print so I'm not sure of the exact cause, but maybe the name of the file is lost in translation?
J
-
MS Office 2010 Pro and my printer does not work,
I just installed MS Office 2010 Pro and my printer does not work, I tried to print a test page for the printer, but that prints either, ask if I want to troubleshoot the printer and when I click on Yes, I get a message that there is a problem of ActiveX. The printer will not print not any application, but it worked before installing office.
All the apps work except in order to print it.
I am running WinXPPro w/sp3.Jim K.
Hello
1. What is the exact error message?
2. don't you make changes on the computer before the show?
3. What is the brand and model of the printer?
4. this problem occurs with all files that contain the Active X objects or specific file?Method 1:
Run the fix it and check.
http://support.Microsoft.com/mats/printing_problems/en-usMethod 2:
Try the steps in the link and check.
Printer in Windows problems
http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-WindowsMethod 3:
This problem occurs if the security settings for the Local computer zone are configured to prevent the ActiveX content to run.
Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: http://windows.microsoft.com/en-US/windows-vista/Back-up-the-registry : how to back up and restore the registry in Windows
a. Click Start and run, type regedit.exe, and then click OK.
b. expand the following registry subkey:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0
(c) in the right pane, right-click 1200 and then click on edit.
d. in the value data box, type 0. Then, click OK.
e. close the registry editor.
-
I had some problems with my computer lately...
The first thing I noticed is that I failed to run games and applications and I got this weird error 'missing d3d9.dll' and something in style with... "it could be fixed if you have reinstalled the application," but it didn't and I kept getting the error, then I went to see if there was even a d3d9.dll or a d3d10.dll - but it was not...
Then. I tried to download em for the internet, but later, I noticed that they were for DirectX and therefor was not sure I had good... Then I went to update my DirectX - but failed. He says that I already had an update of DirectX version and it refused to install. I however, perhaps I could uninstall directX, but I couldn't find where and how...
Then I however, maybe it's because some weird windows update problems - so I went to check how many updates there. I check it the day prior to that, but all of a sudden there are 14 new updates that I had not installed yet (overnight 14 new updates!).
Does anyone have a solution to this? Please, I desperately need help!
Hi exique,
1. don't you make changes before the show?
2. on what game and application that you get this error?DirectX runtime for end-users (also known under the name of DirectX) is an extension for the Microsoft Windows operating system that provides a set of quick material orders, low level that they can use to improve performance for Windows games and multimedia programs. The current generation of Windows games and multimedia programs does not work properly without DirectX. So, by design, you cannot remove DirectX.
See DirectX: frequently asked questionsWe recommend that you scan sfc (System File Checker) to see if any system file is missing or damaged. To do this, try the following steps on Vista and Windows 7
a. visit http://support.microsoft.com/kb/929833
b. run the scan successfully.
c. restart the computer so that the changes take effect and check the result.If the problem persists, we recommend that you reinstall the game or program that causes this problem.
Visit our Microsoft answers feedback Forum and let us know what you think.
-
Need help to cancel subscription to creative cloud and Live Chat does not work
I need to cancel a subscription to creative cloud and Live Chat does not work for me. The cat only sent me:you are not currently connected to a representative of the chat. When a representative has been online and I can't send my message.
Hi Joshua_U,
I ask you to perform undo these links mention operations
http://helpx.Adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
http://helpx.adobe.com/creative-cloud/help/manage-creative-cloud-teams-membership.html.
In case you are unable to complete it, please inbox me your order number.
Note
Kind regards
Baudier
-
Just updated to IOS 10 and replace text does not work
Just updated to IOS 10 and replace text does not work. For example typing in omg should show oh my God. Has anyone else got this?
I did the old thing: Disconnect to iCloud and sign back in. Unfortunately, he did not turn. The same thing happened on my iMac when upgrading to Mac OS Sierra - I lost all my text replacement. I also did Disconnect from iCloud and inback Panel . Unfortunately, it also didn't do the trick. Anyone know how to restore the replacement text. It is not has resided in the cloud?
-
I can't log in to my account to Mozilla, and Password Reset does not work.
I have an account to create themes and Mozilla Add-ons, but now it seems inactive,
and password reset does not work. Here is one of my themes:
https://addons.Mozilla.org/en-us/Firefox/addon/Fox-December/
my email: [email protected]Support for the site Add - ons are here:
https://discourse.Mozilla-community.org/c/Add-ons -
As some Menu items: Modules, Help Menu and Pocket Extension does not work after update to 17.0
This may be caused by the Tab Mix Plus extension
Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).
- Do not click on the reset button on the start safe mode window or make changes.
- https://support.Mozilla.org/KB/safe+mode
- https://support.Mozilla.org/KB/troubleshooting+extensions+and+themes
You can try to install the latest Dev version of Tab Mix more if you use this extension.
See the sticky on the forum of Tab Mix Plus:
Maybe you are looking for
-
Firefox still crashes about 10 seconds after starting
Hello I have an old iMac running 10.6.8. After I run Firefox, it crashes after 10 seconds (the beachball of death appears for a few seconds, and then it crashes). I tried the following: Run utility disk to repair the disk (was Ok) Disk utility to rep
-
My daughter has somehow through a requested Web site / set for a document to print every month through the HP printer - how the hell do I stop - not to speak of mind so am really lost on this one. Help, please!
-
Hello I use Teststand DMM IVI step to measure the voltage to ground via a pull-up 100K Ohms to 20V power resistance. Listening to this tension using DMM external it says 13.4V but after 'DMM IVI Read' step is ran the external voltage of DMM shows 19.
-
Mein Samsung CLP315 printer druckt, gibt aber das Blatt nicht frei ((das Blatt aus nicht dh.spuckt))?
-
Please help I don't have the money to have someone come out and look for me.