Loading Pictures After Page Load, And Farsi Launguage Text, Please Help
Hello, I work for a non-profit and I am trying to put together a kids website the best i know how in flash (the country it is for has 56k or lower)
anyway, I cannot seem to find out how to load a picture after the main page has loaded. As the kids internet connections will be very slow, I would like the images to load after the page does, perhaps with a little loading animation or % loaded.
Also I cannot figure out how to get flash to use the farsi language. It brakes up the text into separate letters (in farsi the mesh together)
Any help with this would be steller, I have been looking and trying for 3-4 days now and I am so frustrated. I know flash pretty well but when it comes to action script I am a complete idiot haha.
Thanks so much in advance
DevShed > Flash Help
Posted on: May 21st, 2008, 01:10 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Need To Know How To Load Page With Multiple Pictures With Pop Up Windows For Bigerpic
hello fellow flash followers.....
i want to display a page which is showing clothing
many pics of mens and womens items..catagorized on each page of my site as mens and womens..
THE DILEMA...
there is going to be allot of pics on one or more pages
displaying the whole collection.
what is a easy way about displaying numerous pictures on a page
without loading EACH PICTURE externaly as its own "swf."
also when a specific picture is CLICKED ON ..i would like a enlargement in a popup window
#1 is there a way to load multiple pictures in a process where i don't have to load them all in there own "swf."'s
#2 how do you make a pop-up window that will enlarge the picture
How do you control the size of the pop-up to only show the picture
what is the code for the picture after i convert it to a button
Thanks..
in advance
How To Load Pictures And Text
hey guys
i have 10 pics on my webserver. pic1, pic2, pic3, ... pic10 (all same size)
i also have 10 txt files on my server. text1, text2, ...text10
now is my question,
how can i load these pics and text in a container
so when a button is puched, it loads pic1 and shows text1
when button is pushed again, i want pic2 and text2 to load in the same container.
and is there a way todo this, so i can add more pictures and textfiles to my server without changing the fla file?
grtz & thx in advance
Loading Pictures From A File Like Loading Text..how To Do It?
I don't know if this is possible...but I'll ask it anyway.
I know how to load text into a flash movie from a text file, (the load variables function), but is it possible to load an external picture file, like a jpg or a gif in the same way without using the flash program?
If it's possible, can someone please tell me how it is done?
Thanks,
JRL
http://www.xtranix.com
Loading Pictures/text
Hi!
Is there some way to load pictures/text into an SWF without it actually being in that SWF file? For example, if someone clicks on a thumbnail, i want it to load the picture, however, since there are many pictures on my website, i don't want them all to load with the flash itself. Likewise, with text- i write a lot on my page and i want people to have the option of reviewing older writings, but i don't want it to all load right off. If anyone knows a good way to do this, i would REALLY appreciate it! Thanks!
jake
RE: Farsi, Hindi And Arabic In Flash
Hi there,
I would appreciate it if someone could shed a little light on the subject of displaying Farsi, Hindi and Arabic characters in Flash.
I know that through reading a text file (in flash MX) one can display unicode characters, and have got this working with the russian language, however, i can not get it to display the three aformentioned.
They will not even disply in my notepad, and am going crazy trying to figure out why this has happens.
Has anyone experienced the same problems?
any help would be greatly appreciated.
Thank you for all your time
Regards
Joe
How To I Add Pictures To A Page, But Not Have Them Show Up On My Main Page.
Hi, I'm very new at this flash stuff and have been on the computer all day today and have tried everything...and I know it can't be hard.
Ok...
I'm creating my web page (I wish I could show it to you, but I'm not sure how).
Anyway...it starts off with the menu bar flying in. All my site will be is a bunch of photos under different catagories (personal site).
After the button flies in, I would like to simply PUSH the button and go the page I've created with the pictures. I can't figure out how to make another page, nor can I make the button push and go to that page.
Any tutorials or anyone can help me.
Thanks.
Trishy
Trishy.com
Flash Not Loading On Page Load
I have created a flash file that only loads when I have the page secured. When I take off security and make it anonymous, I don't see the flash at all when the page loads. If I enable security and have to log into the page then I see it.
I see the place holder though for the flash file. With firefox it asks me if I want to block it with adblocker. So the page knows it has flash on it just won't load it.
Thanks,
Chris
Load New HTML Page Without Loading New Flash.
Bet it is not possible. But is is possible to go to a new page with out reloading the flash? I want a menu that I have made in flash to, when you click on a section animate new subsections coming down. Yet, when you click on it (of course) it must load a new page in html and thus interupting the animation and reloading the flash. The subsections are no longer visable unless you click on it again which reloads the page.
Is it possible to do this?
If not, is there a faster way to do this without making a new swf for each page (there are 12 sections in all each with at least 2 subsections).
Thankyou for any ideas.
UIloader Loading Page Halfway Load Complete?
Hi everybody;
Sorry if my question is too simple or silly, I've simply not much idea of ActionScript 3 and use flash as a hobby, but anyway, here it goes:
I've done a main page that contains a UIloader that should load my webpage once the progress bar's completed this loading task; however, my web comes up with functional glitches half way through the loading process while you still can see the load var in the background...
Here's the code I've copied from a tutorial for the UIloader (named "loader"):
ActionScript Code:
loader.addEventListener(ProgressEvent.PROGRESS, onProgress);
loader.addEventListener(Event.COMPLETE, onComplete);
function onProgress(e:ProgressEvent):void
{
var loaded:Number=loader.bytesLoaded;
var total:Number=loader.bytesTotal;
preloader_mc.scaleX=loaded/total;
}
function onComplete(e:Event):void
{
removeChild(preloader_mc);
removeChild(loading_mc);
removeChild(logo_mc);
}
Any help will be much appreciated.
Thanks!
Loading Sound Dynamically, Swf Works But Not Upon Page Load In Browser. :-(
I have a small little control for volume, stop and play for a background loop for a page. I'm loading an mp3 dynamically, and it works fine when I test the movie or even run the swf in the wwwroot on my server. When I load the page up in my browser though, no sound. Althought the buttons work, and correspond to my animation as you can see in the code, and the page via the link below. Can anyone help??
ps. I've changed the mp3 extension to mpx, just for that download manager workaround.
Webpage Addy: http://2170funhouse.no-ip.org
########## Code in first from of main timeline ############
song = new Sound(loadingMusicClip);
song.loadSound("page_background_track.mpx");
song.start(0, 999);
playing = true;
newPosition = 0;
// play sound if not playing
_root.playButton.onRelease = function() {
if (!playing) {
song.start(0, 999);
playing = true;
_root.speaker.play();
}
};
//stop sound if playing
_root.stopButton.onRelease = function() {
if (playing) {
song.stop();
playing = false;
_root.speaker.stop();
newPosition = 0;
}
};
Load A Page From A Text File
Basically, all i am trying to do is load a string (url) from a text file, then use that string throughout my intro.swf for the skip intro and enter buttons. It just makes maintainance easier becuase the homepage url may change, so i will just be able to alter the .txt file rather than re-hard-coding the actionscript.
I used the tutorial here but couldnt adjust it for what i wanted (and make it work).
Possibly because i have 3 scenes?
Anyway... help would be much appreciated! thanks.
ps for the skip intro button, the code at present reads:
Code:
on (release) {
getURL("default.aspx", "_self");
}
Using the tutorial, i tried replacing "default.aspx" with "myLoadVar.myText" but it didnt want to know.
Thanks in advance
Rob
Load HTML Page In Text Box?
So I dont know if I miss understood something but I remember reading somewhere that I can take a premade html document and load it into a text box on my flash document... so that when it runs you will see say http://www.mywebsite.com/home.html in the swf file. Did I hear this wrong or misunderstand this... or is it actually possible?
Pictures Page
if i made a picture loader in flash how can i make it so it doesnt load so slow, ive got like 12 pages, but each page has like 4pics which makes the movie load slow, how can i get it to load faster or any other opinions
Can't Load Text From Asp Page And Use Shared Library ?
Hey,
I've found a bug or a quirk that I can't get around.
I'm using asp (& DB), to load text into dynamic text fields.
I'd also like to use a shared Library to save load time.
I've found that if I use a dynamic text field and have symbols on the stage that are linked to a shared Library swf, that the text field doesn't get loaded.
If I remove the linked symbol, the text shows up.
I have had success with createTextField(), however, I want to use a special font, and I haven't seen anything on setting the font of a dynamically created text field.
If anyone has any insight on this I would be gratful to hear it.
thanks,
-J
Won't Load Text For 2nd Page. (movie Attached)
I don't know what I'm doing wrong, I've been trying to figure this out for a long time.I'll paypal $5 if someone can figure this out. Thanks.
So basically I have two .swf files so far, one for "Home" and one for "Bio". The load text works for the "Home" page but doesn't work for "Bio". It works when I'm testing it on preview or viewing just the .swf by itself but doesnt work from the "Home" page.
Here's the site:
http://www.peterjun.com/websites/chops/chops.html
Heres the code on the "Home" page for the text load.
Code:
//creates a new loadVars object that will load the text
var myLV:LoadVars = new LoadVars();
myLV.onLoad = function(success) {
if (success) {
loadedInfo.htmlText = myLV.info;
_root.loadedInfo.scroll = 1;
_root.scrollTrackbar.scrollBar._y = 0;
scrollCheck();
} else {
loadedInfo.text = "There has been an error loading the requested information. Please contact the Webmaster and report your error.";
}
};
//automatically starts the loading of "page1.txt" when the movie loads
myLV.load("page2.txt");
And here's the code for the "Bio" page for the text load.
Code:
//creates a new loadVars object that will load the text
var myLV2:LoadVars = new LoadVars();
myLV2.onLoad = function(success) {
if (success) {
loadedInfobio.htmlText = myLV2.info2;
_parent.loadedInfobio.scroll = 1;
_parent.scrollTrackbar.scrollBar._y = 0;
scrollCheck();
} else {
loadedInfobio.text = "There has been an error loading the requested information. Please contact the Webmaster and report your error.";
}
};
//automatically starts the loading of "page1.txt" when the movie loads
myLV2.load("page002.txt");
stop()
I think I named all the variables correctly since it works when I preview or view the swf by itself.
Change Text Color On Page Load
I have some text I've converted to a movie clip and want to have it gradually change from one color to another when the page loads. Can I do that in actionscript 3?
Loading An Html/asp Page Into A Text Box
Is there any way to, using a button, load either an html or an asp page into a text box?
Or is there a different way to load an html/asp page into a flash movie?
...help
Text Loading Into A Page From A Separate Txt. Doc
Hi everyone,
I'd like to have a website with a text area that loads text from a separate text document (for the sake of making it easier to edit this content daily). I did a tutorial on this, but it used CSS and was so much more complicated than I need it to be. I juse want to format the .txt document with html.
Can anyone walk me through this process? Thanks!
Loading HTML Page Or Text?
This is probably a relatively newbie question, but I've never dealt with this kind of thing before. Basically I'm developing a flash site that will be mostly images and the sort, but I do need a "biography/contact" section that will include a body of text. What is the best way of loading this?
Also, sometimes when I see bodies of text in a flash file, the text is somewhat fuzzy and ugly looking; other times it looks sharp and is highlightable--just like regular text in HTML. That's what I want. How is it possible?
Thanks.
Show Pictures In A Flash Based Page?
Hi there!
Can enybody tell me how to solve this.
I have a flash movie that is my compete page (swf file in an html window)
I dont have this on the net right now so I canīt show you.
In my flash page I have 5 buttons that lead to a new location in the flash movie (sub pages).
On one of this subpages I would like to place a photogallery. How do I do this
without making my flash file extremly big?
I dont wanīt to use pop-ups!
hope you can read my bad English and that you have a idea on how to solve this .... you are probebly the expert while im a beginner so I think you know what to do
Thomas
Unable To Set Focus To Login Text Field AUTOMATICALLY On Page Load
Hi,
I'm trying to have my flash (AS 2) login page have the username field start blinking right away after the page is loaded but so far, no success.
I've added the following Javascript to the HTML wrapper:
But it still doesnt work. Can anyone help?
See whats happening by clicking here.
Attach Code
<script language="javascript">
<!--
function flashFocus(){
clientArea.focus();
}
//-->
</script>
<body bgcolor="#ffffff" onLoad="window.document.flashFocus();">
Loading Text From Html Page, Swf Embedded In?
Does anyone know how to create an swf file, that will load text into itself from the html page that it is embedded in.
I want to create a flash title bar, that I can put on the top of different html pages, and animate the title text. To save having to create more than one swf, it would be cool if I could load the text direcly from the html page itself.
I know it's possible because they use a similar thing in the status bar bar example at guistuff.com
If anyone has done anything like this, and has an .fla that I could look at, I'd be very greatfull.
Loading Dynamic Text In Dreamweaver Page
Greetings all-- I followed the nice tutorial on scrolling dynamically loaded text, and hit this snag: The text loads fine in Flash when I test the movie. When I place the .swf in a Dreamweaver page, and hit the "play" button in the Properties box, it displays fine. But the text won't appear (movie loads, just no dynamic text) either when I preview in browser or open it in a browser. Text box and scroll appear, though.
To summarize: Works in Flash. Works in Dreamweaver. Doesn't work in browser. ??
I'm using MX, and tried in both Firefox 1 and IE 6. Any thoughts?
Also, while I'm at it, is there any way to make the dynamic text source file have "soft return" breaks instead of paragraph breaks? (i.e. single spaced instead of double)
Many thanks,
JT
Loading Text File From Protected Page ?
Hi guys,
I have a silly little question. One specific page on a site I work on needs to be protected with logins and passwords. All it is, is a list with downloads - consisting of files for students. Both the list (htmltext) and the downloads are inside a protected folder.
My question is: What's the easiest way to include this into my flash site ? (the site is completely flash).
I initially had two ideas: One was to make a popup appear that loads the protected file, and when people don't have access, I can show them a self made error page.
A nicer thing would be to have the text file load dynamically into flash, but when a user doesnt have access, they get directed to the same error page again.....so if you go back to the original site, they'll start at the very first page again. That doesn't seem like a good idea to me, to be honest.
Is there another way ? Perhaps by building two simple form fields and check the passwords/logins and when they match people get directed to the protected area ? I now how to set this all up inside flash, but I don't know if it's possible to use server side protected in combination with this.
Any advice, pointers or suggestions are very welcome !
Bart
Loading Dynamic Text In Dreamweaver Page
Greetings all-- I followed the nice tutorial on scrolling dynamically loaded text, and hit this snag: The text loads fine in Flash when I test the movie. When I place the .swf in a Dreamweaver page, and hit the "play" button in the Properties box, it displays fine. But the text won't appear (movie loads, just no dynamic text) either when I preview in browser or open it in a browser. Text box and scroll appear, though.
To summarize: Works in Flash. Works in Dreamweaver. Doesn't work in browser. ??
I'm using MX, and tried in both Firefox 1 and IE 6. Any thoughts?
Also, while I'm at it, is there any way to make the dynamic text source file have "soft return" breaks instead of paragraph breaks? (i.e. single spaced instead of double)
Many thanks,
JT
Filling Flash Page With Pictures Generated From PHP File
Hello there, i asked a similar question to this a couple of days ago, but i've got a step further at least and so know my question more specifically
Basically, i've created a php file which grabs ID, name, URL1, URL2, and Price from a table and puts it into an array called 'loadpics'
Now here is where i'm lost
How can i then put pictures into flash from the URLS in the variable?
I have no idea how to tell flash to create the pictures... Do i need to use a component or something? Or do i create a movieclip and somehow load them in there?
if someone has an xml script example of putting images from the urls in the variable created by the php that would be really helpful
sorry for repeating myself a bit here, but i seem to be getting no where with this...
thanks for help!
UKguy
Filling Flash Page With Pictures Generated From PHP File
Hello there, i asked a similar question to this a couple of days ago, but i've got a step further at least and so know my question more specifically
Basically, i've created a php file which grabs ID, name, URL1, URL2, and Price from a table and puts it into an array called 'loadpics'
Now here is where i'm lost
How can i then put pictures into flash from the URLS in the variable?
I have no idea how to tell flash to create the pictures... Do i need to use a component or something? Or do i create a movieclip and somehow load them in there?
if someone has an xml script example of putting images from the urls in the variable created by the php that would be really helpful
sorry for repeating myself a bit here, but i seem to be getting no where with this...
thanks for help!
Problem Loading .php Page Into Dynamic Text Field
Please help,
I am trying to load a .php page into a dynamic text field in my flash file. I have accomplished this with an .html file, and have had some success with the .php.
However, the file I'm using has a "repeat region" in the php code and, when it shows up through the flash file, it only shows the first entry in the database.
I am using the following code for the dynamic text field:
var format = new TextField.StyleSheet();
var path = "html/foe.css";
format.load(path);
format.onLoad = function(loaded) {
if (loaded) {
window_txt.styleSheet = format;
var pageLoader=new XML();
pageLoader.ignoreWhite=true;
pageLoader.onLoad=function(){
window_txt.htmlText = this;
}
pageLoader.load("html/annie-tour.php");
} else {
window_txt.text = "Error loading CSS file!";
}
}
stop()
the php file is at www.foerecords.com/html/annie-tour.php
Is actionscript not able to process the "repeat region" command? Am I doing something wrong.
Thanks for any help y'all may give.
HTML Page Not Loading In Dynamic Text Field
Hi guys,
i referred the tutorials from newweb.co.uk to create a flash file with dynamicaly loaded text and images from an html file. This works very fine in my computer where the text and images are loaded into the dynamic text field..but when i check in other machines...the swf file is not loading the html file into it. The html files are stored in the same location as the swf file, so the question of wrong path does not come into picture....how do i rectify this problem....please help....
Thanks in advance
Load Pictures?
I'm making a online gallery for my friends and family. I have a preloader at the start that loads the movie (this works fine) but i want to load all the pictures seperatley (i.e. when someone presses a button to go to a picture it loads the pic then not at the start of the preloader. i also want this to have a preloading bar like the one at the the start of the movie. how do i do this?
thanks,
jellyrools
Pictures Don't Load...
I use a photo gallery http://www.rubber.gr/photos2.swf which is loaded externally in a "main" .swf
Now the the infomation about the pictures is in a text file here (this files Load the variables) : http://www.rubber.gr/textfiles/pictures.txt
The actioscript used in each button is
ActionScript Code:
on (release)
{
photo1holder.loadMovie(pictureURL1);
pictureCaption.text = pictureText1;
}
the URL ghanges each time to URL2... URL3 and so Text1...Text3
Please If anyone knows why the pictures don't load ???( pictures located here http://www.rubber.gr/images/pics_folder/ )
Load External Pictures (.jpg)
I want to load a jpeg into an instance of a movie clip. I looked in the tutorials and found this: function previousSlide (firstSlide,lastSlide,slideName,slideText) {
i = i-1;
newSlide = slideHolder.loadMovie(slideName + i + ".jpg");
newText = loadVariablesNum(slideText + i + ".txt", 0);
_root.newSlide;
_root.newText;
}
I have tried this over and over using my code and can not get it to work. My code is pic.loadMovie("ur3.jpg");
I have an instance of a blank movie clip named pic on the main timeline. If I change the name of the file called I recieve Error opening URL "file:///C|/Documents%20and%20Settings/bcunningham/Desktop/documents/TRANSFER/pictures/ur.jpg"
So I know it enters the loadMovie because I do not get that when I have an actual file named ur3.jpg in the correct directory. Any help would be greatly appreciated.
Load External Pictures
I am building a simple site that has a need for graphic updates at a later time. These updates need to be done by a none flash programmer. I am going to have a graphics folder in the same directory on the server with the flash movie. How do I import the graphic from the external folder into the flash movie?
I am using Flash 5 and I know how to get text into the flash movie with an external text file(.txt). Can a graphic be pulled into a finished .swf? Does it need to be a symbol or movie? If it does how could I pull the graphic into the movie? I have used a little PHP.
I hope someone can help...
Thank you,
DW Stanford
Another Way To Load Pictures Other Than LoadMovie?
I am using LoadMovie to load pictures like this:
<as>
on(rollOver){
MainJewel.loadMovie("photos/interface/Circle_2004.jpg");
}
</as>
My intent is to create the illusion that the same image is just changing slightly, but it take a split second to load, causing it to flash, which breaks the illusion.
Is there a more efficient way to do this?
Thanks
Load Music Or Pictures
hey i was wonderning if there was a way to load music or pictures from the internet rather then having to put them directly into your flash file... that would save a lot of space...
does any one know about this?
thanks a bunch
-yeps
How Do These Pictures Load So Fast?
Is there any tricks to this?
http://www.xtremeseminar.com/
I have a photographer client who wants a similar effect done... alot of pictures in very little time with liitle load time.
any ideas.
or am I just missing something simple.
Load Random Pictures....
I people. my englsih are terrible. i will try explain my problem!
is my 1 time post a proble in network, please help me!
i wish know if is possible when i enter in a swf file appears diferents pictures!
for example: 1 time appears the picture A, 2 time appears the picture B, 3 time appears the picture C, etc....
Can you help me!!
How To Load Pictures From XML File?
I have been searching the Internet for a Flash AS3 for a slide show. So far all of what I have found have one similar theme. That is, every image after the first replaces the previous image that is on the stage. I'm creating more like a montage of pictures where I don't want any image to disappear. I'm currently used this code to load my images from the xml file.
quote:slideLoader.load(new URLRequest(xmlSlideshow.image[intCurrentSlide].@src));
Every time the slideLoader loads another picture, the first picture is replaced or disappear. How do I change/modify this slideLoader so that any images that loads after the first one does not disappear?
Edited: 12/02/2008 at 11:38:36 AM by ljCharlie
Load Multiple Pictures
I want to load some pics into flash from a folder in my server without knowing how many pics there are in that folder.
Is that possible? I want front and back buttons to navigate aswell. Do I need to do some XML solution, or does anyone have any tips/tutorials.
Load All Pictures In A Folder
Hi,
I would like some help to load all pictures from a folder in to flash... something like this: http://flash-creations.com/notes/ser...eadfromdir.php but in as3. Anyone know a good tutorial for this in as3 or do anyone have an example to post here?
Thanks
|