ActionScript 2.0 :: Text From Outside Source ?
Nov 18, 2003
im trying to get text from a text file to appear in a text box on my time line. the initial movie stops at frame one where a map appears..once they click on the room it'll take them to a specific frame toward the end of the movie where i have decriptions, pics, etc for each room set up...for the description box in, for example, the computer room (frame 477) the instance name of the text box is computer room,the text file is named computerroomtext.txt, the variable name is computerroom....in the actionscript i did loadVariables ("computerroom.txt","_root.computer room");
in my text file i put computerroom=blahblahblah
when i test the movie and click the button that takes me to frame 477 (the computer room) theres no text. if i remove the text file from the folder i get an error that it couldnt be found, so i know its doing something...i just cant figure out why the text isnt showing up.
View 5 Replies
Similar Posts:
Aug 26, 2010
i have a Air Project in which i have added three extenal source folders. but when i reopen project or strat flash builder again i get icon on those folder like this but when i open the configuration for that project and try to validate the path and adding it again i get message like this but the path is valid. proof is this pic what could be possible error,,, is there any way that i when ever re-open project i get no warning and able to navigate through the linked source code. now i am doing it
1- deleting on of the linked folder
2- again adding that folder.
View 2 Replies
Aug 15, 2009
I created a dynamic text box and gave it the instance name "body" however i loaded the text from an external source using one of my classes. how do i reference the dynamic text box on the stage from my class???
View 3 Replies
Jan 11, 2010
So inside my src folder I have my app.mxml file. I have a source directory pointed to my actionscript library.It appears that Flex does not look inside that source directory including an .as file within the master mxml file.
Code:
<mx:Script source="com/domain/something/somethingelse/app.as"/>
I could just have the main app.as file inside the src folder along with my app.mxml file but it would be nice if it could live in the actionscript library.
View 1 Replies
Aug 31, 2011
I have this standard embed code to play my video:
<object height="409" width="600"><param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" /><param name="flashvars" value="src=rtmp://my-server/vod/flv:my-video" /><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><embed allowfullscreen="true" allowscriptaccess="always" flashvars="src=rtmp://my-server/vod/flv:my-video"
[Code]...
View 4 Replies
Aug 21, 2009
So inside my src folder I have my app.mxml file. I have a source directory pointed to my actionscript library.It appears that Flex does not look inside that source directory including an .as file within the master mxml file.[code]I could just have the main app.as file inside the src folder along with my app.mxml file but it would be nice if it could live in the actionscript library.
View 2 Replies
Apr 1, 2009
Using Flash CS4 professional And Action-script 3.0 I am currently working on an mp3 player in flash.I have my main fla file in my root folder.Also in my root folder is a folder names 'source_files'Inside the 'source_files' folder there is.A folder named 'songs' (which holds several mp3 files) and a text file named track_list.txt The text in track_list.txt is set out as follows (example values used).
//song1
//song2
Where '//' represents the start of the name of each song.
From within the project I have a code that loads track_list.txt and uses the split function to split the loaded data into an array before adding 'source_files/songs' to the beginning of each index of the array.
[Code]...
View 2 Replies
Aug 28, 2010
i am having a problem when reading text form an external txt file into a textbox, the problem is that when i test/ debug my movie on my local computer the text displays from the file but after i have uploaded to my server and try and view it via the internet no text appears
Code:
var urlhome:String = "homeText.txt";
var loadit:URLLoader = new URLLoader();
[code]....
View 4 Replies
Jan 26, 2004
In the tutorial with that name there is this code:
Code:
on (release) {
loadText = new loadVars();
[code].....
View 5 Replies
Nov 5, 2005
I'm using this example [URL] at the moment, using buttons to feed text into a dynamic text box. What I've done is changed it to 'on (rollOver)' when the text pops up, and what I'd like to do is have a on (rollOut) and have it load a blank.txt so the text dissapears when you move your mouse away.
View 2 Replies
Mar 2, 2007
I've created an Rich Text Editor witch is free to download at [URL]
Some features:
Load / Edit / Save and Preview articlesAdd / Upload imagesUndo / RedoBasic layoutAdding linksTell me what you think of it.
View 1 Replies
Jan 26, 2004
In the tutorial with that name there is this code:
Code:
on (release) {
loadText = new loadVars();
[code].....
View 5 Replies
Jul 18, 2004
how i can combine these two tutorials to achieve a dynamic text from an external source that types itself.
[Code]....
Secondly can ne one turn this (attached file) into a movieclip in flash without loosing it's continous particallizing effect.
View 5 Replies
Jul 15, 2010
I've got a number of related projects set up in Flash Builder. Each project gets its graphical assets from an exported SWC file (or multiple SWC files.) This works fine, but I wanted to create a shared project that contains stuff used across all projects. The first item in there is a screen with a number of clips containing dynamic text fields on them. This screen (and associated assets) are exported to a SWC and then I have written code in the shared project to add functionality to the screen and buttons. I'm using 2 fonts, both are embedded.
Both show up just fine in my test harness, but when I link the shared SWC and src folder (which is required in order to use this code/assets in the other projects) the textfields blank out if I try to set their text properties. If I leave the default text (set in the FLA) it shows up, and the static text fields in the FLA also show up, it's only when I set the text property.
I've tried a number of combinations, including removing embedding, exporting for ActionScript, setting all textfields in the shared project to dynamic, all with no luck. The main project does have the same font embedded, and I've checked that the same glyphs are selected in both the main and shared projects. I realize this is a rather complicated setup, but I have yet to find a workflow to allow a designer and developer to work on large projects that is better (but I'd love to hear one!)
View 2 Replies
Nov 30, 2011
We've updated to Flash Professional CS5.5, but are noticing that when multiple users access the FLA over AFP network file share off our OSX Server, they are not restricted from opening the FLA at the same time.Could have sworn that's always just worked in past versions. Most apps just refuse users access to open files; Other apps like Office warn us of multiple user access to open read-only.
View 2 Replies
Nov 26, 2009
I made a .swf file which contains a video player linked to an .flv file (which I had to fill in by Source in the Parameter menu of Flash CS3).But how can I make this source variable so that I can change the source by JavaScript?
View 6 Replies
Sep 20, 2010
I am a programmer who is working with a client's flash designers. Most of my client's personnel have CS3. I recently upgraded to CS5 due to another contract that I am working on for a different client. Will I be able to modify my CS3 designer's .fla file, save and hand back to them to finish designing?? Will they be able to open up my modified document?
View 1 Replies
Jun 27, 2011
I just want to write a proper regex to get the source of the image from given html text.
//HTML TEXT: <img src="angry.gif" alt="Angry face" />
var regEx = //regex Here
var source:Object = regEx.exec(htmlText);
View 1 Replies
Oct 30, 2011
What would be the differenceif instead of ,=> specifying a bunch of code, present at a separate location of my hard-disk as RSL ( runtime shared library),=> I specify it just as another source folder
View 7 Replies
Jan 2, 2006
I was woundering if anyone has ever run into the problem when they are useing the getTime(); command but wanted it to stay in a specific time zone no matter what zone the user is browsing in. So basically I want it to display central time, but if a user browsing my site is in Pacific time, I want the time to display in central, even if he/she tries to change the the clock on his/her computer. So I think the only other way to do this would get the time from another source? I tried getUTCTime(); but that time still changes if the user changes the clock on his/her computer. I was thinking if I could do something like getTime(); and inside the () , mabey I could put my IP address?
View 4 Replies
Oct 19, 2006
i found a source code that helps me get around a problem i have. but i do not kno how to use the source code.Do i have to put it in a certain folder or compile it so that the fla im working in can use the methods from it?
View 1 Replies
Mar 14, 2008
I want to put a video section on my site and was trying to create a flv player which can just simply lie on the page and play a video taking the source from a xml or txt.I m putting multiple links/thumbs on site(which will keep changing with time).after clicking the thumbs/links the javascript will write a xml/txt on the fly and will refresh the flv player to reread the file.
View 1 Replies
Feb 22, 2009
How can I slap a bunch of movieclips on the screen and make them fit in an area like a pane.....and make them scrollable....I thought this would be easy using the scroll pane......ormaybe i'm just loosing it....i can only add one clip as the source and it becomes scrollable.......but i dont know how to make a bunch of them scrollable.....I tried adding a bunch of movieclips to one movieclip and make that the source of the scroll pane....but it doesnt want to scroll...
View 6 Replies
Jan 14, 2010
Are there any cs4 source files anywhere for a simple mp3 player? I looked in the components for a mediaplayer component and I don't see it.
View 1 Replies
Feb 1, 2010
I need pointing in the right direction with a random question.I need to change my Flash player to take on adverts at the beginning or end of playing the desired video.Is there anyway to do this by supplying the player with 2 separate videos?For example, at the moment I use this within my player:
<script type="text/javascript"> var s1 = new SWFObject( "/flash/FLVClipEditor.swf?" + new Date().
getTime(),
[code].......
View 7 Replies
Jun 15, 2010
I have on Scene 1 progress bar (progressbar component), and on Scene 2 animation. I am trying write as source progress bar Scene 2 but I still have and error: Error: Source clip 'Scene 2' not found on parent. [URL]
View 5 Replies
Sep 30, 2010
I am a Java programmer and I can read and edit most anything I get my hands on. I don't work much with flash and when I do there is no reason to look at any sort of source.I received a file from someone to add to a project and the instructions were to open the .fla in CS5 and edit certain lines to pioint to directories . The file is and interactive app type.I have tried doing this but I am at a loss. I had thought that I would just be able to view some source in the file and edit those lines and export the ,swf, but I can see nothing like that.
View 3 Replies
Dec 2, 2010
I had to add the cuepoints after setting the source.Iam trying to use cuePoints on a flvPlayer component but it wont work for me.I have a flvPlayer 2.5 in my timeline (vid_mc) and this code:[code]
View 1 Replies
Mar 26, 2011
I am new in flash but because I was programmer I could learn action script quickly but I need some professional source code and example to reinforce my infrastructure in flash so could you please introduce me a good place for download or see these sources?(I need to expand my exprience throught these kind of sources )
View 3 Replies
Jul 15, 2011
I keep getting a 'cannot contact reliable source' error when trying to install Adobe Flash Player 10.3.
View 4 Replies