I am going to redesign a website and for that website I want there to be a news section on the homepage. The news section should be built in Flash with images representing news headlines animating on a loop however a user should be able to click one of these images and then within the homepage a Flash pop up will appear with the news article. This is similar to sites that have an image gallery with thumbnails of images but when an thumbnail is clicked then the full size image loads within the same webpage. I want a similar effect but in my case, when a full size image is clicked, a text based news article loads.
I am in the process of building a web site and am running into an issue with dynamic loading text.I am trying to make a scrolling news section with a stage of 200 W x 250 LCreated a movie clip with the following coding:
var myTextLoader:URLLoader = new URLLoader();var myTextField_txt:TextField = new TextField();myTextField_txt.wordWrap=true; myTextLoader.addEventListener(Event.COMPLETE, onLoaded); function onLoaded(e:Event):void {myTextField_txt.text = e.target.data;addChild(myTextField_txt);} myTextLoader.load(new URLRequest("myText.txt"));
Then set the clip (which is 250 W x 600 L) on the main stage, moving upwards, creating the auto scroll effect.The problem I am running into is that I can't figure out how to make the text use the whole width of the text box I created. It only uses half of the width, creating columbs like this:
Hello and welcome to our new
[code]...
The text box itself is at least twice the width of the sentences, but they aren't using the full width.
I'm trying to create a dynamic news section that works off of a XML file and I'm running into some problems. Here's the code I'm using right now
Code: //load XML xmlContent = new XML();[code]....
It seems to duplicate the movies correctly, but it won't load the XML into the corresponding text boxes I've created. I've included a link to the source files as well if anyone has a minute to take a look.http:[url]....getting the date from the attributes of the news item I'd like it to go in the "date_txt" box within the news module clip.
I would like to create a secure login section for a website. I have managed to build up an AS3-PHP communication where PHP checks user credentials. I am already providing data enchryption between AS3 and PHP but I would like to add some further security. Is it possible to implement a HTTPS login section?
If i have a huge website, and i want to be able to change the "news" section without FIXING the whole .fla and exporting, and uploading it, would it be possible to do this without all of this stuff. can this be done through passwords, inputting text boxes, and dynamic text boxes?
I'm having an issue with the UiLoader, I think. I am using a UiLoader to show the portfolio section of my website. When I click on portfolio there is nothing there. Brought UiLoader to stage from the component panel> in the component inspector I set the source to Portfolio.swf> Test movie> it works great. In dreamweaver I draged the swf from the folder panel and placed it in a table> uploaded it to the site> go to the site, and there is no portfolio section. See the site here -> [URL]. I noticed when I made changes and uploaded to the web then went to the site I have to delete internet history files to get the swf to reload. What do I do about that? Off the top of my head I thought about changing the swf name everytime I make any changes, but I'm sure there is another way.
I came to realize that in order to get some of the effects to happen I'd need a way to know all of the current MovieClips being used in a given section of the web site. I figure the best way to do this is to create a Class for it and let it handle registering the clips. The functionality is pretty basic with the Class able to register a MovieClip and return all the MovieClips being used up until a given point in time or access a single MovieClip.
Unfortunately I don't really know how to implement this idea. I've pulled it off using index numbers but that wasn't for MovieClips. For this I'd like to be able to access any MovieClip that has been registered already by a name, like a String maybe.
Ok I'm trying to make a small thing on a website that will allow the user to update the news themselves.... after reading up on it i found that to export a textfile in this way I would have to have a serverside script to execute it for me (PHP in my case)... I did it, but it isnt working..
I am working on the news ticker module (AS2) where I have to fetch news from xml and populate that news headings into four text fields and these 4 headings will stay for a while and fade until last record. this process will continue.
Making an XML news reader based off of senocular Squirrel XML news.
I'm using Fuse and wanted to target the dynamic text and or background portions of the headline section.
However, this movie clip is attached to the menu_mc so I'm stumped as to what I should exactly target for the fuse sequence (or any mx.transition/zigo engine based code-tweening process for that matter).
I've attached the files in a .zip for people to look at (and possibly conquer my problem!
I wanted to add a second news box under the first one and have it pull the first two news items in the xml file and have it displayed on the movie. Currently it is putting the first news item in both news boxes.ction script so that the second box is actually the second "<news> tag". From the tutorial I removed the <info> <author> and <comment> tags.
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.
I'd like to make a news slider for flash that not only shows images and text, but can also play videos that are presented as news, through an XML file or something.A good example is the flash news slider that ea.com uses, which can play videos on clal as well.Can anyone direct me to a tutorial or guide me here on how I cna achieve this through Flash CS4?
I have a question concerning this AS3 script, which is for XML-NEWS-READER i n FLASH
ActionScript Code: var loader:URLLoader = new URLLoader(); loader.addEventListener(Event.COMPLETE, onLoaded); var imgLoader:Loader = new Loader(); imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onImgLoaded); var url:URLRequest/*
[Code]...
As you can see there is a MovieClip in the Library: NEWS_item. The Clip has a textfield and a Imag field(a MovieClip). While the text is passed in the text fields of the NEWS_item Clip there should be afterwords the photos be placed with addChild(imgLoader). But online the last Image appears. What is wrong here?Does someone have experience with xml readers an images ?
I'd like to make a news slider for flash that not only shows images and text, but can also play videos that are presented as news, through an XML file or something.A good example is the flash news slider that ea.com uses, which can play videos on clal as well.how I cna achieve this through Flash CS4?
I had this post in the flash mx section but once it came down to studying the code I got no replies so i'll post my question here now instead
My random movement works file when on _root but I have it loading on level18 now. I have changed the code accordingly (all _root to _level18) but it still leaves the boundary.
how to create a contact section in flash. One that has:
Name: E-mail: Comments:
[URL]
Attached is a picture of what im trying to accomplish (the contact us layout only. Disregard this website design, color scheme and layout).Also, what does something like this output to. I'm looking to create a simple .txt file that outputs to becuase I want to make this as simple as possible.
I am having a major problem with the news slide show I want to make, Mainly It's a news slide show where the images source is an external folder connects to flash using Xml.Everything is working, but what I want is to make buttons related to the current slides where it changes it's appearance as the slide changes.
I've tried alot, but I guess I am lacking some knowledge when it comes to action script.
i have to put a news feed into a small flash app that i use as digital signage for my restaurant. I want to get some local news or maybe some sports news form sky sports.
What i need to know is what actual file i am looking for on the news site server, is it just a rss file or a xml file??Also i be able to automatically update the ticker when the news site updates their news??
I have 2 websites both built entirely in flash.My problem is that I have created a button on 1 of the sites that has to link to a particular scene and frame within a different flash website.
I'm new-ish with flash and I am making a stand-alone player that I need a few things to print and have hit trouble when I try and do them.I can print the entire stage no problem.
- What I was hoping to do is have 3 print buttons, 1 would print a section of the player. The other a different section. and the last would print the whole stage (which I've already scripted).
- I've had a look at Print num scripts etc, but am hugely confused.
Has anyone got the script for printing a section of a flash stage?PS Can you set those x and y values to print something off the stage