ActionScript 2.0 :: Disappearing Dynamic Content In IE FIX?
Aug 19, 2006
For anyone that has ever run into the flaw that makes dynamic content disapear in IE I've found the solutionThe issue is caching -- I'm not sure what causes the issue but I do know that in IE it tries to cache the PHP/XML doc and it screws everything upthe fix is to concatinate a random/unique string at the end of the load request - Like so-gStuff.load("link.php?cachebuster=" + new Date().getTime());works like a charm ... my problem in IE was when you clicked refresh or you clicked the button that loaded the information into the dynamic text field it would disapear.more info / detail can be found here
View 1 Replies
Similar Posts:
Feb 23, 2010
I am using Adobe Flash Professional CS4 with all the latest updates. The FLA is an Actionscript 3.0 file. I am creating a basic flash site with several pages that change when the user clicks links on a left side navigation bar. on the pages are sub tabs that change out different content(text) based on what the user clicks on the current page. when they click a button it triggers an event listener, the event listener runs its function which changes the definition of an already defined (String) variable, and the page goes on to a frame checks what that variable is and then leads the movie to the correct frame that the corresponding content is on.
here's the issue: it works perfectly the first few times, and then the event listeners stop working, first one of them, then all three once i click one of the two available. i started this site before i even knew what a class was(regretably), and all the code is on the timeline in different frames.
[Code]...
View 2 Replies
Oct 13, 2009
I'm having issues with dynamic text disappearing under a specific circumstance. When the playhead enters the Photos frame the code below is executed. This code sets the text value of the linkTEXT textfield and adds a bitmap to the linkTHUMB mc. The code runs perfectly and everything is populated most of the time.
The exception... The website has 4 frames which it can navigate to (home, photos, order, contact). If I stay within the first three, each time I navigate to Photos the textfields and bitmaps will be populated and display correctly. However, if I navigate to the Contact page, either before or after I've already visited the Photos page, only the bitmaps will display.
Strangely enough, the textfields still trace their proper values. It also appears as if their parent movieclips are still in the display list since I get the hand cursor when I mouse over their x+y coordinates. If I trace the parent's numChildren property I can see the textfield is still a child.
So where is the text going, or why does it suddenly disappear? If the textfield is still there and it's on stage in the display list why isn't the text being displayed?
View 4 Replies
Apr 8, 2011
I've created a button that I turned into a library class and am pulling onto my stage (same as attachMovie is AS2). This button has a timeline which does a small amount of animation. In my AS, I am loading a thumbnail into each button class and am also assigning mouseevents of roll_over and roll_out to my button... this all is working so far. On roll_over the button's timeline plays to a point; on roll_out, the button's timeline plays to the end and then goes back to the first frame. BUT now my image is gone. Why? Here is my AS:
[Code]...
View 3 Replies
Apr 7, 2010
I have a static textfield using Myriad Pro bold font that, when set to STATIC TEXT works absolutely fine, in the correct font. If I set it to DYNAMIC TEXT and test the SWF, the text shows up as a system font; not Myriad Pro If I set it to EMBED CHARACTERS the text doesn't show up at all on ANY system, whether the font is installed or not.
I have tried adding the font to the Library and using that "Family" for Properties>Character in my dynamic text box, but get the same results as when I don't set that to EMBED CHARACTGERS. I've tried selecting the font for the textfield as both the standard OS Font, as well as the one with the Asterisk next to it, but get the same results both ways. The library font is set to "export for actionscript" and "on frame 1". I don't think it's an issue with the font not being available, as I'm able to see it when setting textfield to STATIC type, and I use the font in other CS4 products (Photoshop, etc.).
View 6 Replies
Jan 20, 2009
If the user navigates away from the screen its on, and come back, the text field cant take input anymore. Flash says the field is there. That its a input field. The pointer changes alrigt, but i cant type into it? and the bug fixing text i put into it disappears. When navigating to another page i kill the movieclip its in with:
ActionScript Code:
removeMovieClip(var_holding_clip);
View 2 Replies
Sep 13, 2010
I have a .f4v on a layer using the FLVPlayback command. On top of that I have a dynamic text layer. It plays fine in a browser or at the exported resolution. When I use the command ("fullscreen", "true") or when I open the .swf and go full screen using CTRL-F the text disappears. I have removed the video and put the text on a solid background layer to determine it is the video causing this. I have also tried to convert the .f4v to a .flv and embed it in a .swf in multiple manners but the end result is always the same as the text disappearing.
View 0 Replies
Oct 1, 2007
how it is possible to edit dynamic content and modify the content and save it, all within flash.I have tried some experiments in the past and have got the text to change etc which is easy but i need a way to save the content so the next time anybody sees the flash it will have the latest content until i change it again.
View 2 Replies
Jun 13, 2006
On the main timeline I have
_root.float.page_body = '';
loadVariables("content/flash/color_studies.txt", _root.float.page_body);
and I'm using it to pass a txt file to a dynamic text field ( page_body ) inside a MC ( float ). When the text field was on the main timeline, this approach worked great, but now all that appears in the text field is:
View 5 Replies
May 27, 2010
Currently I already have a swf which is pulling parameters from a xml file. Just wondering if an asp cms can rewrite this xml file, so that the swf file is controlled by the cms. Or I should have the CMS directly provide parameters to the swf file, in other words, there is no xml file inbetweet swf and cms. Or there will be other methods..?
View 5 Replies
Aug 5, 2009
I am attempting to dynamically display a series of questions with answers in my flash movie from an existing ASP page. Initially, the dynamic questions imported from an ASP page appear on the Flash page (question 1, 2, 3, etc.). When the user clicks on a question, the flash movie advances a frame and displays the answer. I can display the questions properly, but I am having a difficult time carrying over the question ID to the next frame so that the appropriate answer will display.
The current database fields look like this:
-QuestionID
-Question
-AnswerID
-Answer
This is very simple to do in ASP or PHP but I am having a tough time trying to tie everything together in Flash. Should I create two separate ASP pages, one to query the questions and one to query the answers? How do I carry the QuestionID to the next frame in Flash?
View 4 Replies
Feb 9, 2011
I would like to create a Flash menu but want to load HTML inside a targeted div on the same page dynamically without refreshing. I've seen several people say iframes can be used but I would prefer to stay away from iframes and use divs if possible. I'm guessing some fancy javascript would be required?
View 1 Replies
Dec 16, 2008
I have created a Address Class that uses Remote Hosting to get addresses for site locations and creates the appropriate listings in a MovieClip.
I am trying to use this class as the source for a scroll pane inside another movie clip.
I get the site locations to show up in the scrollPane but they will not scroll.
I believe I need to pause some how in the constructor until I have all the site addresses created. how to get the scrollpane to scroll.
Here are some snippets
The container MovieClip
import FlashCFMXApplication.AL_Addresses;
import fl.containers.ScrollPane;
var scrollPane:ScrollPane;
[Code].....
View 3 Replies
Feb 3, 2009
I'm loading images into an otherwise empty MovieClip called container_mc using UILoaders and spacing them horizontally. I also have the image names as TextFields below the images all within the container. I'm masking the container clip using the following syntax:
container_mc.cacheAsBitmap = true;
mask_mc.cacheAsBitmap = true;
container_mc.mask = mask_mc;
This USUALLY works, but for some reason when I load over 20 images into the container -- the mask no longer works. At first it appears as though it's working but then the text disappears and when I mouse over the images to scroll them horizontally, the mask (which is magenta) appears and disappears -- flickering strangely. Should I be caching? I was under the impression I had to for the dynamic text to show up. Maybe it's the where I placed the code (load-order)?
View 0 Replies
Jun 29, 2009
I'm using CS3 and i wrote a in actionscript 3 an .as file that sends a request to a server and gets as a response an xml file. After loading the xml i create dynamically i big number of questions each one of them with some possible choices for the user to select(Radio buttons). The problem is that i have about 40 questions with about 120 radio buttons to show the user but only 5 fit the screen and the others are not visible. Can anyone give me a help using scrollpane or something else so i can give the user a way to see all of the questions and radio buttons available?
View 0 Replies
Jul 3, 2009
A client asked me to make him a flash presentation file in order to put it on a cdrom and distribute it to his clients.He asked me also to make the presentation file dynamic so it is easy for him to update the content of the presentation and distribute it anew, when there is a change of the content.If it was a web based presentation, I could use php to read folders and populate the data in his presentation file (I had in mind to put folders relative to the file with the content in it ("client_description.txt", photos, "work_description.txt", etc.)). But now that the file he needs is a presentation file. Is it possible to have as3 read the folders of the cdrom?Do you have another proposition to make in order for the making of a dynamic presentation file?
View 5 Replies
Jul 22, 2010
I know the Post Title is not much explicative but I didn't know how to summarize my problem. Here it is in full version: I'm making a card game, and I have all the vectorial graphics for the cards. I have a class named Deck and one named Card. When I create a new Deck I have this constructor
[Code]...
View 9 Replies
Oct 4, 2010
ActionScript Code:
import fl.controls.ProgressBar;
import fl.transitions.Tween;
import fl.transitions.easing.*;
[Code].....
i am trying to put this in scroll pane but it wont scroll .. modifying the code so that scrollpane works
View 0 Replies
May 22, 2009
A client has a flash website that they wish to have indexable by google. They are under the impression that google will be able to traverse this swf and get all their content out of it. However their site is very dynamic, it is a front end only for a php/mysql backend, it loads all content via dynamically created xml files based on the http get calls that are made to the api. As far as i understand google does not know how to index a flash site like this. Our recommendation is to use the same api to create a shadow site for the googlebots to crawl and then deeplink to sections of the flash site. They are not convinced.. Does anyone have any proof either FOR or AGAINST this solution? <flattery>I come here because i know this is the definitive source for flash information.</flattery>
View 1 Replies
Apr 17, 2003
as i know, the component scrollpane in the movie haves the content of a movieclip, but, i am wondering if it was possible to let the content of the scrollpane dynamic, say, taking pictures, data, movies, from outside, this content won't be specific, always may change...
let's say, i have an aplication in wich i would like to show some pictures and info about it, a travel agency for example, i will have different pictures of diferent places, info about tavels, costs, graphics and so on... can i do this using the scrollpane? can i let it dynamic?
View 2 Replies
Aug 3, 2008
I have a carousel that I am creating that recieves information from an XML file that points to a couple of .png's with corresponding "tooltip" messages that pop-up on rollover. I have searched all over the place, and I can't quite seem to figure it out. Can someone help with a guide on scripting a simple preloader for the actual content that the XML files points to? I will give you my .fla and source code.
Code:
import mx.utils.Delegate;
var numOfItems:Number;
[code].....
View 6 Replies
Oct 1, 2008
I'm tryign scroll dynamic buttons (movie clip with on release actions) in a scrollPane component. As soon as i drop the scrollPane onto the stage, all the buttons become white rectangles with nothing in it
the buttons should be grey and when you click on them they 'll say "CLICK" on the output window. but that doesnt work either.
here's the source code
[Code]....
View 4 Replies
May 1, 2009
I have a solution for this already, but it involves a million if/else statements so I was wondering if there's a way around this. Here we go.I'm making an RSS reader that displays posts in Craigslist. All the info I need is loaded into flash and immediately tossed into arrays. Well take the links[] array for our example.
I count the amount of links
for(i=0;i<links.length;i++){
and I make my boxes to hold the info
[code]......
View 2 Replies
Dec 8, 2011
I have a dynamic text "Home_btn" with content "Home", "Preview_btn" content "Preview" and so on.. I have another dynamic text "title_txt"and i need to get the txt content of the buttons to change the "Title_txt" when the button was clicked.
my code...
function clickBtn(evtObj:MouseEvent) {
title_txt.text=evtObj.target.name;
}
but this, get the target name of event.
View 8 Replies
Sep 7, 2009
Im trying to build an rss reader, i've managed to parse the xml and get the content scrolling. I have 2 textfields inside a single movieclip for each news item, but what id like to do is position the movieclips on the y-axis releative to the height and y position of the preceding movieclip.
Code:
for (var i:uint=0; i<il.length(); i++) {
var holders_mc:MovieClip = new MovieClip();
[code].....
View 1 Replies
Nov 17, 2009
This is really weird and I have no idea what could be causing this.I have this simple Flash site:
http:[url]....The main interface is loaded, and then it starts to preload a few external JPG images.The problem is that with IE it is taking about FOUR times (or even more) the time to load the same pictures with FF. In a slow connection such as a 128K the main interface takes the same time to load either on FF aswel IE - about 5-10 seconds. Then, it starts loading the external pictures - in FF it will take about 20 seconds more and in IE it will take about 80 seconds more. It is clear to me that the problem is not in the site loading itself, but in the contents loading. I can't see what in the browser could be interfering in the SWF, unless that the IE Flash plugin have some known (or unknown!) bug regarding to MovieClipLoader!
The only thing I can have in mind, is that I am not terminating the listeners in the onLoadComplete events, so theoretically they would be keeping the CPU busy even after the pictures finish to load (I spawn about 30 listeners, one for each picture). However, I doubt that this is the reason or else it would make FF slow down too, indeed? Also I noticed that when running the application in the authoring environment (control+ENTER) but loading contents from remote server, it have the same behavior as when loaded within IE (slow loading).
View 1 Replies
Feb 20, 2010
My flash site is comprised of about 10 to 12 dynamically loaded external images, which are declared as Loader class instances, loaded, then placed on the stage. I set up a basic external pre-loader but just as I suspected it would, the pre-loader loads the swf of my main site but when the swf is loaded the external dynamic content of the main site still has to be loaded. How can I go about preloading dynamic content? Because what I want is all the assets that make up the site to be there and loaded, when the pre-loader is done.
View 2 Replies
Sep 19, 2003
I need to create a movie that will look into some directories and display the images he founds there (or text).
View 6 Replies
Mar 24, 2009
I need an example source of something like this:
The flash reads the XML file, to create the dynamic content (like a picture gallery) The php creates the XML, and it has a user interface where we can upload pictures.
View 1 Replies
Jul 30, 2009
I am creating a site where it is loading dynamic images and text within the SWF. Currently for images I am using the loadMovie command. This works typically when I do not have images of significant size, however I am having trouble getting the movie to check up if a larger image needs to be loaded. Here is my current code below, it does not seem to be checking to see if the clip is loaded and simply ignores it if the timeline reaches the actionscript before the image is loaded. _root.generalVars.homeImg is a variable that I define outside of flash
//creating empty placeholder
this.createEmptyMovieClip("tester",1)
tester.onData=function(){
[code]...
View 2 Replies