Php :: Hiding Xml From Users While Passing It Into Flash?
Oct 29, 2009
We have a little in-house LMS with courses built in Flash. Scores are updated and retrieved with POSTs to PHP scripts which query a MySQL database. All the course content and quiz questions are in xml files. Those XML files are easily accessible from a user's Temporary Internet Files (sort of SCORM style, for those familiar with it) and while you'd have to be pretty desperate to cheat at something like a Fire Safety test, it's still a vulnerability we'd like to solve.
I intend to move the quiz data (and eventually, the course content) into a MySQL database, then probably build the XML in PHP and echo that to the Flash course (as we've been doing to update and retrieve assessment scores). I think I could limit how and when the xml is displayed by passing hashes and shared secrets and whatnot between the PHP page and Flash, but this only limits outside access, and anyone viewing the course legitimately will still see the XML passed around (I think..).
Surely I'm not reinventing fire here. Is there a method or a technology in existence that allows the safe, discrete passage of xml into Flash?
View 1 Replies
Similar Posts:
Jan 29, 2010
I have a flv playback compotent and I created a control bar with play and pause button. I would like to hide the bar until the mouse rolls over it and then it would appear for a few seconds and then hide again. Much like the skin effect, but I'm not using the skins.
View 4 Replies
Oct 7, 2011
I have a swf object that is to the left of a header div that is 1000px wide. the swf is 303px wide. How would I make the swf on the left hide behind the window when the windows is only, say, 1050px wide?
Kinda like how this one is: [URL]
notice how the object get hidden, still plays, but doesn't lose it's aspect ratio?
How does someone do this?
the code is set up like this:
<div class="swf">
object
</div>
[Code]...
I've tried to make the header 1303 wide, but then on resize it just stops and keeps moving everything that is under it, and the swf stays put
View 1 Replies
Oct 21, 2010
I'm experiencing problems when I try to load a movie that uses LoadVars() into another movie that uses MovieClipLoader method to load the first file. My goal is to secure the flash movie and the contents that are accessed from the database and display the contents with a non-editable form (this is a "backend movie"). The best way I found is to load this "backend" swf with MovieClipLoader from another movie that acts as "frontend".
The problem is, that every time I load the main movie I'm able to see the form of the loaded clip but the content is not fully loaded (maybe because the ASP page has not delivered all the content to LoadVars). For example I can see 3 of 6 text that are being loaded with LoadVars() in the backend movie. Individually, the backend movie is working fine and I always can see my form with dynamic text without any interrumption. how can I load the movie to another one or how can I secure the backend including the URL that access the database?
View 9 Replies
May 17, 2005
is it possible to hide it in mx when the text is too short to be scrolled? i read its possible with flashMX04.
View 3 Replies
Jan 24, 2011
I am toggling show/hide using jQuery on a div block via [code]and it's working perfectly except for one minor detail.When there is a flash video player in that content area, the flash player will not hide along with the rest of the block via the "toggle" function.The strange thing is that it will hide the video using the hide() function but I'd rather use toggle() to keep track of my state and switch accordingly.Is this a bug in the toggle() function or am I forgetting something here?By the way, it appears to do this only in Google Chrome. Safari, Firefox, Opera all work fine, so I'm thinking this is a Chrome bug.
View 1 Replies
Oct 27, 2009
I have a web site im making atm, the site is all flash , and i have a gallery with lightbox. But when light box is open, it seems to hide the entire web site, .
View 1 Replies
Dec 5, 2011
I'm a newbie to Flash. I have created a basic screensaver which has 8 different layers. 7 are hidden and 1 plays through as it is now. I was wondering if there is any way that on completing the timeline, it starts the timeline again and then shows the second layer and masks the 1st one. It would then do the same, masking the 2nd layer and showing the 3rd and so on.
View 1 Replies
Sep 8, 2010
In Internet Explorer 7 and 8 (WinXP/Flash 10), if I play my videos using the JW Player in the slider they work. However if I move to the next slide and then return to the original slide the video is no longer displayed - the audio is still audible and the video can be played and paused, but there is no image.
I've asked this question on [URL], but the support member cannot see this problem on their computer. Does anyone else see this issue, and if so, You can view the slider and video here: [URL]
View 1 Replies
Sep 27, 2010
I would like to save settings for an AIR application to a local SQLite database. Wherever I read, it's recommended that you use File.applicationStorageDirectory to save the database file.
My problem is that in most cases, the AIR application will be first started by an administrator that configs and setup the application (and save the settings to database) and later used by different users. And what I would like to know is if there is possible to save the database to a location that every user can load it from? As I understand it, File.applicationStorageDirectory points to the user directory? There is probably possible too make the admins set correct permissions and stuff, but I don't want to make it difficult too install...
View 2 Replies
Jun 27, 2011
The users using my website say they can't see the flash videos on the website, even after downloading the latest version of Adobe flash. May there be any reason for this ?
[Code]...
One of the users that the videos do not run for him has Windows operating system & Internet explorer browser.
I've put a check in the videos page to check if the user has the required flash version installed or not to run the video, but even if that user installs the latest flash version he keeps getting my check message, as in this screenshot: [URL]...
View 2 Replies
Aug 13, 2008
I made a game with Adobe CS3 and posted it on the internet, and some users (very few, but some) have reported that the game doesn't work, it just runs through every frame without regards to stop() or anything else..
It's at 50fps, which might matter, and it's located at [URL] if you may need to take a look at it.
I just need to know if this is something that I can fix on my end, or if these people may need to update their flash player or what else it might be?
View 0 Replies
Apr 11, 2011
I would like to know if it's possible to capture a users webcam in flash and directly upload it to YouTube without a backend server setup. Or if there are any third party providers that support this service. I see YouTube offers a live streaming API, but it seems it's only available for selected users.
View 1 Replies
Dec 27, 2010
My client wants to distribute a video to some people, specifically car dealers, but he doesn't want the video to end up on Youtube or something like that. Therefore he wants the recipients of the video to be able to see it only once. My idea to implement this is:Generate a unique key per viewerSend each viewer a link to a page with a Flash based video player, with their key in the URLHave Flash get the video from the server. On the server the key is checked and the file sent (using php's readfile or something equivalent).Then the key is invalidated.I was thinking this wouldn't take more than a day to build.I know that if you want somebody to be able to play something, you implicitly give them the power to record it as well, but the client just wants me to make it as hard as possible.
View 2 Replies
Jan 10, 2012
I'm using a regular flash video player to play rtmp streams hosted on a cdn. Does anyone know if it is possible to get a count of the number of users watching a stream, through actionscript or flash?
View 1 Replies
Mar 30, 2011
I was just wondering if it is possible to detect and display any or all of the following of someone visiting my site, preferably just using AS:
[Code]...
View 0 Replies
Jan 17, 2011
I am looking to build an app that allows end users to draw and save mini animations (simple predetermined shapes that move in 2D). So far I have a written a app that allows the user to draw a single frame using simple shapes and lines, but I am having some small troubles at this stage, and have not attempted to allow the user to animate or save the drawing.
If anyone knows of a tutorial or some other resource to put me on the right path I would be very grateful. I can also share what I have if anyone would be willing to give me some pointers
View 2 Replies
Jun 10, 2011
I have a flash application. One of the options is to copy a pdf onto the users desktop, but I can not seem to get it to work. I am writing a flash application that sends "fscommands" out to batch files. This is what my batch file looks like:---------------------------------------------------------------------- ---------------------------------------@ echo off copy ../Application/pdf/Ebook.pdf %userprofile%Desktop exit---------------------------------------------------------------------- -----------------------My intent is to copy the specified file to the user's desktop. So far it does not function.
View 1 Replies
Mar 10, 2010
I am running an online flash multiplayer game. However, I have been facing a problem lately where some users cannot actually completely load all the resources required to run the game. The percentage that users get stuck at is different for different users (for instance, one could get stuck at 43% and some other at 91%). I don't think there is any problem with the files as such because the resources are completely loaded for the majority of the users and the game works just fine for them. Has anyone faced such a problem before?
View 1 Replies
Apr 19, 2010
Adobe flash: How to determine users CPU characteristics? (its mhz, its current ocupation) I need to know how fast is users computer now, and I have only 150 ms for it. How to do such thing in actionscript?
View 2 Replies
Jul 10, 2010
I am developing a ASP.NET web site where users will need to be able to create their own business cards. So, I'm looking for a tool (most likely Flash) that I can easily integrate into a web site and lets users add text and custom images to their cards and then create an image and/or PDF from their work.
is there a plugin that does this?
View 2 Replies
Jun 7, 2011
Here is my situation, everytime a user gets a new highscore, i wanna send a facebook message into my game account, and i've managed to do that with infinite session, i've stored the session data with the attributes of my account and always connects directly to my profile and posts it.
Now imagine that i want to do the same thing, but with another profile, is it possible to user the same application? Any ideas how would i identify the different accounts before logging in?
Or do i have to have different facebook programs doing the same things for different account?
View 1 Replies
Dec 21, 2010
We need to develop a flash voice conference application with using flash media server. The number of connections can be up to 20,000. is it possible with flash media server. Can it also possible with Peer to Peer. If we use flash media server what configuration needed for.
View 2 Replies
Dec 22, 2010
Is it possible to check if the user has a sound card? I found Capabilities.hasAudio but dont know if that is the value I should look at.
trace(Capabilities.hasAudio)
"Specifies whether the system has audio capabilities. This property is always true.
View 2 Replies
Mar 16, 2012
I am using Asp.net/C# to build an application , i have a requirement wherein i need to access webcam from my page and capture images of users.So i am trying to achieve this by creating flash file .
View 2 Replies
Jan 3, 2003
I have been trying for a few days to obtain information about the users of sites. No success so far.In flash I am using:
loadVariablesNum("mailPHP.php", "0", "POST");
My php code is:
PHP Code:
<html>
<body>
<?php
$mail_to="northls@nbkayaking.com";[code].....
I know I have made an arseup somewhere.
View 14 Replies
Oct 8, 2010
I want to create a flash application where users will have access to 10, 5 seconds audio loops. They can choose any 4 tracks to make a 20 second track. I then want that mp3 to be stored somewhere or flash to create to a file which can be sent to friends in facebook where they can listen to that beat. There will be a little button at the bottom saying 'click here' to make your own beat.
View 1 Replies
Apr 4, 2011
I have recently moved from AS2 to AS3 and trying to learn my way around as3.I need to know how I can make a function for the users to be able to type/write in Flash application...Basically what I need at this stage is an input text field and a dynamic text field and when the users type anything in the input text, the dynamic text will be updated and it will show the texts.
View 3 Replies
Jun 30, 2009
The user loads the page HTMl file .swf. By clicking on button_mc the user can select from your computer (local disk) image file to upload not on the server and temporarily - to flash - the file.
[code]....
Below given code works only if the image file .swf are in the same directory (folder).I know the file name, but I can not find the full local path to his computer to the selected file.
[code]....
How do I get my site you can download at home in my swf file to a photo to her dalsche work?
[code]....
View 1 Replies
Dec 6, 2009
I have pageA that loads sort of flash player, the url of rtmp that player listens to is hidden in other .aspx file that validates a session which generated on pageA. Is there another way or better way to limit users from stealing the rtmp link ?
View 1 Replies