External TXT File ONLY On Specific Dates?

Jan 3, 2006

for my latest task at work, oh what joy, i have to create a small banner thing which reads data from a text file... BUT... it only reads from the text file IF there is a text file present which i labeled TODAYS date!

Get todays date IF there is a file present in a certain directory which is called todays date.txt (ie. 02042006) then it reads the info in that text file and prints it into a certain area in the flash file. If there is nothing present it just displays the default stuff!!

View 21 Replies


Similar Posts:


ActionScript 2.0 :: Playing Different Mc's In Specific Dates?

Apr 22, 2007

i want to play different movieclips in specific dates for example if the computer (system) date is 1 January i want to play the movieclip named "santa" if the date is 14 february i want to play the movieclip named "valentine"

View 9 Replies

ActionScript 2.0 :: Link To External Swf File With Specific Frame?

Jan 15, 2006

How do I link from one specific frame in one swf file to another specific frame in another swf file?It should be something like...

on(release){_root.gotoAndStop(8)}

...but where I want to get linked to another file in frame 8.Do I just simply rewrite _root to something else?

View 6 Replies

ActionScript 2.0 :: Load Movie To A Specific Frame In External File?

Nov 7, 2007

The title of my main file is "Gabriel96.fla". Inside this file I have a movie clip called "home movie". Inside this movie clip i have a button called "Symbol 32". Once this button gets clicked, I'd like it to go to frame "joe" which is inside a movie clip called "porrtfolio", which inside a separate file called "portfolio55.swf".

View 4 Replies

ActionScript 3.0 :: Load And Unload An External .swf File At Specific Frames Using LoaderMax?

Mar 8, 2012

I'm actually creating a pretty simple banner that needs to stay under 40k size. I'm trying to load and unload an external .swf to my main swf file. So far, I only managed to load my external .swf, without finding a way to make it appear and disappear at specific frames (the external .swf shows up directly at frame 1, then when the animation loops over, it stacks over and over).

I read some things about onEnterFrame and counters but still wasn't able to solve my issue.

Here's my actual code. It makes the "horse.swf" file (located in the same folder as my main swf) fades in into my main swf after it has been loaded.

By the way, I used The LoaderMax system from greensock. because it seemed lighter and easier to manage than the native Adobe Loader one.

Code:
import com.greensock.*;
import com.greensock.loading.*;
import com.greensock.events.LoaderEvent;

[Code].....

View 6 Replies

ActionScript 2.0 :: Preload Multiple External Swf Files Into Specific Frames Of Parent File?

Dec 15, 2009

I am trying to eliminate the Loader component from a project. Run locally, the Loader is sufficient to load-up the voiceover swf files that exist on many of the frames in the parent file. On the web, the short download delays at runtime due to the Loader are causing timing issues. I'm not sure if there is a way to preload multiple swfs into specific frames of a parent file so that they are available before runtime.

View 4 Replies

ActionScript 3.0 :: External Loaded Swf Completes Playing Should Jump To Main File Specific Frame

Nov 28, 2009

when a external swf file gets loaded into main swf file, i need to detect while playing external file reach to end so that i can unload that file and move to another frame on root of main file. I am not getting how to identify external swf play reach to end so that i can unload swf and jump to root specific frame of main swf.

View 1 Replies

ActionScript 2.0 :: XML File - Converting Dates To Day Names In Array

Nov 26, 2011

I have an XML file that gives me a date like this "yyyy-mm-dd",I loaded the XML file in Flash and created an array that contains all dates. My problem is that I want to convert in flash the containing dates of the array to day names for example "monday" "tuesday"..etc.

View 3 Replies

ActionScript 2.0 :: Making A Calendar - Load Certain Dates From An XML File?

Mar 28, 2006

Im making a sort of callendar, and I've ran upon some problems with a function.

Code:
tMonth = new Array();
tMonth = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
tMonthDays = new Array();[code]....

This is just a part of the script, the whole thing will kinda look like a calendar, it will load certain dates from an XML file, cross-check them with the dates, and then it will mark them in a different way in the SWF. However this sample of code should just build arrays of days using the name of the month array, and days in it array.Later Im gonna check if dates from the xml match some dates in those arrays. If they will, it will change theyr apperance.

View 5 Replies

ActionScript 3.0 :: Retrieving Variables From Text File / Converting Strings To Dates

Nov 9, 2008

I'm trying to read date variables from an external text file. I'm using the LoadVars method and it is working fine for regular string variables. I'm running into trouble trying to convert some of those strings into date variables so I can compare the current date to the targetDateX variable from the text file. I'm working on a countdown timer for a list of different times/dates. It will display the time left until the first event, then after that event the time left until the second event. I'm running the code in a for loop and everything is working except being able to convert the string with format (yyyy,mm,dd,hh,mm) into a date variable- I've attached a sample of where I'm having trouble.

View 1 Replies

ActionScript 3.0 :: Get An External Swf To Go To A Specific Frame?

Nov 9, 2009

I made a flash website and had one page load an external swf.

In this external .swf are thumbnails that link to another page (frame) all within the external swf. when you go to these pages there is a 'back' link which links back to the main external swf frame.

My problem is this: let's say i click a thumbnail in the external swf and it goes to the respective thumbnail page, and then i dont click the 'back' button but instead click another link of the main flash website - then i go back to the page that loads the external swf and instead of going to the main frame of the external swf it stays at the page i was previously on.

How do I get the link on the main flash website which loads the external .swf to always load on the first frame of the external swf?[code]...

View 2 Replies

Loading A Specific Frame In An External SWF

Sep 13, 2009

I have two flash files, say a.swf and b.swf.a.swf is the main swf file, embedded in an HTML page for a webpage. There is a preloader in a.swf too. In b.swf, when I click a specific button I need to load a.swf, but not from the preloader, from the content. To be precise, the content starts from Frame 24 of a.swf (obviously Preloader ends in Frame 23). I believe, the frame 24 has to be loaded in a.swf when I click the button in b.swf.

View 2 Replies

ActionScript 3.0 :: Going To Specific Frame Of External Swf?

Jun 29, 2011

I've got another little hitch that I've come accross in the project that I'm currently assembling. From time to time I need to load swf files at specific frames & seem to have hit a brick wall.
 
[code]...
 
It loads the right swf, but at frame 1, when I want tp load it at frame 18

View 22 Replies

IDE :: Loading An External SWF And Going To Specific Coordinates

Mar 8, 2009

I have menu.swf which loads an external SWF (longmenu.swf)longmenu.swf has a long background on stage, which scrolls according to what the user clicks. It works fine on it's own with tweenLite. But what i need to do is to have menu.swf controls to which part of the background it scrolls or appears at once an item on menu.swf is clicked.

View 1 Replies

ActionScript 2.0 :: Load Specific MC Within External SWF?

Jan 19, 2010

Firstly can I apologise if I'm asking something completely obvious... it driving me crazy.

I have an swf called "branding.swf" which has a movieclip (movie_mc) and a button (save_btn)

Once you press save_btn it loads another swf "summary.swf" which also has a movieclip "form_mc". Within "form_mc" there is another movieclip "loader_mc" and some dynamic text fields.

All this happens within a standalone exe "main.exe" and is loaded into "clips_mc)

Is it possible (surely it must be) to take the contents of movie_mc and display it within "loader_mc".

Basically, I want to do a loadMovie but instead of calling "branding.swf" I want it to only load "movie_mc" which is within "branding_swf"

View 1 Replies

ActionScript 3.0 :: Go To Specific Frame When Loading External SWF?

Apr 20, 2009

I have a main movie which loads various external SWF's. What I would like to achieve is that when returning to the main movie (using URLRequest & Loader class) that the main movie starts at specific frame.[code]I believe that the way global variables work in AS3 is very different. Is it true that I need to achieve this via an external class ?

View 5 Replies

ActionScript 3.0 :: Loading External Swf At Specific Frame?

Oct 1, 2009

Using AS3 how can you load an external swf file at a specific frame of the newly loaded swf file.Using the AS3 loader class I have no problem loading an external image or swf movie onto the stage.But what I want to do is when the swf is loaded, go to the second frame (labeled "two") of that loaded swf.

For example, My main movie "main.swf" is blank.My external movie "loadMe.swf" has a circle on frame one and a square on frame 2.On the main movie (main.swf) is a button and when you click on it I want the square on frame two of "loadMe.swf" to appear.

View 5 Replies

ActionScript 1/2 :: Load External Swf Into A Specific _level

Sep 15, 2009

I am loading an external swf into the mc 'image' using: image.loadMovieNum("portfolio/100_design/1.swf", 1);

Every time a new image loads, I want it to load the level above, ie: image.loadMovieNum("portfolio/100_design/1.swf", 2); Is there a way this can be done dynamically. For example, "current level + 1"

View 5 Replies

ActionScript 3.0 :: Loading A External Swf Then Go To A Specific Frame?

Sep 24, 2009

I'm made a dropdown menu and i have resolved the navigation for the main buttons, but i have problems with the menu sub buttons , my question is: After the movie is loaded, how can i make the sub button go to specific frame. This is the script:

[Code]...

View 4 Replies

ActionScript 1/2 :: Load An External Swf At A Specific X & Y Position?

Sep 26, 2009

I am trying to load an external swf at a specific x& y pos. from a button. This is the code I am using :

on (release) {gotoAndPlay(4);loadMovie("gallery.swf",1); xpos="7", ypos="119"; 
}

The movie loads fine if I remove xpos="7", ypos="119";How do I get it to load at that specific position?

View 3 Replies

ActionScript 3.0 :: Getting An External Swf To Play On A Specific Frame?

Nov 9, 2009

I made a flash website and had one page load an external swf.

In this external .swf are thumbnails that link to another page (frame) all within the external swf. when you go to these pages there is a 'back' link which links back to the main external swf frame.

My problem is this: let's say i click a thumbnail in the external swf and it goes to the respective thumbnail page, and then i dont click the 'back' button but instead click another link of the main flash website - then i go back to the page that loads the external swf and instead of going to the main frame of the external swf it stays at the page i was previously on.

How do I get the link on the main flash website which loads the external .swf to always load on the first frame of the external swf?

This is my code for the page that loads the external .swf

var request:URLRequest = new URLRequest("branding.swf");
var loader:Loader = new Loader();
loader.load(request);
loader.x = 0;

[Code]....

View 4 Replies

ActionScript 2.0 :: External XML Or TXT : Use That Data For A Specific Method?

Nov 1, 2011

I've learned recently that you can use txt file for simple data too, so I include it here as well.TXT contains (not sure if correct, should have same data kind as the xml):

point1&x=1&y=2
point2&x=1.5&y=2.5
point3&x=5&y=-5

XML contains:

<?xml version="1.0" standalone="yes"?>
<points>
<point1 x="1" y ="2"></point1>

[code]....

What I have:

- I have 2 dynamic textfields: text1 (variable: outPut1) and text2 (variable: outPut2)

- I have 1 input textfield: (variable:inPut)

- I have 1 button

What I'm trying to do:

- When typing point1 in the input textfield and then pressing the button,(onRelease), outPut1 textfield should show the number 1 and outPut2 textfield should show 2.

- Similar, when typing point3 in the input textfield and pressing the button, outPut1 should show the number 5 and outPut2 should show the number -5.

-It is not only for these three points, it should be applicable with say 50.000 to 200.000 more of such points, each with different x and y values.

To sum it up:So Flash (with AS2) should screen the nodes or txt (for those point names) on what was inserted in the input textfield, then fill the corresponding attributes (XML) seperately in the textfields and all that after the button was pressed. The same deal if it was done with txt, if possible (have read that with txt, loading of data would be faster?).

View 4 Replies

ActionScript 2.0 :: Target Specific Frame From External Swf?

Oct 21, 2004

What is the best way to target a specific frame from an exterally loaded swf?

View 3 Replies

ActionScript 2.0 :: Load A Specific Frame Of External SWF?

May 21, 2003

hey there I posted several strings before and no response

I want to load a specific frame of external.swf into a main.swf

View 4 Replies

ActionScript 2.0 :: Target Specific Frame From External SWF

Oct 21, 2004

What is the best way to target a specific frame from an exterally loaded swf?

View 3 Replies

ActionScript 2.0 :: Load External SWF - Goto Specific Frame?

Apr 15, 2006

I am loading an external movie with buttons... I would like the loaded movie to goto a specific frame. This is the code to load the new movie

Code:
on (release) {
loadMovie("movies/1.swf", "display");
}

I did search (external swf frame) but nothing came up with what I needed

View 5 Replies

ActionScript 3.0 :: GotoAndPlay Specific Frame In External Swf From Main Swf?

Jul 27, 2011

I have a main swf that loads 2 external swfs. I click on button to see content of external swf #1 and see stuff. I do something that causes external swf to show other stuff (i.e. not at beginning state)

In the main swf I click on button to see content of external swf #2. External swf #1 content is made invisible and I see content of external swf stuff. NOW, if I click on button to take me back to see external swf #1, I see it's content in current state. I want to force it to start over again at frame #1 which will reset content.

However, no matter what I try, I can't seem to control which frame to go to in external swf using gotoAndplay.

[Code]...

View 9 Replies

ActionScript 3.0 :: Goto A Specific Frame In An External Movie

Sep 9, 2009

I'm making a training video and right now I have a container swf that loads external swf's In the container swf there is about 3 frames in the beginning and on the fourth frame you choose the section you want to go to next. The sections are just external swf's. To load the section / external swf I'm using:

[Code]...

View 0 Replies

ActionScript 3.0 :: Load An External Swf Movie To A Specific Frame?

Dec 18, 2009

Is it possible to load an external swf movie and make it go to a specific frame to play or stop.[code]...

View 4 Replies

ActionScript 2.0 :: Load Specific Frame Label From External Swf

Dec 24, 2009

I'm trying to access a specific frame label in an externally loaded swf. I have the external swf loading, but I'm not sure how to access the specific frame label after release. This is an example of the code on my external swf timeline:

[Code]....

View 3 Replies







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