ActionScript 2.0 :: .swf News Ticker Works On Local Machine But Not On Server?

Dec 2, 2007

I have a news ticker that I modelled after the kirupa tutorial that was given:
[URL]

When I run it on my local machine it works just fine the way I expect it to. However when I put it on my website, it does not work at all. I have another flash file (.swf) on my webpage which is just a simple countdown timer and that works just fine so I don't think this problem has anything to do with MIME types.

Here is the code I used to embed the .swf file onto my website:

<script type="text/javascript">
var so = new SWFObject("http://428the.calvin.hostingrails.com/XMLParser/sports_ticker1.swf", "headerAnimation", "390", "180", "0", "#FFFFFF");

[Code].....

Neither of these worked. I just have no idea what I am doing wrong. I don't know if there is something I should be coding differently in my actionscript. I am very new to AS programming. how to get the .swf file to appear on my website would be great.

View 2 Replies


Similar Posts:


Flash Works On Local Machine But Not Server?

Mar 23, 2010

flash works on local machine but not server?

View 1 Replies

ActionScript 2.0 :: TotalBytes Works Only On Local Machine

Mar 10, 2004

I have made a preloader showing the progress of dynamically added images. The code works fine when i play the movie on local machine, but when i play the movie from the server bytesTotal is always 0. It even says 0 after the images has finished loading. what i'm doing is basically: createEmptyMovieClip() , i then use a movieClipLoader to load jpeg into that empty movieclip. the movieClipLoader has a listener attached and with the listener i use the function onLoadProgress() to display bytesLoaded and bytesTotal all of these things occur within one function.. bytesLoaded works fine both on local machine and from the server

View 2 Replies

ActionScript 2.0 :: TotalBytes Works Only On Local Machine?

Mar 10, 2004

I have made a preloader showing the progress of dynamically added images. The code works fine when i play the movie on local machine, but when i play the movie from the server bytesTotal is always 0. It even says 0 after the images has finished loading.what i'm doing is basically: createEmptyMovieClip() , i then use a movieClipLoader to load jpeg into that empty movieclip. the movieClipLoader has a listener attached and with the listener i use the function onLoadProgress() to display bytesLoaded and bytesTotal

View 2 Replies

ActionScript 2.0 :: Externally Loaded Sound Works On Local Machine - But Not Online

Sep 19, 2006

I'm using loadSound to load in external MP3 files and they load and sound great on the local machine but don't work when I upload the files to the web. I'm pretty stumped. The MP3 files are only like 10k and 60k so it can't be a size issue (I'm on a T1 line here at work too). Here is the site: [URL] Basically when you walk close to the fire you should hear the fire crackling and it will get louder as you get even closer. Everything works on my PC, just not online. Here's the AS code for the fire:

[Code]....

View 3 Replies

ActionScript 1/2 :: Font/Text Resize Function Works On Local Machine, Does Not Work On Others?

Apr 6, 2010

I have the fonts embedded (Yet it still prompts me saying missing fonts every time I open flash, but not the fonts that aren't resizing correctly)
 
I have a function that takes in a textfield, resizes the font to fit the text box, works fine on my local machine, does NOT work on other machines.
 
why this doesn't work? here is the function
 
function fontSizeChanger(dtb,myWidth)
{
dtb.embedFonts = true;    
var myFormat:TextFormat = dtb.getTextFormat();

[Code].....

View 8 Replies

ActionScript 3.0 :: Unable To Execute Swf File Present In Server On Local Machine?

Jul 7, 2009

I am a newbie to Flash and ActionScript 3.0 platform. I don't know whether this is the correct place to post this kind of queries/problems/issues here. Till now, I had posted only basic flash issues here in this forum. I feel this is the most powerful issue which created head-ache to me till now. I spent nearly 4 hours working with this issue. But, I don't find any solution even in google.I have created a swf file, which when gets executed, gets data from backend database and displays as items in Combo-box. In swf file, if we select an item from Combo-box, collects data from database and gets back to flash and displays them as items in Combo-box. Each item has a specific image(.jpg file)associated,which gets displayed on stage of flash file(.swf file) upon selected from combo-box.

I am calling/invoking the flash file, When I click on a Button/select a tab created within my Java application.But,when the button gets clicked/tab gets selected, Combo-box is visible in flash file, but with no elements when we try to click upon it and the following error is getting displayed in a dialog-box:Title of the error is: An action-script error has occured.[URL]

View 1 Replies

IDE :: News Ticker In Flash And XML

Nov 20, 2008

I created a News Ticker in Flash CS3 from a tutorial on your site URL...But it just flashes "undefined" I know I must be messing something up with the location of the XML file or where it's defined in the action script. I don't think I understand the "cache" part of the tutorial or why the file can't be local? I have gone to the suggested links in the tutorial, and being a total novice, I must be missing some main point.

View 3 Replies

ActionScript 2.0 :: Xml Fed News Ticker?

Oct 18, 2004

I just want a horizontal news ticker that loops a bunch of news headlines that are housed in an xml file. the headlines will link to pages will the full news story.

View 1 Replies

Free Flash News Ticker

Nov 27, 2006

Could anyone recommend a nice and free Flash News Ticker?

View 6 Replies

Professional :: Making A News-Ticker

Oct 2, 2010

How can I make such a News-Ticker as on URL...(The nice box, which has 4 advertisements is ment)I´m making a website for a friend and want to add something like this. Unfortunately its the first time I´m using Flash.

View 3 Replies

ActionScript 2.0 :: Scrolling News Ticker?

Apr 22, 2010

I am action script handicapped so bare with me. I know very basic action script functions like go to frame stop, play ect So complicated flash code does not really work for me unless it is explain easy and clear step by step. I know the animation portion of flash which helps me get by. I need to know how to pause a scrolling text as simple as possible when I click mouse over it.

I created a button (which is really displayed as text so that I can link to a website url) (SEE IMAGE)

The text is animated from frame 1 off screen to frame 400 top off canvas off screen. I did this the animation way instead of the coding way. So it should scroll from bottom to top (which I animated with frames), link to a new site (which I figured out), and pause on mouse over and play on mouse off.

View 3 Replies

IDE :: Make A News Ticker In Flash 8?

Oct 10, 2006

how to create a simple horizontal news ticker [URL].

View 14 Replies

Good News Ticker Component?

Nov 10, 2009

Anyone know of a good news ticker component? (Or a straightforward way of coding one in AS3?) We need to incorporate a horizontal ticker at the bottom of a site. It doesn't need to feed RSS. It'll just be populated with little factoids the client will provide. I initially purchased and integrated this one[url]...

Worked pretty well. Unfortunately, the developer who is building out the site just informed us that we need one that works in a .net environment and this component parses the XML through PHP. I'm a noob at all this so I don't even know exactly what I'm talking about!

View 1 Replies

Actionscript 3.0 :: Create A Dynamic News Ticker?

Aug 1, 2007

how to create a dynamic news ticker like one of these? Only that it would scroll longer sentences? Of course the first idea is just load single line TextField and tween it across the screen beneath a mask. I don't like this because

a) It's retarded
b) Your swf width is quite long even if you don't see it, it's there.
c) It's retarded

I'm trying to think up a better solution. So far I haven't thought of anything better (does that mean I'm retarded?). Some other brain stormed ideas could be parsing each word in the String into it's own Sprite, as BitmapData, and sort of train tweening those, that was you can dispose each after it's cleared the screen. This seems like too much work, and potentially draining on the system's resources, having to create new instances, and repeteadly add them to the display list, and such.

View 10 Replies

ActionScript 2.0 :: News Ticker Reading From XML File?

Mar 17, 2004

Anybody've the source code or component for a horizontal news ticker. The data read from an XML File.

View 1 Replies

ActionScript 2.0 :: Make A News Ticker With ASP And Flash?

Jun 20, 2007

I want to make a news ticker with ASP & Flash. Each trun will show one news.

View 8 Replies

ActionScript 3.0 :: Create Vertical News Ticker?

May 12, 2009

I wanting to create a basic news scroll / ticker like this http:[url]....What's the best way of achieving this to get a continuous smooth animation.

View 3 Replies

Mp3 Player Works On Local But Not On Server?

Jul 7, 2009

I have a mp3 player that i purchased from a site. It works fine on my local drive but when uploaded to a server (and I've tried both Linux & Windows) doesn't work. It loads in setting & the mp3 file names from an XML file. I was able to verify that the XML data is in fact loading. The hitch seems to come when trying to create and load the XML data into an XML object.I added text field & changed the value of the text property at different points of the script to narrow down where the script gets stuck. The exact line of code that doesn't run from the server is:

Code:

var xml:XML = new XML(e.target.data);

I tried adding a crossdomain.xml file that allowed all domains but that didn't seem to help. Below is the code that loads the XML file & calls a function when loaded with the offending line of code.And my test site is here: SWF

Code:

public function MusicPlayer() {
//Security to load music
Security.allowDomain("*");[code]..............

View 1 Replies

ActionScript 3.0 :: Scrolling News Ticker - XML Nodes Not Loading

Mar 10, 2008

I am trying to make a AS3 version of a scrolling news ticker although Iseem to be having trouble. The code below doesn't seem to be working although its not throwing any errors. I think its not loading my xml nodes or something. All I am trying to do is it to eventually load an rss feed and scroll a selected set of nodes. For now I just tried to get it to display an xml formated file since rss is xml formated. Ultimately for this example I just want it to display the title attribute of every item.

Code:
news_txt.x = 1024.0;
var count:int;
var textnode:String;
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.TEXT;
[Code] .....

View 5 Replies

Actionscript 2.0 :: Characters Displaying In Purchased News Ticker?

Mar 12, 2009

I bought a flash news ticker from the site Flash Den but haven't been able to do much with it because it's in AS2 and I only really know AS3.The news ticker loads the text/link from an XML file, but it has a problem loading characters such as forward slashes (/), colons (:) as well as other characters?

View 5 Replies

Actionscript 3 :: Scrolling Text 'news Ticker', Flash?

Jun 7, 2010

My text animation scrolls from left to right, which is OK. I want to keep it simple but change it up little. How do I get the text to go right to left?

AS3 Example

mask = customMask;
var my_str:String = " Ad hoc ad loc and quid pro quo ";
function addUm():void {
my_str = my_str.charAt(my_str.length - 1) + my_str.slice(0, my_str.length - 1);

[code]....

View 1 Replies

ActionScript 2.0 :: News Ticker - Autoplay External SWF Files

Feb 3, 2006

What I am trying to do is like a news ticker, except a swf loads in and takes the place of the one previous. I wanted it to change every 6 seconds. Using the Random Loading SWF Tutorial as a base [URL]. How do you make it not random? I just want it to load the list I give it in order with a 6 SECOND DELAY.

View 10 Replies

ActionScript 2.0 :: Get News Ticker To Display The Text Sooner?

Jul 4, 2006

I've made a horizontal news ticker that scrolls a string from right to left using substring method and by changing the alignment. This works OK but I would like the text to start displaying again before it disappears completly off the left of the screen. I've attached the fla and swf.

View 5 Replies

ActionScript 2.0 :: [FMX04] XML News Ticker With 2 Different Text Fields?

Nov 15, 2006

I'd like to add a second news ticker text field right beneath the first one that loads its headlines from a different XML file. So my question is this -- (not very XML savy mind you...) How would I need to adjust the AS code to be able to have both text fields going at the same time? What parts of the AS code can be omitted? (to not have redundant functions) Is there anything I should be aware of that might be cancelling out the second text field from running? At this point, I can get only one of the tickers working at a time -- the other just sits empty.

[Code]...

View 1 Replies

ActionScript 2.0 :: News Ticker - Text Does Not Come With Fade In Effect

Sep 14, 2007

I need help related to kirupa's News Ticker Tutorial. I want the text to be fade in like it's fade out. Currently the text does not come with fade in effect. You can see the news ticker here: [URL]

[Code]...

View 1 Replies

ActionScript 3.0 :: When Making A Scrolling News Ticker Do Load All The Data At Once

Sep 6, 2010

looking to build a horizontal news ticker like you would see at the bottom of the screen on CNN etc except it will only display one item at a time. Just thinking and planning before I start.... If the news ticker is only going to be wide enough to display one news item at a time, will my flash load all of the xml news data as soon as it launches and hide all the content that is outside of the ticker width or would/should it only load/display each news item individually when it is that items turn to display in the ticker?

View 3 Replies

ActionScript 2.0 :: Combining Kirupa News Ticker And Combobox Component

Jun 28, 2006

I want to make a news ticker based on the Kirupa News Ticker Tutorial URL...My concept is that in the main stage I will put a combobox component with news categories like 1. Sports 2. Financial News 3. Politics/If you choose "Sports" it should load a sports.xml file that has the main sports headline news.If you choose "Financial" it should load a financial.xml file that has the main Financial headline news.I used this code [code]

View 1 Replies

ActionScript 2.0 :: News Ticker - Creating Flash Signature For Blog

Jan 19, 2007

I using the news ticker example to create a flash sig for my blog of highlighted posts. The question is there anyway of creating an automatic xml updater? So that all I would have to do is place some sort of "highlighter" tag in a post, then the xml file would be updated, thus a new link appear in the news ticker? I guess if I some how had rss for a tag, that then the xml was read into the flash file.

View 3 Replies

Professional :: Dynamically Loading News Ticker - Vertical Scroll / Loop

Sep 2, 2010

I have been working on a dynamic loading news ticker for a site and have been running into two separate problems:

The first, creating a movie clip, inserting the following code:
var myTextLoader:URLLoader = new URLLoader();
var myTextField_txt:TextField = new TextField();
myTextField_txt.wordWrap = true;
myTextField_txt.autoSize=TextFieldAutoSize.LEFT;
[Code] .....

And having the clip load the text from the text file listed. In this version, everything is working fine except I don't have the ability to change the font, size, and color of the text using only flash and the text document, (to my understanding).

The second, creating two .fla files, one with the embedded font I want to display named font.fla, and the other blank named fontloader.fla. Also create an .as file in the folder with the following code:
package {
import flash.display.Loader;
import flash.display.MovieClip;
import flash.events.Event;
import flash.net.URLRequest;
[Code] .....

In this second scenario, the problem is that I can't figure out a way to make the dynamic text scroll vertically and loop, (Was trying to figure out a way to save the fontloader.fla as a movie clip, then importing it into a new .fla and just using a motion tween on the clip, but so far I'm confused by it). This second scenario is also not my first choice, because loading the text straight from a text file would make the news section very easy to update for those who don't have any design experience.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved