Jump to content
Search Community

PDidee

Members
  • Posts

    7
  • Joined

  • Last visited

PDidee's Achievements

0

Reputation

  1. I created a function and reinserted the original XML call within it. Then I call the function. //Reload the XML file function reLoadXML(e:Event = null):void { var feedXml = "xml/screen1_zone1.xml"; //*****Begin DynaSign Variable // Check if parameter from Dynasign Player exists var media_rss_url = stage.loaderInfo.parameters["media_rss_url"] if (media_rss_url!=undefined) feedXml = media_rss_url; xmlLoader.load(new URLRequest(feedXml)); //End DynaSign Variable***** } //Reload the XML file after 15 Minutes of play TweenLite.delayedCall(3, reLoadXML); //short for testing purposes Problem is I get a white screen on reload but output shows there is still loop event happening from the trace(getTimer()/1000); call. Am I calling the function in the wrong place? Or incorrectly?
  2. Hmmm okay. I get this now... TypeError: Error #1009: Cannot access a property or method of a null object reference.
  3. I get this output error when trying to implement the delay to reload the XML data: ArgumentError: Error #1063: Argument count mismatch on screen1_zone1_fla::MainTimeline/LoadXML(). Expected 1, got 0. at Function/http://adobe.com/AS3/2006/builtin::apply() at com.greensock::TweenLite/render() at com.greensock.core::SimpleTimeline/render() at com.greensock.core::Animation$/_updateRoot()
  4. Great! One last question (I hope) and this may or may not be related to greensock; Is there a way to detect the total items defined in the XML file and reuse the first 4 items instead of ceating a duplicate set? To clarify: Say I have 4 items displayed as I do. If I have an XML file that has 5 or more items it works fine as there is always an item waiting in the wings sort a speak to push up with. If I have exactly 4 items I get a couple of seconds of gap as it slides up were another item should be (ie. a repeat of the first item) Then it pops in after the first item is completely out of frame. To avoid this I've been duplicating the contents of the XML file. Is there a better way though instead of repeating the same content? Thanks Again! P
  5. Thanks! This works perfectly! Is there a way to reload my xml file after say 5 minutes using this delay method?
  6. Here's a link: https://www.dropbox.com/s/jifb1rid2q8zeh4/Menu_Source_Files.zip I even tried removing the embedded video and ALL text fields and still got the tear after a few loops. I hope this can be resolved. Thanks P
  7. I hope someone can resolve this issue I'm having. I have a flash project that contains a movieclip that reads from an XML file to create a scrolling menu list. I'm using tween lite to scroll the menu up after a bit of a pause, the height of one movieclip. After a bit of time though gaps begin to occur between each clip. Is there a way to resolve this? Here is a link: http://phildesigns.com/_MY_STUFF/test/ Also attached is a screen shot of what happens. Thanks in advance!
×
×
  • Create New...