Just want to enforse that the flashvars (which will come from the
user) have the proper form (that's I asked of the possible proper
forms) e.g. if a user submits something like name:mike (didn't put
quatation) or i=8 (used wrong assignment operator) I will be able to
cancel the display of the flash
On Apr 29, 5:40 pm, Aran Rhee <[email protected]> wrote:
> I am not 100% on what you are trying to check for here. You are trying to
> enforce the values of "string" and 1 as the only values allowed to be
> entered, or you are trying to do something else like only allow certain data
> types like any string / number ?
>
> As flashvars are always treated as strings by the plugin and you cannot pass
> complex objects, I am not sure what you can achieve here....
>
> Aran
>
> On Fri, Apr 29, 2011 at 5:16 AM, mikek12003 <[email protected]> wrote:
> > I want to make a check (propably with regular expressions) that the
> > flashvars inserted by the user are of the right format, so if I
> > understand it right the possible types are
> > name:"string",
> > name:'string',
> > name:1
> > is there something else (plus if someone already got it could you show
> > me the regular expression- the part where the should not be a ',' in
> > the last pair troubles me)
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "SWFObject" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/swfobject?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to